예제 #1
0
파일: Form1.cs 프로젝트: oluwabukola/script
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.drawingPanel1 = new Salford.VisualClearWin.Drawing_Panel();
     this.SuspendLayout();
     //
     // drawingPanel1
     //
     this.drawingPanel1.BackColor   = System.Drawing.SystemColors.Control;
     this.drawingPanel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.drawingPanel1.FillColor   = System.Drawing.Color.White;
     this.drawingPanel1.LineColor   = System.Drawing.Color.Red;
     this.drawingPanel1.Location    = new System.Drawing.Point(8, 8);
     this.drawingPanel1.Name        = "drawingPanel1";
     this.drawingPanel1.Pivoting    = Salford.VisualClearWin.Pivot.Full;
     this.drawingPanel1.Size        = new System.Drawing.Size(176, 96);
     this.drawingPanel1.StringColor = System.Drawing.Color.Magenta;
     this.drawingPanel1.TabIndex    = 4;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(192, 118);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.drawingPanel1
     });
     this.MaximizeBox   = false;
     this.MinimizeBox   = false;
     this.Name          = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Graphics";
     this.ResumeLayout(false);
 }
예제 #2
0
파일: Form1.cs 프로젝트: oluwabukola/script
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.button1       = new System.Windows.Forms.Button();
     this.drawingPanel1 = new Salford.VisualClearWin.Drawing_Panel();
     this.SuspendLayout();
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(184, 8);
     this.button1.Name     = "button1";
     this.button1.TabIndex = 0;
     this.button1.Text     = "Draw";
     this.button1.Click   += new System.EventHandler(this.button1_Click);
     //
     // drawingPanel1
     //
     this.drawingPanel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.drawingPanel1.FillColor   = System.Drawing.SystemColors.Control;
     this.drawingPanel1.LineColor   = System.Drawing.Color.Black;
     this.drawingPanel1.Location    = new System.Drawing.Point(6, 38);
     this.drawingPanel1.Name        = "drawingPanel1";
     this.drawingPanel1.Size        = new System.Drawing.Size(259, 259);
     this.drawingPanel1.StringColor = System.Drawing.Color.Black;
     this.drawingPanel1.TabIndex    = 2;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(272, 302);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.drawingPanel1,
         this.button1
     });
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "Form1";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Mandelbrot";
     this.ResumeLayout(false);
 }
예제 #3
0
파일: Form1.cs 프로젝트: oluwabukola/script
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
     this.mainMenu1           = new System.Windows.Forms.MainMenu();
     this.menuItem1           = new System.Windows.Forms.MenuItem();
     this.menuItem3           = new System.Windows.Forms.MenuItem();
     this.menuItem4           = new System.Windows.Forms.MenuItem();
     this.menuItem5           = new System.Windows.Forms.MenuItem();
     this.menuItem6           = new System.Windows.Forms.MenuItem();
     this.menuItem7           = new System.Windows.Forms.MenuItem();
     this.menuItem8           = new System.Windows.Forms.MenuItem();
     this.menuItem2           = new System.Windows.Forms.MenuItem();
     this.menuItem9           = new System.Windows.Forms.MenuItem();
     this.menuItem10          = new System.Windows.Forms.MenuItem();
     this.statusBar1          = new System.Windows.Forms.StatusBar();
     this.openFileDialog1     = new System.Windows.Forms.OpenFileDialog();
     this.text_Box1           = new Salford.VisualClearWin.Text_Box();
     this.saveFileDialog1     = new System.Windows.Forms.SaveFileDialog();
     this.printDocument1      = new System.Drawing.Printing.PrintDocument();
     this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog();
     this.pageSetupDialog1    = new System.Windows.Forms.PageSetupDialog();
     this.colorDialog1        = new System.Windows.Forms.ColorDialog();
     this.printDialog1        = new System.Windows.Forms.PrintDialog();
     this.fontDialog1         = new System.Windows.Forms.FontDialog();
     this.drawing_Panel1      = new Salford.VisualClearWin.Drawing_Panel();
     this.text_Box2           = new Salford.VisualClearWin.Text_Box();
     this.SuspendLayout();
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1,
         this.menuItem2
     });
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem3,
         this.menuItem4,
         this.menuItem5,
         this.menuItem6,
         this.menuItem7,
         this.menuItem8
     });
     this.menuItem1.Text = "File";
     //
     // menuItem3
     //
     this.menuItem3.Index = 0;
     this.menuItem3.Text  = "Open|Calls the Open dialog";
     //
     // menuItem4
     //
     this.menuItem4.Index = 1;
     this.menuItem4.Text  = "Save As|Calls the Save As dialog";
     //
     // menuItem5
     //
     this.menuItem5.Index = 2;
     this.menuItem5.Text  = "-";
     //
     // menuItem6
     //
     this.menuItem6.Index = 3;
     this.menuItem6.Text  = "Print Preview|Calls the Print Priview dialog";
     //
     // menuItem7
     //
     this.menuItem7.Index = 4;
     this.menuItem7.Text  = "Page Setup|Calls the Page Setup dialog";
     //
     // menuItem8
     //
     this.menuItem8.Index = 5;
     this.menuItem8.Text  = "Print|Calls the Print dialog";
     //
     // menuItem2
     //
     this.menuItem2.Index = 1;
     this.menuItem2.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem9,
         this.menuItem10
     });
     this.menuItem2.Text = "Format";
     //
     // menuItem9
     //
     this.menuItem9.Index = 0;
     this.menuItem9.Text  = "Color|Calls the Choose color dialog";
     //
     // menuItem10
     //
     this.menuItem10.Index = 1;
     this.menuItem10.Text  = "Font|Calls the Choose font dialog";
     //
     // statusBar1
     //
     this.statusBar1.Location = new System.Drawing.Point(0, 169);
     this.statusBar1.Name     = "statusBar1";
     this.statusBar1.Size     = new System.Drawing.Size(216, 16);
     this.statusBar1.TabIndex = 0;
     this.statusBar1.Text     = "Ready";
     //
     // openFileDialog1
     //
     this.openFileDialog1.Multiselect = true;
     //
     // text_Box1
     //
     this.text_Box1.Location  = new System.Drawing.Point(8, 8);
     this.text_Box1.Multiline = true;
     this.text_Box1.Name      = "text_Box1";
     this.text_Box1.Pivoting  = Salford.VisualClearWin.Pivot.Horizontal;
     this.text_Box1.ReadOnly  = true;
     this.text_Box1.Size      = new System.Drawing.Size(200, 112);
     this.text_Box1.TabIndex  = 1;
     this.text_Box1.Text      = "";
     //
     // saveFileDialog1
     //
     this.saveFileDialog1.FileName = "doc1";
     //
     // printPreviewDialog1
     //
     this.printPreviewDialog1.AutoScrollMargin  = new System.Drawing.Size(0, 0);
     this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0);
     this.printPreviewDialog1.ClientSize        = new System.Drawing.Size(400, 300);
     this.printPreviewDialog1.Document          = this.printDocument1;
     this.printPreviewDialog1.Enabled           = true;
     this.printPreviewDialog1.Icon            = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon")));
     this.printPreviewDialog1.Location        = new System.Drawing.Point(256, 17);
     this.printPreviewDialog1.MaximumSize     = new System.Drawing.Size(0, 0);
     this.printPreviewDialog1.Name            = "printPreviewDialog1";
     this.printPreviewDialog1.Opacity         = 1;
     this.printPreviewDialog1.TransparencyKey = System.Drawing.Color.Empty;
     this.printPreviewDialog1.Visible         = false;
     //
     // pageSetupDialog1
     //
     this.pageSetupDialog1.Document = this.printDocument1;
     //
     // printDialog1
     //
     this.printDialog1.Document = this.printDocument1;
     //
     // fontDialog1
     //
     this.fontDialog1.ShowColor = true;
     //
     // drawing_Panel1
     //
     this.drawing_Panel1.BackColor   = System.Drawing.Color.Black;
     this.drawing_Panel1.BitmapSize  = new System.Drawing.Size(0, 0);
     this.drawing_Panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.drawing_Panel1.FillColor   = System.Drawing.Color.Black;
     this.drawing_Panel1.LineColor   = System.Drawing.Color.Black;
     this.drawing_Panel1.Location    = new System.Drawing.Point(8, 128);
     this.drawing_Panel1.Name        = "drawing_Panel1";
     this.drawing_Panel1.Size        = new System.Drawing.Size(72, 24);
     this.drawing_Panel1.StringColor = System.Drawing.Color.Black;
     this.drawing_Panel1.TabIndex    = 2;
     //
     // text_Box2
     //
     this.text_Box2.ForeColor = System.Drawing.Color.Black;
     this.text_Box2.Location  = new System.Drawing.Point(96, 128);
     this.text_Box2.Name      = "text_Box2";
     this.text_Box2.Pivoting  = Salford.VisualClearWin.Pivot.Horizontal;
     this.text_Box2.Size      = new System.Drawing.Size(112, 20);
     this.text_Box2.TabIndex  = 3;
     this.text_Box2.Text      = "Font Sample";
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(216, 185);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.text_Box2,
         this.drawing_Panel1,
         this.text_Box1,
         this.statusBar1
     });
     this.MaximizeBox   = false;
     this.Menu          = this.mainMenu1;
     this.MinimizeBox   = false;
     this.Name          = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Common dialogs";
     this.ResumeLayout(false);
 }
