Exemplo n.º 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(Form3));
     this.main_Menu1          = new Salford.VisualClearWin.Main_Menu();
     this.imageList2          = new System.Windows.Forms.ImageList(this.components);
     this.menuItemFile        = new System.Windows.Forms.MenuItem();
     this.menuItemNew         = new System.Windows.Forms.MenuItem();
     this.menuItemOpen        = new System.Windows.Forms.MenuItem();
     this.menuItemSave        = new System.Windows.Forms.MenuItem();
     this.menuItemSaveAs      = new System.Windows.Forms.MenuItem();
     this.menuItem5           = new System.Windows.Forms.MenuItem();
     this.menuItemRecentFiles = new System.Windows.Forms.MenuItem();
     this.menuItemExit        = new System.Windows.Forms.MenuItem();
     this.menuItemWindow      = new System.Windows.Forms.MenuItem();
     this.menuItemCloseAll    = new System.Windows.Forms.MenuItem();
     this.menuItemWindows     = new System.Windows.Forms.MenuItem();
     this.imageList1          = new System.Windows.Forms.ImageList(this.components);
     this.toolBar1            = new System.Windows.Forms.ToolBar();
     this.toolBarButton_New   = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton_Open  = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton_Save  = new System.Windows.Forms.ToolBarButton();
     this.tabControl1         = new System.Windows.Forms.TabControl();
     this.tabPage1            = new System.Windows.Forms.TabPage();
     this.textBox1            = new System.Windows.Forms.RichTextBox();
     this.saveFileDialog1     = new System.Windows.Forms.SaveFileDialog();
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.SuspendLayout();
     //
     // main_Menu1
     //
     this.main_Menu1.ImageBackColor = System.Drawing.SystemColors.Control;
     this.main_Menu1.ImageList      = this.imageList2;
     this.main_Menu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItemFile,
         this.menuItemWindow
     });
     //
     // imageList2
     //
     this.imageList2.ColorDepth       = System.Windows.Forms.ColorDepth.Depth24Bit;
     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.White;
     //
     // menuItemFile
     //
     this.menuItemFile.Index = 0;
     this.menuItemFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItemNew,
         this.menuItemOpen,
         this.menuItemSave,
         this.menuItemSaveAs,
         this.menuItem5,
         this.menuItemRecentFiles,
         this.menuItemExit
     });
     this.menuItemFile.Text = "File";
     //
     // menuItemNew
     //
     this.main_Menu1.SetCallback(this.menuItemNew, "New");
     this.main_Menu1.SetImageIndex(this.menuItemNew, "0");
     this.menuItemNew.Index = 0;
     this.main_Menu1.SetMenuTip(this.menuItemNew, "Creates a new file");
     this.menuItemNew.Text = "New";
     //
     // menuItemOpen
     //
     this.main_Menu1.SetCallback(this.menuItemOpen, "Open");
     this.main_Menu1.SetImageIndex(this.menuItemOpen, "1");
     this.menuItemOpen.Index = 1;
     this.main_Menu1.SetMenuTip(this.menuItemOpen, "Opens an existing file");
     this.menuItemOpen.Text = "Open";
     //
     // menuItemSave
     //
     this.main_Menu1.SetCallback(this.menuItemSave, "Save");
     this.menuItemSave.Enabled = false;
     this.main_Menu1.SetImageIndex(this.menuItemSave, "2");
     this.menuItemSave.Index = 2;
     this.main_Menu1.SetMenuTip(this.menuItemSave, "Saves the current file");
     this.menuItemSave.Text = "Save";
     //
     // menuItemSaveAs
     //
     this.main_Menu1.SetCallback(this.menuItemSaveAs, "SaveAs");
     this.main_Menu1.SetImageIndex(this.menuItemSaveAs, "");
     this.menuItemSaveAs.Index = 3;
     this.main_Menu1.SetMenuTip(this.menuItemSaveAs, "Saves the current file with a new name.");
     this.menuItemSaveAs.Text = "Save As";
     //
     // menuItem5
     //
     this.main_Menu1.SetCallback(this.menuItem5, null);
     this.main_Menu1.SetImageIndex(this.menuItem5, null);
     this.menuItem5.Index = 4;
     this.main_Menu1.SetMenuTip(this.menuItem5, null);
     this.menuItem5.Text = "-";
     //
     // menuItemRecentFiles
     //
     this.main_Menu1.SetCallback(this.menuItemRecentFiles, "RecentFiles4");
     this.main_Menu1.SetImageIndex(this.menuItemRecentFiles, "");
     this.menuItemRecentFiles.Index = 5;
     this.main_Menu1.SetMenuTip(this.menuItemRecentFiles, "");
     this.menuItemRecentFiles.Text = "Recent Files...";
     //
     // menuItemExit
     //
     this.main_Menu1.SetCallback(this.menuItemExit, "Exit");
     this.main_Menu1.SetImageIndex(this.menuItemExit, "");
     this.menuItemExit.Index = 6;
     this.main_Menu1.SetMenuTip(this.menuItemExit, "Exits from the application");
     this.menuItemExit.Text = "Exit";
     //
     // menuItemWindow
     //
     this.menuItemWindow.Index = 1;
     this.menuItemWindow.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItemCloseAll,
         this.menuItemWindows
     });
     this.menuItemWindow.Text = "Window";
     //
     // menuItemCloseAll
     //
     this.main_Menu1.SetCallback(this.menuItemCloseAll, "CloseAll");
     this.main_Menu1.SetImageIndex(this.menuItemCloseAll, "3");
     this.menuItemCloseAll.Index = 0;
     this.main_Menu1.SetMenuTip(this.menuItemCloseAll, "Closes all files");
     this.menuItemCloseAll.Text = "Close All";
     //
     // menuItemWindows
     //
     this.main_Menu1.SetCallback(this.menuItemWindows, "Windows");
     this.main_Menu1.SetImageIndex(this.menuItemWindows, "");
     this.menuItemWindows.Index = 1;
     this.main_Menu1.SetMenuTip(this.menuItemWindows, "");
     this.menuItemWindows.Text = "Windows";
     //
     // 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.toolBarButton_New,
         this.toolBarButton_Open,
         this.toolBarButton_Save
     });
     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(292, 25);
     this.toolBar1.TabIndex       = 0;
     //
     // toolBarButton_New
     //
     this.toolBarButton_New.ImageIndex  = 0;
     this.toolBarButton_New.ToolTipText = "New";
     //
     // toolBarButton_Open
     //
     this.toolBarButton_Open.ImageIndex  = 1;
     this.toolBarButton_Open.ToolTipText = "Open";
     //
     // toolBarButton_Save
     //
     this.toolBarButton_Save.ImageIndex  = 2;
     this.toolBarButton_Save.ToolTipText = "Save";
     //
     // tabControl1
     //
     this.tabControl1.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.tabPage1
     });
     this.tabControl1.Location      = new System.Drawing.Point(24, 56);
     this.tabControl1.Name          = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size          = new System.Drawing.Size(232, 168);
     this.tabControl1.TabIndex      = 1;
     //
     // tabPage1
     //
     this.tabPage1.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.textBox1
     });
     this.tabPage1.Location = new System.Drawing.Point(4, 22);
     this.tabPage1.Name     = "tabPage1";
     this.tabPage1.Size     = new System.Drawing.Size(224, 142);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text     = "tabPage1";
     //
     // textBox1
     //
     this.textBox1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.textBox1.Font     = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.textBox1.Name     = "textBox1";
     this.textBox1.Size     = new System.Drawing.Size(224, 142);
     this.textBox1.TabIndex = 0;
     this.textBox1.Text     = "";
     //
     // saveFileDialog1
     //
     this.saveFileDialog1.FileName = "doc1";
     //
     // Form3
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(292, 266);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.tabControl1,
         this.toolBar1
     });
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Menu            = this.main_Menu1;
     this.Name            = "Form3";
     this.Text            = "Form3";
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Exemplo n.º 2
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.main_Menu1      = new Salford.VisualClearWin.Main_Menu();
     this.imageList1      = new System.Windows.Forms.ImageList(this.components);
     this.menuItem1       = new System.Windows.Forms.MenuItem();
     this.menuItem3       = new System.Windows.Forms.MenuItem();
     this.menuItem4       = new System.Windows.Forms.MenuItem();
     this.menuItem2       = new System.Windows.Forms.MenuItem();
     this.menuItem6       = new System.Windows.Forms.MenuItem();
     this.menuItem7       = new System.Windows.Forms.MenuItem();
     this.context_Menu1   = new Salford.VisualClearWin.Context_Menu();
     this.menuItem8       = 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.pictureBox1     = new System.Windows.Forms.PictureBox();
     this.SuspendLayout();
     //
     // main_Menu1
     //
     this.main_Menu1.ImageBackColor = System.Drawing.SystemColors.Control;
     this.main_Menu1.ImageList      = this.imageList1;
     this.main_Menu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1,
         this.menuItem6
     });
     //
     // 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;
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem3,
         this.menuItem4,
         this.menuItem2
     });
     this.menuItem1.Text = "File";
     //
     // menuItem3
     //
     this.main_Menu1.SetCallback(this.menuItem3, "Open");
     this.main_Menu1.SetImageIndex(this.menuItem3, "0");
     this.menuItem3.Index = 0;
     this.main_Menu1.SetMenuTip(this.menuItem3, "Opens a file.");
     this.menuItem3.Text = "Open";
     //
     // menuItem4
     //
     this.main_Menu1.SetCallback(this.menuItem4, null);
     this.main_Menu1.SetImageIndex(this.menuItem4, null);
     this.menuItem4.Index = 1;
     this.main_Menu1.SetMenuTip(this.menuItem4, null);
     this.menuItem4.Text = "-";
     //
     // menuItem2
     //
     this.main_Menu1.SetCallback(this.menuItem2, "Exit");
     this.main_Menu1.SetImageIndex(this.menuItem2, "1");
     this.menuItem2.Index = 2;
     this.main_Menu1.SetMenuTip(this.menuItem2, "Exits the application.");
     this.menuItem2.Text = "Exit";
     //
     // menuItem6
     //
     this.menuItem6.Index = 1;
     this.menuItem6.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem7
     });
     this.menuItem6.Text = "Help";
     //
     // menuItem7
     //
     this.main_Menu1.SetCallback(this.menuItem7, "");
     this.main_Menu1.SetImageIndex(this.menuItem7, "2");
     this.menuItem7.Index = 0;
     this.main_Menu1.SetMenuTip(this.menuItem7, "Gives information about this application.");
     this.menuItem7.Text = "About";
     //
     // context_Menu1
     //
     this.context_Menu1.ImageBackColor = System.Drawing.SystemColors.Control;
     this.context_Menu1.ImageList      = this.imageList1;
     this.context_Menu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem8,
         this.menuItem9,
         this.menuItem10
     });
     //
     // menuItem8
     //
     this.context_Menu1.SetCallback(this.menuItem8, "");
     this.context_Menu1.SetImageIndex(this.menuItem8, "");
     this.menuItem8.Index = 0;
     this.context_Menu1.SetMenuTip(this.menuItem8, "");
     this.menuItem8.Text = "Cut";
     //
     // menuItem9
     //
     this.context_Menu1.SetCallback(this.menuItem9, "");
     this.context_Menu1.SetImageIndex(this.menuItem9, "");
     this.menuItem9.Index = 1;
     this.context_Menu1.SetMenuTip(this.menuItem9, "Copies to the clipboard");
     this.menuItem9.Text = "Copy";
     //
     // menuItem10
     //
     this.context_Menu1.SetCallback(this.menuItem10, "");
     this.context_Menu1.SetImageIndex(this.menuItem10, "");
     this.menuItem10.Index = 2;
     this.context_Menu1.SetMenuTip(this.menuItem10, "");
     this.menuItem10.Text = "Paste";
     //
     // statusBar1
     //
     this.statusBar1.Location = new System.Drawing.Point(0, 242);
     this.statusBar1.Name     = "statusBar1";
     this.statusBar1.Size     = new System.Drawing.Size(292, 24);
     this.statusBar1.TabIndex = 0;
     this.statusBar1.Text     = "Ready";
     //
     // pictureBox1
     //
     this.pictureBox1.Location = new System.Drawing.Point(200, 256);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.TabIndex = 1;
     this.pictureBox1.TabStop  = false;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(292, 266);
     this.ContextMenu       = this.context_Menu1;
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.pictureBox1,
         this.statusBar1
     });
     this.Menu = this.main_Menu1;
     this.Name = "Form1";
     this.Text = "Form1";
     this.ResumeLayout(false);
 }
