Example #1
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.mainMenu1               = new System.Windows.Forms.MainMenu();
     this.menuItem1               = new System.Windows.Forms.MenuItem();
     this.menuItem2_New           = new System.Windows.Forms.MenuItem();
     this.menuItem3_Open          = new System.Windows.Forms.MenuItem();
     this.menuItem8_Save          = new System.Windows.Forms.MenuItem();
     this.menuItem9_SaveAs        = new System.Windows.Forms.MenuItem();
     this.menuItem4               = new System.Windows.Forms.MenuItem();
     this.menuItem11_PageSetup    = new System.Windows.Forms.MenuItem();
     this.menuItem12_PrintPreview = new System.Windows.Forms.MenuItem();
     this.menuItem10_Print        = new System.Windows.Forms.MenuItem();
     this.menuItem5_RecentFiles4  = new System.Windows.Forms.MenuItem();
     this.menuItem6               = new System.Windows.Forms.MenuItem();
     this.menuItem7_Exit          = new System.Windows.Forms.MenuItem();
     this.menuItem13              = new System.Windows.Forms.MenuItem();
     this.menuItem14_Undo         = new System.Windows.Forms.MenuItem();
     this.menuItem16              = new System.Windows.Forms.MenuItem();
     this.menuItem17_Cut          = new System.Windows.Forms.MenuItem();
     this.menuItem18_Copy         = new System.Windows.Forms.MenuItem();
     this.menuItem19_Paste        = new System.Windows.Forms.MenuItem();
     this.menuItem15              = new System.Windows.Forms.MenuItem();
     this.menuItem20_WordWrap     = new System.Windows.Forms.MenuItem();
     this.menuItem21              = new System.Windows.Forms.MenuItem();
     this.statusBar1              = new System.Windows.Forms.StatusBar();
     this.openFileDialog1         = new System.Windows.Forms.OpenFileDialog();
     this.saveFileDialog1         = new System.Windows.Forms.SaveFileDialog();
     this.printDialog1            = new System.Windows.Forms.PrintDialog();
     this.printDocument1          = new System.Drawing.Printing.PrintDocument();
     this.printPreviewDialog1     = new System.Windows.Forms.PrintPreviewDialog();
     this.pageSetupDialog1        = new System.Windows.Forms.PageSetupDialog();
     this.fontDialog1             = new System.Windows.Forms.FontDialog();
     this.imageList1              = new System.Windows.Forms.ImageList(this.components);
     this.toolBar1             = new System.Windows.Forms.ToolBar();
     this.toolBarButton1_New   = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton2_Open  = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton3_Save  = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton4       = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton5_Cut   = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton6_Copy  = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton7_Paste = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton1       = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton2       = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton3       = 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.toolBarButton12      = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton13      = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton14      = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton15      = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton16      = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton17      = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton18      = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton_Print  = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton20      = new System.Windows.Forms.ToolBarButton();
     this.text_Box1            = new Salford.VisualClearWin.Text_Box();
     this.comboBox1            = new System.Windows.Forms.ComboBox();
     this.toolTip1             = new System.Windows.Forms.ToolTip(this.components);
     this.SuspendLayout();
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1,
         this.menuItem13,
         this.menuItem15
     });
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem2_New,
         this.menuItem3_Open,
         this.menuItem8_Save,
         this.menuItem9_SaveAs,
         this.menuItem4,
         this.menuItem11_PageSetup,
         this.menuItem12_PrintPreview,
         this.menuItem10_Print,
         this.menuItem5_RecentFiles4,
         this.menuItem6,
         this.menuItem7_Exit
     });
     this.menuItem1.MergeType = System.Windows.Forms.MenuMerge.MergeItems;
     this.menuItem1.Text      = "&File";
     //
     // menuItem2_New
     //
     this.menuItem2_New.Index = 0;
     this.menuItem2_New.Text  = "New|Creates a new document";
     //
     // menuItem3_Open
     //
     this.menuItem3_Open.Index = 1;
     this.menuItem3_Open.Text  = "&Open|Opens files";
     //
     // menuItem8_Save
     //
     this.menuItem8_Save.Enabled = false;
     this.menuItem8_Save.Index   = 2;
     this.menuItem8_Save.Text    = "Save|Saves the document";
     //
     // menuItem9_SaveAs
     //
     this.menuItem9_SaveAs.Index = 3;
     this.menuItem9_SaveAs.Text  = "Save As|Saves the document with a different name";
     //
     // menuItem4
     //
     this.menuItem4.Index = 4;
     this.menuItem4.Text  = "-";
     //
     // menuItem11_PageSetup
     //
     this.menuItem11_PageSetup.Index = 5;
     this.menuItem11_PageSetup.Text  = "Page Setup|Displays the Page Setup dialog";
     //
     // menuItem12_PrintPreview
     //
     this.menuItem12_PrintPreview.Index = 6;
     this.menuItem12_PrintPreview.Text  = "Print Preview|Displays the Print Preview dialog";
     //
     // menuItem10_Print
     //
     this.menuItem10_Print.Index = 7;
     this.menuItem10_Print.Text  = "Print...|Starts a printing process";
     //
     // menuItem5_RecentFiles4
     //
     this.menuItem5_RecentFiles4.Index = 8;
     this.menuItem5_RecentFiles4.Text  = "Recent files";
     //
     // menuItem6
     //
     this.menuItem6.Index = 9;
     this.menuItem6.Text  = "-";
     //
     // menuItem7_Exit
     //
     this.menuItem7_Exit.Index = 10;
     this.menuItem7_Exit.Text  = "Exit|Exits from the application";
     //
     // menuItem13
     //
     this.menuItem13.Index = 1;
     this.menuItem13.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem14_Undo,
         this.menuItem16,
         this.menuItem17_Cut,
         this.menuItem18_Copy,
         this.menuItem19_Paste
     });
     this.menuItem13.Text = "Edit";
     //
     // menuItem14_Undo
     //
     this.menuItem14_Undo.Index = 0;
     this.menuItem14_Undo.Text  = "Undo|Undoes the last edit";
     //
     // menuItem16
     //
     this.menuItem16.Index = 1;
     this.menuItem16.Text  = "-";
     //
     // menuItem17_Cut
     //
     this.menuItem17_Cut.Index = 2;
     this.menuItem17_Cut.Text  = "Cut|Cuts the selection to the clipboard";
     //
     // menuItem18_Copy
     //
     this.menuItem18_Copy.Index = 3;
     this.menuItem18_Copy.Text  = "Copy|Copies the selection to the clipboard";
     //
     // menuItem19_Paste
     //
     this.menuItem19_Paste.Index = 4;
     this.menuItem19_Paste.Text  = "Paste|Pastes the clipboard at the current position";
     //
     // menuItem15
     //
     this.menuItem15.Index = 2;
     this.menuItem15.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem20_WordWrap,
         this.menuItem21
     });
     this.menuItem15.Text = "Format";
     //
     // menuItem20_WordWrap
     //
     this.menuItem20_WordWrap.Index = 0;
     this.menuItem20_WordWrap.Text  = "Word Wrap|Toggles the Word Wrap property";
     //
     // menuItem21
     //
     this.menuItem21.Index = 1;
     this.menuItem21.Text  = "Font...|Displays the Font dialog";
     //
     // statusBar1
     //
     this.statusBar1.Location = new System.Drawing.Point(0, 401);
     this.statusBar1.Name     = "statusBar1";
     this.statusBar1.Size     = new System.Drawing.Size(696, 24);
     this.statusBar1.TabIndex = 1;
     this.statusBar1.Text     = "Ready";
     //
     // openFileDialog1
     //
     this.openFileDialog1.Filter = "Fotran files (*.f95)|*.f95|All files (*.*)|*.*";
     //
     // saveFileDialog1
     //
     this.saveFileDialog1.Filter = "Fortran files (*.f95)|*.f95|All files (*.*)|*.*";
     //
     // printDialog1
     //
     this.printDialog1.AllowSomePages = true;
     this.printDialog1.Document       = this.printDocument1;
     //
     // 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(627, 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;
     //
     // fontDialog1
     //
     this.fontDialog1.ShowColor = true;
     //
     // imageList1
     //
     this.imageList1.ColorDepth       = System.Windows.Forms.ColorDepth.Depth24Bit;
     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_New,
         this.toolBarButton2_Open,
         this.toolBarButton3_Save,
         this.toolBarButton4,
         this.toolBarButton5_Cut,
         this.toolBarButton6_Copy,
         this.toolBarButton7_Paste,
         this.toolBarButton1,
         this.toolBarButton2,
         this.toolBarButton3,
         this.toolBarButton5,
         this.toolBarButton6,
         this.toolBarButton7,
         this.toolBarButton8,
         this.toolBarButton9,
         this.toolBarButton10,
         this.toolBarButton11,
         this.toolBarButton12,
         this.toolBarButton13,
         this.toolBarButton14,
         this.toolBarButton15,
         this.toolBarButton16,
         this.toolBarButton17,
         this.toolBarButton18,
         this.toolBarButton_Print,
         this.toolBarButton20
     });
     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(696, 25);
     this.toolBar1.TabIndex       = 4;
     //
     // toolBarButton1_New
     //
     this.toolBarButton1_New.ImageIndex  = 0;
     this.toolBarButton1_New.ToolTipText = "New";
     //
     // toolBarButton2_Open
     //
     this.toolBarButton2_Open.ImageIndex  = 1;
     this.toolBarButton2_Open.ToolTipText = "Open";
     //
     // toolBarButton3_Save
     //
     this.toolBarButton3_Save.ImageIndex  = 2;
     this.toolBarButton3_Save.ToolTipText = "Save";
     //
     // toolBarButton4
     //
     this.toolBarButton4.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton5_Cut
     //
     this.toolBarButton5_Cut.ImageIndex  = 4;
     this.toolBarButton5_Cut.ToolTipText = "Cut";
     //
     // toolBarButton6_Copy
     //
     this.toolBarButton6_Copy.ImageIndex  = 5;
     this.toolBarButton6_Copy.ToolTipText = "Copy";
     //
     // toolBarButton7_Paste
     //
     this.toolBarButton7_Paste.ImageIndex  = 6;
     this.toolBarButton7_Paste.ToolTipText = "Paste";
     //
     // toolBarButton1
     //
     this.toolBarButton1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     this.toolBarButton1.Text  = "comboBox1";
     //
     // toolBarButton2
     //
     this.toolBarButton2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton3
     //
     this.toolBarButton3.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton5
     //
     this.toolBarButton5.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton6
     //
     this.toolBarButton6.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // 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;
     //
     // toolBarButton12
     //
     this.toolBarButton12.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton13
     //
     this.toolBarButton13.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton14
     //
     this.toolBarButton14.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton15
     //
     this.toolBarButton15.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton16
     //
     this.toolBarButton16.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton17
     //
     this.toolBarButton17.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton18
     //
     this.toolBarButton18.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     this.toolBarButton18.Text  = "comboBox1";
     //
     // toolBarButton_Print
     //
     this.toolBarButton_Print.ImageIndex  = 7;
     this.toolBarButton_Print.ToolTipText = "Print";
     //
     // toolBarButton20
     //
     this.toolBarButton20.ImageIndex  = 8;
     this.toolBarButton20.ToolTipText = "Find";
     //
     // text_Box1
     //
     this.text_Box1.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.text_Box1.Font          = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.text_Box1.HideSelection = false;
     this.text_Box1.Location      = new System.Drawing.Point(0, 25);
     this.text_Box1.MaxLength     = 0;
     this.text_Box1.Multiline     = true;
     this.text_Box1.Name          = "text_Box1";
     this.text_Box1.ScrollBars    = System.Windows.Forms.ScrollBars.Both;
     this.text_Box1.Size          = new System.Drawing.Size(696, 376);
     this.text_Box1.TabIndex      = 0;
     this.text_Box1.Text          = "";
     //
     // comboBox1
     //
     this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox1.Font          = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.comboBox1.Items.AddRange(new object[] {
         "Courier New",
         "Microsoft Sans Serif"
     });
     this.comboBox1.Location         = new System.Drawing.Point(150, 4);
     this.comboBox1.MaxDropDownItems = 16;
     this.comboBox1.MaxLength        = 80;
     this.comboBox1.Name             = "comboBox1";
     this.comboBox1.Size             = new System.Drawing.Size(126, 21);
     this.comboBox1.TabIndex         = 6;
     this.toolTip1.SetToolTip(this.comboBox1, "Font name");
     //
     // Form1
     //
     this.AllowDrop         = true;
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
     this.ClientSize        = new System.Drawing.Size(696, 425);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.comboBox1,
         this.text_Box1,
         this.toolBar1,
         this.statusBar1
     });
     this.Font          = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Menu          = this.mainMenu1;
     this.Name          = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "MyNotes";
     this.ResumeLayout(false);
 }