예제 #4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
     this.drawingPanel1                 = new Salford.VisualClearWin.Drawing_Panel();
     this.color_Picker1                 = new Salford.VisualClearWin.Color_Picker();
     this.toolBar1                      = new System.Windows.Forms.ToolBar();
     this.toolBarButton0                = new System.Windows.Forms.ToolBarButton();
     this.contextMenu1                  = new System.Windows.Forms.ContextMenu();
     this.menuItem1                     = new System.Windows.Forms.MenuItem();
     this.menuItem2                     = new System.Windows.Forms.MenuItem();
     this.menuItem3                     = new System.Windows.Forms.MenuItem();
     this.menuItem4                     = new System.Windows.Forms.MenuItem();
     this.toolBarButton1                = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton2                = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton3                = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton4                = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton5                = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton6                = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton7                = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton8                = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton9                = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton10               = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton11               = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton16_DrawingCut    = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton17_DrawingCopy   = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton18_DrawingPaste  = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton19_DrawingDelete = new System.Windows.Forms.ToolBarButton();
     this.imageList1                    = new System.Windows.Forms.ImageList(this.components);
     this.toolTip1                      = new System.Windows.Forms.ToolTip(this.components);
     this.contextMenu2                  = new System.Windows.Forms.ContextMenu();
     this.menuItem5_DrawingCut          = new System.Windows.Forms.MenuItem();
     this.menuItem6_DrawingCopy         = new System.Windows.Forms.MenuItem();
     this.menuItem7_DrawingPaste        = new System.Windows.Forms.MenuItem();
     this.menuItem8_DrawingDelete       = new System.Windows.Forms.MenuItem();
     this.menuItem9_DrawingSelectAll    = new System.Windows.Forms.MenuItem();
     this.menuItem10                    = new System.Windows.Forms.MenuItem();
     this.menuItem11_DrawingCopyTo      = new System.Windows.Forms.MenuItem();
     this.menuItem12_DrawingPasteFrom   = new System.Windows.Forms.MenuItem();
     this.saveFileDialog1               = new System.Windows.Forms.SaveFileDialog();
     this.openFileDialog1               = new System.Windows.Forms.OpenFileDialog();
     this.statusBar1                    = new System.Windows.Forms.StatusBar();
     this.statusBarPanel1               = new System.Windows.Forms.StatusBarPanel();
     this.statusBarPanel2               = new System.Windows.Forms.StatusBarPanel();
     this.mainMenu1                     = new System.Windows.Forms.MainMenu();
     this.menuItem8                     = new System.Windows.Forms.MenuItem();
     this.menuItem9_New                 = new System.Windows.Forms.MenuItem();
     this.menuItem11_Open               = new System.Windows.Forms.MenuItem();
     this.menuItem12_Save               = new System.Windows.Forms.MenuItem();
     this.menuItem13_SaveAs             = new System.Windows.Forms.MenuItem();
     this.menuItem14                    = new System.Windows.Forms.MenuItem();
     this.menuItem11_Print              = new System.Windows.Forms.MenuItem();
     this.menuItem11                    = new System.Windows.Forms.MenuItem();
     this.menuItem15_Exit               = new System.Windows.Forms.MenuItem();
     this.printDialog1                  = new System.Windows.Forms.PrintDialog();
     this.printDocument1                = new System.Drawing.Printing.PrintDocument();
     this.toolBar1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit();
     this.SuspendLayout();
     //
     // drawingPanel1
     //
     this.drawingPanel1.BackColor   = System.Drawing.Color.White;
     this.drawingPanel1.BitmapSize  = new System.Drawing.Size(800, 400);
     this.drawingPanel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.drawingPanel1.Cursor      = System.Windows.Forms.Cursors.Cross;
     this.drawingPanel1.FillColor   = System.Drawing.Color.Red;
     this.drawingPanel1.LineColor   = System.Drawing.Color.Red;
     this.drawingPanel1.Location    = new System.Drawing.Point(3, 30);
     this.drawingPanel1.Name        = "drawingPanel1";
     this.drawingPanel1.Pivoting    = Salford.VisualClearWin.Pivot.Full;
     this.drawingPanel1.ScrollBars  = System.Windows.Forms.ScrollBars.Both;
     this.drawingPanel1.Size        = new System.Drawing.Size(604, 315);
     this.drawingPanel1.StringColor = System.Drawing.Color.Black;
     this.drawingPanel1.TabIndex    = 0;
     //
     // color_Picker1
     //
     this.color_Picker1.ColorPanelLocation = new System.Drawing.Point(23, 3);
     this.color_Picker1.ColorPanelShow     = true;
     this.color_Picker1.ColorPanelSize     = new System.Drawing.Size(4, 17);
     this.color_Picker1.Colour             = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(0)), ((System.Byte)(0)));
     this.color_Picker1.FlatStyle          = System.Windows.Forms.FlatStyle.Popup;
     this.color_Picker1.Image      = ((System.Drawing.Bitmap)(resources.GetObject("color_Picker1.Image")));
     this.color_Picker1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.color_Picker1.Location   = new System.Drawing.Point(180, 0);
     this.color_Picker1.Name       = "color_Picker1";
     this.color_Picker1.Size       = new System.Drawing.Size(32, 23);
     this.color_Picker1.TabIndex   = 10;
     this.toolTip1.SetToolTip(this.color_Picker1, "Select the drawing colour");
     this.color_Picker1.Value = -65536;
     //
     // toolBar1
     //
     this.toolBar1.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.toolBarButton0,
         this.toolBarButton1,
         this.toolBarButton2,
         this.toolBarButton3,
         this.toolBarButton4,
         this.toolBarButton5,
         this.toolBarButton6,
         this.toolBarButton7,
         this.toolBarButton8,
         this.toolBarButton9,
         this.toolBarButton10,
         this.toolBarButton11,
         this.toolBarButton16_DrawingCut,
         this.toolBarButton17_DrawingCopy,
         this.toolBarButton18_DrawingPaste,
         this.toolBarButton19_DrawingDelete
     });
     this.toolBar1.ButtonSize = new System.Drawing.Size(23, 22);
     this.toolBar1.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.color_Picker1
     });
     this.toolBar1.DropDownArrows = true;
     this.toolBar1.ImageList      = this.imageList1;
     this.toolBar1.Name           = "toolBar1";
     this.toolBar1.ShowToolTips   = true;
     this.toolBar1.Size           = new System.Drawing.Size(608, 25);
     this.toolBar1.TabIndex       = 0;
     //
     // toolBarButton0
     //
     this.toolBarButton0.DropDownMenu = this.contextMenu1;
     this.toolBarButton0.ImageIndex   = 11;
     this.toolBarButton0.Pushed       = true;
     this.toolBarButton0.Style        = System.Windows.Forms.ToolBarButtonStyle.DropDownButton;
     this.toolBarButton0.ToolTipText  = "Draw pixels";
     //
     // contextMenu1
     //
     this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1,
         this.menuItem2,
         this.menuItem3,
         this.menuItem4
     });
     //
     // menuItem1
     //
     this.menuItem1.Checked = true;
     this.menuItem1.Index   = 0;
     this.menuItem1.Text    = "1 pixel";
     //
     // menuItem2
     //
     this.menuItem2.Index = 1;
     this.menuItem2.Text  = "2 pixels";
     //
     // menuItem3
     //
     this.menuItem3.Index = 2;
     this.menuItem3.Text  = "3 pixels";
     //
     // menuItem4
     //
     this.menuItem4.Index = 3;
     this.menuItem4.Text  = "4 pixels";
     //
     // toolBarButton1
     //
     this.toolBarButton1.ImageIndex  = 0;
     this.toolBarButton1.Style       = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
     this.toolBarButton1.ToolTipText = "Draw line";
     //
     // toolBarButton2
     //
     this.toolBarButton2.ImageIndex  = 1;
     this.toolBarButton2.Style       = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
     this.toolBarButton2.ToolTipText = "Draw filled rectangle";
     //
     // toolBarButton3
     //
     this.toolBarButton3.ImageIndex  = 2;
     this.toolBarButton3.Style       = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
     this.toolBarButton3.ToolTipText = "Draw filled ellipse";
     //
     // toolBarButton4
     //
     this.toolBarButton4.ImageIndex  = 3;
     this.toolBarButton4.ToolTipText = "Draw rectangle";
     //
     // toolBarButton5
     //
     this.toolBarButton5.ImageIndex  = 4;
     this.toolBarButton5.ToolTipText = "Draw ellipse";
     //
     // toolBarButton6
     //
     this.toolBarButton6.ImageIndex  = 6;
     this.toolBarButton6.Style       = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
     this.toolBarButton6.ToolTipText = "Select a rectangle";
     //
     // toolBarButton7
     //
     this.toolBarButton7.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton8
     //
     this.toolBarButton8.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton9
     //
     this.toolBarButton9.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton10
     //
     this.toolBarButton10.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton11
     //
     this.toolBarButton11.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton16_DrawingCut
     //
     this.toolBarButton16_DrawingCut.ImageIndex  = 7;
     this.toolBarButton16_DrawingCut.ToolTipText = "Cut";
     //
     // toolBarButton17_DrawingCopy
     //
     this.toolBarButton17_DrawingCopy.ImageIndex  = 8;
     this.toolBarButton17_DrawingCopy.ToolTipText = "Copy";
     //
     // toolBarButton18_DrawingPaste
     //
     this.toolBarButton18_DrawingPaste.ImageIndex  = 9;
     this.toolBarButton18_DrawingPaste.ToolTipText = "Paste";
     //
     // toolBarButton19_DrawingDelete
     //
     this.toolBarButton19_DrawingDelete.ImageIndex  = 10;
     this.toolBarButton19_DrawingDelete.ToolTipText = "Delete";
     //
     // imageList1
     //
     this.imageList1.ColorDepth       = System.Windows.Forms.ColorDepth.Depth32Bit;
     this.imageList1.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.White;
     //
     // contextMenu2
     //
     this.contextMenu2.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem5_DrawingCut,
         this.menuItem6_DrawingCopy,
         this.menuItem7_DrawingPaste,
         this.menuItem8_DrawingDelete,
         this.menuItem9_DrawingSelectAll,
         this.menuItem10,
         this.menuItem11_DrawingCopyTo,
         this.menuItem12_DrawingPasteFrom
     });
     //
     // menuItem5_DrawingCut
     //
     this.menuItem5_DrawingCut.Index    = 0;
     this.menuItem5_DrawingCut.Shortcut = System.Windows.Forms.Shortcut.CtrlX;
     this.menuItem5_DrawingCut.Text     = "Cut";
     //
     // menuItem6_DrawingCopy
     //
     this.menuItem6_DrawingCopy.Index    = 1;
     this.menuItem6_DrawingCopy.Shortcut = System.Windows.Forms.Shortcut.CtrlC;
     this.menuItem6_DrawingCopy.Text     = "Copy";
     //
     // menuItem7_DrawingPaste
     //
     this.menuItem7_DrawingPaste.Index    = 2;
     this.menuItem7_DrawingPaste.Shortcut = System.Windows.Forms.Shortcut.CtrlV;
     this.menuItem7_DrawingPaste.Text     = "Paste";
     //
     // menuItem8_DrawingDelete
     //
     this.menuItem8_DrawingDelete.Index    = 3;
     this.menuItem8_DrawingDelete.Shortcut = System.Windows.Forms.Shortcut.Del;
     this.menuItem8_DrawingDelete.Text     = "Delete";
     //
     // menuItem9_DrawingSelectAll
     //
     this.menuItem9_DrawingSelectAll.Index    = 4;
     this.menuItem9_DrawingSelectAll.Shortcut = System.Windows.Forms.Shortcut.CtrlA;
     this.menuItem9_DrawingSelectAll.Text     = "Select All";
     //
     // menuItem10
     //
     this.menuItem10.Index = 5;
     this.menuItem10.Text  = "-";
     //
     // menuItem11_DrawingCopyTo
     //
     this.menuItem11_DrawingCopyTo.Index = 6;
     this.menuItem11_DrawingCopyTo.Text  = "Copy To";
     //
     // menuItem12_DrawingPasteFrom
     //
     this.menuItem12_DrawingPasteFrom.Index = 7;
     this.menuItem12_DrawingPasteFrom.Text  = "Paste From";
     //
     // saveFileDialog1
     //
     this.saveFileDialog1.DefaultExt = "bmp";
     this.saveFileDialog1.Filter     = "Bitmap files|*.bmp|All files|*.*";
     this.saveFileDialog1.Title      = "Copy To";
     //
     // openFileDialog1
     //
     this.openFileDialog1.DefaultExt = "bmp";
     this.openFileDialog1.Filter     = "Bitmap files|*.bmp|All files|*.*";
     this.openFileDialog1.Title      = "Paste From";
     //
     // statusBar1
     //
     this.statusBar1.Location = new System.Drawing.Point(0, 347);
     this.statusBar1.Name     = "statusBar1";
     this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
         this.statusBarPanel1,
         this.statusBarPanel2
     });
     this.statusBar1.ShowPanels = true;
     this.statusBar1.Size       = new System.Drawing.Size(608, 24);
     this.statusBar1.TabIndex   = 0;
     //
     // statusBarPanel1
     //
     this.statusBarPanel1.Width = 400;
     //
     // statusBarPanel2
     //
     this.statusBarPanel2.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring;
     this.statusBarPanel2.Text     = "(0,0)";
     this.statusBarPanel2.Width    = 192;
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem8
     });
     //
     // menuItem8
     //
     this.menuItem8.Index = 0;
     this.menuItem8.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem9_New,
         this.menuItem11_Open,
         this.menuItem12_Save,
         this.menuItem13_SaveAs,
         this.menuItem14,
         this.menuItem11_Print,
         this.menuItem11,
         this.menuItem15_Exit
     });
     this.menuItem8.Text = "File";
     //
     // menuItem9_New
     //
     this.menuItem9_New.Index = 0;
     this.menuItem9_New.Text  = "New";
     //
     // menuItem11_Open
     //
     this.menuItem11_Open.Index = 1;
     this.menuItem11_Open.Text  = "Open";
     //
     // menuItem12_Save
     //
     this.menuItem12_Save.Index = 2;
     this.menuItem12_Save.Text  = "Save";
     //
     // menuItem13_SaveAs
     //
     this.menuItem13_SaveAs.Index = 3;
     this.menuItem13_SaveAs.Text  = "Save As";
     //
     // menuItem14
     //
     this.menuItem14.Index = 4;
     this.menuItem14.Text  = "-";
     //
     // menuItem11_Print
     //
     this.menuItem11_Print.Index = 5;
     this.menuItem11_Print.Text  = "Print";
     //
     // menuItem11
     //
     this.menuItem11.Index = 6;
     this.menuItem11.Text  = "-";
     //
     // menuItem15_Exit
     //
     this.menuItem15_Exit.Index = 7;
     this.menuItem15_Exit.Text  = "Exit";
     //
     // printDialog1
     //
     this.printDialog1.Document = this.printDocument1;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(608, 371);
     this.ContextMenu       = this.contextMenu2;
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.statusBar1,
         this.toolBar1,
         this.drawingPanel1
     });
     this.Menu          = this.mainMenu1;
     this.Name          = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Paint";
     this.toolBar1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit();
     this.ResumeLayout(false);
 }
예제 #5
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem(new System.Windows.Forms.ListViewItem.ListViewSubItem[] {
         new System.Windows.Forms.ListViewItem.ListViewSubItem(null, "Red", System.Drawing.SystemColors.WindowText, System.Drawing.SystemColors.Window, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)))),
         new System.Windows.Forms.ListViewItem.ListViewSubItem(null, "255"),
         new System.Windows.Forms.ListViewItem.ListViewSubItem(null, "0"),
         new System.Windows.Forms.ListViewItem.ListViewSubItem(null, "0")
     }, 0);
     System.Windows.Forms.ListViewItem listViewItem2 = new System.Windows.Forms.ListViewItem(new System.Windows.Forms.ListViewItem.ListViewSubItem[] {
         new System.Windows.Forms.ListViewItem.ListViewSubItem(null, "Green", System.Drawing.SystemColors.WindowText, System.Drawing.SystemColors.Window, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)))),
         new System.Windows.Forms.ListViewItem.ListViewSubItem(null, "0"),
         new System.Windows.Forms.ListViewItem.ListViewSubItem(null, "255"),
         new System.Windows.Forms.ListViewItem.ListViewSubItem(null, "0")
     }, 0);
     System.Windows.Forms.ListViewItem listViewItem3 = new System.Windows.Forms.ListViewItem(new System.Windows.Forms.ListViewItem.ListViewSubItem[] {
         new System.Windows.Forms.ListViewItem.ListViewSubItem(null, "Blue", System.Drawing.SystemColors.WindowText, System.Drawing.SystemColors.Window, new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)))),
         new System.Windows.Forms.ListViewItem.ListViewSubItem(null, "0"),
         new System.Windows.Forms.ListViewItem.ListViewSubItem(null, "0"),
         new System.Windows.Forms.ListViewItem.ListViewSubItem(null, "255")
     }, 0);
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
     this.list_View1          = new Salford.VisualClearWin.List_View();
     this.columnHeader1       = new System.Windows.Forms.ColumnHeader();
     this.columnHeader2       = new System.Windows.Forms.ColumnHeader();
     this.columnHeader3       = new System.Windows.Forms.ColumnHeader();
     this.columnHeader4       = new System.Windows.Forms.ColumnHeader();
     this.contextMenu1        = new System.Windows.Forms.ContextMenu();
     this.menuItem1           = new System.Windows.Forms.MenuItem();
     this.menuItem2           = new System.Windows.Forms.MenuItem();
     this.menuItem3           = new System.Windows.Forms.MenuItem();
     this.menuItem9           = new System.Windows.Forms.MenuItem();
     this.menuItem4           = new System.Windows.Forms.MenuItem();
     this.menuItem5_Details   = new System.Windows.Forms.MenuItem();
     this.menuItem6_LargeIcon = new System.Windows.Forms.MenuItem();
     this.menuItem7_List      = new System.Windows.Forms.MenuItem();
     this.menuItem8_SmallIcon = new System.Windows.Forms.MenuItem();
     this.imageList2          = new System.Windows.Forms.ImageList(this.components);
     this.imageList1          = new System.Windows.Forms.ImageList(this.components);
     this.drawing_Panel1      = new Salford.VisualClearWin.Drawing_Panel();
     this.colorDialog1        = new System.Windows.Forms.ColorDialog();
     this.SuspendLayout();
     //
     // list_View1
     //
     this.list_View1.AllowColumnReorder = true;
     this.list_View1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader1,
         this.columnHeader2,
         this.columnHeader3,
         this.columnHeader4
     });
     this.list_View1.ContextMenu = this.contextMenu1;
     this.list_View1.GridLines   = true;
     this.list_View1.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
     this.list_View1.Items.AddRange(new System.Windows.Forms.ListViewItem[] {
         listViewItem1,
         listViewItem2,
         listViewItem3
     });
     this.list_View1.LabelEdit      = true;
     this.list_View1.LargeImageList = this.imageList2;
     this.list_View1.Location       = new System.Drawing.Point(16, 16);
     this.list_View1.MultiSelect    = false;
     this.list_View1.Name           = "list_View1";
     this.list_View1.Size           = new System.Drawing.Size(232, 136);
     this.list_View1.SmallImageList = this.imageList1;
     this.list_View1.TabIndex       = 0;
     this.list_View1.View           = System.Windows.Forms.View.Details;
     //
     // columnHeader1
     //
     this.columnHeader1.Text = "Colour";
     //
     // columnHeader2
     //
     this.columnHeader2.Text  = "Red";
     this.columnHeader2.Width = 56;
     //
     // columnHeader3
     //
     this.columnHeader3.Text  = "Green";
     this.columnHeader3.Width = 56;
     //
     // columnHeader4
     //
     this.columnHeader4.Text  = "Blue";
     this.columnHeader4.Width = 56;
     //
     // contextMenu1
     //
     this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1,
         this.menuItem2,
         this.menuItem3,
         this.menuItem9,
         this.menuItem4,
         this.menuItem5_Details,
         this.menuItem6_LargeIcon,
         this.menuItem7_List,
         this.menuItem8_SmallIcon
     });
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.Text  = "New";
     //
     // menuItem2
     //
     this.menuItem2.Index = 1;
     this.menuItem2.Text  = "Delete";
     //
     // menuItem3
     //
     this.menuItem3.Index = 2;
     this.menuItem3.Text  = "Edit";
     //
     // menuItem9
     //
     this.menuItem9.Index = 3;
     this.menuItem9.Text  = "Colours";
     //
     // menuItem4
     //
     this.menuItem4.Index = 4;
     this.menuItem4.Text  = "-";
     //
     // menuItem5_Details
     //
     this.menuItem5_Details.Checked = true;
     this.menuItem5_Details.Index   = 5;
     this.menuItem5_Details.Text    = "Details";
     //
     // menuItem6_LargeIcon
     //
     this.menuItem6_LargeIcon.Index = 6;
     this.menuItem6_LargeIcon.Text  = "Large icon";
     //
     // menuItem7_List
     //
     this.menuItem7_List.Index = 7;
     this.menuItem7_List.Text  = "List";
     //
     // menuItem8_SmallIcon
     //
     this.menuItem8_SmallIcon.Index = 8;
     this.menuItem8_SmallIcon.Text  = "Small icon";
     //
     // imageList2
     //
     this.imageList2.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.imageList2.ImageSize        = new System.Drawing.Size(32, 32);
     this.imageList2.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList2.ImageStream")));
     this.imageList2.TransparentColor = System.Drawing.Color.Transparent;
     //
     // imageList1
     //
     this.imageList1.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.imageList1.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     //
     // drawing_Panel1
     //
     this.drawing_Panel1.BitmapSize  = new System.Drawing.Size(0, 0);
     this.drawing_Panel1.FillColor   = System.Drawing.Color.Black;
     this.drawing_Panel1.LineColor   = System.Drawing.Color.Black;
     this.drawing_Panel1.Location    = new System.Drawing.Point(16, 160);
     this.drawing_Panel1.Name        = "drawing_Panel1";
     this.drawing_Panel1.Size        = new System.Drawing.Size(232, 8);
     this.drawing_Panel1.StringColor = System.Drawing.Color.Black;
     this.drawing_Panel1.TabIndex    = 1;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(266, 192);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.drawing_Panel1,
         this.list_View1
     });
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "Form1";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "List View";
     this.ResumeLayout(false);
 }
예제 #6
0
파일: Form4.cs 프로젝트: oluwabukola/script
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form4));
     this.printDialog1             = new System.Windows.Forms.PrintDialog();
     this.printDocument1           = new System.Drawing.Printing.PrintDocument();
     this.saveFileDialog1          = new System.Windows.Forms.SaveFileDialog();
     this.mainMenu1                = new System.Windows.Forms.MainMenu();
     this.menuItem1                = new System.Windows.Forms.MenuItem();
     this.menuItem6                = new System.Windows.Forms.MenuItem();
     this.menuItem30               = new System.Windows.Forms.MenuItem();
     this.menuItem31               = new System.Windows.Forms.MenuItem();
     this.menuItem13_Open          = new System.Windows.Forms.MenuItem();
     this.menuItem8_Close          = new System.Windows.Forms.MenuItem();
     this.menuItem11               = new System.Windows.Forms.MenuItem();
     this.menuItem5_PrintPreview   = new System.Windows.Forms.MenuItem();
     this.menuItem5_Print          = new System.Windows.Forms.MenuItem();
     this.menuItem14_RecentFiles4  = new System.Windows.Forms.MenuItem();
     this.menuItem15               = new System.Windows.Forms.MenuItem();
     this.menuItem16_Exit          = new System.Windows.Forms.MenuItem();
     this.menuItem2                = new System.Windows.Forms.MenuItem();
     this.menuItem3_Cascade        = new System.Windows.Forms.MenuItem();
     this.menuItem4_TileHorizontal = new System.Windows.Forms.MenuItem();
     this.menuItem5_TileVertical   = new System.Windows.Forms.MenuItem();
     this.menuItem17               = new System.Windows.Forms.MenuItem();
     this.printPreviewDialog1      = new System.Windows.Forms.PrintPreviewDialog();
     this.drawing_Panel1           = new Salford.VisualClearWin.Drawing_Panel();
     this.imageList1               = new System.Windows.Forms.ImageList(this.components);
     this.toolBar1            = new System.Windows.Forms.ToolBar();
     this.toolBarButton1      = new System.Windows.Forms.ToolBarButton();
     this.contextMenu1        = new System.Windows.Forms.ContextMenu();
     this.menuItem4           = new System.Windows.Forms.MenuItem();
     this.menuItem3           = new System.Windows.Forms.MenuItem();
     this.toolBarButton2_Open = new System.Windows.Forms.ToolBarButton();
     this.SuspendLayout();
     //
     // printDialog1
     //
     this.printDialog1.AllowSomePages = true;
     this.printDialog1.Document       = this.printDocument1;
     //
     // saveFileDialog1
     //
     this.saveFileDialog1.Filter = "Fortran files (*.f95)|*.f95|All files (*.*)|*.*";
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1,
         this.menuItem2
     });
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem6,
         this.menuItem13_Open,
         this.menuItem8_Close,
         this.menuItem11,
         this.menuItem5_PrintPreview,
         this.menuItem5_Print,
         this.menuItem14_RecentFiles4,
         this.menuItem15,
         this.menuItem16_Exit
     });
     this.menuItem1.MergeType = System.Windows.Forms.MenuMerge.Replace;
     this.menuItem1.Text      = "&File";
     //
     // menuItem6
     //
     this.menuItem6.Index = 0;
     this.menuItem6.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem30,
         this.menuItem31
     });
     this.menuItem6.Text = "New";
     //
     // menuItem30
     //
     this.menuItem30.Index = 0;
     this.menuItem30.Text  = "Text file";
     //
     // menuItem31
     //
     this.menuItem31.Index = 1;
     this.menuItem31.Text  = "RichText file";
     //
     // menuItem13_Open
     //
     this.menuItem13_Open.Index = 1;
     this.menuItem13_Open.Text  = "&Open";
     //
     // menuItem8_Close
     //
     this.menuItem8_Close.Index = 2;
     this.menuItem8_Close.Text  = "Close";
     //
     // menuItem11
     //
     this.menuItem11.Index = 3;
     this.menuItem11.Text  = "-";
     //
     // menuItem5_PrintPreview
     //
     this.menuItem5_PrintPreview.Index = 4;
     this.menuItem5_PrintPreview.Text  = "Print Preview";
     //
     // menuItem5_Print
     //
     this.menuItem5_Print.Index = 5;
     this.menuItem5_Print.Text  = "Print...";
     //
     // menuItem14_RecentFiles4
     //
     this.menuItem14_RecentFiles4.Index = 6;
     this.menuItem14_RecentFiles4.Text  = "Recent files";
     //
     // menuItem15
     //
     this.menuItem15.Index = 7;
     this.menuItem15.Text  = "-";
     //
     // menuItem16_Exit
     //
     this.menuItem16_Exit.Index = 8;
     this.menuItem16_Exit.Text  = "Exit";
     //
     // menuItem2
     //
     this.menuItem2.Index = 1;
     this.menuItem2.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem3_Cascade,
         this.menuItem4_TileHorizontal,
         this.menuItem5_TileVertical,
         this.menuItem17
     });
     this.menuItem2.Text = "&Window";
     //
     // menuItem3_Cascade
     //
     this.menuItem3_Cascade.Index = 0;
     this.menuItem3_Cascade.Text  = "Cascade";
     //
     // menuItem4_TileHorizontal
     //
     this.menuItem4_TileHorizontal.Index = 1;
     this.menuItem4_TileHorizontal.Text  = "Tile Horizontally";
     //
     // menuItem5_TileVertical
     //
     this.menuItem5_TileVertical.Index = 2;
     this.menuItem5_TileVertical.Text  = "Tile Vertically";
     //
     // menuItem17
     //
     this.menuItem17.Index   = 3;
     this.menuItem17.MdiList = true;
     this.menuItem17.Text    = "Windows";
     //
     // printPreviewDialog1
     //
     this.printPreviewDialog1.AutoScrollMargin  = new System.Drawing.Size(0, 0);
     this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0);
     this.printPreviewDialog1.ClientSize        = new System.Drawing.Size(400, 300);
     this.printPreviewDialog1.Document          = this.printDocument1;
     this.printPreviewDialog1.Enabled           = true;
     this.printPreviewDialog1.Icon            = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon")));
     this.printPreviewDialog1.Location        = new System.Drawing.Point(126, 17);
     this.printPreviewDialog1.MaximumSize     = new System.Drawing.Size(0, 0);
     this.printPreviewDialog1.Name            = "printPreviewDialog1";
     this.printPreviewDialog1.Opacity         = 1;
     this.printPreviewDialog1.TransparencyKey = System.Drawing.Color.Empty;
     this.printPreviewDialog1.Visible         = false;
     //
     // drawing_Panel1
     //
     this.drawing_Panel1.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.drawing_Panel1.FillColor   = System.Drawing.Color.Black;
     this.drawing_Panel1.LineColor   = System.Drawing.Color.Black;
     this.drawing_Panel1.Name        = "drawing_Panel1";
     this.drawing_Panel1.Size        = new System.Drawing.Size(208, 166);
     this.drawing_Panel1.StringColor = System.Drawing.Color.Black;
     this.drawing_Panel1.TabIndex    = 0;
     //
     // imageList1
     //
     this.imageList1.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.imageList1.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     //
     // toolBar1
     //
     this.toolBar1.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.toolBarButton1,
         this.toolBarButton2_Open
     });
     this.toolBar1.ButtonSize     = new System.Drawing.Size(16, 16);
     this.toolBar1.DropDownArrows = true;
     this.toolBar1.ImageList      = this.imageList1;
     this.toolBar1.Name           = "toolBar1";
     this.toolBar1.ShowToolTips   = true;
     this.toolBar1.Size           = new System.Drawing.Size(208, 25);
     this.toolBar1.TabIndex       = 4;
     //
     // toolBarButton1
     //
     this.toolBarButton1.DropDownMenu = this.contextMenu1;
     this.toolBarButton1.ImageIndex   = 0;
     this.toolBarButton1.Style        = System.Windows.Forms.ToolBarButtonStyle.DropDownButton;
     //
     // contextMenu1
     //
     this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem4,
         this.menuItem3
     });
     //
     // menuItem4
     //
     this.menuItem4.Index = 0;
     this.menuItem4.Text  = "Text file";
     //
     // menuItem3
     //
     this.menuItem3.Index = 1;
     this.menuItem3.Text  = "RichText file";
     //
     // toolBarButton2_Open
     //
     this.toolBarButton2_Open.ImageIndex = 1;
     //
     // Form4
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(208, 166);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.toolBar1,
         this.drawing_Panel1
     });
     this.Menu        = this.mainMenu1;
     this.Name        = "Form4";
     this.Text        = "Form4";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.ResumeLayout(false);
 }