Exemplo n.º 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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
     this.main_Menu1          = new Salford.VisualClearWin.Main_Menu();
     this.imageList2          = new System.Windows.Forms.ImageList(this.components);
     this.menuItemFile        = new System.Windows.Forms.MenuItem();
     this.menuItemNew         = new System.Windows.Forms.MenuItem();
     this.menuItemOpen        = new System.Windows.Forms.MenuItem();
     this.menuItem5           = new System.Windows.Forms.MenuItem();
     this.menuItemRecentFiles = new System.Windows.Forms.MenuItem();
     this.menuItemExit        = new System.Windows.Forms.MenuItem();
     this.toolBar1            = new System.Windows.Forms.ToolBar();
     this.toolBarButton_New   = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton_Open  = new System.Windows.Forms.ToolBarButton();
     this.imageList1          = new System.Windows.Forms.ImageList(this.components);
     this.statusBar1          = new System.Windows.Forms.StatusBar();
     this.openFileDialog1     = new System.Windows.Forms.OpenFileDialog();
     this.tab_Control1        = new Salford.VisualClearWin.Tab_Control();
     this.SuspendLayout();
     //
     // main_Menu1
     //
     this.main_Menu1.ImageBackColor = System.Drawing.SystemColors.Control;
     this.main_Menu1.ImageList      = this.imageList2;
     this.main_Menu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItemFile
     });
     //
     // imageList2
     //
     this.imageList2.ColorDepth       = System.Windows.Forms.ColorDepth.Depth24Bit;
     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.White;
     //
     // menuItemFile
     //
     this.menuItemFile.Index = 0;
     this.menuItemFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItemNew,
         this.menuItemOpen,
         this.menuItem5,
         this.menuItemRecentFiles,
         this.menuItemExit
     });
     this.menuItemFile.Text = "File";
     //
     // menuItemNew
     //
     this.main_Menu1.SetCallback(this.menuItemNew, "New");
     this.main_Menu1.SetImageIndex(this.menuItemNew, "0");
     this.menuItemNew.Index = 0;
     this.main_Menu1.SetMenuTip(this.menuItemNew, "Creates a new file");
     this.menuItemNew.Text = "New";
     //
     // menuItemOpen
     //
     this.main_Menu1.SetCallback(this.menuItemOpen, "Open");
     this.main_Menu1.SetImageIndex(this.menuItemOpen, "1");
     this.menuItemOpen.Index = 1;
     this.main_Menu1.SetMenuTip(this.menuItemOpen, "Opens an existing file");
     this.menuItemOpen.Text = "Open";
     //
     // menuItem5
     //
     this.main_Menu1.SetCallback(this.menuItem5, null);
     this.main_Menu1.SetImageIndex(this.menuItem5, null);
     this.menuItem5.Index = 2;
     this.main_Menu1.SetMenuTip(this.menuItem5, null);
     this.menuItem5.Text = "-";
     //
     // menuItemRecentFiles
     //
     this.main_Menu1.SetCallback(this.menuItemRecentFiles, "RecentFiles4");
     this.main_Menu1.SetImageIndex(this.menuItemRecentFiles, "");
     this.menuItemRecentFiles.Index = 3;
     this.main_Menu1.SetMenuTip(this.menuItemRecentFiles, "");
     this.menuItemRecentFiles.Text = "Recent Files";
     //
     // menuItemExit
     //
     this.main_Menu1.SetCallback(this.menuItemExit, "Exit");
     this.main_Menu1.SetImageIndex(this.menuItemExit, "");
     this.menuItemExit.Index = 4;
     this.main_Menu1.SetMenuTip(this.menuItemExit, "Exits from the application");
     this.menuItemExit.Text = "Exit";
     //
     // toolBar1
     //
     this.toolBar1.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.toolBarButton_New,
         this.toolBarButton_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(642, 25);
     this.toolBar1.TabIndex       = 1;
     //
     // toolBarButton_New
     //
     this.toolBarButton_New.ImageIndex  = 0;
     this.toolBarButton_New.ToolTipText = "New";
     //
     // toolBarButton_Open
     //
     this.toolBarButton_Open.ImageIndex  = 1;
     this.toolBarButton_Open.ToolTipText = "Open";
     //
     // 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;
     //
     // statusBar1
     //
     this.statusBar1.Location = new System.Drawing.Point(0, 358);
     this.statusBar1.Name     = "statusBar1";
     this.statusBar1.Size     = new System.Drawing.Size(642, 24);
     this.statusBar1.TabIndex = 2;
     //
     // tab_Control1
     //
     this.tab_Control1.IsMdiContainer = true;
     this.tab_Control1.Location       = new System.Drawing.Point(0, 24);
     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(643, 336);
     this.tab_Control1.TabIndex       = 3;
     //
     // Form1
     //
     this.AllowDrop         = true;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(642, 382);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.tab_Control1,
         this.statusBar1,
         this.toolBar1
     });
     this.Menu          = this.main_Menu1;
     this.Name          = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Tag           = "";
     this.Text          = "Tabbed MDI";
     this.ResumeLayout(false);
 }