Example #2
0
 /// <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);
 }
Example #3
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 string[] {
         "Item 1",
         "Data 1"
     }, -1, 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))));
     System.Windows.Forms.ListViewItem listViewItem2 = new System.Windows.Forms.ListViewItem(new string[] {
         "Item 2",
         "Data 2"
     }, -1, 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))));
     System.Windows.Forms.ListViewItem listViewItem3 = new System.Windows.Forms.ListViewItem(new string[] {
         "Item 3",
         "Data 3"
     }, -1, 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))));
     this.tab_Control1  = new Salford.VisualClearWin.Tab_Control();
     this.tabPage1      = new System.Windows.Forms.TabPage();
     this.group_Box1    = new Salford.VisualClearWin.Group_Box();
     this.check_Box1    = new Salford.VisualClearWin.Check_Box();
     this.int32_Box2    = new Salford.VisualClearWin.Int32_Box();
     this.check_Box2    = new Salford.VisualClearWin.Check_Box();
     this.int32_Box1    = new Salford.VisualClearWin.Int32_Box();
     this.int32_Box3    = new Salford.VisualClearWin.Int32_Box();
     this.check_Box3    = new Salford.VisualClearWin.Check_Box();
     this.tabPage4      = new System.Windows.Forms.TabPage();
     this.text_Box1     = new Salford.VisualClearWin.Text_Box();
     this.int32_Box8    = new Salford.VisualClearWin.Int32_Box();
     this.combo_Box1    = new Salford.VisualClearWin.Combo_Box();
     this.tabPage7      = new System.Windows.Forms.TabPage();
     this.int32_Box11   = new Salford.VisualClearWin.Int32_Box();
     this.list_View1    = new Salford.VisualClearWin.List_View();
     this.columnHeader1 = new System.Windows.Forms.ColumnHeader();
     this.columnHeader2 = new System.Windows.Forms.ColumnHeader();
     this.tabPage3      = new System.Windows.Forms.TabPage();
     this.int32_Box7    = new Salford.VisualClearWin.Int32_Box();
     this.list_Box1     = new Salford.VisualClearWin.List_Box();
     this.tabPage8      = new System.Windows.Forms.TabPage();
     this.int32_Box12   = new Salford.VisualClearWin.Int32_Box();
     this.tree_View1    = new Salford.VisualClearWin.Tree_View();
     this.tabPage5      = new System.Windows.Forms.TabPage();
     this.int32_Box9    = new Salford.VisualClearWin.Int32_Box();
     this.track_Bar1    = new Salford.VisualClearWin.Track_Bar();
     this.tabPage6      = new System.Windows.Forms.TabPage();
     this.int32_Box10   = new Salford.VisualClearWin.Int32_Box();
     this.progressBar1  = new System.Windows.Forms.ProgressBar();
     this.tabPage2      = new System.Windows.Forms.TabPage();
     this.int32_Box6    = new Salford.VisualClearWin.Int32_Box();
     this.radio_Button3 = new Salford.VisualClearWin.Radio_Button();
     this.int32_Box5    = new Salford.VisualClearWin.Int32_Box();
     this.radio_Button2 = new Salford.VisualClearWin.Radio_Button();
     this.int32_Box4    = new Salford.VisualClearWin.Int32_Box();
     this.radio_Button1 = new Salford.VisualClearWin.Radio_Button();
     this.timer1        = new System.Windows.Forms.Timer(this.components);
     this.tab_Control1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.group_Box1.SuspendLayout();
     this.tabPage4.SuspendLayout();
     this.tabPage7.SuspendLayout();
     this.tabPage3.SuspendLayout();
     this.tabPage8.SuspendLayout();
     this.tabPage5.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.track_Bar1)).BeginInit();
     this.tabPage6.SuspendLayout();
     this.tabPage2.SuspendLayout();
     this.SuspendLayout();
     //
     // tab_Control1
     //
     this.tab_Control1.Controls.Add(this.tabPage1);
     this.tab_Control1.Controls.Add(this.tabPage4);
     this.tab_Control1.Controls.Add(this.tabPage7);
     this.tab_Control1.Controls.Add(this.tabPage3);
     this.tab_Control1.Controls.Add(this.tabPage8);
     this.tab_Control1.Controls.Add(this.tabPage5);
     this.tab_Control1.Controls.Add(this.tabPage6);
     this.tab_Control1.Controls.Add(this.tabPage2);
     this.tab_Control1.Font          = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.tab_Control1.HotTrack      = true;
     this.tab_Control1.ItemSize      = new System.Drawing.Size(74, 18);
     this.tab_Control1.Location      = new System.Drawing.Point(8, 8);
     this.tab_Control1.Name          = "tab_Control1";
     this.tab_Control1.Pivoting      = Salford.VisualClearWin.Pivot.Full;
     this.tab_Control1.SelectedIndex = 0;
     this.tab_Control1.Size          = new System.Drawing.Size(504, 152);
     this.tab_Control1.TabIndex      = 0;
     //
     // tabPage1
     //
     this.tabPage1.Controls.Add(this.group_Box1);
     this.tabPage1.Location = new System.Drawing.Point(4, 22);
     this.tabPage1.Name     = "tabPage1";
     this.tabPage1.Size     = new System.Drawing.Size(496, 126);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text     = "Check boxes";
     //
     // group_Box1
     //
     this.group_Box1.Controls.Add(this.check_Box1);
     this.group_Box1.Controls.Add(this.int32_Box2);
     this.group_Box1.Controls.Add(this.check_Box2);
     this.group_Box1.Controls.Add(this.int32_Box1);
     this.group_Box1.Controls.Add(this.int32_Box3);
     this.group_Box1.Controls.Add(this.check_Box3);
     this.group_Box1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.group_Box1.Location  = new System.Drawing.Point(8, 8);
     this.group_Box1.Name      = "group_Box1";
     this.group_Box1.Pivoting  = Salford.VisualClearWin.Pivot.Full;
     this.group_Box1.Size      = new System.Drawing.Size(480, 112);
     this.group_Box1.TabIndex  = 6;
     this.group_Box1.TabStop   = false;
     this.group_Box1.Text      = "Group";
     //
     // check_Box1
     //
     this.check_Box1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.check_Box1.Location  = new System.Drawing.Point(56, 24);
     this.check_Box1.Name      = "check_Box1";
     this.check_Box1.Size      = new System.Drawing.Size(72, 16);
     this.check_Box1.TabIndex  = 0;
     this.check_Box1.Text      = "Check 1";
     //
     // int32_Box2
     //
     this.int32_Box2.Location = new System.Drawing.Point(152, 52);
     this.int32_Box2.Maximum  = 2147483647;
     this.int32_Box2.Minimum  = -2147483648;
     this.int32_Box2.Name     = "int32_Box2";
     this.int32_Box2.Size     = new System.Drawing.Size(32, 20);
     this.int32_Box2.TabIndex = 4;
     this.int32_Box2.Text     = "";
     //
     // check_Box2
     //
     this.check_Box2.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.check_Box2.Location  = new System.Drawing.Point(56, 52);
     this.check_Box2.Name      = "check_Box2";
     this.check_Box2.Size      = new System.Drawing.Size(72, 13);
     this.check_Box2.TabIndex  = 1;
     this.check_Box2.Text      = "Check 2";
     //
     // int32_Box1
     //
     this.int32_Box1.Location = new System.Drawing.Point(152, 24);
     this.int32_Box1.Maximum  = 2147483647;
     this.int32_Box1.Minimum  = -2147483648;
     this.int32_Box1.Name     = "int32_Box1";
     this.int32_Box1.Size     = new System.Drawing.Size(32, 20);
     this.int32_Box1.TabIndex = 3;
     this.int32_Box1.Text     = "";
     //
     // int32_Box3
     //
     this.int32_Box3.Location = new System.Drawing.Point(152, 80);
     this.int32_Box3.Maximum  = 2147483647;
     this.int32_Box3.Minimum  = -2147483648;
     this.int32_Box3.Name     = "int32_Box3";
     this.int32_Box3.Size     = new System.Drawing.Size(32, 20);
     this.int32_Box3.TabIndex = 5;
     this.int32_Box3.Text     = "";
     //
     // check_Box3
     //
     this.check_Box3.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.check_Box3.Location  = new System.Drawing.Point(56, 80);
     this.check_Box3.Name      = "check_Box3";
     this.check_Box3.Size      = new System.Drawing.Size(72, 16);
     this.check_Box3.TabIndex  = 2;
     this.check_Box3.Text      = "Check 3";
     //
     // tabPage4
     //
     this.tabPage4.Controls.Add(this.text_Box1);
     this.tabPage4.Controls.Add(this.int32_Box8);
     this.tabPage4.Controls.Add(this.combo_Box1);
     this.tabPage4.Location = new System.Drawing.Point(4, 22);
     this.tabPage4.Name     = "tabPage4";
     this.tabPage4.Size     = new System.Drawing.Size(496, 126);
     this.tabPage4.TabIndex = 3;
     this.tabPage4.Text     = "Combo Box";
     //
     // text_Box1
     //
     this.text_Box1.Location = new System.Drawing.Point(64, 16);
     this.text_Box1.Name     = "text_Box1";
     this.text_Box1.Size     = new System.Drawing.Size(184, 20);
     this.text_Box1.TabIndex = 2;
     this.text_Box1.Text     = "";
     //
     // int32_Box8
     //
     this.int32_Box8.Location = new System.Drawing.Point(8, 16);
     this.int32_Box8.Maximum  = 2147483647;
     this.int32_Box8.Minimum  = -2147483648;
     this.int32_Box8.Name     = "int32_Box8";
     this.int32_Box8.Size     = new System.Drawing.Size(24, 20);
     this.int32_Box8.TabIndex = 1;
     this.int32_Box8.Text     = "";
     //
     // combo_Box1
     //
     this.combo_Box1.Items.AddRange(new object[] {
         "Item 1",
         "Item 2",
         "Item 3"
     });
     this.combo_Box1.Location = new System.Drawing.Point(8, 48);
     this.combo_Box1.Name     = "combo_Box1";
     this.combo_Box1.Pivoting = Salford.VisualClearWin.Pivot.Horizontal;
     this.combo_Box1.Size     = new System.Drawing.Size(480, 21);
     this.combo_Box1.TabIndex = 0;
     //
     // tabPage7
     //
     this.tabPage7.Controls.Add(this.int32_Box11);
     this.tabPage7.Controls.Add(this.list_View1);
     this.tabPage7.Location = new System.Drawing.Point(4, 22);
     this.tabPage7.Name     = "tabPage7";
     this.tabPage7.Size     = new System.Drawing.Size(496, 126);
     this.tabPage7.TabIndex = 6;
     this.tabPage7.Text     = "List view";
     //
     // int32_Box11
     //
     this.int32_Box11.Location = new System.Drawing.Point(8, 8);
     this.int32_Box11.Maximum  = 2147483647;
     this.int32_Box11.Minimum  = -2147483648;
     this.int32_Box11.Name     = "int32_Box11";
     this.int32_Box11.Size     = new System.Drawing.Size(24, 20);
     this.int32_Box11.TabIndex = 1;
     this.int32_Box11.Text     = "";
     //
     // list_View1
     //
     this.list_View1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader1,
         this.columnHeader2
     });
     this.list_View1.FullRowSelect = true;
     this.list_View1.GridLines     = true;
     this.list_View1.Items.AddRange(new System.Windows.Forms.ListViewItem[] {
         listViewItem1,
         listViewItem2,
         listViewItem3
     });
     this.list_View1.Location    = new System.Drawing.Point(8, 40);
     this.list_View1.MultiSelect = false;
     this.list_View1.Name        = "list_View1";
     this.list_View1.Pivoting    = Salford.VisualClearWin.Pivot.Full;
     this.list_View1.Size        = new System.Drawing.Size(480, 72);
     this.list_View1.TabIndex    = 0;
     this.list_View1.View        = System.Windows.Forms.View.Details;
     //
     // columnHeader1
     //
     this.columnHeader1.Text = "Column 1";
     //
     // columnHeader2
     //
     this.columnHeader2.Text = "Column 2";
     //
     // tabPage3
     //
     this.tabPage3.Controls.Add(this.int32_Box7);
     this.tabPage3.Controls.Add(this.list_Box1);
     this.tabPage3.Location = new System.Drawing.Point(4, 22);
     this.tabPage3.Name     = "tabPage3";
     this.tabPage3.Size     = new System.Drawing.Size(496, 126);
     this.tabPage3.TabIndex = 2;
     this.tabPage3.Text     = "List box";
     //
     // int32_Box7
     //
     this.int32_Box7.Location = new System.Drawing.Point(8, 8);
     this.int32_Box7.Maximum  = 2147483647;
     this.int32_Box7.Minimum  = -2147483648;
     this.int32_Box7.Name     = "int32_Box7";
     this.int32_Box7.Size     = new System.Drawing.Size(32, 20);
     this.int32_Box7.TabIndex = 1;
     this.int32_Box7.Text     = "";
     //
     // list_Box1
     //
     this.list_Box1.Items.AddRange(new object[] {
         "Item 1",
         "Item 2",
         "Item 3"
     });
     this.list_Box1.Location = new System.Drawing.Point(8, 40);
     this.list_Box1.Name     = "list_Box1";
     this.list_Box1.Pivoting = Salford.VisualClearWin.Pivot.Full;
     this.list_Box1.Size     = new System.Drawing.Size(480, 69);
     this.list_Box1.TabIndex = 0;
     this.list_Box1.Val      = -1;
     //
     // tabPage8
     //
     this.tabPage8.Controls.Add(this.int32_Box12);
     this.tabPage8.Controls.Add(this.tree_View1);
     this.tabPage8.Location = new System.Drawing.Point(4, 22);
     this.tabPage8.Name     = "tabPage8";
     this.tabPage8.Size     = new System.Drawing.Size(496, 126);
     this.tabPage8.TabIndex = 7;
     this.tabPage8.Text     = "Tree view";
     //
     // int32_Box12
     //
     this.int32_Box12.Location = new System.Drawing.Point(8, 8);
     this.int32_Box12.Maximum  = 2147483647;
     this.int32_Box12.Minimum  = -2147483648;
     this.int32_Box12.Name     = "int32_Box12";
     this.int32_Box12.Size     = new System.Drawing.Size(32, 20);
     this.int32_Box12.TabIndex = 1;
     this.int32_Box12.Text     = "";
     //
     // tree_View1
     //
     this.tree_View1.HideSelection = false;
     this.tree_View1.ImageIndex    = -1;
     this.tree_View1.Location      = new System.Drawing.Point(8, 40);
     this.tree_View1.Name          = "tree_View1";
     this.tree_View1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
         new System.Windows.Forms.TreeNode("Chapter 1", new System.Windows.Forms.TreeNode[] {
             new System.Windows.Forms.TreeNode("Section 1.1"),
             new System.Windows.Forms.TreeNode("Section 1.2")
         }),
         new System.Windows.Forms.TreeNode("Chapter 2", new System.Windows.Forms.TreeNode[] {
             new System.Windows.Forms.TreeNode("Section 2.1"),
             new System.Windows.Forms.TreeNode("Section 2.2")
         })
     });
     this.tree_View1.Pivoting           = Salford.VisualClearWin.Pivot.Full;
     this.tree_View1.SelectedImageIndex = -1;
     this.tree_View1.Size     = new System.Drawing.Size(480, 80);
     this.tree_View1.TabIndex = 0;
     //
     // tabPage5
     //
     this.tabPage5.Controls.Add(this.int32_Box9);
     this.tabPage5.Controls.Add(this.track_Bar1);
     this.tabPage5.Location = new System.Drawing.Point(4, 22);
     this.tabPage5.Name     = "tabPage5";
     this.tabPage5.Size     = new System.Drawing.Size(496, 126);
     this.tabPage5.TabIndex = 4;
     this.tabPage5.Text     = "Track bar";
     //
     // int32_Box9
     //
     this.int32_Box9.Location = new System.Drawing.Point(104, 88);
     this.int32_Box9.Maximum  = 2147483647;
     this.int32_Box9.Minimum  = -2147483648;
     this.int32_Box9.Name     = "int32_Box9";
     this.int32_Box9.Size     = new System.Drawing.Size(48, 20);
     this.int32_Box9.TabIndex = 1;
     this.int32_Box9.Text     = "";
     //
     // track_Bar1
     //
     this.track_Bar1.Location = new System.Drawing.Point(48, 24);
     this.track_Bar1.Name     = "track_Bar1";
     this.track_Bar1.Size     = new System.Drawing.Size(160, 45);
     this.track_Bar1.TabIndex = 0;
     //
     // tabPage6
     //
     this.tabPage6.Controls.Add(this.int32_Box10);
     this.tabPage6.Controls.Add(this.progressBar1);
     this.tabPage6.Location = new System.Drawing.Point(4, 22);
     this.tabPage6.Name     = "tabPage6";
     this.tabPage6.Size     = new System.Drawing.Size(496, 126);
     this.tabPage6.TabIndex = 5;
     this.tabPage6.Text     = "Progress";
     //
     // int32_Box10
     //
     this.int32_Box10.Location = new System.Drawing.Point(224, 80);
     this.int32_Box10.Maximum  = 2147483647;
     this.int32_Box10.Minimum  = -2147483648;
     this.int32_Box10.Name     = "int32_Box10";
     this.int32_Box10.ReadOnly = true;
     this.int32_Box10.Size     = new System.Drawing.Size(24, 20);
     this.int32_Box10.TabIndex = 1;
     this.int32_Box10.Text     = "0";
     //
     // progressBar1
     //
     this.progressBar1.Location = new System.Drawing.Point(16, 40);
     this.progressBar1.Maximum  = 464;
     this.progressBar1.Name     = "progressBar1";
     this.progressBar1.Size     = new System.Drawing.Size(464, 24);
     this.progressBar1.Step     = 1;
     this.progressBar1.TabIndex = 0;
     //
     // tabPage2
     //
     this.tabPage2.Controls.Add(this.int32_Box6);
     this.tabPage2.Controls.Add(this.radio_Button3);
     this.tabPage2.Controls.Add(this.int32_Box5);
     this.tabPage2.Controls.Add(this.radio_Button2);
     this.tabPage2.Controls.Add(this.int32_Box4);
     this.tabPage2.Controls.Add(this.radio_Button1);
     this.tabPage2.Location = new System.Drawing.Point(4, 22);
     this.tabPage2.Name     = "tabPage2";
     this.tabPage2.Size     = new System.Drawing.Size(496, 126);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text     = "Radio buttons";
     //
     // int32_Box6
     //
     this.int32_Box6.Location = new System.Drawing.Point(160, 72);
     this.int32_Box6.Maximum  = 2147483647;
     this.int32_Box6.Minimum  = -2147483648;
     this.int32_Box6.Name     = "int32_Box6";
     this.int32_Box6.Size     = new System.Drawing.Size(24, 20);
     this.int32_Box6.TabIndex = 5;
     this.int32_Box6.Text     = "";
     //
     // radio_Button3
     //
     this.radio_Button3.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.radio_Button3.Location  = new System.Drawing.Point(72, 72);
     this.radio_Button3.Name      = "radio_Button3";
     this.radio_Button3.Size      = new System.Drawing.Size(64, 16);
     this.radio_Button3.TabIndex  = 4;
     this.radio_Button3.Text      = "Radio 3";
     //
     // int32_Box5
     //
     this.int32_Box5.Location = new System.Drawing.Point(160, 48);
     this.int32_Box5.Maximum  = 2147483647;
     this.int32_Box5.Minimum  = -2147483648;
     this.int32_Box5.Name     = "int32_Box5";
     this.int32_Box5.Size     = new System.Drawing.Size(24, 20);
     this.int32_Box5.TabIndex = 3;
     this.int32_Box5.Text     = "";
     //
     // radio_Button2
     //
     this.radio_Button2.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.radio_Button2.Location  = new System.Drawing.Point(72, 48);
     this.radio_Button2.Name      = "radio_Button2";
     this.radio_Button2.Size      = new System.Drawing.Size(64, 16);
     this.radio_Button2.TabIndex  = 2;
     this.radio_Button2.Text      = "Radio 2";
     //
     // int32_Box4
     //
     this.int32_Box4.Location = new System.Drawing.Point(160, 24);
     this.int32_Box4.Maximum  = 2147483647;
     this.int32_Box4.Minimum  = -2147483648;
     this.int32_Box4.Name     = "int32_Box4";
     this.int32_Box4.Size     = new System.Drawing.Size(24, 20);
     this.int32_Box4.TabIndex = 1;
     this.int32_Box4.Text     = "0";
     //
     // radio_Button1
     //
     this.radio_Button1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.radio_Button1.Location  = new System.Drawing.Point(72, 24);
     this.radio_Button1.Name      = "radio_Button1";
     this.radio_Button1.Size      = new System.Drawing.Size(64, 16);
     this.radio_Button1.TabIndex  = 0;
     this.radio_Button1.Text      = "Radio 1";
     //
     // timer1
     //
     this.timer1.Enabled  = true;
     this.timer1.Interval = 1000;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(528, 174);
     this.Controls.Add(this.tab_Control1);
     this.MaximizeBox   = false;
     this.MinimizeBox   = false;
     this.Name          = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Controls";
     this.tab_Control1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.group_Box1.ResumeLayout(false);
     this.tabPage4.ResumeLayout(false);
     this.tabPage7.ResumeLayout(false);
     this.tabPage3.ResumeLayout(false);
     this.tabPage8.ResumeLayout(false);
     this.tabPage5.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.track_Bar1)).EndInit();
     this.tabPage6.ResumeLayout(false);
     this.tabPage2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Example #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(Form2));
     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.menuItem10_Save          = new System.Windows.Forms.MenuItem();
     this.menuItem9_SaveAs         = new System.Windows.Forms.MenuItem();
     this.menuItem12               = new System.Windows.Forms.MenuItem();
     this.menuItem29_PageSetup     = new System.Windows.Forms.MenuItem();
     this.menuItem28_PrintPreview  = new System.Windows.Forms.MenuItem();
     this.menuItem7_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.menuItem18               = new System.Windows.Forms.MenuItem();
     this.menuItem19_Undo          = new System.Windows.Forms.MenuItem();
     this.menuItem20_Redo          = new System.Windows.Forms.MenuItem();
     this.menuItem21               = new System.Windows.Forms.MenuItem();
     this.menuItem22_Cut           = new System.Windows.Forms.MenuItem();
     this.menuItem23_Copy          = new System.Windows.Forms.MenuItem();
     this.menuItem24_Paste         = new System.Windows.Forms.MenuItem();
     this.menuItem5_Delete         = new System.Windows.Forms.MenuItem();
     this.menuItem26               = new System.Windows.Forms.MenuItem();
     this.menuItem27_SelectAll     = new System.Windows.Forms.MenuItem();
     this.menuItem32               = new System.Windows.Forms.MenuItem();
     this.menuItem33_WordWrap      = new System.Windows.Forms.MenuItem();
     this.menuItem34_Font          = 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.pageSetupDialog1         = new System.Windows.Forms.PageSetupDialog();
     this.fontDialog1              = new System.Windows.Forms.FontDialog();
     this.text_Box1                = new Salford.VisualClearWin.Text_Box();
     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.menuItem18,
         this.menuItem32,
         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.menuItem10_Save,
         this.menuItem9_SaveAs,
         this.menuItem12,
         this.menuItem29_PageSetup,
         this.menuItem28_PrintPreview,
         this.menuItem7_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  = "-";
     //
     // menuItem10_Save
     //
     this.menuItem10_Save.Enabled = false;
     this.menuItem10_Save.Index   = 4;
     this.menuItem10_Save.Text    = "Save";
     //
     // menuItem9_SaveAs
     //
     this.menuItem9_SaveAs.Index = 5;
     this.menuItem9_SaveAs.Text  = "Save As";
     //
     // menuItem12
     //
     this.menuItem12.Index = 6;
     this.menuItem12.Text  = "-";
     //
     // menuItem29_PageSetup
     //
     this.menuItem29_PageSetup.Index = 7;
     this.menuItem29_PageSetup.Text  = "Page Setup";
     //
     // menuItem28_PrintPreview
     //
     this.menuItem28_PrintPreview.Index = 8;
     this.menuItem28_PrintPreview.Text  = "Print Preview";
     //
     // menuItem7_Print
     //
     this.menuItem7_Print.Index = 9;
     this.menuItem7_Print.Text  = "Print...";
     //
     // menuItem14_RecentFiles4
     //
     this.menuItem14_RecentFiles4.Index = 10;
     this.menuItem14_RecentFiles4.Text  = "Recent files";
     //
     // menuItem15
     //
     this.menuItem15.Index = 11;
     this.menuItem15.Text  = "-";
     //
     // menuItem16_Exit
     //
     this.menuItem16_Exit.Index = 12;
     this.menuItem16_Exit.Text  = "Exit";
     //
     // menuItem18
     //
     this.menuItem18.Index = 1;
     this.menuItem18.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem19_Undo,
         this.menuItem20_Redo,
         this.menuItem21,
         this.menuItem22_Cut,
         this.menuItem23_Copy,
         this.menuItem24_Paste,
         this.menuItem5_Delete,
         this.menuItem26,
         this.menuItem27_SelectAll
     });
     this.menuItem18.Text = "&Edit";
     //
     // menuItem19_Undo
     //
     this.menuItem19_Undo.Index = 0;
     this.menuItem19_Undo.Text  = "Undo";
     //
     // menuItem20_Redo
     //
     this.menuItem20_Redo.Index = 1;
     this.menuItem20_Redo.Text  = "Redo";
     //
     // menuItem21
     //
     this.menuItem21.Index = 2;
     this.menuItem21.Text  = "-";
     //
     // menuItem22_Cut
     //
     this.menuItem22_Cut.Index = 3;
     this.menuItem22_Cut.Text  = "Cut";
     //
     // menuItem23_Copy
     //
     this.menuItem23_Copy.Index = 4;
     this.menuItem23_Copy.Text  = "Copy";
     //
     // menuItem24_Paste
     //
     this.menuItem24_Paste.Index = 5;
     this.menuItem24_Paste.Text  = "Paste";
     //
     // menuItem5_Delete
     //
     this.menuItem5_Delete.Index = 6;
     this.menuItem5_Delete.Text  = "Delete";
     //
     // menuItem26
     //
     this.menuItem26.Index = 7;
     this.menuItem26.Text  = "-";
     //
     // menuItem27_SelectAll
     //
     this.menuItem27_SelectAll.Index = 8;
     this.menuItem27_SelectAll.Text  = "Select All";
     //
     // menuItem32
     //
     this.menuItem32.Index = 2;
     this.menuItem32.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem33_WordWrap,
         this.menuItem34_Font
     });
     this.menuItem32.Text = "Format";
     //
     // menuItem33_WordWrap
     //
     this.menuItem33_WordWrap.Index = 0;
     this.menuItem33_WordWrap.Text  = "Word Wrap";
     //
     // menuItem34_Font
     //
     this.menuItem34_Font.Index = 1;
     this.menuItem34_Font.Text  = "Font";
     //
     // menuItem2
     //
     this.menuItem2.Index = 3;
     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(491, 18);
     this.printPreviewDialog1.MinimumSize     = new System.Drawing.Size(375, 250);
     this.printPreviewDialog1.Name            = "printPreviewDialog1";
     this.printPreviewDialog1.TransparencyKey = System.Drawing.Color.Empty;
     this.printPreviewDialog1.Visible         = false;
     //
     // pageSetupDialog1
     //
     this.pageSetupDialog1.Document = this.printDocument1;
     //
     // fontDialog1
     //
     this.fontDialog1.Font      = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.fontDialog1.ShowColor = true;
     //
     // text_Box1
     //
     this.text_Box1.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.text_Box1.Font       = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.text_Box1.Location   = new System.Drawing.Point(0, 0);
     this.text_Box1.Multiline  = true;
     this.text_Box1.Name       = "text_Box1";
     this.text_Box1.ScrollBars = System.Windows.Forms.ScrollBars.Both;
     this.text_Box1.Size       = new System.Drawing.Size(208, 69);
     this.text_Box1.TabIndex   = 2;
     this.text_Box1.Text       = "";
     //
     // imageList1
     //
     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.Location       = new System.Drawing.Point(0, 0);
     this.toolBar1.Name           = "toolBar1";
     this.toolBar1.ShowToolTips   = true;
     this.toolBar1.Size           = new System.Drawing.Size(208, 28);
     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;
     //
     // Form2
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(208, 69);
     this.Controls.Add(this.toolBar1);
     this.Controls.Add(this.text_Box1);
     this.Menu        = this.mainMenu1;
     this.Name        = "Form2";
     this.Text        = "Form2";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.ResumeLayout(false);
 }
Example #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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
     this.imageList1           = new System.Windows.Forms.ImageList(this.components);
     this.toolBar1             = new System.Windows.Forms.ToolBar();
     this.toolBarButton1       = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton5       = 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_Down  = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton6_Up    = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton7_Left  = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton8_Right = new System.Windows.Forms.ToolBarButton();
     this.tree_View1           = new Salford.VisualClearWin.Tree_View();
     this.imageList2           = new System.Windows.Forms.ImageList(this.components);
     this.text_Box1            = new Salford.VisualClearWin.Text_Box();
     this.toolTip1             = new System.Windows.Forms.ToolTip(this.components);
     this.mainMenu1            = new System.Windows.Forms.MainMenu();
     this.menuItem1            = new System.Windows.Forms.MenuItem();
     this.menuItem2_New        = new System.Windows.Forms.MenuItem();
     this.menuItem3_Open       = new System.Windows.Forms.MenuItem();
     this.menuItem4_Save       = new System.Windows.Forms.MenuItem();
     this.menuItem5_SaveAs     = new System.Windows.Forms.MenuItem();
     this.menuItem6_Exit       = new System.Windows.Forms.MenuItem();
     this.openFileDialog1      = new System.Windows.Forms.OpenFileDialog();
     this.saveFileDialog1      = new System.Windows.Forms.SaveFileDialog();
     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();
     ((System.ComponentModel.ISupportInitialize)(this.decimal_UpDown1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.decimal_UpDown2)).BeginInit();
     this.SuspendLayout();
     //
     // imageList1
     //
     this.imageList1.ColorDepth       = System.Windows.Forms.ColorDepth.Depth24Bit;
     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;
     //
     // toolBar1
     //
     this.toolBar1.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.toolBarButton1,
         this.toolBarButton5,
         this.toolBarButton2,
         this.toolBarButton3,
         this.toolBarButton4,
         this.toolBarButton5_Down,
         this.toolBarButton6_Up,
         this.toolBarButton7_Left,
         this.toolBarButton8_Right
     });
     this.toolBar1.DropDownArrows = true;
     this.toolBar1.ImageList      = this.imageList1;
     this.toolBar1.Name           = "toolBar1";
     this.toolBar1.ShowToolTips   = true;
     this.toolBar1.Size           = new System.Drawing.Size(288, 25);
     this.toolBar1.TabIndex       = 1;
     //
     // toolBarButton1
     //
     this.toolBarButton1.ImageIndex  = 0;
     this.toolBarButton1.ToolTipText = "Append a sibling node";
     //
     // toolBarButton5
     //
     this.toolBarButton5.ImageIndex  = 7;
     this.toolBarButton5.ToolTipText = "Insert a sibling node";
     //
     // toolBarButton2
     //
     this.toolBarButton2.ImageIndex  = 1;
     this.toolBarButton2.ToolTipText = "Add a child node";
     //
     // toolBarButton3
     //
     this.toolBarButton3.ImageIndex  = 2;
     this.toolBarButton3.ToolTipText = "Delete the selected node and its children";
     //
     // toolBarButton4
     //
     this.toolBarButton4.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton5_Down
     //
     this.toolBarButton5_Down.ImageIndex  = 3;
     this.toolBarButton5_Down.ToolTipText = "Move down";
     //
     // toolBarButton6_Up
     //
     this.toolBarButton6_Up.ImageIndex  = 4;
     this.toolBarButton6_Up.ToolTipText = "Move up";
     //
     // toolBarButton7_Left
     //
     this.toolBarButton7_Left.ImageIndex  = 5;
     this.toolBarButton7_Left.ToolTipText = "Move left";
     //
     // toolBarButton8_Right
     //
     this.toolBarButton8_Right.ImageIndex  = 6;
     this.toolBarButton8_Right.ToolTipText = "Move right";
     //
     // tree_View1
     //
     this.tree_View1.HideSelection = false;
     this.tree_View1.ImageList     = this.imageList2;
     this.tree_View1.LabelEdit     = true;
     this.tree_View1.Location      = new System.Drawing.Point(0, 80);
     this.tree_View1.Name          = "tree_View1";
     this.tree_View1.Pivoting      = Salford.VisualClearWin.Pivot.Full;
     this.tree_View1.Size          = new System.Drawing.Size(288, 176);
     this.tree_View1.TabIndex      = 0;
     this.toolTip1.SetToolTip(this.tree_View1, "Edit the tree here...");
     //
     // imageList2
     //
     this.imageList2.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.imageList2.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageList2.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList2.ImageStream")));
     this.imageList2.TransparentColor = System.Drawing.Color.Transparent;
     //
     // text_Box1
     //
     this.text_Box1.Enabled       = false;
     this.text_Box1.HideSelection = false;
     this.text_Box1.Location      = new System.Drawing.Point(48, 56);
     this.text_Box1.Name          = "text_Box1";
     this.text_Box1.Pivoting      = Salford.VisualClearWin.Pivot.Horizontal;
     this.text_Box1.Size          = new System.Drawing.Size(234, 20);
     this.text_Box1.TabIndex      = 2;
     this.text_Box1.Text          = "";
     this.toolTip1.SetToolTip(this.text_Box1, "Enter node data here...");
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1
     });
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem2_New,
         this.menuItem3_Open,
         this.menuItem4_Save,
         this.menuItem5_SaveAs,
         this.menuItem6_Exit
     });
     this.menuItem1.Text = "File";
     //
     // menuItem2_New
     //
     this.menuItem2_New.Index = 0;
     this.menuItem2_New.Text  = "New";
     //
     // menuItem3_Open
     //
     this.menuItem3_Open.Index = 1;
     this.menuItem3_Open.Text  = "Open";
     //
     // menuItem4_Save
     //
     this.menuItem4_Save.Index = 2;
     this.menuItem4_Save.Text  = "Save";
     //
     // menuItem5_SaveAs
     //
     this.menuItem5_SaveAs.Index = 3;
     this.menuItem5_SaveAs.Text  = "Save As";
     //
     // menuItem6_Exit
     //
     this.menuItem6_Exit.Index = 4;
     this.menuItem6_Exit.Text  = "Exit";
     //
     // openFileDialog1
     //
     this.openFileDialog1.DefaultExt = "tre";
     this.openFileDialog1.Filter     = "Tree files (*.tre)|*.tre|All files (*.*)|*.*";
     //
     // saveFileDialog1
     //
     this.saveFileDialog1.Filter = "Tree files (*.tre)|*.tre|All files (*.*)|*.*";
     //
     // decimal_UpDown1
     //
     this.decimal_UpDown1.Enabled  = false;
     this.decimal_UpDown1.Location = new System.Drawing.Point(56, 32);
     this.decimal_UpDown1.Maximum  = new System.Decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.decimal_UpDown1.Minimum = new System.Decimal(new int[] {
         1,
         0,
         0,
         -2147483648
     });
     this.decimal_UpDown1.Name     = "decimal_UpDown1";
     this.decimal_UpDown1.Size     = new System.Drawing.Size(40, 20);
     this.decimal_UpDown1.TabIndex = 3;
     //
     // decimal_UpDown2
     //
     this.decimal_UpDown2.Enabled  = false;
     this.decimal_UpDown2.Location = new System.Drawing.Point(208, 32);
     this.decimal_UpDown2.Maximum  = new System.Decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.decimal_UpDown2.Minimum = new System.Decimal(new int[] {
         1,
         0,
         0,
         -2147483648
     });
     this.decimal_UpDown2.Name     = "decimal_UpDown2";
     this.decimal_UpDown2.Size     = new System.Drawing.Size(40, 20);
     this.decimal_UpDown2.TabIndex = 4;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 35);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(39, 16);
     this.label1.TabIndex = 5;
     this.label1.Text     = "Image:";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(112, 35);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(86, 16);
     this.label2.TabIndex = 6;
     this.label2.Text     = "Selected Image:";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(8, 59);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(32, 16);
     this.label3.TabIndex = 7;
     this.label3.Text     = "Data:";
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(288, 257);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.label3,
         this.label2,
         this.label1,
         this.decimal_UpDown2,
         this.decimal_UpDown1,
         this.text_Box1,
         this.tree_View1,
         this.toolBar1
     });
     this.Menu          = this.mainMenu1;
     this.Name          = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "TreeNode Editor";
     ((System.ComponentModel.ISupportInitialize)(this.decimal_UpDown1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.decimal_UpDown2)).EndInit();
     this.ResumeLayout(false);
 }
