📄 system.drawing.design.cs
字号:
//$si$ virtual
////////////////////////////////////////////////////////////////
// File System.Drawing.Design.dll:
// Global functions
//-------------------------------------------------------
// Global fields
//-------------------------------------------------------
// Global MemberRefs
//-------------------------------------------------------
// Types
//-------------------------------------------------------
class ThisAssembly : System.Object
{
String Title;
String Description;
String DefaultAlias;
String Copyright;
String Trademark;
String Version;
String InformationalVersion;
Void ThisAssembly();
}
class AssemblyRef : System.Object
{
String EcmaPublicKey;
String Mscorlib;
String SystemData;
String System;
String SystemRuntimeRemoting;
String SystemWindowsForms;
String SystemXml;
String MicrosoftPublicKey;
String SystemConfigurationInstall;
String SystemDesign;
String SystemDirectoryServices;
String SystemDrawingDesign;
String SystemDrawing;
String SystemEnterpriseServices;
String SystemManagement;
String SystemMessaging;
String SystemRuntimeSerializationFormattersSoap;
String SystemSecurity;
String SystemServiceProcess;
String SystemWeb;
String SystemWebRegularExpressions;
String SystemWebServices;
String MicrosoftVisualStudio;
String MicrosoftVSDesigner;
String MicrosoftJScript;
Void AssemblyRef();
}
class System.Drawing.Design.SRDescriptionAttribute : System.ComponentModel.DescriptionAttribute
{
Boolean replaced;
Void System.Drawing.Design.SRDescriptionAttribute( String description);
String get_Description();
property Description { get(){} set(){} };
}
class System.Drawing.Design.SRCategoryAttribute : System.ComponentModel.CategoryAttribute
{
Void System.Drawing.Design.SRCategoryAttribute( String category);
String GetLocalizedString( String value);
}
class System.Drawing.Design.SR : System.Object
{
String imageFileDescription;
String ColorEditorSystemTab;
String ColorEditorStandardTab;
String bitmapFileDescription;
String ColorEditorPaletteTab;
String iconFileDescription;
String TextParseFailedFormat;
String metafileFileDescription;
String ContentAlignmentEditorTopLeftAccName;
String ContentAlignmentEditorTopCenterAccName;
String ContentAlignmentEditorTopRightAccName;
String ContentAlignmentEditorMiddleLeftAccName;
String ContentAlignmentEditorMiddleCenterAccName;
String ContentAlignmentEditorMiddleRightAccName;
String ContentAlignmentEditorBottomLeftAccName;
String ContentAlignmentEditorBottomCenterAccName;
String ContentAlignmentEditorBottomRightAccName;
Class System.Drawing.Design.SR loader;
Class System.Resources.ResourceManager resources;
Void System.Drawing.Design.SR();
Class System.Drawing.Design.SR GetLoader();
String GetString( String name, SZArray Object args);
String GetString( Class System.Globalization.CultureInfo culture, String name, SZArray Object args);
String GetString( String name);
String GetString( Class System.Globalization.CultureInfo culture, String name);
Boolean GetBoolean( String name);
Boolean GetBoolean( Class System.Globalization.CultureInfo culture, String name);
Char GetChar( String name);
Char GetChar( Class System.Globalization.CultureInfo culture, String name);
UI1 GetByte( String name);
UI1 GetByte( Class System.Globalization.CultureInfo culture, String name);
I2 GetShort( String name);
I2 GetShort( Class System.Globalization.CultureInfo culture, String name);
I4 GetInt( String name);
I4 GetInt( Class System.Globalization.CultureInfo culture, String name);
I8 GetLong( String name);
I8 GetLong( Class System.Globalization.CultureInfo culture, String name);
R4 GetFloat( String name);
R4 GetFloat( Class System.Globalization.CultureInfo culture, String name);
R8 GetDouble( String name);
R8 GetDouble( Class System.Globalization.CultureInfo culture, String name);
Object GetObject( String name);
Object GetObject( Class System.Globalization.CultureInfo culture, String name);
Void System.Drawing.Design.SR();
}
class System.ExternDll : System.Object
{
String Gdiplus;
String User32;
String Shfolder;
String Imm32;
String Advapi32;
String Shell32;
String Kernel32;
String Comctl32;
String Oleaut32;
String Olepro32;
String Ole32;
String Gdi32;
String Comdlg32;
String Uxtheme;
String Oleacc;
String Hhctrl;
String Winspool;
String Psapi;
String Ntdll;
String Version;
String Vsassert;
String Mscoree;
String Msi;
String Mqrt;
String Activeds;
String Loadperf;
Void System.ExternDll();
}
class System.Drawing.Design.ImageEditor : System.Drawing.Design.UITypeEditor
{
SZArray Class System.Type imageExtenders;
Class System.Windows.Forms.FileDialog fileDialog;
String CreateExtensionsString( SZArray String extensions, String sep);
String CreateFilterEntry( Class System.Drawing.Design.ImageEditor e);
Object EditValue( Class System.ComponentModel.ITypeDescriptorContext context, Class System.IServiceProvider provider, Object value);
ValueClass System.Drawing.Design.UITypeEditorEditStyle GetEditStyle( Class System.ComponentModel.ITypeDescriptorContext context);
String GetFileDialogDescription();
SZArray String GetExtensions();
Boolean GetPaintValueSupported( Class System.ComponentModel.ITypeDescriptorContext context);
Class System.Drawing.Image LoadFromStream( Class System.IO.Stream stream);
Void PaintValue( Class System.Drawing.Design.PaintValueEventArgs e);
Void System.Drawing.Design.ImageEditor();
Void System.Drawing.Design.ImageEditor();
}
class System.Drawing.Design.BitmapEditor : System.Drawing.Design.ImageEditor
{
String GetFileDialogDescription();
SZArray String GetExtensions();
Class System.Drawing.Image LoadFromStream( Class System.IO.Stream stream);
Void System.Drawing.Design.BitmapEditor();
}
class System.Drawing.Design.ColorEditor : System.Drawing.Design.UITypeEditor
{
Class ColorUI colorUI;
Object EditValue( Class System.ComponentModel.ITypeDescriptorContext context, Class System.IServiceProvider provider, Object value);
ValueClass System.Drawing.Design.UITypeEditorEditStyle GetEditStyle( Class System.ComponentModel.ITypeDescriptorContext context);
Boolean GetPaintValueSupported( Class System.ComponentModel.ITypeDescriptorContext context);
Void PaintValue( Class System.Drawing.Design.PaintValueEventArgs e);
Void System.Drawing.Design.ColorEditor();
}
class ColorPalette : System.Windows.Forms.Control
{
I4 CELLS_ACROSS;
I4 CELLS_DOWN;
I4 CELLS_CUSTOM;
I4 CELLS;
I4 CELL_SIZE;
I4 MARGIN;
SZArray I4 staticCells;
SZArray ValueClass System.Drawing.Color staticColors;
ValueClass System.Drawing.Color selectedColor;
ValueClass System.Drawing.Point focus;
SZArray ValueClass System.Drawing.Color customColors;
Class System.EventHandler onPicked;
Class ColorUI colorUI;
Void ColorPalette( Class ColorUI colorUI, SZArray ValueClass System.Drawing.Color customColors);
SZArray ValueClass System.Drawing.Color get_CustomColors();
I4 get_FocusedCell();
ValueClass System.Drawing.Color get_SelectedColor();
Void set_SelectedColor( ValueClass System.Drawing.Color value);
Void add_Picked( Class System.EventHandler value);
Void remove_Picked( Class System.EventHandler value);
Class System.Windows.Forms.AccessibleObject CreateAccessibilityInstance();
Void OnPicked( Class System.EventArgs e);
Void FillRectWithCellBounds( I4 across, I4 down, ByRef ValueClass System.Drawing.Rectangle rect);
ValueClass System.Drawing.Point GetCellFromColor( ValueClass System.Drawing.Color c);
ValueClass System.Drawing.Color GetColorFromCellMouse( I4 x, I4 y);
ValueClass System.Drawing.Color GetColorFromCell( I4 across, I4 down);
ValueClass System.Drawing.Color GetColorFromCell( I4 index);
ValueClass System.Drawing.Point GetCell2DFromLocationMouse( I4 x, I4 y);
I4 GetCellFromLocationMouse( I4 x, I4 y);
I4 Get1DFrom2D( ValueClass System.Drawing.Point pt);
I4 Get1DFrom2D( I4 x, I4 y);
ValueClass System.Drawing.Point Get2DFrom1D( I4 cell);
Void InvalidateSelection();
Void InvalidateFocus();
Boolean IsInputKey( ValueClass System.Windows.Forms.Keys keyData);
Void LaunchDialog( I4 customIndex);
Void OnGotFocus( Class System.EventArgs e);
Void OnKeyDown( Class System.Windows.Forms.KeyEventArgs e);
Void OnLostFocus( Class System.EventArgs e);
Void OnMouseDown( Class System.Windows.Forms.MouseEventArgs me);
Void OnMouseMove( Class System.Windows.Forms.MouseEventArgs me);
Void OnMouseUp( Class System.Windows.Forms.MouseEventArgs me);
Void OnPaint( Class System.Windows.Forms.PaintEventArgs pe);
Void PaintValue( ValueClass System.Drawing.Color color, Class System.Drawing.Graphics g, ValueClass System.Drawing.Rectangle rect);
Boolean ProcessDialogKey( ValueClass System.Windows.Forms.Keys keyData);
Void SetFocus( ValueClass System.Drawing.Point newFocus);
Void ColorPalette();
property CustomColors { get(){} set(){} };
property FocusedCell { get(){} set(){} };
property SelectedColor { get(){} set(){} };
event Picked;
}
class ColorPaletteAccessibleObject : ControlAccessibleObject
{
SZArray Class ColorCellAccessibleObject cells;
Void ColorPaletteAccessibleObject( Class ColorPalette owner);
Class ColorPalette get_ColorPalette();
I4 GetChildCount();
Class System.Windows.Forms.AccessibleObject GetChild( I4 id);
Class System.Windows.Forms.AccessibleObject HitTest( I4 x, I4 y);
property ColorPalette { get(){} set(){} };
}
class ColorCellAccessibleObject : System.Windows.Forms.AccessibleObject
{
ValueClass System.Drawing.Color color;
Class ColorPaletteAccessibleObject parent;
I4 cell;
Void ColorCellAccessibleObject( Class ColorPaletteAccessibleObject parent, ValueClass System.Drawing.Color color, I4 cell);
ValueClass System.Drawing.Rectangle get_Bounds();
String get_Name();
Class System.Windows.Forms.AccessibleObject get_Parent();
ValueClass System.Windows.Forms.AccessibleRole get_Role();
ValueClass System.Windows.Forms.AccessibleStates get_State();
String get_Value();
property Bounds { get(){} set(){} };
property Name { get(){} set(){} };
property Parent { get(){} set(){} };
property Role { get(){} set(){} };
property State { get(){} set(){} };
property Value { get(){} set(){} };
}
class ColorUI : System.Windows.Forms.Control
{
Class System.Drawing.Design.ColorEditor editor;
Class System.Windows.Forms.Design.IWindowsFormsEditorService edSvc;
Object value;
Class ColorEditorTabControl tabControl;
Class System.Windows.Forms.TabPage systemTabPage;
Class System.Windows.Forms.TabPage commonTabPage;
Class System.Windows.Forms.TabPage paletteTabPage;
Class System.Windows.Forms.ListBox lbSystem;
Class System.Windows.Forms.ListBox lbCommon;
Class ColorPalette pal;
SZArray Object systemColorConstants;
SZArray Object colorConstants;
SZArray ValueClass System.Drawing.Color customColors;
Boolean commonHeightSet;
Boolean systemHeightSet;
Void ColorUI( Class System.Drawing.Design.ColorEditor editor);
SZArray Object get_ColorValues();
SZArray ValueClass System.Drawing.Color get_CustomColors();
Void set_CustomColors( SZArray ValueClass System.Drawing.Color value);
Class System.Windows.Forms.Design.IWindowsFormsEditorService get_EditorService();
SZArray Object get_SystemColorValues();
Object get_Value();
Void End();
Void AdjustColorUIHeight();
Void AdjustListBoxItemHeight();
ValueClass System.Drawing.Color GetBestColor( ValueClass System.Drawing.Color color);
SZArray Object GetConstants( Class System.Type enumType);
Class System.Windows.Forms.Control GetCurrentComponent();
Void InitializeComponent();
Void OnGotFocus( Class System.EventArgs e);
Void OnFontChanged( Object sender, Class System.EventArgs e);
Void OnListClick( Object sender, Class System.EventArgs e);
Void OnListDrawItem( Object sender, Class System.Windows.Forms.DrawItemEventArgs die);
Void OnListKeyDown( Object sender, Class System.Windows.Forms.KeyEventArgs ke);
Void OnPalettePick( Object sender, Class System.EventArgs e);
Void OnFontChanged( Class System.EventArgs e);
Void OnTabControlResize( Object sender, Class System.EventArgs e);
Void OnTabControlSelChange( Object sender, Class System.EventArgs e);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -