/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.explorerTree1 = new WindowsExplorer.ExplorerTree(); this.fileListBox1 = new Microsoft.VisualBasic.Compatibility.VB6.FileListBox(); this.SuspendLayout(); // // explorerTree1 // this.explorerTree1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.explorerTree1.BackColor = System.Drawing.Color.White; this.explorerTree1.ImageCount = 0; this.explorerTree1.Location = new System.Drawing.Point(0, 0); this.explorerTree1.Name = "explorerTree1"; this.explorerTree1.SelectedImage = ""; this.explorerTree1.SelectedPath = "home"; this.explorerTree1.ShowMyComputer = true; this.explorerTree1.ShowMyDocuments = true; this.explorerTree1.ShowMyFavorites = true; this.explorerTree1.ShowMyNetwork = true; this.explorerTree1.Size = new System.Drawing.Size(416, 512); this.explorerTree1.TabIndex = 0; // // fileListBox1 // this.fileListBox1.Location = new System.Drawing.Point(424, 8); this.fileListBox1.Name = "fileListBox1"; this.fileListBox1.Pattern = "*.*"; this.fileListBox1.Size = new System.Drawing.Size(200, 498); this.fileListBox1.TabIndex = 1; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(640, 534); this.Controls.Add(this.fileListBox1); this.Controls.Add(this.explorerTree1); this.Name = "Form1"; this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); this.ResumeLayout(false); }
/// <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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DICOMEditor)); this.contextMenuDataGrid = new System.Windows.Forms.ContextMenuStrip(this.components); this.menuItem_AddNewAttribute = new System.Windows.Forms.ToolStripMenuItem(); this.menuItem_DeleteAttribute = new System.Windows.Forms.ToolStripMenuItem(); this.menuItem_CopyItem = new System.Windows.Forms.ToolStripMenuItem(); this.findSearchAttributeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.menuItem_PasteItem = new System.Windows.Forms.ToolStripMenuItem(); this.menuItem_InsertAbove = new System.Windows.Forms.ToolStripMenuItem(); this.menuItem_InsertBelow = new System.Windows.Forms.ToolStripMenuItem(); this.menuItem_CopyAttribute = new System.Windows.Forms.ToolStripMenuItem(); this.menuItem_PasteAttributes = new System.Windows.Forms.ToolStripMenuItem(); this.mainMenuDCMEditor = new System.Windows.Forms.MenuStrip(); this.menuItemFile = new System.Windows.Forms.ToolStripMenuItem(); this.menuItemSave = new System.Windows.Forms.ToolStripMenuItem(); this.menuItemSaveAs = new System.Windows.Forms.ToolStripMenuItem(); this.menuItemSaveAsILE = new System.Windows.Forms.ToolStripMenuItem(); this.menuItemSaveAsELE = new System.Windows.Forms.ToolStripMenuItem(); this.menuItemSaveAsEBE = new System.Windows.Forms.ToolStripMenuItem(); this.menuItemExit = new System.Windows.Forms.ToolStripMenuItem(); this.menuItemHelp = new System.Windows.Forms.ToolStripMenuItem(); this.menuItemAbout = new System.Windows.Forms.ToolStripMenuItem(); this.backgroundWorkerEditor = new System.ComponentModel.BackgroundWorker(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.fileListBox = new Microsoft.VisualBasic.Compatibility.VB6.FileListBox(); this.panel1 = new System.Windows.Forms.Panel(); this.buttonSave = new System.Windows.Forms.Button(); this.buttonExport = new System.Windows.Forms.Button(); this.driveListBox = new Microsoft.VisualBasic.Compatibility.VB6.DriveListBox(); this.dirListBox = new Microsoft.VisualBasic.Compatibility.VB6.DirListBox(); this.dataGridAttributes = new System.Windows.Forms.DataGridView(); this.richTextBoxLog = new System.Windows.Forms.RichTextBox(); this.panelFMIDisplay = new System.Windows.Forms.Panel(); this.dataGridFMI = new System.Windows.Forms.DataGridView(); this.panelFMI = new System.Windows.Forms.Panel(); this.checkBoxEditFMI = new System.Windows.Forms.CheckBox(); this.checkBoxFMI = new System.Windows.Forms.CheckBox(); this.contextMenuDataGrid.SuspendLayout(); this.mainMenuDCMEditor.SuspendLayout(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridAttributes)).BeginInit(); this.panelFMIDisplay.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridFMI)).BeginInit(); this.panelFMI.SuspendLayout(); this.SuspendLayout(); // // contextMenuDataGrid // this.contextMenuDataGrid.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.menuItem_AddNewAttribute, this.menuItem_DeleteAttribute, this.menuItem_CopyItem, this.findSearchAttributeToolStripMenuItem, this.menuItem_PasteItem, this.menuItem_InsertAbove, this.menuItem_InsertBelow, this.menuItem_CopyAttribute, this.menuItem_PasteAttributes}); this.contextMenuDataGrid.Name = "contextMenuDataGrid"; this.contextMenuDataGrid.Size = new System.Drawing.Size(216, 224); // // menuItem_AddNewAttribute // this.menuItem_AddNewAttribute.Name = "menuItem_AddNewAttribute"; this.menuItem_AddNewAttribute.Size = new System.Drawing.Size(215, 22); this.menuItem_AddNewAttribute.Text = "Add New Attribute"; this.menuItem_AddNewAttribute.Visible = false; this.menuItem_AddNewAttribute.Click += new System.EventHandler(this.menuItem_AddNewAttribute_Click); // // menuItem_DeleteAttribute // this.menuItem_DeleteAttribute.Name = "menuItem_DeleteAttribute"; this.menuItem_DeleteAttribute.Size = new System.Drawing.Size(215, 22); this.menuItem_DeleteAttribute.Text = "Delete Attribute"; this.menuItem_DeleteAttribute.Visible = false; this.menuItem_DeleteAttribute.Click += new System.EventHandler(this.menuItem_DeleteAttribute_Click); // // menuItem_CopyItem // this.menuItem_CopyItem.Name = "menuItem_CopyItem"; this.menuItem_CopyItem.Size = new System.Drawing.Size(215, 22); this.menuItem_CopyItem.Text = "Copy Sequence Item"; this.menuItem_CopyItem.Visible = false; this.menuItem_CopyItem.Click += new System.EventHandler(this.menuItem_CopyItem_Click); // // findSearchAttributeToolStripMenuItem // this.findSearchAttributeToolStripMenuItem.Name = "findSearchAttributeToolStripMenuItem"; this.findSearchAttributeToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.F))); this.findSearchAttributeToolStripMenuItem.Size = new System.Drawing.Size(215, 22); this.findSearchAttributeToolStripMenuItem.Text = "Find/Search Attribute"; this.findSearchAttributeToolStripMenuItem.Visible = false; this.findSearchAttributeToolStripMenuItem.Click += new System.EventHandler(this.findSearchAttributeToolStripMenuItem_Click); // // menuItem_PasteItem // this.menuItem_PasteItem.Name = "menuItem_PasteItem"; this.menuItem_PasteItem.Size = new System.Drawing.Size(215, 22); this.menuItem_PasteItem.Text = "Paste Sequence Item to End"; this.menuItem_PasteItem.Visible = false; this.menuItem_PasteItem.Click += new System.EventHandler(this.menuItem_PasteItem_Click); // // menuItem_InsertAbove // this.menuItem_InsertAbove.Name = "menuItem_InsertAbove"; this.menuItem_InsertAbove.Size = new System.Drawing.Size(215, 22); this.menuItem_InsertAbove.Text = "Insert Sequence Item Above"; this.menuItem_InsertAbove.Visible = false; this.menuItem_InsertAbove.Click += new System.EventHandler(this.menuItem_InsertAbove_Click); // // menuItem_InsertBelow // this.menuItem_InsertBelow.Name = "menuItem_InsertBelow"; this.menuItem_InsertBelow.Size = new System.Drawing.Size(215, 22); this.menuItem_InsertBelow.Text = "Insert Sequence Item Below"; this.menuItem_InsertBelow.Visible = false; this.menuItem_InsertBelow.Click += new System.EventHandler(this.menuItem_InsertBelow_Click); // // menuItem_CopyAttribute // this.menuItem_CopyAttribute.Name = "menuItem_CopyAttribute"; this.menuItem_CopyAttribute.Size = new System.Drawing.Size(215, 22); this.menuItem_CopyAttribute.Text = "Copy Attribute(s)"; this.menuItem_CopyAttribute.Click += new System.EventHandler(this.menuItem_CopyAttribute_Click); // // menuItem_PasteAttributes // this.menuItem_PasteAttributes.Name = "menuItem_PasteAttributes"; this.menuItem_PasteAttributes.Size = new System.Drawing.Size(215, 22); this.menuItem_PasteAttributes.Text = "Paste Attribute(s)"; this.menuItem_PasteAttributes.Click += new System.EventHandler(this.menuItem_PasteAttributes_Click); // // mainMenuDCMEditor // this.mainMenuDCMEditor.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.menuItemFile, this.menuItemHelp}); this.mainMenuDCMEditor.Location = new System.Drawing.Point(0, 0); this.mainMenuDCMEditor.Name = "mainMenuDCMEditor"; this.mainMenuDCMEditor.Size = new System.Drawing.Size(932, 24); this.mainMenuDCMEditor.TabIndex = 0; // // menuItemFile // this.menuItemFile.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.menuItemSave, this.menuItemSaveAs, this.menuItemExit}); this.menuItemFile.Name = "menuItemFile"; this.menuItemFile.Size = new System.Drawing.Size(35, 20); this.menuItemFile.Text = "&File"; // // menuItemSave // this.menuItemSave.Enabled = false; this.menuItemSave.Name = "menuItemSave"; this.menuItemSave.Size = new System.Drawing.Size(167, 22); this.menuItemSave.Text = "&Save DICOM file"; this.menuItemSave.Click += new System.EventHandler(this.menuItemSave_Click); // // menuItemSaveAs // this.menuItemSaveAs.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.menuItemSaveAsILE, this.menuItemSaveAsELE, this.menuItemSaveAsEBE}); this.menuItemSaveAs.Enabled = false; this.menuItemSaveAs.Name = "menuItemSaveAs"; this.menuItemSaveAs.Size = new System.Drawing.Size(167, 22); this.menuItemSaveAs.Text = "Save DICOM file As"; // // menuItemSaveAsILE // this.menuItemSaveAsILE.Name = "menuItemSaveAsILE"; this.menuItemSaveAsILE.Size = new System.Drawing.Size(184, 22); this.menuItemSaveAsILE.Text = "Implicit VR Little Endian"; this.menuItemSaveAsILE.Click += new System.EventHandler(this.menuItemSaveAsILE_Click); // // menuItemSaveAsELE // this.menuItemSaveAsELE.Name = "menuItemSaveAsELE"; this.menuItemSaveAsELE.Size = new System.Drawing.Size(184, 22); this.menuItemSaveAsELE.Text = "Explicit VR Little Endian"; this.menuItemSaveAsELE.Click += new System.EventHandler(this.menuItemSaveAsELE_Click); // // menuItemSaveAsEBE // this.menuItemSaveAsEBE.Name = "menuItemSaveAsEBE"; this.menuItemSaveAsEBE.Size = new System.Drawing.Size(184, 22); this.menuItemSaveAsEBE.Text = "Explicit VR Big Endian"; this.menuItemSaveAsEBE.Click += new System.EventHandler(this.menuItemSaveAsEBE_Click); // // menuItemExit // this.menuItemExit.Name = "menuItemExit"; this.menuItemExit.Size = new System.Drawing.Size(167, 22); this.menuItemExit.Text = "&Exit"; this.menuItemExit.Click += new System.EventHandler(this.menuItemExit_Click); // // menuItemHelp // this.menuItemHelp.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.menuItemAbout}); this.menuItemHelp.Name = "menuItemHelp"; this.menuItemHelp.Size = new System.Drawing.Size(40, 20); this.menuItemHelp.Text = "&Help"; // // menuItemAbout // this.menuItemAbout.Name = "menuItemAbout"; this.menuItemAbout.Size = new System.Drawing.Size(171, 22); this.menuItemAbout.Text = "About DICOM Editor"; this.menuItemAbout.Click += new System.EventHandler(this.menuItemAbout_Click); // // backgroundWorkerEditor // this.backgroundWorkerEditor.WorkerSupportsCancellation = true; this.backgroundWorkerEditor.DoWork += new System.ComponentModel.DoWorkEventHandler(this.backgroundWorkerEditor_DoWork); this.backgroundWorkerEditor.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.backgroundWorkerEditor_RunWorkerCompleted); // // splitContainer1 // this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer1.Location = new System.Drawing.Point(0, 24); this.splitContainer1.Name = "splitContainer1"; // // splitContainer1.Panel1 // this.splitContainer1.Panel1.Controls.Add(this.fileListBox); this.splitContainer1.Panel1.Controls.Add(this.panel1); this.splitContainer1.Panel1.Controls.Add(this.driveListBox); this.splitContainer1.Panel1.Controls.Add(this.dirListBox); // // splitContainer1.Panel2 // this.splitContainer1.Panel2.Controls.Add(this.dataGridAttributes); this.splitContainer1.Panel2.Controls.Add(this.richTextBoxLog); this.splitContainer1.Panel2.Controls.Add(this.panelFMIDisplay); this.splitContainer1.Panel2.Controls.Add(this.panelFMI); this.splitContainer1.Size = new System.Drawing.Size(932, 690); this.splitContainer1.SplitterDistance = 214; this.splitContainer1.TabIndex = 13; // // fileListBox // this.fileListBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.fileListBox.FormattingEnabled = true; this.fileListBox.HorizontalScrollbar = true; this.fileListBox.Location = new System.Drawing.Point(0, 290); this.fileListBox.Name = "fileListBox"; this.fileListBox.Pattern = "*.dcm;*."; this.fileListBox.Size = new System.Drawing.Size(209, 225); this.fileListBox.TabIndex = 12; this.fileListBox.SelectedIndexChanged += new System.EventHandler(this.fileListBox_SelectedIndexChanged); // // panel1 // this.panel1.Controls.Add(this.buttonSave); this.panel1.Controls.Add(this.buttonExport); this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel1.Location = new System.Drawing.Point(0, 517); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(214, 173); this.panel1.TabIndex = 13; // // buttonSave // this.buttonSave.Enabled = false; this.buttonSave.Location = new System.Drawing.Point(46, 98); this.buttonSave.Name = "buttonSave"; this.buttonSave.Size = new System.Drawing.Size(104, 26); this.buttonSave.TabIndex = 6; this.buttonSave.Text = "Save DICOM File"; this.buttonSave.Click += new System.EventHandler(this.buttonSave_Click); // // buttonExport // this.buttonExport.Enabled = false; this.buttonExport.Location = new System.Drawing.Point(46, 46); this.buttonExport.Name = "buttonExport"; this.buttonExport.Size = new System.Drawing.Size(104, 23); this.buttonExport.TabIndex = 5; this.buttonExport.Text = "Export to text file"; this.buttonExport.Click += new System.EventHandler(this.buttonExport_Click); // // driveListBox // this.driveListBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.driveListBox.FormattingEnabled = true; this.driveListBox.Location = new System.Drawing.Point(3, 264); this.driveListBox.Name = "driveListBox"; this.driveListBox.Size = new System.Drawing.Size(209, 21); this.driveListBox.TabIndex = 11; this.driveListBox.SelectedIndexChanged += new System.EventHandler(this.driveListBox_SelectedIndexChanged); // // dirListBox // this.dirListBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.dirListBox.FormattingEnabled = true; this.dirListBox.IntegralHeight = false; this.dirListBox.Location = new System.Drawing.Point(3, 3); this.dirListBox.Name = "dirListBox"; this.dirListBox.Size = new System.Drawing.Size(209, 255); this.dirListBox.TabIndex = 10; this.dirListBox.SelectedIndexChanged += new System.EventHandler(this.dirListBox_SelectedIndexChanged); this.dirListBox.DoubleClick += new System.EventHandler(this.dirListBox_DoubleClick); // // dataGridAttributes // this.dataGridAttributes.ContextMenuStrip = this.contextMenuDataGrid; this.dataGridAttributes.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGridAttributes.Location = new System.Drawing.Point(0, 214); this.dataGridAttributes.Name = "dataGridAttributes"; this.dataGridAttributes.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.dataGridAttributes.Size = new System.Drawing.Size(714, 361); this.dataGridAttributes.TabIndex = 13; this.dataGridAttributes.MouseDown += new System.Windows.Forms.MouseEventHandler(this.dataGridAttributes_MouseDown); // // richTextBoxLog // this.richTextBoxLog.Dock = System.Windows.Forms.DockStyle.Bottom; this.richTextBoxLog.Location = new System.Drawing.Point(0, 575); this.richTextBoxLog.Name = "richTextBoxLog"; this.richTextBoxLog.Size = new System.Drawing.Size(714, 115); this.richTextBoxLog.TabIndex = 15; this.richTextBoxLog.Text = ""; // // panelFMIDisplay // this.panelFMIDisplay.Controls.Add(this.dataGridFMI); this.panelFMIDisplay.Dock = System.Windows.Forms.DockStyle.Top; this.panelFMIDisplay.Location = new System.Drawing.Point(0, 35); this.panelFMIDisplay.Name = "panelFMIDisplay"; this.panelFMIDisplay.Size = new System.Drawing.Size(714, 179); this.panelFMIDisplay.TabIndex = 16; this.panelFMIDisplay.Visible = false; // // dataGridFMI // this.dataGridFMI.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGridFMI.Location = new System.Drawing.Point(0, 0); this.dataGridFMI.Name = "dataGridFMI"; this.dataGridFMI.Size = new System.Drawing.Size(714, 179); this.dataGridFMI.TabIndex = 16; // // panelFMI // this.panelFMI.BackColor = System.Drawing.SystemColors.ControlLightLight; this.panelFMI.Controls.Add(this.checkBoxEditFMI); this.panelFMI.Controls.Add(this.checkBoxFMI); this.panelFMI.Dock = System.Windows.Forms.DockStyle.Top; this.panelFMI.Location = new System.Drawing.Point(0, 0); this.panelFMI.Name = "panelFMI"; this.panelFMI.Size = new System.Drawing.Size(714, 35); this.panelFMI.TabIndex = 12; // // checkBoxEditFMI // this.checkBoxEditFMI.AutoSize = true; this.checkBoxEditFMI.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkBoxEditFMI.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.checkBoxEditFMI.Location = new System.Drawing.Point(339, 7); this.checkBoxEditFMI.Name = "checkBoxEditFMI"; this.checkBoxEditFMI.Size = new System.Drawing.Size(198, 20); this.checkBoxEditFMI.TabIndex = 1; this.checkBoxEditFMI.Text = "Edit File Meta Information"; this.checkBoxEditFMI.UseVisualStyleBackColor = true; this.checkBoxEditFMI.Visible = false; this.checkBoxEditFMI.CheckedChanged += new System.EventHandler(this.checkBoxEditFMI_CheckedChanged); // // checkBoxFMI // this.checkBoxFMI.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkBoxFMI.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.checkBoxFMI.Location = new System.Drawing.Point(8, 8); this.checkBoxFMI.Name = "checkBoxFMI"; this.checkBoxFMI.Size = new System.Drawing.Size(272, 16); this.checkBoxFMI.TabIndex = 0; this.checkBoxFMI.Text = "File Meta Information(Media Header)"; this.checkBoxFMI.CheckedChanged += new System.EventHandler(this.checkBoxFMI_CheckedChanged); // // DICOMEditor // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.AutoScroll = true; this.ClientSize = new System.Drawing.Size(932, 714); this.Controls.Add(this.splitContainer1); this.Controls.Add(this.mainMenuDCMEditor); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MainMenuStrip = this.mainMenuDCMEditor; this.MinimumSize = new System.Drawing.Size(940, 736); this.Name = "DICOMEditor"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "DICOM Editor"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Closing += new System.ComponentModel.CancelEventHandler(this.DCMEditor_Closing); this.contextMenuDataGrid.ResumeLayout(false); this.mainMenuDCMEditor.ResumeLayout(false); this.mainMenuDCMEditor.PerformLayout(); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.ResumeLayout(false); this.panel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dataGridAttributes)).EndInit(); this.panelFMIDisplay.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dataGridFMI)).EndInit(); this.panelFMI.ResumeLayout(false); this.panelFMI.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmTest)); this.fileListBox1 = new Microsoft.VisualBasic.Compatibility.VB6.FileListBox(); this.cmbSelect = new System.Windows.Forms.ComboBox(); this.explorerTree2 = new WindowsExplorer.ExplorerTree(); this.mainMenu1 = new System.Windows.Forms.MainMenu(this.components); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.mnuSA = new System.Windows.Forms.MenuItem(); this.mnuST = new System.Windows.Forms.MenuItem(); this.menuItem4 = new System.Windows.Forms.MenuItem(); this.mnuSMD = new System.Windows.Forms.MenuItem(); this.mnuSMN = new System.Windows.Forms.MenuItem(); this.mnuMF = new System.Windows.Forms.MenuItem(); this.menuItem2 = new System.Windows.Forms.MenuItem(); this.menuItem3 = new System.Windows.Forms.MenuItem(); this.SuspendLayout(); // // fileListBox1 // this.fileListBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.fileListBox1.FormattingEnabled = true; this.fileListBox1.Location = new System.Drawing.Point(494, 29); this.fileListBox1.Name = "fileListBox1"; this.fileListBox1.Pattern = "*.*"; this.fileListBox1.Size = new System.Drawing.Size(240, 700); this.fileListBox1.TabIndex = 1; // // cmbSelect // this.cmbSelect.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.cmbSelect.Items.AddRange(new object[] { "*.bmp;*.jpg;*.jpeg;*.gif", "*.doc;*.rtf;*.txt", "*.*" }); this.cmbSelect.Location = new System.Drawing.Point(494, 3); this.cmbSelect.Name = "cmbSelect"; this.cmbSelect.Size = new System.Drawing.Size(240, 20); this.cmbSelect.TabIndex = 2; this.cmbSelect.Text = "*.*"; this.cmbSelect.SelectedIndexChanged += new System.EventHandler(this.cmbSelect_SelectedIndexChanged); // // explorerTree2 // this.explorerTree2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.explorerTree2.BackColor = System.Drawing.Color.White; this.explorerTree2.Location = new System.Drawing.Point(0, 0); this.explorerTree2.Name = "explorerTree2"; this.explorerTree2.SelectedPath = "C:\\Program Files"; this.explorerTree2.ShowAddressbar = true; this.explorerTree2.ShowMyDocuments = true; this.explorerTree2.ShowMyFavorites = true; this.explorerTree2.ShowMyNetwork = true; this.explorerTree2.ShowToolbar = true; this.explorerTree2.Size = new System.Drawing.Size(494, 759); this.explorerTree2.TabIndex = 3; this.explorerTree2.PathChanged += new WindowsExplorer.ExplorerTree.PathChangedEventHandler(this.explorerTree2_PathChanged); // // 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.mnuSA, this.mnuST, this.menuItem4, this.mnuSMD, this.mnuSMN, this.mnuMF, this.menuItem2, this.menuItem3 }); this.menuItem1.Text = "Options"; // // mnuSA // this.mnuSA.Checked = true; this.mnuSA.Index = 0; this.mnuSA.Text = "Show Addressbar"; this.mnuSA.Click += new System.EventHandler(this.mnuSA_Click); // // mnuST // this.mnuST.Checked = true; this.mnuST.Index = 1; this.mnuST.Text = "Show Toolbar"; this.mnuST.Click += new System.EventHandler(this.mnuST_Click); // // menuItem4 // this.menuItem4.Index = 2; this.menuItem4.Text = "-"; // // mnuSMD // this.mnuSMD.Checked = true; this.mnuSMD.Index = 3; this.mnuSMD.Text = "Show My Documents"; this.mnuSMD.Click += new System.EventHandler(this.mnuSMD_Click); // // mnuSMN // this.mnuSMN.Checked = true; this.mnuSMN.Index = 4; this.mnuSMN.Text = "Show My Networks"; this.mnuSMN.Click += new System.EventHandler(this.mnuSMN_Click); // // mnuMF // this.mnuMF.Checked = true; this.mnuMF.Index = 5; this.mnuMF.Text = "Show My Favorites"; this.mnuMF.Click += new System.EventHandler(this.mnuMF_Click); // // menuItem2 // this.menuItem2.Index = 6; this.menuItem2.Text = "-"; // // menuItem3 // this.menuItem3.Index = 7; this.menuItem3.Text = "About"; this.menuItem3.Click += new System.EventHandler(this.menuItem3_Click); // // frmTest // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(744, 757); this.Controls.Add(this.explorerTree2); this.Controls.Add(this.cmbSelect); this.Controls.Add(this.fileListBox1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Menu = this.mainMenu1; this.MinimizeBox = false; this.Name = "frmTest"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Windows Explorer Test"; this.Load += new System.EventHandler(this.frmTest_Load); this.ResumeLayout(false); }
/// <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.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); this.dataGridAttributes = new System.Windows.Forms.DataGridView(); this.contextMenuDataGrid = new System.Windows.Forms.ContextMenuStrip(this.components); this.menuItem_AddNewAttribute = new System.Windows.Forms.ToolStripMenuItem(); this.menuItem_DeleteAttribute = new System.Windows.Forms.ToolStripMenuItem(); this.menuItem_CopyItem = new System.Windows.Forms.ToolStripMenuItem(); this.richTextBoxLog = new System.Windows.Forms.RichTextBox(); this.buttonSave = new System.Windows.Forms.Button(); this.splitter1 = new System.Windows.Forms.Splitter(); this.dirListBox = new Microsoft.VisualBasic.Compatibility.VB6.DirListBox(); this.driveListBox = new Microsoft.VisualBasic.Compatibility.VB6.DriveListBox(); this.fileListBox = new Microsoft.VisualBasic.Compatibility.VB6.FileListBox(); this.panel1 = new System.Windows.Forms.Panel(); this.label1 = new System.Windows.Forms.Label(); this.fileTypeCombo = new System.Windows.Forms.ComboBox(); this.buttonExport = new System.Windows.Forms.Button(); this.panelFMI = new System.Windows.Forms.Panel(); this.checkBoxFMI = new System.Windows.Forms.CheckBox(); this.dataGridFMI = new System.Windows.Forms.DataGridView(); this.panelFMIDisplay = new System.Windows.Forms.Panel(); ((System.ComponentModel.ISupportInitialize)(this.dataGridAttributes)).BeginInit(); this.contextMenuDataGrid.SuspendLayout(); this.panel1.SuspendLayout(); this.panelFMI.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridFMI)).BeginInit(); this.panelFMIDisplay.SuspendLayout(); this.SuspendLayout(); // // dataGridAttributes // dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.dataGridAttributes.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; this.dataGridAttributes.ContextMenuStrip = this.contextMenuDataGrid; dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window; dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText; dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; this.dataGridAttributes.DefaultCellStyle = dataGridViewCellStyle2; this.dataGridAttributes.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGridAttributes.Location = new System.Drawing.Point(208, 136); this.dataGridAttributes.Name = "dataGridAttributes"; dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.dataGridAttributes.RowHeadersDefaultCellStyle = dataGridViewCellStyle3; this.dataGridAttributes.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.dataGridAttributes.Size = new System.Drawing.Size(605, 520); this.dataGridAttributes.TabIndex = 0; this.dataGridAttributes.MouseDown += new System.Windows.Forms.MouseEventHandler(this.dataGridAttributes_MouseDown); // // contextMenuDataGrid // this.contextMenuDataGrid.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.menuItem_AddNewAttribute, this.menuItem_DeleteAttribute, this.menuItem_CopyItem}); this.contextMenuDataGrid.Name = "contextMenuDataGrid"; this.contextMenuDataGrid.Size = new System.Drawing.Size(175, 70); // // menuItem_AddNewAttribute // this.menuItem_AddNewAttribute.Name = "menuItem_AddNewAttribute"; this.menuItem_AddNewAttribute.Size = new System.Drawing.Size(174, 22); this.menuItem_AddNewAttribute.Text = "Add New Attribute"; this.menuItem_AddNewAttribute.Visible = false; this.menuItem_AddNewAttribute.Click += new System.EventHandler(this.menuItem_AddNewAttribute_Click); // // menuItem_DeleteAttribute // this.menuItem_DeleteAttribute.Name = "menuItem_DeleteAttribute"; this.menuItem_DeleteAttribute.Size = new System.Drawing.Size(174, 22); this.menuItem_DeleteAttribute.Text = "Delete Attribute"; this.menuItem_DeleteAttribute.Visible = false; this.menuItem_DeleteAttribute.Click += new System.EventHandler(this.menuItem_DeleteAttribute_Click); // // menuItem_CopyItem // this.menuItem_CopyItem.Name = "menuItem_CopyItem"; this.menuItem_CopyItem.Size = new System.Drawing.Size(174, 22); this.menuItem_CopyItem.Text = "Copy Sequence Item"; this.menuItem_CopyItem.Visible = false; this.menuItem_CopyItem.Click += new System.EventHandler(this.menuItem_CopyItem_Click); // // richTextBoxLog // this.richTextBoxLog.Dock = System.Windows.Forms.DockStyle.Bottom; this.richTextBoxLog.Location = new System.Drawing.Point(208, 656); this.richTextBoxLog.Name = "richTextBoxLog"; this.richTextBoxLog.Size = new System.Drawing.Size(605, 80); this.richTextBoxLog.TabIndex = 1; this.richTextBoxLog.Text = ""; // // buttonSave // this.buttonSave.Enabled = false; this.buttonSave.Location = new System.Drawing.Point(48, 624); this.buttonSave.Name = "buttonSave"; this.buttonSave.Size = new System.Drawing.Size(104, 32); this.buttonSave.TabIndex = 2; this.buttonSave.Text = "Save DCM File"; this.buttonSave.Click += new System.EventHandler(this.buttonSave_Click); // // splitter1 // this.splitter1.Location = new System.Drawing.Point(0, 0); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(8, 736); this.splitter1.TabIndex = 6; this.splitter1.TabStop = false; // // dirListBox // this.dirListBox.FormattingEnabled = true; this.dirListBox.IntegralHeight = false; this.dirListBox.Location = new System.Drawing.Point(8, 8); this.dirListBox.Name = "dirListBox"; this.dirListBox.Size = new System.Drawing.Size(192, 240); this.dirListBox.TabIndex = 7; this.dirListBox.SelectedIndexChanged += new System.EventHandler(this.dirListBox_SelectedIndexChanged); this.dirListBox.DoubleClick += new System.EventHandler(this.dirListBox_DoubleClick); // // driveListBox // this.driveListBox.FormattingEnabled = true; this.driveListBox.Location = new System.Drawing.Point(8, 256); this.driveListBox.Name = "driveListBox"; this.driveListBox.Size = new System.Drawing.Size(192, 21); this.driveListBox.TabIndex = 8; this.driveListBox.SelectedIndexChanged += new System.EventHandler(this.driveListBox_SelectedIndexChanged); // // fileListBox // this.fileListBox.FormattingEnabled = true; this.fileListBox.Location = new System.Drawing.Point(8, 288); this.fileListBox.Name = "fileListBox"; this.fileListBox.Pattern = "*.dcm;*."; this.fileListBox.Size = new System.Drawing.Size(192, 290); this.fileListBox.TabIndex = 9; this.fileListBox.SelectedIndexChanged += new System.EventHandler(this.fileListBox_SelectedIndexChanged); // // panel1 // this.panel1.AutoScroll = true; this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.fileTypeCombo); this.panel1.Controls.Add(this.buttonExport); this.panel1.Dock = System.Windows.Forms.DockStyle.Left; this.panel1.Location = new System.Drawing.Point(8, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(200, 736); this.panel1.TabIndex = 10; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(7, 591); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(46, 13); this.label1.TabIndex = 2; this.label1.Text = "File type"; // // fileTypeCombo // this.fileTypeCombo.DisplayMember = "1"; this.fileTypeCombo.FormattingEnabled = true; this.fileTypeCombo.Items.AddRange(new object[] { "DCM files(*.dcm)", "All files(*.*)"}); this.fileTypeCombo.Location = new System.Drawing.Point(59, 588); this.fileTypeCombo.Name = "fileTypeCombo"; this.fileTypeCombo.Size = new System.Drawing.Size(121, 21); this.fileTypeCombo.TabIndex = 1; this.fileTypeCombo.SelectedIndexChanged += new System.EventHandler(this.filettypeCombo_SelectionChanged); // // buttonExport // this.buttonExport.Enabled = false; this.buttonExport.Location = new System.Drawing.Point(40, 680); this.buttonExport.Name = "buttonExport"; this.buttonExport.Size = new System.Drawing.Size(104, 23); this.buttonExport.TabIndex = 0; this.buttonExport.Text = "Export to text file"; this.buttonExport.Click += new System.EventHandler(this.buttonExport_Click); // // panelFMI // this.panelFMI.BackColor = System.Drawing.SystemColors.ControlLightLight; this.panelFMI.Controls.Add(this.checkBoxFMI); this.panelFMI.Dock = System.Windows.Forms.DockStyle.Top; this.panelFMI.Location = new System.Drawing.Point(208, 0); this.panelFMI.Name = "panelFMI"; this.panelFMI.Size = new System.Drawing.Size(605, 32); this.panelFMI.TabIndex = 11; // // checkBoxFMI // this.checkBoxFMI.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkBoxFMI.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.checkBoxFMI.Location = new System.Drawing.Point(16, 8); this.checkBoxFMI.Name = "checkBoxFMI"; this.checkBoxFMI.Size = new System.Drawing.Size(264, 16); this.checkBoxFMI.TabIndex = 0; this.checkBoxFMI.Text = "File Meta Information(Media Header)"; this.checkBoxFMI.CheckedChanged += new System.EventHandler(this.checkBoxFMI_CheckedChanged); // // dataGridFMI // dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.dataGridFMI.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4; dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Window; dataGridViewCellStyle5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.ControlText; dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False; this.dataGridFMI.DefaultCellStyle = dataGridViewCellStyle5; this.dataGridFMI.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGridFMI.Location = new System.Drawing.Point(0, 0); this.dataGridFMI.Name = "dataGridFMI"; dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Control; dataGridViewCellStyle6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.WindowText; dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight; dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText; dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.dataGridFMI.RowHeadersDefaultCellStyle = dataGridViewCellStyle6; this.dataGridFMI.Size = new System.Drawing.Size(605, 104); this.dataGridFMI.TabIndex = 1; // // panelFMIDisplay // this.panelFMIDisplay.Controls.Add(this.dataGridFMI); this.panelFMIDisplay.Dock = System.Windows.Forms.DockStyle.Top; this.panelFMIDisplay.Location = new System.Drawing.Point(208, 32); this.panelFMIDisplay.Name = "panelFMIDisplay"; this.panelFMIDisplay.Size = new System.Drawing.Size(605, 104); this.panelFMIDisplay.TabIndex = 2; this.panelFMIDisplay.Visible = false; // // DCMEditor // this.AutoScroll = true; this.Controls.Add(this.dataGridAttributes); this.Controls.Add(this.panelFMIDisplay); this.Controls.Add(this.panelFMI); this.Controls.Add(this.dirListBox); this.Controls.Add(this.fileListBox); this.Controls.Add(this.driveListBox); this.Controls.Add(this.richTextBoxLog); this.Controls.Add(this.buttonSave); this.Controls.Add(this.panel1); this.Controls.Add(this.splitter1); this.Name = "DCMEditor"; this.Size = new System.Drawing.Size(813, 714); ((System.ComponentModel.ISupportInitialize)(this.dataGridAttributes)).EndInit(); this.contextMenuDataGrid.ResumeLayout(false); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.panelFMI.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dataGridFMI)).EndInit(); this.panelFMIDisplay.ResumeLayout(false); this.ResumeLayout(false); }
/// <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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmTest)); this.fileListBox1 = new Microsoft.VisualBasic.Compatibility.VB6.FileListBox(); this.cmbSelect = new System.Windows.Forms.ComboBox(); this.explorerTree2 = new WindowsExplorer.ExplorerTree(); this.mainMenu1 = new System.Windows.Forms.MainMenu(this.components); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.mnuSA = new System.Windows.Forms.MenuItem(); this.mnuST = new System.Windows.Forms.MenuItem(); this.menuItem4 = new System.Windows.Forms.MenuItem(); this.mnuSMD = new System.Windows.Forms.MenuItem(); this.mnuSMN = new System.Windows.Forms.MenuItem(); this.mnuMF = new System.Windows.Forms.MenuItem(); this.menuItem2 = new System.Windows.Forms.MenuItem(); this.menuItem3 = new System.Windows.Forms.MenuItem(); this.SuspendLayout(); // // fileListBox1 // this.fileListBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.fileListBox1.FormattingEnabled = true; this.fileListBox1.Location = new System.Drawing.Point(494, 29); this.fileListBox1.Name = "fileListBox1"; this.fileListBox1.Pattern = "*.*"; this.fileListBox1.Size = new System.Drawing.Size(240, 700); this.fileListBox1.TabIndex = 1; // // cmbSelect // this.cmbSelect.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.cmbSelect.Items.AddRange(new object[] { "*.bmp;*.jpg;*.jpeg;*.gif", "*.doc;*.rtf;*.txt", "*.*"}); this.cmbSelect.Location = new System.Drawing.Point(494, 3); this.cmbSelect.Name = "cmbSelect"; this.cmbSelect.Size = new System.Drawing.Size(240, 20); this.cmbSelect.TabIndex = 2; this.cmbSelect.Text = "*.*"; this.cmbSelect.SelectedIndexChanged += new System.EventHandler(this.cmbSelect_SelectedIndexChanged); // // explorerTree2 // this.explorerTree2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.explorerTree2.BackColor = System.Drawing.Color.White; this.explorerTree2.Location = new System.Drawing.Point(0, 0); this.explorerTree2.Name = "explorerTree2"; this.explorerTree2.SelectedPath = "C:\\Program Files"; this.explorerTree2.ShowAddressbar = true; this.explorerTree2.ShowMyDocuments = true; this.explorerTree2.ShowMyFavorites = true; this.explorerTree2.ShowMyNetwork = true; this.explorerTree2.ShowToolbar = true; this.explorerTree2.Size = new System.Drawing.Size(494, 759); this.explorerTree2.TabIndex = 3; this.explorerTree2.PathChanged += new WindowsExplorer.ExplorerTree.PathChangedEventHandler(this.explorerTree2_PathChanged); // // 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.mnuSA, this.mnuST, this.menuItem4, this.mnuSMD, this.mnuSMN, this.mnuMF, this.menuItem2, this.menuItem3}); this.menuItem1.Text = "Options"; // // mnuSA // this.mnuSA.Checked = true; this.mnuSA.Index = 0; this.mnuSA.Text = "Show Addressbar"; this.mnuSA.Click += new System.EventHandler(this.mnuSA_Click); // // mnuST // this.mnuST.Checked = true; this.mnuST.Index = 1; this.mnuST.Text = "Show Toolbar"; this.mnuST.Click += new System.EventHandler(this.mnuST_Click); // // menuItem4 // this.menuItem4.Index = 2; this.menuItem4.Text = "-"; // // mnuSMD // this.mnuSMD.Checked = true; this.mnuSMD.Index = 3; this.mnuSMD.Text = "Show My Documents"; this.mnuSMD.Click += new System.EventHandler(this.mnuSMD_Click); // // mnuSMN // this.mnuSMN.Checked = true; this.mnuSMN.Index = 4; this.mnuSMN.Text = "Show My Networks"; this.mnuSMN.Click += new System.EventHandler(this.mnuSMN_Click); // // mnuMF // this.mnuMF.Checked = true; this.mnuMF.Index = 5; this.mnuMF.Text = "Show My Favorites"; this.mnuMF.Click += new System.EventHandler(this.mnuMF_Click); // // menuItem2 // this.menuItem2.Index = 6; this.menuItem2.Text = "-"; // // menuItem3 // this.menuItem3.Index = 7; this.menuItem3.Text = "About"; this.menuItem3.Click += new System.EventHandler(this.menuItem3_Click); // // frmTest // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(744, 757); this.Controls.Add(this.explorerTree2); this.Controls.Add(this.cmbSelect); this.Controls.Add(this.fileListBox1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Menu = this.mainMenu1; this.MinimizeBox = false; this.Name = "frmTest"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Windows Explorer Test"; this.Load += new System.EventHandler(this.frmTest_Load); this.ResumeLayout(false); }
private void InitializeComponent() { this.driveListBox1 = new Microsoft.VisualBasic.Compatibility.VB6.DriveListBox(); this.fileListBox1 = new Microsoft.VisualBasic.Compatibility.VB6.FileListBox(); this.dirListBox1 = new Microsoft.VisualBasic.Compatibility.VB6.DirListBox(); this.target = new System.Windows.Forms.PictureBox(); this.BTSolidWire = new System.Windows.Forms.Button(); this.CBLOD = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.btSave = new System.Windows.Forms.Button(); this.tvObj = new System.Windows.Forms.TreeView(); this.cdBack = new System.Windows.Forms.ColorDialog(); this.btBackColor = new System.Windows.Forms.Button(); this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); this.tabPage2.SuspendLayout(); this.SuspendLayout(); // // driveListBox1 // this.driveListBox1.Location = new System.Drawing.Point(8, 16); this.driveListBox1.Name = "driveListBox1"; this.driveListBox1.Size = new System.Drawing.Size(192, 21); this.driveListBox1.TabIndex = 2; this.driveListBox1.SelectedIndexChanged += new System.EventHandler(this.driveListBox1_SelectedIndexChanged); // // fileListBox1 // this.fileListBox1.Location = new System.Drawing.Point(8, 152); this.fileListBox1.Name = "fileListBox1"; this.fileListBox1.Pattern = "*.mdl"; this.fileListBox1.Size = new System.Drawing.Size(192, 277); this.fileListBox1.TabIndex = 1; this.fileListBox1.SelectedIndexChanged += new System.EventHandler(this.fileListBox1_SelectedIndexChanged); // // dirListBox1 // this.dirListBox1.IntegralHeight = false; this.dirListBox1.Location = new System.Drawing.Point(8, 40); this.dirListBox1.Name = "dirListBox1"; this.dirListBox1.Size = new System.Drawing.Size(192, 112); this.dirListBox1.TabIndex = 0; this.dirListBox1.SelectedIndexChanged += new System.EventHandler(this.dirListBox1_SelectedIndexChanged); // // target // this.target.Anchor = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right); this.target.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.target.Location = new System.Drawing.Point(224, 56); this.target.Name = "target"; this.target.Size = new System.Drawing.Size(472, 416); this.target.TabIndex = 1; this.target.TabStop = false; // // BTSolidWire // this.BTSolidWire.Location = new System.Drawing.Point(224, 24); this.BTSolidWire.Name = "BTSolidWire"; this.BTSolidWire.TabIndex = 2; this.BTSolidWire.Text = "Wireframe"; this.BTSolidWire.Click += new System.EventHandler(this.BTSolidWire_Click); // // CBLOD // this.CBLOD.Anchor = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right); this.CBLOD.Enabled = false; this.CBLOD.Location = new System.Drawing.Point(648, 24); this.CBLOD.Name = "CBLOD"; this.CBLOD.Size = new System.Drawing.Size(48, 21); this.CBLOD.TabIndex = 3; // // label1 // this.label1.Anchor = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right); this.label1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.label1.Location = new System.Drawing.Point(560, 24); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(80, 23); this.label1.TabIndex = 4; this.label1.Text = "Level of detail"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // tabControl1 // this.tabControl1.Controls.AddRange(new System.Windows.Forms.Control[] { this.tabPage1, this.tabPage2 }); this.tabControl1.Location = new System.Drawing.Point(0, 8); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(216, 464); this.tabControl1.TabIndex = 5; // // tabPage1 // this.tabPage1.Controls.AddRange(new System.Windows.Forms.Control[] { this.driveListBox1, this.dirListBox1, this.fileListBox1 }); this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Size = new System.Drawing.Size(208, 438); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "Browse"; // // tabPage2 // this.tabPage2.Controls.AddRange(new System.Windows.Forms.Control[] { this.btSave, this.tvObj }); this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Size = new System.Drawing.Size(208, 438); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "View"; // // btSave // this.btSave.Location = new System.Drawing.Point(16, 408); this.btSave.Name = "btSave"; this.btSave.TabIndex = 1; this.btSave.Text = "Save (test)"; this.btSave.Visible = false; this.btSave.Click += new System.EventHandler(this.btSave_Click); // // tvObj // this.tvObj.CheckBoxes = true; this.tvObj.ImageIndex = -1; this.tvObj.Location = new System.Drawing.Point(8, 8); this.tvObj.Name = "tvObj"; this.tvObj.SelectedImageIndex = -1; this.tvObj.Size = new System.Drawing.Size(192, 392); this.tvObj.TabIndex = 0; this.tvObj.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.tvObj_AfterCheck); this.tvObj.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvObj_AfterSelect); // // btBackColor // this.btBackColor.Location = new System.Drawing.Point(312, 24); this.btBackColor.Name = "btBackColor"; this.btBackColor.Size = new System.Drawing.Size(112, 23); this.btBackColor.TabIndex = 6; this.btBackColor.Text = "Background color"; this.btBackColor.Click += new System.EventHandler(this.btBackColor_Click); // // saveFileDialog1 // this.saveFileDialog1.FileName = "doc1"; // // ourRenderTarget // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(712, 477); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.btBackColor, this.tabControl1, this.label1, this.CBLOD, this.BTSolidWire, this.target }); this.MinimumSize = new System.Drawing.Size(720, 488); this.Name = "ourRenderTarget"; this.Text = "MDLView"; this.tabControl1.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.tabPage2.ResumeLayout(false); this.ResumeLayout(false); }
/// <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(AddFilesDlg)); this.driveLstBox = new Microsoft.VisualBasic.Compatibility.VB6.DriveListBox(); this.dirLstBox = new Microsoft.VisualBasic.Compatibility.VB6.DirListBox(); this.fileLstBox = new Microsoft.VisualBasic.Compatibility.VB6.FileListBox(); this.lstBoxSelectedFiles = new System.Windows.Forms.ListBox(); this.btnAddFile = new System.Windows.Forms.Button(); this.btnMinusFile = new System.Windows.Forms.Button(); this.btnOK = new System.Windows.Forms.Button(); this.grpOptions = new System.Windows.Forms.GroupBox(); this.cmbBoxOptions = new System.Windows.Forms.ComboBox(); this.btnAddAllFiles = new System.Windows.Forms.Button(); this.btnCancel = new System.Windows.Forms.Button(); this.panel1 = new System.Windows.Forms.Panel(); this.grpOptions.SuspendLayout(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // driveLstBox // this.driveLstBox.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.driveLstBox.Location = new System.Drawing.Point(6, 6); this.driveLstBox.Name = "driveLstBox"; this.driveLstBox.Size = new System.Drawing.Size(228, 22); this.driveLstBox.TabIndex = 0; this.driveLstBox.SelectedIndexChanged += new System.EventHandler(this.driveLstBox_SelectedIndexChanged); // // dirLstBox // this.dirLstBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.dirLstBox.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.dirLstBox.HorizontalScrollbar = true; this.dirLstBox.IntegralHeight = false; this.dirLstBox.Location = new System.Drawing.Point(6, 33); this.dirLstBox.Name = "dirLstBox"; this.dirLstBox.Size = new System.Drawing.Size(228, 132); this.dirLstBox.TabIndex = 1; this.dirLstBox.Change += new System.EventHandler(this.dirLstBox_SelectedIndexChanged); this.dirLstBox.SelectedIndexChanged += new System.EventHandler(this.dirLstBox_SelectedIndexChanged); // // fileLstBox // this.fileLstBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.fileLstBox.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.fileLstBox.Location = new System.Drawing.Point(240, 6); this.fileLstBox.Name = "fileLstBox"; this.fileLstBox.Pattern = "*.*"; this.fileLstBox.Size = new System.Drawing.Size(237, 158); this.fileLstBox.TabIndex = 4; this.fileLstBox.DoubleClick += new System.EventHandler(this.btnAddFile_Click); // // lstBoxSelectedFiles // this.lstBoxSelectedFiles.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.lstBoxSelectedFiles.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.lstBoxSelectedFiles.HorizontalScrollbar = true; this.lstBoxSelectedFiles.Location = new System.Drawing.Point(6, 171); this.lstBoxSelectedFiles.Name = "lstBoxSelectedFiles"; this.lstBoxSelectedFiles.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended; this.lstBoxSelectedFiles.Size = new System.Drawing.Size(315, 132); this.lstBoxSelectedFiles.TabIndex = 5; this.lstBoxSelectedFiles.DoubleClick += new System.EventHandler(this.btnMinusFile_Click); // // btnAddFile // this.btnAddFile.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.btnAddFile.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.btnAddFile.Location = new System.Drawing.Point(327, 171); this.btnAddFile.Name = "btnAddFile"; this.btnAddFile.Size = new System.Drawing.Size(72, 21); this.btnAddFile.TabIndex = 6; this.btnAddFile.Text = "+"; this.btnAddFile.Click += new System.EventHandler(this.btnAddFile_Click); // // btnMinusFile // this.btnMinusFile.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.btnMinusFile.Font = new System.Drawing.Font("Tahoma", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.btnMinusFile.Location = new System.Drawing.Point(405, 171); this.btnMinusFile.Name = "btnMinusFile"; this.btnMinusFile.Size = new System.Drawing.Size(72, 21); this.btnMinusFile.TabIndex = 7; this.btnMinusFile.Text = "--"; this.btnMinusFile.Click += new System.EventHandler(this.btnMinusFile_Click); // // btnOK // this.btnOK.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnOK.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.btnOK.Location = new System.Drawing.Point(405, 276); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(72, 27); this.btnOK.TabIndex = 8; this.btnOK.Text = "OK"; this.btnOK.Click += new System.EventHandler(this.btnOK_Click); // // grpOptions // this.grpOptions.Controls.Add(this.cmbBoxOptions); this.grpOptions.Controls.Add(this.btnAddAllFiles); this.grpOptions.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.grpOptions.Location = new System.Drawing.Point(327, 195); this.grpOptions.Name = "grpOptions"; this.grpOptions.Size = new System.Drawing.Size(150, 75); this.grpOptions.TabIndex = 9; this.grpOptions.TabStop = false; this.grpOptions.Text = "Add All Options:"; // // cmbBoxOptions // this.cmbBoxOptions.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.cmbBoxOptions.Items.AddRange(new object[] { "ALL FILES (*.*)", "RAR ARCHIVE", ".rar", ".zip", ".ace", ".iso", ".bin", ".tar", ".gz", ".tgz", ".exe", ".avi", ".mp3", ".rpm", ".nrg"}); this.cmbBoxOptions.Location = new System.Drawing.Point(6, 18); this.cmbBoxOptions.Name = "cmbBoxOptions"; this.cmbBoxOptions.Size = new System.Drawing.Size(138, 21); this.cmbBoxOptions.TabIndex = 0; this.cmbBoxOptions.Text = "RAR ARCHIVE"; // // btnAddAllFiles // this.btnAddAllFiles.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.btnAddAllFiles.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.btnAddAllFiles.Location = new System.Drawing.Point(6, 45); this.btnAddAllFiles.Name = "btnAddAllFiles"; this.btnAddAllFiles.Size = new System.Drawing.Size(138, 21); this.btnAddAllFiles.TabIndex = 10; this.btnAddAllFiles.Text = "Add"; this.btnAddAllFiles.Click += new System.EventHandler(this.btnAddAllFiles_Click); // // btnCancel // this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnCancel.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.btnCancel.Location = new System.Drawing.Point(327, 276); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(72, 27); this.btnCancel.TabIndex = 10; this.btnCancel.Text = "Cancel"; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.Control; this.panel1.Controls.Add(this.lstBoxSelectedFiles); this.panel1.Controls.Add(this.driveLstBox); this.panel1.Controls.Add(this.btnAddFile); this.panel1.Controls.Add(this.dirLstBox); this.panel1.Controls.Add(this.btnCancel); this.panel1.Controls.Add(this.btnMinusFile); this.panel1.Controls.Add(this.btnOK); this.panel1.Controls.Add(this.fileLstBox); this.panel1.Controls.Add(this.grpOptions); this.panel1.Location = new System.Drawing.Point(5, 5); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(483, 309); this.panel1.TabIndex = 11; this.panel1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.titleBar_MouseMove); this.panel1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.titleBar_MouseDown); // // AddFilesDlg // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.BackColor = System.Drawing.Color.DarkGray; this.ClientSize = new System.Drawing.Size(493, 319); this.Controls.Add(this.panel1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "AddFilesDlg"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "AddFilesDlg"; this.TopMost = true; this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.titleBar_MouseDown); this.MouseMove += new System.Windows.Forms.MouseEventHandler(this.titleBar_MouseMove); this.grpOptions.ResumeLayout(false); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { var resources = new System.ComponentModel.ComponentResourceManager(typeof(pictureViwer)); var BorderEdges1 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderEdges(); var StateProperties1 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); var StateProperties2 = new Bunifu.UI.WinForms.BunifuButton.BunifuButton.StateProperties(); PictureBox1 = new PictureBox(); _DirListBox1 = new Microsoft.VisualBasic.Compatibility.VB6.DirListBox(); _DirListBox1.Click += new EventHandler(DirListBox1_Click); DirectorySearcher1 = new System.DirectoryServices.DirectorySearcher(); _FileListBox1 = new Microsoft.VisualBasic.Compatibility.VB6.FileListBox(); _FileListBox1.SelectedIndexChanged += new EventHandler(FileListBox1_SelectedIndexChanged); _DriveListBox1 = new Microsoft.VisualBasic.Compatibility.VB6.DriveListBox(); _DriveListBox1.SelectedIndexChanged += new EventHandler(DriveListBox1_SelectedIndexChanged); Label1 = new Label(); Label2 = new Label(); Label3 = new Label(); _saveButton = new Bunifu.UI.WinForms.BunifuButton.BunifuButton(); _saveButton.Click += new EventHandler(Button1_Click); ((System.ComponentModel.ISupportInitialize)PictureBox1).BeginInit(); SuspendLayout(); // // PictureBox1 // PictureBox1.BorderStyle = BorderStyle.Fixed3D; PictureBox1.Location = new Point(330, 54); PictureBox1.Margin = new Padding(2); PictureBox1.Name = "PictureBox1"; PictureBox1.Size = new Size(141, 161); PictureBox1.SizeMode = PictureBoxSizeMode.StretchImage; PictureBox1.TabIndex = 1; PictureBox1.TabStop = false; // // DirListBox1 // _DirListBox1.FormattingEnabled = true; _DirListBox1.IntegralHeight = false; _DirListBox1.Location = new Point(13, 45); _DirListBox1.Margin = new Padding(2); _DirListBox1.Name = "_DirListBox1"; _DirListBox1.Size = new Size(262, 122); _DirListBox1.TabIndex = 3; // // DirectorySearcher1 // DirectorySearcher1.ClientTimeout = TimeSpan.Parse("-00:00:01"); DirectorySearcher1.ServerPageTimeLimit = TimeSpan.Parse("-00:00:01"); DirectorySearcher1.ServerTimeLimit = TimeSpan.Parse("-00:00:01"); // // FileListBox1 // _FileListBox1.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _FileListBox1.FormattingEnabled = true; _FileListBox1.Location = new Point(11, 203); _FileListBox1.Margin = new Padding(2); _FileListBox1.Name = "_FileListBox1"; _FileListBox1.Pattern = "*.*"; _FileListBox1.Size = new Size(264, 180); _FileListBox1.TabIndex = 4; // // DriveListBox1 // _DriveListBox1.FormattingEnabled = true; _DriveListBox1.Location = new Point(161, 20); _DriveListBox1.Margin = new Padding(2); _DriveListBox1.Name = "_DriveListBox1"; _DriveListBox1.Size = new Size(75, 21); _DriveListBox1.TabIndex = 5; // // Label1 // Label1.AutoSize = true; Label1.BackColor = Color.White; Label1.Font = new Font("Microsoft Sans Serif", 9.857143f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label1.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); Label1.Location = new Point(13, 21); Label1.Margin = new Padding(2, 0, 2, 0); Label1.Name = "Label1"; Label1.Size = new Size(142, 20); Label1.TabIndex = 6; Label1.Text = "Select the folder"; // // Label2 // Label2.AutoSize = true; Label2.BackColor = Color.White; Label2.Font = new Font("Microsoft Sans Serif", 9.857143f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label2.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); Label2.Location = new Point(11, 179); Label2.Margin = new Padding(2, 0, 2, 0); Label2.Name = "Label2"; Label2.Size = new Size(144, 20); Label2.TabIndex = 7; Label2.Text = "Select the image"; // // Label3 // Label3.AutoSize = true; Label3.BackColor = Color.White; Label3.Font = new Font("Microsoft Sans Serif", 9.857143f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label3.ForeColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); Label3.Location = new Point(361, 30); Label3.Margin = new Padding(2, 0, 2, 0); Label3.Name = "Label3"; Label3.Size = new Size(70, 20); Label3.TabIndex = 8; Label3.Text = "Preview"; // // saveButton // _saveButton.AllowToggling = false; _saveButton.AnimationSpeed = 200; _saveButton.AutoGenerateColors = false; _saveButton.BackColor = Color.Transparent; _saveButton.BackColor1 = Color.Teal; _saveButton.BackgroundImage = (Image)resources.GetObject("saveButton.BackgroundImage"); _saveButton.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; _saveButton.ButtonText = "Use image"; _saveButton.ButtonTextMarginLeft = 0; _saveButton.ColorContrastOnClick = 45; _saveButton.ColorContrastOnHover = 45; _saveButton.Cursor = Cursors.Hand; BorderEdges1.BottomLeft = true; BorderEdges1.BottomRight = true; BorderEdges1.TopLeft = true; BorderEdges1.TopRight = true; _saveButton.CustomizableEdges = BorderEdges1; _saveButton.DialogResult = DialogResult.None; _saveButton.DisabledBorderColor = Color.Empty; _saveButton.DisabledFillColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204)), Conversions.ToInteger(Conversions.ToByte(204))); _saveButton.DisabledForecolor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(168)), Conversions.ToInteger(Conversions.ToByte(160)), Conversions.ToInteger(Conversions.ToByte(168))); _saveButton.FocusState = Bunifu.UI.WinForms.BunifuButton.BunifuButton.ButtonStates.Pressed; _saveButton.Font = new Font("Segoe UI Semibold", 11.12727f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _saveButton.ForeColor = Color.White; _saveButton.IconLeftCursor = Cursors.Hand; _saveButton.IconMarginLeft = 11; _saveButton.IconPadding = 10; _saveButton.IconRightCursor = Cursors.Hand; _saveButton.IdleBorderColor = Color.Teal; _saveButton.IdleBorderRadius = 3; _saveButton.IdleBorderThickness = 1; _saveButton.IdleFillColor = Color.Teal; _saveButton.IdleIconLeftImage = null; _saveButton.IdleIconRightImage = null; _saveButton.IndicateFocus = true; _saveButton.Location = new Point(347, 231); _saveButton.Name = "_saveButton"; StateProperties1.BorderColor = Color.MediumTurquoise; StateProperties1.BorderRadius = 3; StateProperties1.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties1.BorderThickness = 1; StateProperties1.FillColor = Color.MediumTurquoise; StateProperties1.ForeColor = Color.White; StateProperties1.IconLeftImage = null; StateProperties1.IconRightImage = null; _saveButton.onHoverState = StateProperties1; StateProperties2.BorderColor = Color.Teal; StateProperties2.BorderRadius = 3; StateProperties2.BorderStyle = Bunifu.UI.WinForms.BunifuButton.BunifuButton.BorderStyles.Solid; StateProperties2.BorderThickness = 1; StateProperties2.FillColor = Color.Teal; StateProperties2.ForeColor = Color.White; StateProperties2.IconLeftImage = null; StateProperties2.IconRightImage = null; _saveButton.OnPressedState = StateProperties2; _saveButton.Size = new Size(102, 33); _saveButton.TabIndex = 9; _saveButton.TextAlign = ContentAlignment.MiddleCenter; _saveButton.TextMarginLeft = 0; _saveButton.UseDefaultRadiusAndThickness = true; // // pictureViwer // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; ClientSize = new Size(485, 395); Controls.Add(_saveButton); Controls.Add(Label3); Controls.Add(Label2); Controls.Add(Label1); Controls.Add(_DriveListBox1); Controls.Add(_FileListBox1); Controls.Add(_DirListBox1); Controls.Add(PictureBox1); FormBorderStyle = FormBorderStyle.FixedSingle; Icon = (Icon)resources.GetObject("$this.Icon"); Margin = new Padding(2); MaximizeBox = false; MinimizeBox = false; Name = "pictureViwer"; StartPosition = FormStartPosition.Manual; Text = "Employee Photo"; ((System.ComponentModel.ISupportInitialize)PictureBox1).EndInit(); ResumeLayout(false); PerformLayout(); }