Example #6
0
        /// <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.int32_Box1     = new Salford.VisualClearWin.Int32_Box();
            this.double_Box1    = new Salford.VisualClearWin.Double_Box();
            this.label1         = new System.Windows.Forms.Label();
            this.label2         = new System.Windows.Forms.Label();
            this.text_Box1      = new Salford.VisualClearWin.Text_Box();
            this.label3         = new System.Windows.Forms.Label();
            this.label5         = new System.Windows.Forms.Label();
            this.int32_Box3     = new Salford.VisualClearWin.Int32_Box();
            this.groupBox1      = new System.Windows.Forms.GroupBox();
            this.textBox1       = new System.Windows.Forms.TextBox();
            this.check_Box1     = new Salford.VisualClearWin.Check_Box();
            this.label6         = new System.Windows.Forms.Label();
            this.text_Box2      = new Salford.VisualClearWin.Text_Box();
            this.int32_Box2     = new Salford.VisualClearWin.Int32_Box();
            this.int32_Box4     = new Salford.VisualClearWin.Int32_Box();
            this.label4         = new System.Windows.Forms.Label();
            this.groupBox1.SuspendLayout();
            this.SuspendLayout();
            //
            // property_Grid1
            //
            this.property_Grid1.CommandsVisibleIfAvailable = true;
            this.property_Grid1.GridAttributes             = new string[] {
                "Integer|System.Int32|Numbers|Help for integer",
                "Double|System.Double|Numbers|Help for double",
                "String|System.String|Attributes|Help for string",
                "Logical|System.Boolean|Attributes|Help for logical",
                "Colour|System.Drawing.Color|Attributes|Help for colour",
                "Font|System.Drawing.Font|Attributes|Help for font",
                "Point|System.Drawing.Point|Attributes|Help for point|10,20"
            };
            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(272, 264);
            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;
            //
            // int32_Box1
            //
            this.int32_Box1.Location = new System.Drawing.Point(416, 64);
            this.int32_Box1.Maximum  = 2147483647;
            this.int32_Box1.Minimum  = -2147483648;
            this.int32_Box1.Name     = "int32_Box1";
            this.int32_Box1.Size     = new System.Drawing.Size(72, 20);
            this.int32_Box1.TabIndex = 1;
            this.int32_Box1.Text     = "";
            //
            // double_Box1
            //
            this.double_Box1.ExpFigs  = 2;
            this.double_Box1.Location = new System.Drawing.Point(416, 96);