예제 #7
0
파일: Form1.cs 프로젝트: oluwabukola/script
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.property_Grid1  = new Salford.VisualClearWin.Property_Grid();
     this.drawing_Panel1  = new Salford.VisualClearWin.Drawing_Panel();
     this.decimal_UpDown1 = new Salford.VisualClearWin.Decimal_UpDown();
     this.decimal_UpDown2 = new Salford.VisualClearWin.Decimal_UpDown();
     this.label1          = new System.Windows.Forms.Label();
     this.label2          = new System.Windows.Forms.Label();
     this.label3          = new System.Windows.Forms.Label();
     this.label4          = new System.Windows.Forms.Label();
     this.groupBox1       = new System.Windows.Forms.GroupBox();
     this.decimal_UpDown4 = new Salford.VisualClearWin.Decimal_UpDown();
     this.decimal_UpDown3 = new Salford.VisualClearWin.Decimal_UpDown();
     ((System.ComponentModel.ISupportInitialize)(this.decimal_UpDown1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.decimal_UpDown2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.decimal_UpDown4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.decimal_UpDown3)).BeginInit();
     this.SuspendLayout();
     //
     // property_Grid1
     //
     this.property_Grid1.CommandsVisibleIfAvailable = true;
     this.property_Grid1.GridAttributes             = new string[] {
         "Title|System.String|Attributes|The title",
         "Filled|System.Boolean|Attributes|True if the figured is filled",
         "Colour|System.Drawing.Color|Attributes|The colour of the figure",
         "Font|System.Drawing.Font|Attributes|The font for the title"
     };
     this.property_Grid1.LargeButtons  = false;
     this.property_Grid1.LineColor     = System.Drawing.SystemColors.ScrollBar;
     this.property_Grid1.Location      = new System.Drawing.Point(16, 16);
     this.property_Grid1.Name          = "property_Grid1";
     this.property_Grid1.Size          = new System.Drawing.Size(256, 184);
     this.property_Grid1.TabIndex      = 0;
     this.property_Grid1.Text          = "property_Grid1";
     this.property_Grid1.ViewBackColor = System.Drawing.SystemColors.Window;
     this.property_Grid1.ViewForeColor = System.Drawing.SystemColors.WindowText;
     //
     // drawing_Panel1
     //
     this.drawing_Panel1.BackColor   = System.Drawing.SystemColors.Window;
     this.drawing_Panel1.BitmapSize  = new System.Drawing.Size(0, 0);
     this.drawing_Panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.drawing_Panel1.FillColor   = System.Drawing.Color.Black;
     this.drawing_Panel1.LineColor   = System.Drawing.Color.Black;
     this.drawing_Panel1.Location    = new System.Drawing.Point(285, 16);
     this.drawing_Panel1.Name        = "drawing_Panel1";
     this.drawing_Panel1.Size        = new System.Drawing.Size(272, 266);
     this.drawing_Panel1.StringColor = System.Drawing.Color.Black;
     this.drawing_Panel1.TabIndex    = 1;
     //
     // decimal_UpDown1
     //
     this.decimal_UpDown1.Increment = new System.Decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.decimal_UpDown1.Location = new System.Drawing.Point(56, 221);
     this.decimal_UpDown1.Maximum  = new System.Decimal(new int[] {
         400,
         0,
         0,
         0
     });
     this.decimal_UpDown1.Name     = "decimal_UpDown1";
     this.decimal_UpDown1.Size     = new System.Drawing.Size(48, 20);
     this.decimal_UpDown1.TabIndex = 2;
     this.decimal_UpDown1.Value    = new System.Decimal(new int[] {
         40,
         0,
         0,
         0
     });
     //
     // decimal_UpDown2
     //
     this.decimal_UpDown2.Increment = new System.Decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.decimal_UpDown2.Location = new System.Drawing.Point(56, 253);
     this.decimal_UpDown2.Maximum  = new System.Decimal(new int[] {
         400,
         0,
         0,
         0
     });
     this.decimal_UpDown2.Name     = "decimal_UpDown2";
     this.decimal_UpDown2.Size     = new System.Drawing.Size(48, 20);
     this.decimal_UpDown2.TabIndex = 3;
     this.decimal_UpDown2.Value    = new System.Decimal(new int[] {
         80,
         0,
         0,
         0
     });
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(32, 229);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(16, 16);
     this.label1.TabIndex = 6;
     this.label1.Text     = "x:";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(32, 253);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(16, 16);
     this.label2.TabIndex = 7;
     this.label2.Text     = "y:";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(144, 229);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(40, 16);
     this.label3.TabIndex = 8;
     this.label3.Text     = "Width:";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(144, 253);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(40, 16);
     this.label4.TabIndex = 9;
     this.label4.Text     = "Height:";
     //
     // groupBox1
     //
     this.groupBox1.Location = new System.Drawing.Point(16, 205);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(256, 78);
     this.groupBox1.TabIndex = 10;
     this.groupBox1.TabStop  = false;
     //
     // decimal_UpDown4
     //
     this.decimal_UpDown4.Increment = new System.Decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.decimal_UpDown4.Location = new System.Drawing.Point(192, 253);
     this.decimal_UpDown4.Maximum  = new System.Decimal(new int[] {
         400,
         0,
         0,
         0
     });
     this.decimal_UpDown4.Name     = "decimal_UpDown4";
     this.decimal_UpDown4.Size     = new System.Drawing.Size(48, 20);
     this.decimal_UpDown4.TabIndex = 5;
     this.decimal_UpDown4.Value    = new System.Decimal(new int[] {
         100,
         0,
         0,
         0
     });
     //
     // decimal_UpDown3
     //
     this.decimal_UpDown3.Increment = new System.Decimal(new int[] {
         5,
         0,
         0,
         0
     });
     this.decimal_UpDown3.Location = new System.Drawing.Point(192, 221);
     this.decimal_UpDown3.Maximum  = new System.Decimal(new int[] {
         400,
         0,
         0,
         0
     });
     this.decimal_UpDown3.Name     = "decimal_UpDown3";
     this.decimal_UpDown3.Size     = new System.Drawing.Size(48, 20);
     this.decimal_UpDown3.TabIndex = 4;
     this.decimal_UpDown3.Value    = new System.Decimal(new int[] {
         200,
         0,
         0,
         0
     });
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(574, 296);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.decimal_UpDown4);
     this.Controls.Add(this.decimal_UpDown3);
     this.Controls.Add(this.decimal_UpDown2);
     this.Controls.Add(this.decimal_UpDown1);
     this.Controls.Add(this.drawing_Panel1);
     this.Controls.Add(this.property_Grid1);
     this.Controls.Add(this.groupBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "Form1";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Property Grid";
     ((System.ComponentModel.ISupportInitialize)(this.decimal_UpDown1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.decimal_UpDown2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.decimal_UpDown4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.decimal_UpDown3)).EndInit();
     this.ResumeLayout(false);
 }