//		  this.double_Box1.Maximum = 1E+60;
//		  this.double_Box1.Minimum = 1E+60;
            this.double_Box1.Name     = "double_Box1";
            this.double_Box1.Size     = new System.Drawing.Size(72, 20);
            this.double_Box1.TabIndex = 2;
            this.double_Box1.Text     = "0";
            //
            // label1
            //
            this.label1.Location = new System.Drawing.Point(352, 70);
            this.label1.Name     = "label1";
            this.label1.Size     = new System.Drawing.Size(48, 14);
            this.label1.TabIndex = 3;
            this.label1.Text     = "Integer";
            //
            // label2
            //
            this.label2.Location = new System.Drawing.Point(352, 101);
            this.label2.Name     = "label2";
            this.label2.Size     = new System.Drawing.Size(48, 14);
            this.label2.TabIndex = 4;
            this.label2.Text     = "Double";
            //
            // text_Box1
            //
            this.text_Box1.Location = new System.Drawing.Point(416, 128);
            this.text_Box1.Name     = "text_Box1";
            this.text_Box1.Size     = new System.Drawing.Size(112, 20);
            this.text_Box1.TabIndex = 5;
            this.text_Box1.Text     = "";
            //
            // label3
            //
            this.label3.Location = new System.Drawing.Point(352, 133);
            this.label3.Name     = "label3";
            this.label3.Size     = new System.Drawing.Size(48, 14);
            this.label3.TabIndex = 6;
            this.label3.Text     = "String";
            //
            // label5
            //
            this.label5.Location = new System.Drawing.Point(352, 188);
            this.label5.Name     = "label5";
            this.label5.Size     = new System.Drawing.Size(48, 16);
            this.label5.TabIndex = 10;
            this.label5.Text     = "Colour";
            //
            // int32_Box3
            //
            this.int32_Box3.Digits   = 3;
            this.int32_Box3.Location = new System.Drawing.Point(464, 184);
            this.int32_Box3.Maximum  = 255;
            this.int32_Box3.Minimum  = -999;
            this.int32_Box3.Name     = "int32_Box3";
            this.int32_Box3.Size     = new System.Drawing.Size(32, 20);
            this.int32_Box3.TabIndex = 9;
            this.int32_Box3.Text     = "255";
            this.int32_Box3.Value    = 255;
            //
            // groupBox1
            //
            this.groupBox1.Controls.AddRange(new System.Windows.Forms.Control[] {
                this.textBox1,
                this.check_Box1
            });
            this.groupBox1.Location = new System.Drawing.Point(336, 48);
            this.groupBox1.Name     = "groupBox1";
            this.groupBox1.Size     = new System.Drawing.Size(256, 232);
            this.groupBox1.TabIndex = 11;
            this.groupBox1.TabStop  = false;
            //
            // textBox1
            //
            this.textBox1.Enabled  = false;
            this.textBox1.Location = new System.Drawing.Point(80, 200);
            this.textBox1.Name     = "textBox1";
            this.textBox1.ReadOnly = true;
            this.textBox1.Size     = new System.Drawing.Size(160, 20);
            this.textBox1.TabIndex = 1;
            this.textBox1.Text     = "";
            //
            // check_Box1
            //
            this.check_Box1.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.check_Box1.Location   = new System.Drawing.Point(16, 112);
            this.check_Box1.Name       = "check_Box1";
            this.check_Box1.Size       = new System.Drawing.Size(78, 16);
            this.check_Box1.TabIndex   = 0;
            this.check_Box1.Text       = "Logical";
            //
            // label6
            //
            this.label6.Location = new System.Drawing.Point(352, 220);
            this.label6.Name     = "label6";
            this.label6.Size     = new System.Drawing.Size(48, 13);
            this.label6.TabIndex = 13;
            this.label6.Text     = "Font";
            //
            // text_Box2
            //
            this.text_Box2.Location = new System.Drawing.Point(416, 216);
            this.text_Box2.Name     = "text_Box2";
            this.text_Box2.Size     = new System.Drawing.Size(160, 20);
            this.text_Box2.TabIndex = 12;
            this.text_Box2.Text     = "";
            //
            // int32_Box2
            //
            this.int32_Box2.Digits   = 3;
            this.int32_Box2.Location = new System.Drawing.Point(416, 184);
            this.int32_Box2.Maximum  = 255;
            this.int32_Box2.Minimum  = -999;
            this.int32_Box2.Name     = "int32_Box2";
            this.int32_Box2.Size     = new System.Drawing.Size(32, 20);
            this.int32_Box2.TabIndex = 14;
            this.int32_Box2.Text     = "0";
            //
            // int32_Box4
            //
            this.int32_Box4.Digits   = 3;
            this.int32_Box4.Location = new System.Drawing.Point(512, 184);
            this.int32_Box4.Maximum  = 255;
            this.int32_Box4.Minimum  = -999;
            this.int32_Box4.Name     = "int32_Box4";
            this.int32_Box4.Size     = new System.Drawing.Size(32, 20);
            this.int32_Box4.TabIndex = 15;
            this.int32_Box4.Text     = "0";
            //
            // label4
            //
            this.label4.Location = new System.Drawing.Point(352, 252);
            this.label4.Name     = "label4";
            this.label4.Size     = new System.Drawing.Size(48, 13);
            this.label4.TabIndex = 16;
            this.label4.Text     = "Size";
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize        = new System.Drawing.Size(618, 304);
            this.Controls.AddRange(new System.Windows.Forms.Control[] {
                this.label4,
                this.int32_Box4,
                this.int32_Box2,
                this.label3,
                this.label6,
                this.text_Box2,
                this.label5,
                this.int32_Box3,
                this.text_Box1,
                this.label2,
                this.label1,
                this.double_Box1,
                this.int32_Box1,
                this.property_Grid1,
                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";
            this.groupBox1.ResumeLayout(false);
            this.ResumeLayout(false);
        }