public SearchBar() { // Generic properties MinimumSize = new Size(0,24); Padding = new Padding(3); // Create a SplitContainer _container = new SplitContainer(); _container.Dock = DockStyle.Fill; _container.FixedPanel = FixedPanel.Panel1; _container.IsSplitterFixed = true; _container.SplitterDistance = 24; Controls.Add(_container); // Add the search picture _icon = new PictureBox(); _icon.Image = Icons.Magnifier_icon; _icon.AutoSize = false; _icon.SizeMode = PictureBoxSizeMode.CenterImage; _icon.MinimumSize = _icon.Image.Size; _icon.Dock = DockStyle.Fill; _container.Panel1.Controls.Add(_icon); // Now the search box itself _inputField = new TextBox(); _inputField.BackColor = Color.Pink; _inputField.BorderStyle = BorderStyle.None; _inputField.Dock = DockStyle.Fill; _inputField.BackColor = Color.FromArgb(255, 175, 180, 190); _inputField.KeyUp += new KeyEventHandler(_control_KeyUp); _container.Panel2.Padding = new Padding(0, 5, 0, 0); _container.Panel2.Controls.Add(_inputField); }
public ResGroupEditor(IEditorEnvironment editorEnvironment, ICommandHistory history) { this.editorEnvironment = editorEnvironment; this.history = history; this.AutoSize = true; this.Padding = new Padding(10); this.SuspendLayout(); this.split = new SplitContainer { Dock = DockStyle.Fill }; this.split.Panel2Collapsed = true; this.Controls.Add(this.split); var sp = new StackPanel { Dock = DockStyle.Fill, AutoSize = true }; this.split.Panel1.Controls.Add(sp); var collectionView = new CollectionView<IResourceFile>(a => editorEnvironment.EditorFor(a, history)) { AutoSize = true }; collectionView.ItemsPanel.AutoSize = true; collectionView.ItemsPanel.AutoScroll = false; new PropertyBinding<ResGroup, IList<IResourceFile>>(collectionView, this.dataContext, m => m.ExternalResources, null); sp.Controls.Add(collectionView); var embCollectionView = new CollectionView<Managed>(a => this.CreateButtonForResource(a)) { AutoSize = true }; embCollectionView.ItemsPanel.AutoSize = true; embCollectionView.ItemsPanel.AutoScroll = false; new PropertyBinding<ResGroup, IList<Managed>>(embCollectionView, this.dataContext, m => m.EmbeddedResources, null); sp.Controls.Add(embCollectionView); this.ResumeLayout(); this.PerformLayout(); }
protected void InitializeControl() { this.SuspendLayout(); this.BackColor = Color.White; ControlContainer = new SplitContainer(); ControlContainer.Dock = DockStyle.Fill; CollectionBrowser = new RsCollectionBrowser(RsViewEngine.CollectionManager); CollectionBrowser.Dock = DockStyle.Fill; CollectionBrowser.Size = new System.Drawing.Size( 512, CollectionBrowser.Height ); ListContext = new RsCollectionManagement.RsCollectionMgmtContext(this); ItemList = new ListView(); ItemList.Dock = DockStyle.Fill; ItemList.View = View.LargeIcon; ItemList.ContextMenu = ListContext; this.Controls.Add(ControlContainer); ControlContainer.Panel1.Controls.Add(CollectionBrowser); ControlContainer.Panel2.Controls.Add(ItemList); this.ResumeLayout(); AssignEventHandlers(); }
public void TestControl() { using (var frm = new System.Windows.Forms.Form()) { frm.SuspendLayout(); var splitter = new System.Windows.Forms.SplitContainer(); splitter.Dock = DockStyle.Fill; var sp1 = splitter.Panel1; // = new SplitterPanel(splitter); var pg = new PropertyGrid(); sp1.Controls.Add(pg); pg.Dock = DockStyle.Fill; var sp2 = splitter.Panel2; // SplitterPanel(splitter); var lc1 = new LegendControl(); lc1.Dock = DockStyle.Fill; sp2.Controls.Add(lc1); pg.SelectedObject = lc1; lc1.LegendFactory = new LegendFactory(new LegendSettings()); lc1.Map = CreateMap(); frm.Controls.Add(splitter); frm.ResumeLayout(); frm.ShowDialog(); } }
private void InitializeComponent() { this.picture = new System.Windows.Forms.PictureBox(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.list = new System.Windows.Forms.ListBox(); ((System.ComponentModel.ISupportInitialize)(this.picture)).BeginInit(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.SuspendLayout(); // // picture // this.picture.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.picture.Dock = System.Windows.Forms.DockStyle.Fill; this.picture.Location = new System.Drawing.Point(0, 0); this.picture.Name = "picture"; this.picture.Size = new System.Drawing.Size(811, 689); this.picture.TabIndex = 0; this.picture.TabStop = false; // // splitContainer1 // this.splitContainer1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer1.Location = new System.Drawing.Point(0, 0); this.splitContainer1.Name = "splitContainer1"; // // splitContainer1.Panel1 // this.splitContainer1.Panel1.Controls.Add(this.list); // // splitContainer1.Panel2 // this.splitContainer1.Panel2.Controls.Add(this.picture); this.splitContainer1.Size = new System.Drawing.Size(969, 693); this.splitContainer1.SplitterDistance = 150; this.splitContainer1.TabIndex = 2; // // list // this.list.Dock = System.Windows.Forms.DockStyle.Fill; this.list.FormattingEnabled = true; this.list.Location = new System.Drawing.Point(0, 0); this.list.Name = "list"; this.list.Size = new System.Drawing.Size(146, 680); this.list.TabIndex = 0; this.list.SelectedIndexChanged += new System.EventHandler(this.list_SelectedIndexChanged); // // GdiForm // this.ClientSize = new System.Drawing.Size(969, 693); this.Controls.Add(this.splitContainer1); this.Name = "GdiForm"; ((System.ComponentModel.ISupportInitialize)(this.picture)).EndInit(); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.ResumeLayout(false); this.ResumeLayout(false); }
public SplitterHandler() { Control = new SWF.SplitContainer(); Control.FixedPanel = SWF.FixedPanel.Panel1; Control.Panel1MinSize = 0; Control.Panel2MinSize = 0; }
public Frame() { WindowState = FormWindowState.Maximized; Text = "Bootpad"; Font = new Font("Anonymous Pro", 10); Dock = DockStyle.Fill; he = new HtmlEditor(); wb = new WebBrowser { Dock = DockStyle.Fill, ScriptErrorsSuppressed = false }; ut = new System.Windows.Forms.Timer { Interval = 5000 }; ut.Tick += delegate { if (changed) { new Thread(new ThreadStart(delegate { wb.DocumentText = he.Text; changed = false; })).Start(); } }; he.TextChanged += delegate { changed = true; }; var sc0 = new SplitContainer { Parent = this, Dock = DockStyle.Fill, SplitterDistance = 100 }; sc0.Panel1.Controls.Add(he); sc0.Panel2.Controls.Add(wb); ut.Start(); }
public Form1() { InitializeComponent(); this.Text = "SplitContainer 사용하기"; TreeView treeView = new TreeView(); ListView listView = new ListView(); treeView.Dock = DockStyle.Fill; listView.Dock = DockStyle.Fill; treeView.Nodes.Add("트리 노드1"); treeView.Nodes.Add("트리 노드2"); listView.Items.Add("리스트 아이템1"); listView.Items.Add("리스트 아이템2"); // 스풀리터 컨트롤 현재 버전(권장) SplitContainer splitContainer = new SplitContainer(); splitContainer.Dock = DockStyle.Fill; splitContainer.Panel1MinSize = 30; // Pane1의 최소 크기 30 splitContainer.Panel2MinSize = 50; // Pane2의 최소 크기 50 splitContainer.SplitterWidth = 1; // 스플리터 폭을 1으로 설정 splitContainer.SplitterIncrement = 5; // 스프리터 이동간격을 5로 설정 splitContainer.Panel1.Controls.Add(treeView); //스플리터 왼쪽에 트리뷰 splitContainer.Panel2.Controls.Add(listView); // 스플리터 오른쪽에 리스트뷰 this.Controls.Add(splitContainer); }
/// <summary>Initializes a new instance of the <see cref="SplitContainerTools"/> class.</summary> /// <param name="container"> /// The <see cref="System.Windows.Forms.SplitContainer"/> to which this instance will be bound. /// </param> public SplitContainerTools(SplitContainer container) { split = container; _keepFocus = false; _showGripper = true; _showButtons = SplitContainerButtons.None; _panel1Border = false; _panel2Border = false; _buttons = new SplitContainerButton[] { }; _tooltip = new ToolTip(); _splitRectInternal = typeof(SplitContainer).GetField("splitterRect", Reflection.BindingFlags.NonPublic | Reflection.BindingFlags.GetField | Reflection.BindingFlags.Instance); split.Paint += split_Paint; split.MouseDown += split_MouseDown; split.MouseUp += split_MouseUp; split.MouseClick += split_MouseClick; split.MouseMove += split_MouseMove; split.MouseLeave += (o, e) => split.Cursor = Cursors.Default; split.SplitterMoved += split_SplitterMoved; split.SizeChanged += split_Resize; split.Disposed += (o, e) => _tooltip.Dispose(); ((Panel)split.Panel1).ClientSizeChanged += Split_Panel_CollapsedChanged; ((Panel)split.Panel2).LocationChanged += Split_Panel_CollapsedChanged; }
cExtendedControl CreateSplitter(cExtendedControl Ctrl1, cExtendedControl Ctrl2) { SplitContainer SC = new SplitContainer(); SC.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); SC.BorderStyle = BorderStyle.FixedSingle; SC.Orientation = this.Orientation; //SC.Panel1.Width = Ctrl1.Width = SC.Panel1.Width; Ctrl1.Height = SC.Panel1.Height; SC.Panel1.Controls.Add(Ctrl1); Ctrl2.Width = SC.Panel2.Width; Ctrl2.Height = SC.Panel2.Height; SC.Panel2.Controls.Add(Ctrl2); cExtendedControl ToBeReturned = new cExtendedControl(); ToBeReturned.Width = SC.Width; ToBeReturned.Height = SC.Height; ToBeReturned.Controls.Add(SC); ToBeReturned.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); //ToBeReturned.Controls.Add(SC); return ToBeReturned; }
public MainForm2( string title, Form versionDlg ) { // �v���O���X�o�[�̃_�C�A���O�\�� new ProgressDialog().SetUp( this, false ); this.VersionDialog = versionDlg; this.MainMenu = CreateMainMenu( versionDlg ); this.SplitContainer = CreateSplitContainer( this.ViewPanel, this.TreePanel ); // �c�[���o�[�̍쐬 foreach ( ToolStrip ts in Ctrl.ToolStripRegistry.ToolStrips ) { ToolStripContainer.TopToolStripPanel.Controls.Add( ts ); } // _container ToolStripContainer.Dock = DockStyle.Fill; ToolStripContainer.TopToolStripPanelVisible = true; ToolStripContainer.TopToolStripPanel.Controls.Add( this.MainMenu ); ToolStripContainer.BottomToolStripPanelVisible = true; ToolStripContainer.BottomToolStripPanel.Controls.Add( StatusBar ); ToolStripContainer.ContentPanel.Controls.Add( SplitContainer ); // this this.Controls.Add( ToolStripContainer ); // ������ SI.Tasks.Add( this.ViewPanel ); SI.Tasks.Add( this.TreePanel ); SI.PushIdlingSelection( SI.DocumentViews, true ); // �G���g���̑I�� SI.SetupMainForm( this, title ); // �ݒ�t�@�C���̓ǂݏ��� SetupFormSettings( this ); }
private void Form1_Load(object sender, EventArgs e) { var splitContainer = new SplitContainer(); splitContainer.Dock = DockStyle.Fill; splitContainer.Panel1MinSize = 0; splitContainer.SplitterDistance = 0; this.Controls.Add(splitContainer); }
public static SplitContainer CreateSplitContainer( Control viewPanel, Control treePanel ) { SplitContainer split = new SplitContainer(); split.Dock = DockStyle.Fill; split.SplitterDistance = 7 * split.Width / 10; split.Panel1.Controls.Add( viewPanel ); split.Panel2.Controls.Add( treePanel ); return split; }
/// <summary> /// Constructor</summary> public MainForm() { Text = "File Explorer Sample".Localize(); m_splitContainer = new SplitContainer(); m_splitContainer.Orientation = Orientation.Vertical; m_splitContainer.Dock = DockStyle.Fill; Controls.Add(m_splitContainer); }
/// <summary> /// Initializes a new instance of the <see cref="MetaEditor"/> class. /// </summary> /// <param name="ifp">The ifp.</param> /// <param name="split">The split.</param> /// <param name="mapx">The mapx.</param> /// <remarks></remarks> public MetaEditor(IFPIO ifp, SplitContainer split, Map mapx) { map = mapx; ReflexiveContainer tempr = new ReflexiveContainer("Header"); MakeControls(0, ifp.items, ref tempr); Controls = tempr; DrawControls(ref split); }
public MainPanel(Form mainForm) { _mainForm = mainForm; _first = new SplitContainer(); _second = new SplitContainer(); _third = new SplitContainer(); Initialize(); }
private void InitializeComponent() { this.splitContainerMain = new System.Windows.Forms.SplitContainer(); this.rtxLogEvent = new System.Windows.Forms.RichTextBox(); this.dgvResult = new System.Windows.Forms.DataGridView(); this.splitContainerMain.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgvResult)).BeginInit(); this.SuspendLayout(); // // splitContainerMain // this.splitContainerMain.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainerMain.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; this.splitContainerMain.Location = new System.Drawing.Point(0, 0); this.splitContainerMain.Name = "splitContainerMain"; this.splitContainerMain.Orientation = System.Windows.Forms.Orientation.Horizontal; this.splitContainerMain.Panel1MinSize = 150; this.splitContainerMain.Panel2MinSize = 100; this.splitContainerMain.Size = new System.Drawing.Size(150, 254); this.splitContainerMain.SplitterDistance = 150; this.splitContainerMain.TabIndex = 0; // // rtxLogEvent // this.rtxLogEvent.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.rtxLogEvent.Dock = System.Windows.Forms.DockStyle.Fill; this.rtxLogEvent.Location = new System.Drawing.Point(0, 0); this.rtxLogEvent.Name = "rtxLogEvent"; this.rtxLogEvent.Size = new System.Drawing.Size(100, 96); this.rtxLogEvent.TabIndex = 0; this.rtxLogEvent.Text = ""; this.rtxLogEvent.TextChanged += new System.EventHandler(this.rtxLogEvent_TextChanged); // // dgvResult // this.dgvResult.AllowUserToDeleteRows = false; this.dgvResult.AllowUserToResizeRows = false; //this.dgvResult.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; this.dgvResult.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvResult.Dock = System.Windows.Forms.DockStyle.Fill; this.dgvResult.Location = new System.Drawing.Point(0, 0); this.dgvResult.Name = "dgvResult"; this.dgvResult.ReadOnly = true; this.dgvResult.RowTemplate.Height = 23; //this.dgvResult.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.dgvResult.Size = new System.Drawing.Size(240, 150); this.dgvResult.TabIndex = 0; this.splitContainerMain.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dgvResult)).EndInit(); this.ResumeLayout(false); this.dgvResult.RowsAdded += new DataGridViewRowsAddedEventHandler(dgvResult_RowsAdded); this.splitContainerMain.Panel1.Controls.Add(dgvResult); this.splitContainerMain.Panel2.Controls.Add(rtxLogEvent); this.Controls.Add(splitContainerMain); }
public void setVisibleControlsColapseState_4Panels_TopRight(String sTitle, SplitContainer scTarget_Host, SplitContainer scTarget_Top, SplitContainer scTarget_Bottom, String sTopLeft, String sTopRight, String sBottomLeft, String sBottomRight) { gbVisibleControls.Text = sTitle; setVisibleControlsColapseState_4Panels_TopRight(scTarget_Host, scTarget_Top, scTarget_Bottom, sTopLeft, sTopRight, sBottomLeft, sBottomRight); }
/// <summary> /// Старт обычного и Экзаменационного тестов /// </summary> /// <param name="_splitContainer"></param> /// <param name="_RichTextBox"></param> /// <param name="_label"></param> /// <param name="_index">0 - Обычный тест по выбраной теме; 1 - Экзаменационный тест по всем темам</param> public void StartTest(SplitContainer _splitContainer , RichTextBox[] _RichTextBox , Label _label , int _theme , int _index) { _StatrTest = true; var _CurrentSubject = _Subjects[_theme]; _TestService = ( _index == 0 ) ? new TestingService( _CurrentSubject.Title , _CurrentSubject.Questions ) //Обычные тесты по теме : new TestingService( "Экзаменационный билет" , _QuestionService.FindAll() , _ExamCount ); //Тесты на экзамен Start_Or_End_TestForm( _splitContainer , true ); UpdateQuestionForm( _splitContainer.Panel2 , _RichTextBox , _label ); }
public Script(TabControl tabControl, ScriptHost host) { _host = host; var tabPage = new TabPage(); tabPage.Text = "New Script"; tabControl.Controls.Add(tabPage); tabControl.SelectedTab = tabPage; var splitContainer = new SplitContainer(); splitContainer.Dock = DockStyle.Fill; splitContainer.Name = "splitContainer1"; splitContainer.Orientation = Orientation.Horizontal; splitContainer.SplitterDistance = 500; splitContainer.TabIndex = 4; tabPage.Controls.Add(splitContainer); tabPage.Location = new System.Drawing.Point(4, 22); tabPage.Name = "tabPage1"; tabPage.Padding = new System.Windows.Forms.Padding(5); tabPage.Size = new System.Drawing.Size(670, 527); tabPage.TabIndex = 0; tabPage.UseVisualStyleBackColor = true; var scriptEditor = new FastColoredTextBox(); scriptEditor.Dock = DockStyle.Fill; scriptEditor.Font = new Font("Courier New", 12.0F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0))); scriptEditor.Location = new Point(0, 0); scriptEditor.Name = "_scriptEditor"; scriptEditor.Size = new Size(660, 257); scriptEditor.TabIndex = 3; scriptEditor.Text = ""; scriptEditor.KeyPress += new KeyPressEventHandler(this._scriptEditor_KeyPress); scriptEditor.KeyUp += new KeyEventHandler(this._scriptEditor_KeyUp); scriptEditor.TextChanged += new EventHandler<TextChangedEventArgs>(scriptEditor_TextChanged); var output = new RichTextBox(); output.Dock = DockStyle.Fill; output.Name = "_output"; output.ReadOnly = true; output.TabIndex = 0; output.Text = ""; output.Font = new Font("Courier New", 12.0F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0))); splitContainer.Panel1.Controls.Add(scriptEditor); splitContainer.Panel2.Controls.Add(output); this.TabPage = tabPage; this.TabControl = tabControl; this.ScriptEditor = scriptEditor; this.OutputControl = output; }
public ctlView() { InitializeComponent(); mTreeViewHolder = null; //set some initial states buttBoundingBox.Checked = UVDLPApp.Instance().m_appconfig.m_showBoundingBox; buttShowSlice.Checked = UVDLPApp.Instance().m_appconfig.m_viewslice3d; mLayerNumberScroll = null; mMessagePanelHolder = null; mTreeViewHolder = null; mObjectInfoPanel = null; }
private void splitContainer1_SplitterMoved(object sender, SplitterEventArgs e) { // This event will be fired every time the splitter is moved // The 'sender' parameter will contain the actual splitter control that raised the event // We need to cast it to a SplitContainer since it comes in as an 'object' System.Windows.Forms.SplitContainer splitter = (System.Windows.Forms.SplitContainer)sender; // Populate the 'SplitterDistance' text box with the current value of the SplitterDistance property // of the splitter control. this.SplitterDistance.Text = GetSplitterDistance(splitter); }
/// <summary> /// Saves SplitContainer state. /// </summary> /// <param name="control">SplitContainer.</param> /// <exception cref="System.ArgumentNullException">Control is null.</exception> public static void Save(System.Windows.Forms.SplitContainer control) { if (control == null) { throw new ArgumentNullException("control", "Control is null."); } string baseValueName = Helper.GetControlPath(control); Helper.Write(baseValueName + ".Orientation", System.Convert.ToInt32(control.Orientation, System.Globalization.CultureInfo.InvariantCulture)); Helper.Write(baseValueName + ".SplitterDistance", control.SplitterDistance); }
public ImageTagger() { LoadingScreen loadingScreen = new LoadingScreen (); loadingScreen.Show (); // Configuration config = GetConfiguration (); // Window properties this.components = new System.ComponentModel.Container (); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Text = "Image-Tagger Playground"; if (config.WindowSize.Width != 0 && config.WindowSize.Height != 0) { this.Width = config.WindowSize.Width; this.Height = config.WindowSize.Height; } // this.KeyPreview = true; // this.KeyPress += new KeyPressEventHandler (HandleKeyPress); this.Resize += new EventHandler (Form_Resize); // Create Menu CreateMenuStrip (); // left/right Splitcontainer SplitContainer leftRightSplitter = new SplitContainer (); leftRightSplitter.Dock = DockStyle.Fill; this.Controls.Add (leftRightSplitter); // Panel 1Navigation leftRightSplitter.Panel1MinSize = 210; leftRightSplitter.SplitterDistance = 210; leftRightSplitter.Panel1.BackColor = Color.AntiqueWhite; // Init ImageBrowser imageBrowser = new ImageBrowser (); imageBrowser.Dock = DockStyle.Fill; leftRightSplitter.Panel1.Controls.Add (imageBrowser); imageBrowser.ImageClick += HandleImage1Click; if (!String.IsNullOrEmpty (config.DefaultDirectory)) { OpenDirectory (config.DefaultDirectory); } // Panel 2 mainImage.Dock = DockStyle.Fill; mainImage.SizeMode = PictureBoxSizeMode.Zoom; leftRightSplitter.Panel2.Controls.Add (mainImage); loadingScreen.Hide (); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FeatureIdentifier)); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.treFeatures = new System.Windows.Forms.TreeView(); this.dgvAttributes = new System.Windows.Forms.DataGridView(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgvAttributes)).BeginInit(); this.SuspendLayout(); // // splitContainer1 // resources.ApplyResources(this.splitContainer1, "splitContainer1"); this.splitContainer1.Name = "splitContainer1"; // // splitContainer1.Panel1 // this.splitContainer1.Panel1.Controls.Add(this.treFeatures); // // splitContainer1.Panel2 // this.splitContainer1.Panel2.Controls.Add(this.dgvAttributes); // // treFeatures // resources.ApplyResources(this.treFeatures, "treFeatures"); this.treFeatures.Name = "treFeatures"; this.treFeatures.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treFeatures_AfterSelect); // // dgvAttributes // this.dgvAttributes.AllowUserToAddRows = false; this.dgvAttributes.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; resources.ApplyResources(this.dgvAttributes, "dgvAttributes"); this.dgvAttributes.Name = "dgvAttributes"; // // FeatureIdentifier // resources.ApplyResources(this, "$this"); this.Controls.Add(this.splitContainer1); this.Name = "FeatureIdentifier"; this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); this.splitContainer1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dgvAttributes)).EndInit(); this.ResumeLayout(false); }
public override void MsdnNamePropertyTest() { SplitContainer splitContainer = new SplitContainer(); AutomationElement child = GetAutomationElementFromControl(splitContainer); Assert.AreEqual(splitContainer.Name, child.GetCurrentPropertyValue(AutomationElementIdentifiers.NameProperty, true), "NameProperty"); splitContainer.Name = "Unhappy splitContainer"; Assert.AreEqual(splitContainer.Name, child.GetCurrentPropertyValue(AutomationElementIdentifiers.NameProperty, true), "NameProperty"); }
public MainForm() { InitializeComponent(); SetDoubleBuffered(panel1); SetDoubleBuffered(splitContainer1.Panel1); SetDoubleBuffered(splitContainer1.Panel2); splitContainer1_SplitterMoved(null, null); ButtonsEnabled(false); mainPanel = splitContainer1; }
public void ProviderPatternTest () { SplitContainer splitContainer = new SplitContainer (); IRawElementProviderSimple provider = ProviderFactory.GetProvider (splitContainer); object dockProvider = provider.GetPatternProvider (DockPatternIdentifiers.Pattern.Id); Assert.IsNotNull (dockProvider, "Not returning DockPatternIdentifiers."); Assert.IsTrue (dockProvider is IDockProvider, "Not returning DockPatternIdentifiers."); }
public static float GetSplitterState(SplitContainer container) { float fValue = (float)container.SplitterDistance / ( container.Orientation == Orientation.Horizontal ? (float)container.Height : (float)container.Width ) ; return fValue; }
public SelectColumnsDialog( DataGridView dgv ) { dataGridView = dgv; columnToCheckboxMap = new Map<string, CheckBox>(); this.Name = "SelectColumnsDialog"; this.Text = "Select Columns"; SplitContainer splitContainer = new SplitContainer(); splitContainer.Orientation = Orientation.Horizontal; splitContainer.Dock = DockStyle.Fill; this.Controls.Add( splitContainer ); FlowLayoutPanel panel1 = new FlowLayoutPanel(); panel1.FlowDirection = FlowDirection.TopDown; panel1.Dock = DockStyle.Fill; splitContainer.Panel1.Controls.Add( panel1 ); foreach( DataGridViewColumn column in dgv.Columns ) { CheckBox checkbox = new CheckBox(); checkbox.Text = column.HeaderText; checkbox.Checked = column.Visible; columnToCheckboxMap.Add( column.Name, checkbox ); panel1.Controls.Add( checkbox ); } TableLayoutPanel panel2 = new TableLayoutPanel(); panel2.ColumnCount = 2; panel2.RowCount = 1; panel2.Dock = DockStyle.Fill; splitContainer.Panel2.Controls.Add( panel2 ); Button okButton = new Button(); okButton.Text = "OK"; okButton.Click += new EventHandler( okButton_Click ); this.AcceptButton = okButton; panel2.Controls.Add( okButton ); panel2.SetCellPosition( okButton, new TableLayoutPanelCellPosition(0,0) ); Button cancelButton = new Button(); cancelButton.Text = "Cancel"; cancelButton.Click += new EventHandler( cancelButton_Click ); this.CancelButton = cancelButton; panel2.Controls.Add( cancelButton ); panel2.SetCellPosition( cancelButton, new TableLayoutPanelCellPosition(1,0) ); splitContainer.FixedPanel = FixedPanel.Panel2; splitContainer.SplitterDistance = this.Height - okButton.Height * 2; splitContainer.IsSplitterFixed = true; }
public ControlWindow() { Map = new MapControl(this); PlayerList = new StatusControl(this); //History = new HistoryControl (PlayerList); Map.Dock = DockStyle.Fill; PlayerList.Dock = DockStyle.Fill; //History.Dock = DockStyle.Top; this.Text = "MineProxy"; this.WindowState = FormWindowState.Maximized; //Right panel, date picker + player list datePick.Value = DateTime.Now.Date; datePick.ValueChanged += HandleDatePickValueChanged; datePick.Dock = DockStyle.Top; PlayerList.Dock = DockStyle.Fill; Panel right = new Panel(); right.Controls.Add(PlayerList); right.Controls.Add(datePick); right.Dock = DockStyle.Fill; SplitContainer split = new SplitContainer(); split.Panel1.Controls.Add(Map); split.Panel2.Controls.Add(right); split.SplitterWidth = 10; split.SplitterDistance = Width / 2; split.Orientation = Orientation.Vertical; split.Dock = DockStyle.Fill; Controls.Add(split); //Controls.Add (History); this.MainMenuStrip = new MenuStrip(); this.MainMenuStrip.Items.Add("Pardon").Click += HandlePardonClick; this.MainMenuStrip.Items.Add("Ban").Click += HandleBanClick; this.MainMenuStrip.Items.Add("Overworld").Click += HandleNetherCheckedChanged; this.MainMenuStrip.Items.Add("Reload").Click += HandleRegionReloadClick; //this.MainMenuStrip.Items.Add ("History Search").Click += HistorySearch; this.MainMenuStrip.Items.Add("TP-Nuxas").Click += HandleTpNuxasClick; ; this.MainMenuStrip.Items.Add("TP-Player").Click += HandleTpPlayerClick; ; this.MainMenuStrip.Visible = true; this.MainMenuStrip.BringToFront(); this.Controls.Add(this.MainMenuStrip); }
public void BasicPropertiesTest () { SplitContainer splitContainer = new SplitContainer (); IRawElementProviderSimple provider = ProviderFactory.GetProvider (splitContainer); TestProperty (provider, AutomationElementIdentifiers.ControlTypeProperty, ControlType.Pane.Id); TestProperty (provider, AutomationElementIdentifiers.LocalizedControlTypeProperty, "pane"); }
/// <summary> /// 设置DataGridView列格式以及SplitContainer的距离(横向) /// </summary> /// <param name="sc">外层SplicContainer</param> /// <param name="dgv">需计算列宽的DataGridView</param> /// <param name="basicWidth">基准列宽,默认为20</param> public void SetDataGridViewAndSplit(SplitContainer sc, DataGridView dgv, int basicWidth = 20) { int splitterDistance = basicWidth; foreach (DataGridViewColumn col in dgv.Columns) { col.DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter; col.AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells; if (col.Visible) { splitterDistance += col.GetPreferredWidth(DataGridViewAutoSizeColumnMode.AllCells, true); } } sc.SplitterDistance = splitterDistance; }
private void InitializeComponent() { ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(Chat)); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.ChatList = new System.Windows.Forms.ListBox(); this.chatPanel1 = new ChatPanel(); ((ISupportInitialize)this.splitContainer1).BeginInit(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); base.SuspendLayout(); this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer1.Location = new System.Drawing.Point(0, 0); this.splitContainer1.Name = "splitContainer1"; this.splitContainer1.Panel1.Controls.Add(this.ChatList); this.splitContainer1.Panel2.Controls.Add(this.chatPanel1); this.splitContainer1.Size = new System.Drawing.Size(384, 262); this.splitContainer1.SplitterDistance = 100; this.splitContainer1.TabIndex = 0; this.ChatList.Dock = System.Windows.Forms.DockStyle.Fill; this.ChatList.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.ChatList.Font = new System.Drawing.Font("Tahoma", 8.25f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0); this.ChatList.FormattingEnabled = true; this.ChatList.Location = new System.Drawing.Point(0, 0); this.ChatList.Name = "ChatList"; this.ChatList.Size = new System.Drawing.Size(100, 262); this.ChatList.TabIndex = 1; this.ChatList.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.ChatList_DrawItem); this.ChatList.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.ChatList_MouseDoubleClick); this.chatPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.chatPanel1.Font = new System.Drawing.Font("Tahoma", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0); this.chatPanel1.Location = new System.Drawing.Point(0, 0); this.chatPanel1.Name = "chatPanel1"; this.chatPanel1.Size = new System.Drawing.Size(280, 262); this.chatPanel1.TabIndex = 0; base.AutoScaleDimensions = new System.Drawing.SizeF(6f, 13f); base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; base.ClientSize = new System.Drawing.Size(384, 262); base.Controls.Add(this.splitContainer1); base.Icon = (System.Drawing.Icon)componentResourceManager.GetObject("$this.Icon"); base.Name = "Chat"; this.Text = "Chat"; this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); ((ISupportInitialize)this.splitContainer1).EndInit(); this.splitContainer1.ResumeLayout(false); base.ResumeLayout(false); }
protected GlossaryItemTabPage(GlossaryManagerUI ui) : base() { this.ui = ui; var splitContainer = new System.Windows.Forms.SplitContainer() { Orientation = Orientation.Horizontal, Size = new System.Drawing.Size(500, 500), FixedPanel = FixedPanel.None, Name = "splitContainer", SplitterDistance = 200, SplitterWidth = 6, Panel1MinSize = 50, Panel2MinSize = 100, }; // set here else SplitterDistance causes issues splitContainer.Dock = DockStyle.Fill; splitContainer.SuspendLayout(); splitContainer.SplitterMoved += splitterMoved; splitContainer.SplitterMoving += splitterMoving; this.Controls.Add(splitContainer); this.createList(); this.createForm(); splitContainer.Panel1.Controls.Add(this.itemsList); splitContainer.Panel2.Controls.Add(this.form); splitContainer.Panel2.AutoScroll = true; splitContainer.ResumeLayout(false); this.addToolbar(); this.deleteButton.Enabled = false; this.exportButton.Enabled = false; this.ui.NewContext += new NewContextHandler(this.handleContextChange); }
private void InitializeComponent() { splitContainer1 = new System.Windows.Forms.SplitContainer(); splitContainer1.SuspendLayout(); SuspendLayout(); // Place a basic SplitContainer control onto Form1. splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; splitContainer1.Location = new System.Drawing.Point(0, 0); splitContainer1.Name = "splitContainer1"; splitContainer1.Size = new System.Drawing.Size(292, 273); splitContainer1.SplitterDistance = 52; splitContainer1.SplitterWidth = 6; splitContainer1.TabIndex = 0; splitContainer1.Text = "splitContainer1"; // Add the event handler for the SplitterMoved event. splitContainer1.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(splitContainer1_SplitterMoved); // Add the event handler for the SplitterMoving event. splitContainer1.SplitterMoving += new System.Windows.Forms.SplitterCancelEventHandler(splitContainer1_SplitterMoving); // This is the left panel of the vertical SplitContainer control. splitContainer1.Panel1.Name = "splitterPanel1"; // This is the right panel of the vertical SplitContainer control. splitContainer1.Panel2.Name = "splitterPanel2"; // Lay out the basic properties of the form. ClientSize = new System.Drawing.Size(292, 273); Controls.Add(splitContainer1); Name = "Form1"; Text = "Form1"; splitContainer1.ResumeLayout(false); ResumeLayout(false); }
public ColumnLinkTabPage(GlossaryManagerUI ui) : base() { this.ui = ui; this.Text = "Column Links"; var splitContainer = new System.Windows.Forms.SplitContainer() { Orientation = Orientation.Horizontal, Size = new System.Drawing.Size(500, 500), FixedPanel = FixedPanel.None, Name = "splitContainer", SplitterDistance = 200, SplitterWidth = 6, Panel1MinSize = 200, Panel2MinSize = 100 }; // set here else SplitterDistance causes issues splitContainer.Dock = DockStyle.Fill; splitContainer.SuspendLayout(); splitContainer.SplitterMoved += new SplitterEventHandler(splitterMoved); splitContainer.SplitterMoving += new SplitterCancelEventHandler(splitterMoving); this.Controls.Add(splitContainer); this.addToolbar(); // prepare TreeView icons this.treeIcons = new ImageList(); this.treeIcons.Images.Add( "data item", (System.Drawing.Image) this.ui.resources.GetObject("dataItem.Image") ); this.treeIcons.Images.Add( "table", (System.Drawing.Image) this.ui.resources.GetObject("table.Image") ); this.treeIcons.Images.Add( "column", (System.Drawing.Image) this.ui.resources.GetObject("column.Image") ); this.tree = new TreeView() { Dock = DockStyle.Fill, HideSelection = false, ImageList = this.treeIcons }; this.tree.AfterSelect += new TreeViewEventHandler(this.showDetail); this.tree.KeyDown += new KeyEventHandler(this.treeKeyDown); this.Controls.Add(tree); this.ui.NewContext += new NewContextHandler(this.handleContextChange); this.createForm(); splitContainer.Panel1.Controls.Add(this.tree); splitContainer.Panel2.Controls.Add(this.form); splitContainer.ResumeLayout(false); }
private String GetPanel1MinSize(System.Windows.Forms.SplitContainer splitter) { // Grab the Panel1MinSize property for the current splitter and convert it to text // (cause that's what the text box will need) return(splitter.Panel1MinSize.ToString(CultureInfo.CurrentUICulture)); }
/// <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.Panel panelControls; System.Windows.Forms.GroupBox filtersGroup; System.Windows.Forms.SplitContainer splitContainer; System.Windows.Forms.TableLayoutPanel tableLeft; System.Windows.Forms.TableLayoutPanel tableRight; this.episodesTree = new System.Windows.Forms.TreeView(); this.episodesCountLabel = new System.Windows.Forms.Label(); this.refreshButton = new System.Windows.Forms.Button(); this.hideWholeSeasons = new System.Windows.Forms.CheckBox(); this.hideLocked = new System.Windows.Forms.CheckBox(); this.hidePart2 = new System.Windows.Forms.CheckBox(); this.hideSeason0 = new System.Windows.Forms.CheckBox(); this.hideUnaired = new System.Windows.Forms.CheckBox(); this.duplicatesButton = new System.Windows.Forms.Button(); this.missingButton = new System.Windows.Forms.Button(); this.toolTip = new System.Windows.Forms.ToolTip(this.components); panelControls = new System.Windows.Forms.Panel(); filtersGroup = new System.Windows.Forms.GroupBox(); splitContainer = new System.Windows.Forms.SplitContainer(); tableLeft = new System.Windows.Forms.TableLayoutPanel(); tableRight = new System.Windows.Forms.TableLayoutPanel(); panelControls.SuspendLayout(); filtersGroup.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(splitContainer)).BeginInit(); splitContainer.Panel1.SuspendLayout(); splitContainer.Panel2.SuspendLayout(); splitContainer.SuspendLayout(); tableLeft.SuspendLayout(); tableRight.SuspendLayout(); this.SuspendLayout(); // // episodesTree // this.episodesTree.Dock = System.Windows.Forms.DockStyle.Fill; this.episodesTree.Location = new System.Drawing.Point(3, 36); this.episodesTree.Name = "episodesTree"; this.episodesTree.Size = new System.Drawing.Size(232, 497); this.episodesTree.TabIndex = 0; this.toolTip.SetToolTip(this.episodesTree, "Shows the results of the search"); // // episodesCountLabel // this.episodesCountLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.episodesCountLabel.AutoSize = true; this.episodesCountLabel.Location = new System.Drawing.Point(3, 20); this.episodesCountLabel.Name = "episodesCountLabel"; this.episodesCountLabel.Size = new System.Drawing.Size(114, 13); this.episodesCountLabel.TabIndex = 1; this.episodesCountLabel.Text = "Number of Episodes: 0"; // // refreshButton // this.refreshButton.Anchor = System.Windows.Forms.AnchorStyles.Left; this.refreshButton.Location = new System.Drawing.Point(3, 5); this.refreshButton.Name = "refreshButton"; this.refreshButton.Size = new System.Drawing.Size(144, 23); this.refreshButton.TabIndex = 1; this.refreshButton.Text = "Refresh Episode Counts"; this.toolTip.SetToolTip(this.refreshButton, "Searches the Output Directories for episodes and updates their file count numbers" + ". \r\nThis is used to determine the results of the missing and duplicate episode\r\n" + "searches."); this.refreshButton.UseVisualStyleBackColor = true; this.refreshButton.Click += new System.EventHandler(this.RefreshButtonClick); // // panelControls // panelControls.Controls.Add(filtersGroup); panelControls.Controls.Add(this.duplicatesButton); panelControls.Controls.Add(this.missingButton); panelControls.Dock = System.Windows.Forms.DockStyle.Fill; panelControls.Location = new System.Drawing.Point(0, 33); panelControls.Margin = new System.Windows.Forms.Padding(0); panelControls.Name = "panelControls"; panelControls.Size = new System.Drawing.Size(468, 503); panelControls.TabIndex = 2; // // filtersGroup // filtersGroup.Controls.Add(this.hideWholeSeasons); filtersGroup.Controls.Add(this.hideLocked); filtersGroup.Controls.Add(this.hidePart2); filtersGroup.Controls.Add(this.hideSeason0); filtersGroup.Controls.Add(this.hideUnaired); filtersGroup.Location = new System.Drawing.Point(3, 32); filtersGroup.Name = "filtersGroup"; filtersGroup.Size = new System.Drawing.Size(294, 136); filtersGroup.TabIndex = 4; filtersGroup.TabStop = false; filtersGroup.Text = "Missing Episode Filters"; // // hideWholeSeasons // this.hideWholeSeasons.AutoSize = true; this.hideWholeSeasons.Location = new System.Drawing.Point(6, 111); this.hideWholeSeasons.Name = "hideWholeSeasons"; this.hideWholeSeasons.Size = new System.Drawing.Size(156, 17); this.hideWholeSeasons.TabIndex = 4; this.hideWholeSeasons.Text = "Hide entire missing seasons"; this.toolTip.SetToolTip(this.hideWholeSeasons, "Hides episodes where and entire season is missing. This can be useful for long ru" + "nning where you don\'t have early seasons."); this.hideWholeSeasons.UseVisualStyleBackColor = true; // // hideLocked // this.hideLocked.AutoSize = true; this.hideLocked.Location = new System.Drawing.Point(6, 88); this.hideLocked.Name = "hideLocked"; this.hideLocked.Size = new System.Drawing.Size(116, 17); this.hideLocked.TabIndex = 3; this.hideLocked.Text = "Hide locked shows"; this.toolTip.SetToolTip(this.hideLocked, "Hides the episodes from shows that are locked."); this.hideLocked.UseVisualStyleBackColor = true; // // hidePart2 // this.hidePart2.AutoSize = true; this.hidePart2.Location = new System.Drawing.Point(6, 65); this.hidePart2.Name = "hidePart2"; this.hidePart2.Size = new System.Drawing.Size(165, 17); this.hidePart2.TabIndex = 2; this.hidePart2.Text = "Hide episodes ending with (2)"; this.toolTip.SetToolTip(this.hidePart2, "Hides episodes with the name ending in (2). \r\nIt is possible these aren\'t missing" + " but the filename\r\ndoesn\'t contain both episode numbers and so\r\nTVSorter isn\'t a" + "ble to match it."); this.hidePart2.UseVisualStyleBackColor = true; // // hideSeason0 // this.hideSeason0.AutoSize = true; this.hideSeason0.Location = new System.Drawing.Point(6, 42); this.hideSeason0.Name = "hideSeason0"; this.hideSeason0.Size = new System.Drawing.Size(143, 17); this.hideSeason0.TabIndex = 1; this.hideSeason0.Text = "Hide season 0 (Specials)"; this.toolTip.SetToolTip(this.hideSeason0, "Hides episode in season 0. These are generally specials."); this.hideSeason0.UseVisualStyleBackColor = true; // // hideUnaired // this.hideUnaired.AutoSize = true; this.hideUnaired.Location = new System.Drawing.Point(6, 19); this.hideUnaired.Name = "hideUnaired"; this.hideUnaired.Size = new System.Drawing.Size(109, 17); this.hideUnaired.TabIndex = 0; this.hideUnaired.Text = "Hide not yet aired"; this.toolTip.SetToolTip(this.hideUnaired, "Hides episodes from the results whose air date is in the future"); this.hideUnaired.UseVisualStyleBackColor = true; // // duplicatesButton // this.duplicatesButton.Location = new System.Drawing.Point(153, 3); this.duplicatesButton.Name = "duplicatesButton"; this.duplicatesButton.Size = new System.Drawing.Size(144, 23); this.duplicatesButton.TabIndex = 3; this.duplicatesButton.Text = "Display Duplicate Episodes"; this.toolTip.SetToolTip(this.duplicatesButton, "Searches for duplicate episodes"); this.duplicatesButton.UseVisualStyleBackColor = true; this.duplicatesButton.Click += new System.EventHandler(this.DuplicatesButtonClick); // // missingButton // this.missingButton.Location = new System.Drawing.Point(3, 3); this.missingButton.Name = "missingButton"; this.missingButton.Size = new System.Drawing.Size(144, 23); this.missingButton.TabIndex = 2; this.missingButton.Text = "Display Missing Episodes"; this.toolTip.SetToolTip(this.missingButton, "Searches for missing episodes."); this.missingButton.UseVisualStyleBackColor = true; this.missingButton.Click += new System.EventHandler(this.MissingButtonClick); // // splitContainer // splitContainer.Dock = System.Windows.Forms.DockStyle.Fill; splitContainer.Location = new System.Drawing.Point(0, 0); splitContainer.Name = "splitContainer"; // // splitContainer.Panel1 // splitContainer.Panel1.Controls.Add(tableLeft); // // splitContainer.Panel2 // splitContainer.Panel2.Controls.Add(tableRight); splitContainer.Size = new System.Drawing.Size(710, 536); splitContainer.SplitterDistance = 238; splitContainer.TabIndex = 5; // // tableLeft // tableLeft.ColumnCount = 1; tableLeft.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); tableLeft.Controls.Add(this.episodesTree, 0, 1); tableLeft.Controls.Add(this.episodesCountLabel, 0, 0); tableLeft.Dock = System.Windows.Forms.DockStyle.Fill; tableLeft.Location = new System.Drawing.Point(0, 0); tableLeft.Name = "tableLeft"; tableLeft.RowCount = 2; tableLeft.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 33F)); tableLeft.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); tableLeft.Size = new System.Drawing.Size(238, 536); tableLeft.TabIndex = 0; // // tableRight // tableRight.ColumnCount = 1; tableRight.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); tableRight.Controls.Add(panelControls, 0, 1); tableRight.Controls.Add(this.refreshButton, 0, 0); tableRight.Dock = System.Windows.Forms.DockStyle.Fill; tableRight.Location = new System.Drawing.Point(0, 0); tableRight.Name = "tableRight"; tableRight.RowCount = 2; tableRight.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 33F)); tableRight.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); tableRight.Size = new System.Drawing.Size(468, 536); tableRight.TabIndex = 0; // // MissingDuplicateEpisodes // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(splitContainer); this.Name = "MissingDuplicateEpisodes"; this.Size = new System.Drawing.Size(710, 536); this.Load += new System.EventHandler(this.MissingDuplicateEpisodesLoad); panelControls.ResumeLayout(false); filtersGroup.ResumeLayout(false); filtersGroup.PerformLayout(); splitContainer.Panel1.ResumeLayout(false); splitContainer.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(splitContainer)).EndInit(); splitContainer.ResumeLayout(false); tableLeft.ResumeLayout(false); tableLeft.PerformLayout(); tableRight.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { this.button1 = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.hScrollBar1 = new System.Windows.Forms.HScrollBar(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.splitContainer2 = new System.Windows.Forms.SplitContainer(); this.button2 = new System.Windows.Forms.Button(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.hScrollBar3 = new System.Windows.Forms.HScrollBar(); this.hScrollBar2 = new System.Windows.Forms.HScrollBar(); this.checkedListBox1 = new System.Windows.Forms.CheckedListBox(); this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); this.splitContainer2.Panel1.SuspendLayout(); this.splitContainer2.SuspendLayout(); this.SuspendLayout(); // // textBox1 // this.textBox1.Size = new System.Drawing.Size(680, 62); this.textBox1.Text = "The ChartLayout component is derived from the Panel class and enables the viewing" + "\r\nof multiple charts in a small area."; // // panel1 // this.panel1.Controls.Add(this.button1); this.panel1.Controls.Add(this.checkBox1); this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.hScrollBar1); this.panel1.Size = new System.Drawing.Size(680, 42); // // panel2 // this.panel2.Controls.Add(this.splitContainer2); this.panel2.Size = new System.Drawing.Size(680, 346); // // button1 // this.button1.Location = new System.Drawing.Point(320, 6); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 3; this.button1.Text = "Bimap"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(95, 11); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(50, 13); this.label1.TabIndex = 2; this.label1.Text = "Columns:"; // // hScrollBar1 // this.hScrollBar1.LargeChange = 1; this.hScrollBar1.Location = new System.Drawing.Point(148, 11); this.hScrollBar1.Maximum = 20; this.hScrollBar1.Name = "hScrollBar1"; this.hScrollBar1.Size = new System.Drawing.Size(139, 17); this.hScrollBar1.TabIndex = 1; this.hScrollBar1.Scroll += new System.Windows.Forms.ScrollEventHandler(this.hScrollBar1_Scroll); // // checkBox1 // this.checkBox1.AutoSize = true; this.checkBox1.Checked = true; this.checkBox1.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBox1.Location = new System.Drawing.Point(12, 10); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(63, 17); this.checkBox1.TabIndex = 0; this.checkBox1.Text = "View3D"; this.checkBox1.UseVisualStyleBackColor = true; this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged); // // splitContainer2 // this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer2.Location = new System.Drawing.Point(0, 0); this.splitContainer2.Name = "splitContainer2"; // // splitContainer2.Panel1 // this.splitContainer2.Panel1.Controls.Add(this.button2); this.splitContainer2.Panel1.Controls.Add(this.label3); this.splitContainer2.Panel1.Controls.Add(this.label2); this.splitContainer2.Panel1.Controls.Add(this.hScrollBar3); this.splitContainer2.Panel1.Controls.Add(this.hScrollBar2); this.splitContainer2.Panel1.Controls.Add(this.checkedListBox1); this.splitContainer2.Size = new System.Drawing.Size(680, 346); this.splitContainer2.SplitterDistance = 187; this.splitContainer2.TabIndex = 1; // // button2 // this.button2.Location = new System.Drawing.Point(12, 292); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(75, 23); this.button2.TabIndex = 8; this.button2.Text = "Edit..."; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.button2_Click); // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(3, 42); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(41, 13); this.label3.TabIndex = 7; this.label3.Text = "Height:"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(3, 15); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(38, 13); this.label2.TabIndex = 6; this.label2.Text = "Width:"; // // hScrollBar3 // this.hScrollBar3.LargeChange = 1; this.hScrollBar3.Location = new System.Drawing.Point(47, 42); this.hScrollBar3.Maximum = 1000; this.hScrollBar3.Name = "hScrollBar3"; this.hScrollBar3.Size = new System.Drawing.Size(108, 17); this.hScrollBar3.TabIndex = 5; this.hScrollBar3.Scroll += new System.Windows.Forms.ScrollEventHandler(this.hScrollBar3_Scroll); // // hScrollBar2 // this.hScrollBar2.LargeChange = 1; this.hScrollBar2.Location = new System.Drawing.Point(44, 11); this.hScrollBar2.Maximum = 1000; this.hScrollBar2.Name = "hScrollBar2"; this.hScrollBar2.Size = new System.Drawing.Size(111, 17); this.hScrollBar2.TabIndex = 4; this.hScrollBar2.Scroll += new System.Windows.Forms.ScrollEventHandler(this.hScrollBar2_Scroll); // // checkedListBox1 // this.checkedListBox1.FormattingEnabled = true; this.checkedListBox1.Location = new System.Drawing.Point(6, 79); this.checkedListBox1.Name = "checkedListBox1"; this.checkedListBox1.Size = new System.Drawing.Size(157, 184); this.checkedListBox1.TabIndex = 0; this.checkedListBox1.SelectedIndexChanged += new System.EventHandler(this.checkBox1_CheckedChanged); // // saveFileDialog1 // this.saveFileDialog1.FileName = "ChartLayout.bmp"; this.saveFileDialog1.Filter = "Bitmap files|*.bmp"; this.saveFileDialog1.FileOk += new System.ComponentModel.CancelEventHandler(this.saveFileDialog1_FileOk); // // ChartLayout // this.ClientSize = new System.Drawing.Size(680, 450); this.Name = "ChartLayout"; this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.panel2.ResumeLayout(false); this.splitContainer2.Panel1.ResumeLayout(false); this.splitContainer2.Panel1.PerformLayout(); this.splitContainer2.ResumeLayout(false); 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.Windows.Forms.SplitContainer splitContainer1; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DeluxeTreeItemsEditorForm)); this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); this.DeluxTreeToolStrip = new System.Windows.Forms.ToolStrip(); this._addRootButton = new System.Windows.Forms.ToolStripButton(); this._addChildButton = new System.Windows.Forms.ToolStripButton(); this._removeButton = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this._moveUpButton = new System.Windows.Forms.ToolStripButton(); this._moveDownButton = new System.Windows.Forms.ToolStripButton(); this._indentButton = new System.Windows.Forms.ToolStripButton(); this._unindentButton = new System.Windows.Forms.ToolStripButton(); this._treeView = new System.Windows.Forms.TreeView(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.propertyGrid1 = new System.Windows.Forms.PropertyGrid(); this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.pictureBox2 = new System.Windows.Forms.PictureBox(); splitContainer1 = new System.Windows.Forms.SplitContainer(); ((System.ComponentModel.ISupportInitialize)(splitContainer1)).BeginInit(); splitContainer1.Panel1.SuspendLayout(); splitContainer1.Panel2.SuspendLayout(); splitContainer1.SuspendLayout(); this.tableLayoutPanel3.SuspendLayout(); this.DeluxTreeToolStrip.SuspendLayout(); this.tableLayoutPanel1.SuspendLayout(); this.tableLayoutPanel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); this.SuspendLayout(); // // splitContainer1 // splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; splitContainer1.Location = new System.Drawing.Point(0, 0); splitContainer1.Name = "splitContainer1"; // // splitContainer1.Panel1 // splitContainer1.Panel1.Controls.Add(this.tableLayoutPanel3); // // splitContainer1.Panel2 // splitContainer1.Panel2.Controls.Add(this.tableLayoutPanel1); splitContainer1.Size = new System.Drawing.Size(518, 366); splitContainer1.SplitterDistance = 257; splitContainer1.TabIndex = 11; // // tableLayoutPanel3 // this.tableLayoutPanel3.ColumnCount = 1; this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 24F)); this.tableLayoutPanel3.Controls.Add(this.DeluxTreeToolStrip, 0, 1); this.tableLayoutPanel3.Controls.Add(this._treeView, 0, 2); this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel3.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanel3.Name = "tableLayoutPanel3"; this.tableLayoutPanel3.RowCount = 4; this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 22F)); this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 29F)); this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 34F)); this.tableLayoutPanel3.Size = new System.Drawing.Size(257, 366); this.tableLayoutPanel3.TabIndex = 11; // // DeluxTreeToolStrip // this.DeluxTreeToolStrip.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.DeluxTreeToolStrip.Dock = System.Windows.Forms.DockStyle.None; this.DeluxTreeToolStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; this.DeluxTreeToolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this._addRootButton, this._addChildButton, this._removeButton, this.toolStripSeparator1, this._moveUpButton, this._moveDownButton, this._indentButton, this._unindentButton }); this.DeluxTreeToolStrip.Location = new System.Drawing.Point(0, 22); this.DeluxTreeToolStrip.Name = "DeluxTreeToolStrip"; this.DeluxTreeToolStrip.RenderMode = System.Windows.Forms.ToolStripRenderMode.System; this.DeluxTreeToolStrip.Size = new System.Drawing.Size(257, 29); this.DeluxTreeToolStrip.TabIndex = 10; this.DeluxTreeToolStrip.Text = "toolStrip1"; // // _addRootButton // this._addRootButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this._addRootButton.Image = ((System.Drawing.Image)(resources.GetObject("_addRootButton.Image"))); this._addRootButton.ImageTransparentColor = System.Drawing.Color.Magenta; this._addRootButton.Name = "_addRootButton"; this._addRootButton.Size = new System.Drawing.Size(23, 26); this._addRootButton.Text = "Add Root Button"; this._addRootButton.Click += new System.EventHandler(this._addRootButton_Click); // // _addChildButton // this._addChildButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this._addChildButton.Image = ((System.Drawing.Image)(resources.GetObject("_addChildButton.Image"))); this._addChildButton.ImageTransparentColor = System.Drawing.Color.Magenta; this._addChildButton.Name = "_addChildButton"; this._addChildButton.Size = new System.Drawing.Size(23, 26); this._addChildButton.Text = "Add Child Button"; this._addChildButton.Click += new System.EventHandler(this._addChildButton_Click); // // _removeButton // this._removeButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this._removeButton.Image = ((System.Drawing.Image)(resources.GetObject("_removeButton.Image"))); this._removeButton.ImageTransparentColor = System.Drawing.Color.Magenta; this._removeButton.Name = "_removeButton"; this._removeButton.Size = new System.Drawing.Size(23, 26); this._removeButton.Text = "Remove Button"; this._removeButton.Click += new System.EventHandler(this.removeButton_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(6, 29); // // _moveUpButton // this._moveUpButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this._moveUpButton.Image = ((System.Drawing.Image)(resources.GetObject("_moveUpButton.Image"))); this._moveUpButton.ImageTransparentColor = System.Drawing.Color.Magenta; this._moveUpButton.Name = "_moveUpButton"; this._moveUpButton.Size = new System.Drawing.Size(23, 26); this._moveUpButton.Text = "Move Up Button"; this._moveUpButton.Click += new System.EventHandler(this._moveUpButton_Click); // // _moveDownButton // this._moveDownButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this._moveDownButton.Image = ((System.Drawing.Image)(resources.GetObject("_moveDownButton.Image"))); this._moveDownButton.ImageTransparentColor = System.Drawing.Color.Magenta; this._moveDownButton.Name = "_moveDownButton"; this._moveDownButton.Size = new System.Drawing.Size(23, 26); this._moveDownButton.Text = "Move Down Button"; this._moveDownButton.Click += new System.EventHandler(this._moveDownButton_Click); // // _indentButton // this._indentButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this._indentButton.Image = ((System.Drawing.Image)(resources.GetObject("_indentButton.Image"))); this._indentButton.ImageTransparentColor = System.Drawing.Color.Magenta; this._indentButton.Name = "_indentButton"; this._indentButton.Size = new System.Drawing.Size(23, 26); this._indentButton.Text = "Indent Button"; this._indentButton.Click += new System.EventHandler(this._indentButton_Click); // // _unindentButton // this._unindentButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this._unindentButton.Image = ((System.Drawing.Image)(resources.GetObject("_unindentButton.Image"))); this._unindentButton.ImageTransparentColor = System.Drawing.Color.Magenta; this._unindentButton.Name = "_unindentButton"; this._unindentButton.Size = new System.Drawing.Size(23, 26); this._unindentButton.Text = "Unindent Button"; this._unindentButton.Click += new System.EventHandler(this._unindentButton_Click); // // _treeView // this._treeView.Dock = System.Windows.Forms.DockStyle.Fill; this._treeView.Location = new System.Drawing.Point(3, 54); this._treeView.Name = "_treeView"; this._treeView.Size = new System.Drawing.Size(251, 275); this._treeView.TabIndex = 0; this._treeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this._treeView_AfterSelect); // // tableLayoutPanel1 // this.tableLayoutPanel1.ColumnCount = 1; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.Controls.Add(this.propertyGrid1, 0, 1); this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 0, 2); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 3; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 22F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 37F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 22F)); this.tableLayoutPanel1.Size = new System.Drawing.Size(257, 366); this.tableLayoutPanel1.TabIndex = 4; // // propertyGrid1 // this.propertyGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.propertyGrid1.LineColor = System.Drawing.SystemColors.ScrollBar; this.propertyGrid1.Location = new System.Drawing.Point(3, 25); this.propertyGrid1.Name = "propertyGrid1"; this.propertyGrid1.Size = new System.Drawing.Size(251, 301); this.propertyGrid1.TabIndex = 1; this.propertyGrid1.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.propertyGrid1_ValueChanged); // // tableLayoutPanel2 // this.tableLayoutPanel2.ColumnCount = 2; this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 64.5F)); this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 35.5F)); this.tableLayoutPanel2.Controls.Add(this.button1, 0, 0); this.tableLayoutPanel2.Controls.Add(this.button2, 1, 0); this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Right; this.tableLayoutPanel2.Location = new System.Drawing.Point(14, 332); this.tableLayoutPanel2.Name = "tableLayoutPanel2"; this.tableLayoutPanel2.RowCount = 1; this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F)); this.tableLayoutPanel2.Size = new System.Drawing.Size(240, 31); this.tableLayoutPanel2.TabIndex = 2; // // button1 // this.button1.Dock = System.Windows.Forms.DockStyle.Right; this.button1.Location = new System.Drawing.Point(89, 3); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(62, 25); this.button1.TabIndex = 2; this.button1.Text = "完成"; this.button1.Click += new System.EventHandler(this.button1_Click); // // button2 // this.button2.Location = new System.Drawing.Point(157, 3); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(63, 24); this.button2.TabIndex = 3; this.button2.Text = "取消"; this.button2.Click += new System.EventHandler(this.button2_Click); // // pictureBox2 // this.pictureBox2.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.pictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image"))); this.pictureBox2.Location = new System.Drawing.Point(0, 474); this.pictureBox2.Name = "pictureBox2"; this.pictureBox2.Size = new System.Drawing.Size(462, 0); this.pictureBox2.TabIndex = 9; this.pictureBox2.TabStop = false; // // DeluxeTreeItemsEditorForm // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(518, 366); this.Controls.Add(splitContainer1); this.Controls.Add(this.pictureBox2); this.Name = "DeluxeTreeItemsEditorForm"; this.Text = "树设计器"; splitContainer1.Panel1.ResumeLayout(false); splitContainer1.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(splitContainer1)).EndInit(); splitContainer1.ResumeLayout(false); this.tableLayoutPanel3.ResumeLayout(false); this.tableLayoutPanel3.PerformLayout(); this.DeluxTreeToolStrip.ResumeLayout(false); this.DeluxTreeToolStrip.PerformLayout(); this.tableLayoutPanel1.ResumeLayout(false); this.tableLayoutPanel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this._mnuFile = new System.Windows.Forms.ToolStripMenuItem(); this._mnuFileOpen = new System.Windows.Forms.ToolStripMenuItem(); this._mnuFileSave = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator(); this._mnuFileExit = new System.Windows.Forms.ToolStripMenuItem(); this._mnuOverlays = new System.Windows.Forms.ToolStripMenuItem(); this._mnuOverlaysShowOverlay = new System.Windows.Forms.ToolStripMenuItem(); this._mnuOverlaysChangeOverlayColor = new System.Windows.Forms.ToolStripMenuItem(); this._mnuOverlaysSaveOverlay = new System.Windows.Forms.ToolStripMenuItem(); this._mnuOverlaysShowOverlayAttributes = new System.Windows.Forms.ToolStripMenuItem(); this._mnuOverlaysInsertOverlay = new System.Windows.Forms.ToolStripMenuItem(); this._mnuHelp = new System.Windows.Forms.ToolStripMenuItem(); this._mnuHelpAboutOverlay = new System.Windows.Forms.ToolStripMenuItem(); this.m_splitContainer = new System.Windows.Forms.SplitContainer(); this.menuStrip1.SuspendLayout(); this.m_splitContainer.SuspendLayout(); this.SuspendLayout(); // // statusStrip1 // this.statusStrip1.Location = new System.Drawing.Point(0, 562); this.statusStrip1.Name = "statusStrip1"; this.statusStrip1.Size = new System.Drawing.Size(911, 22); this.statusStrip1.TabIndex = 0; this.statusStrip1.Text = "statusStrip1"; // // menuStrip1 // this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this._mnuFile, this._mnuOverlays, this._mnuHelp }); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Size = new System.Drawing.Size(911, 24); this.menuStrip1.TabIndex = 1; this.menuStrip1.Text = "menuStrip1"; // // _mnuFile // this._mnuFile.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this._mnuFileOpen, this._mnuFileSave, this.toolStripMenuItem1, this._mnuFileExit }); this._mnuFile.Name = "_mnuFile"; this._mnuFile.Size = new System.Drawing.Size(37, 20); this._mnuFile.Text = "&File"; // // _mnuFileOpen // this._mnuFileOpen.Name = "_mnuFileOpen"; this._mnuFileOpen.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O))); this._mnuFileOpen.Size = new System.Drawing.Size(146, 22); this._mnuFileOpen.Text = "&Open"; this._mnuFileOpen.Click += new System.EventHandler(this._mnuFileOpen_Click); // // _mnuFileSave // this._mnuFileSave.Name = "_mnuFileSave"; this._mnuFileSave.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S))); this._mnuFileSave.Size = new System.Drawing.Size(146, 22); this._mnuFileSave.Text = "&Save"; this._mnuFileSave.Click += new System.EventHandler(this._mnuFileSave_Click); // // toolStripMenuItem1 // this.toolStripMenuItem1.Name = "toolStripMenuItem1"; this.toolStripMenuItem1.Size = new System.Drawing.Size(143, 6); // // _mnuFileExit // this._mnuFileExit.Name = "_mnuFileExit"; this._mnuFileExit.Size = new System.Drawing.Size(146, 22); this._mnuFileExit.Text = "E&xit"; this._mnuFileExit.Click += new System.EventHandler(this._mnuFileExit_Click); // // _mnuOverlays // this._mnuOverlays.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this._mnuOverlaysShowOverlay, this._mnuOverlaysChangeOverlayColor, this._mnuOverlaysSaveOverlay, this._mnuOverlaysShowOverlayAttributes, this._mnuOverlaysInsertOverlay }); this._mnuOverlays.Name = "_mnuOverlays"; this._mnuOverlays.Size = new System.Drawing.Size(64, 20); this._mnuOverlays.Text = "&Overlays"; // // _mnuOverlaysShowOverlay // this._mnuOverlaysShowOverlay.Name = "_mnuOverlaysShowOverlay"; this._mnuOverlaysShowOverlay.Size = new System.Drawing.Size(201, 22); this._mnuOverlaysShowOverlay.Text = "&Show Overlay"; this._mnuOverlaysShowOverlay.CheckedChanged += new System.EventHandler(this._mnuOverlaysShowOverlay_CheckedChanged); this._mnuOverlaysShowOverlay.Click += new System.EventHandler(this._mnuOverlaysShowOverlay_Click); // // _mnuOverlaysChangeOverlayColor // this._mnuOverlaysChangeOverlayColor.Name = "_mnuOverlaysChangeOverlayColor"; this._mnuOverlaysChangeOverlayColor.Size = new System.Drawing.Size(201, 22); this._mnuOverlaysChangeOverlayColor.Text = "Change Overlay &Color"; this._mnuOverlaysChangeOverlayColor.Click += new System.EventHandler(this._mnuOverlaysChangeOverlayColor_Click); // // _mnuOverlaysSaveOverlay // this._mnuOverlaysSaveOverlay.Name = "_mnuOverlaysSaveOverlay"; this._mnuOverlaysSaveOverlay.Size = new System.Drawing.Size(201, 22); this._mnuOverlaysSaveOverlay.Text = "&Save Overlay"; this._mnuOverlaysSaveOverlay.Click += new System.EventHandler(this._mnuOverlaysSaveOverlay_Click); // // _mnuOverlaysShowOverlayAttributes // this._mnuOverlaysShowOverlayAttributes.Name = "_mnuOverlaysShowOverlayAttributes"; this._mnuOverlaysShowOverlayAttributes.Size = new System.Drawing.Size(201, 22); this._mnuOverlaysShowOverlayAttributes.Text = "Show Overlay A&ttributes"; this._mnuOverlaysShowOverlayAttributes.Click += new System.EventHandler(this._mnuOverlaysShowOverlayAttributes_Click); // // _mnuOverlaysInsertOverlay // this._mnuOverlaysInsertOverlay.Name = "_mnuOverlaysInsertOverlay"; this._mnuOverlaysInsertOverlay.Size = new System.Drawing.Size(201, 22); this._mnuOverlaysInsertOverlay.Text = "&Insert Overlay"; this._mnuOverlaysInsertOverlay.Click += new System.EventHandler(this._mnuOverlaysInsertOverlay_Click); // // _mnuHelp // this._mnuHelp.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this._mnuHelpAboutOverlay }); this._mnuHelp.Name = "_mnuHelp"; this._mnuHelp.Size = new System.Drawing.Size(44, 20); this._mnuHelp.Text = "&Help"; // // _mnuHelpAboutOverlay // this._mnuHelpAboutOverlay.Name = "_mnuHelpAboutOverlay"; this._mnuHelpAboutOverlay.Size = new System.Drawing.Size(159, 22); this._mnuHelpAboutOverlay.Text = "&About Overlay..."; this._mnuHelpAboutOverlay.Click += new System.EventHandler(this._mnuHelpAboutOverlay_Click); // // m_splitContainer // this.m_splitContainer.Dock = System.Windows.Forms.DockStyle.Fill; this.m_splitContainer.Location = new System.Drawing.Point(0, 24); this.m_splitContainer.Name = "m_splitContainer"; this.m_splitContainer.Size = new System.Drawing.Size(911, 538); this.m_splitContainer.SplitterDistance = 165; this.m_splitContainer.TabIndex = 2; // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(911, 584); this.Controls.Add(this.m_splitContainer); this.Controls.Add(this.statusStrip1); this.Controls.Add(this.menuStrip1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MainMenuStrip = this.menuStrip1; this.Name = "MainForm"; this.Text = "DICOM Overlay Demo"; this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); this.m_splitContainer.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
public void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SearchControl)); this.splitcontainer = new System.Windows.Forms.SplitContainer(); this.text_field = new System.Windows.Forms.TextBox(); this.ToolStrip = new System.Cor3.Forms.ToolStripExtender(); this.btn_find = new System.Windows.Forms.ToolStripButton(); this.sep = new System.Windows.Forms.ToolStripSeparator(); this.btn_next = new System.Windows.Forms.ToolStripButton(); this.btn_prev = new System.Windows.Forms.ToolStripButton(); this.btn_hide = new System.Windows.Forms.ToolStripButton(); this.btn_highlight = new System.Windows.Forms.ToolStripButton(); this.splitcontainer.Panel1.SuspendLayout(); this.splitcontainer.Panel2.SuspendLayout(); this.splitcontainer.SuspendLayout(); this.ToolStrip.SuspendLayout(); this.SuspendLayout(); // // splitcontainer // this.splitcontainer.Dock = System.Windows.Forms.DockStyle.Fill; this.splitcontainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; this.splitcontainer.Location = new System.Drawing.Point(0, 0); this.splitcontainer.Name = "splitcontainer"; // // splitcontainer.Panel1 // this.splitcontainer.Panel1.Controls.Add(this.text_field); this.splitcontainer.Panel1MinSize = 180; // // splitcontainer.Panel2 // this.splitcontainer.Panel2.Controls.Add(this.ToolStrip); this.splitcontainer.Size = new System.Drawing.Size(505, 20); this.splitcontainer.SplitterDistance = 206; this.splitcontainer.TabIndex = 0; // // text_field // this.text_field.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; this.text_field.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.text_field.Dock = System.Windows.Forms.DockStyle.Fill; this.text_field.Location = new System.Drawing.Point(0, 0); this.text_field.Name = "text_field"; this.text_field.Size = new System.Drawing.Size(206, 20); this.text_field.TabIndex = 0; // // ToolStrip // this.ToolStrip.AutoSize = false; this.ToolStrip.BackColor = System.Drawing.SystemColors.Control; this.ToolStrip.Dock = System.Windows.Forms.DockStyle.Fill; this.ToolStrip.Font = new System.Drawing.Font("Arial", 7.5F); this.ToolStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; this.ToolStrip.ImageScalingSize = new System.Drawing.Size(12, 12); this.ToolStrip.IsSolidBackground = true; this.ToolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.btn_find, this.sep, this.btn_next, this.btn_prev, this.btn_hide, this.btn_highlight }); this.ToolStrip.Location = new System.Drawing.Point(0, 0); this.ToolStrip.Name = "ToolStrip"; this.ToolStrip.ShowItemToolTips = false; this.ToolStrip.Size = new System.Drawing.Size(295, 20); this.ToolStrip.TabIndex = 0; this.ToolStrip.Text = "ToolStrip"; // // btn_find // this.btn_find.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.btn_find.Image = ((System.Drawing.Image)(resources.GetObject("btn_find.Image"))); this.btn_find.Margin = new System.Windows.Forms.Padding(0, 1, 0, 1); this.btn_find.Name = "btn_find"; this.btn_find.Size = new System.Drawing.Size(23, 18); this.btn_find.Text = "btn_find"; // // sep // this.sep.Margin = new System.Windows.Forms.Padding(0, 1, 0, 1); this.sep.Name = "sep"; this.sep.Size = new System.Drawing.Size(6, 18); // // btn_next // this.btn_next.Enabled = false; this.btn_next.Image = ((System.Drawing.Image)(resources.GetObject("btn_next.Image"))); this.btn_next.Margin = new System.Windows.Forms.Padding(0, 1, 0, 1); this.btn_next.Name = "btn_next"; this.btn_next.Size = new System.Drawing.Size(44, 18); this.btn_next.Text = "Next"; // // btn_prev // this.btn_prev.Enabled = false; this.btn_prev.Image = ((System.Drawing.Image)(resources.GetObject("btn_prev.Image"))); this.btn_prev.Margin = new System.Windows.Forms.Padding(0, 1, 0, 1); this.btn_prev.Name = "btn_prev"; this.btn_prev.Size = new System.Drawing.Size(44, 18); this.btn_prev.Text = "Prev"; // // btn_hide // this.btn_hide.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; this.btn_hide.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.btn_hide.Image = ((System.Drawing.Image)(resources.GetObject("btn_hide.Image"))); this.btn_hide.Margin = new System.Windows.Forms.Padding(0, 1, 0, 1); this.btn_hide.Name = "btn_hide"; this.btn_hide.Size = new System.Drawing.Size(23, 18); this.btn_hide.Text = "btn_hide"; // // btn_highlight // this.btn_highlight.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; this.btn_highlight.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; this.btn_highlight.Enabled = false; this.btn_highlight.ImageTransparentColor = System.Drawing.Color.Magenta; this.btn_highlight.Margin = new System.Windows.Forms.Padding(0, 1, 0, 1); this.btn_highlight.Name = "btn_highlight"; this.btn_highlight.Size = new System.Drawing.Size(68, 18); this.btn_highlight.Text = "highlight all"; // // SearchControl // this.Controls.Add(this.splitcontainer); this.Name = "SearchControl"; this.Size = new System.Drawing.Size(505, 20); this.splitcontainer.Panel1.ResumeLayout(false); this.splitcontainer.Panel1.PerformLayout(); this.splitcontainer.Panel2.ResumeLayout(false); this.splitcontainer.ResumeLayout(false); this.ToolStrip.ResumeLayout(false); this.ToolStrip.PerformLayout(); this.ResumeLayout(false); }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PortScan)); this.ipStart = new iptb.IPTextBox(); this.ipEnd = new iptb.IPTextBox(); this.lblStartIP = new System.Windows.Forms.Label(); this.lblEndIP = new System.Windows.Forms.Label(); this.btnScan = new System.Windows.Forms.Button(); this.pnlDivider = new System.Windows.Forms.Panel(); this.splContainer = new System.Windows.Forms.SplitContainer(); this.lvHosts = new System.Windows.Forms.ListView(); this.btnCancel = new System.Windows.Forms.Button(); this.btnImport = new System.Windows.Forms.Button(); this.cbProtocol = new System.Windows.Forms.ComboBox(); this.lblOnlyImport = new System.Windows.Forms.Label(); this.clmHost = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.clmSSH = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.clmTelnet = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.clmHTTP = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.clmHTTPS = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.clmRlogin = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.clmRDP = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.clmVNC = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.clmOpenPorts = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.clmClosedPorts = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.prgBar = new System.Windows.Forms.ProgressBar(); this.pnlPorts = new System.Windows.Forms.Panel(); this.portEnd = new System.Windows.Forms.NumericUpDown(); this.portStart = new System.Windows.Forms.NumericUpDown(); this.Label2 = new System.Windows.Forms.Label(); this.Label1 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.splContainer)).BeginInit(); this.splContainer.Panel1.SuspendLayout(); this.splContainer.Panel2.SuspendLayout(); this.splContainer.SuspendLayout(); this.pnlPorts.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.portEnd)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.portStart)).BeginInit(); this.SuspendLayout(); // // ipStart // this.ipStart.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.ipStart.Location = new System.Drawing.Point(7, 37); this.ipStart.Name = "ipStart"; this.ipStart.Size = new System.Drawing.Size(132, 20); this.ipStart.TabIndex = 10; this.ipStart.ToolTipText = ""; // // ipEnd // this.ipEnd.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.ipEnd.Location = new System.Drawing.Point(159, 37); this.ipEnd.Name = "ipEnd"; this.ipEnd.Size = new System.Drawing.Size(135, 20); this.ipEnd.TabIndex = 15; this.ipEnd.ToolTipText = ""; // // lblStartIP // this.lblStartIP.AutoSize = true; this.lblStartIP.Location = new System.Drawing.Point(4, 10); this.lblStartIP.Name = "lblStartIP"; this.lblStartIP.Size = new System.Drawing.Size(45, 13); this.lblStartIP.TabIndex = 0; this.lblStartIP.Text = "Start IP:"; // // lblEndIP // this.lblEndIP.AutoSize = true; this.lblEndIP.Location = new System.Drawing.Point(156, 10); this.lblEndIP.Name = "lblEndIP"; this.lblEndIP.Size = new System.Drawing.Size(42, 13); this.lblEndIP.TabIndex = 5; this.lblEndIP.Text = "End IP:"; // // btnScan // this.btnScan.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnScan.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnScan.Image = global::My.Resources.Resources.Search; this.btnScan.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnScan.Location = new System.Drawing.Point(763, 9); this.btnScan.Name = "btnScan"; this.btnScan.Size = new System.Drawing.Size(86, 59); this.btnScan.TabIndex = 20; this.btnScan.Text = "&Scan"; this.btnScan.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.btnScan.UseVisualStyleBackColor = true; this.btnScan.Click += new System.EventHandler(this.btnScan_Click); // // pnlDivider // this.pnlDivider.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.pnlDivider.BackColor = System.Drawing.Color.DimGray; this.pnlDivider.Location = new System.Drawing.Point(0, 11); this.pnlDivider.Name = "pnlDivider"; this.pnlDivider.Size = new System.Drawing.Size(861, 10); this.pnlDivider.TabIndex = 20; // // splContainer // this.splContainer.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.splContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel2; this.splContainer.IsSplitterFixed = true; this.splContainer.Location = new System.Drawing.Point(0, 74); this.splContainer.Name = "splContainer"; this.splContainer.Orientation = System.Windows.Forms.Orientation.Horizontal; // // splContainer.Panel1 // this.splContainer.Panel1.Controls.Add(this.lvHosts); this.splContainer.Panel1.Controls.Add(this.pnlDivider); // // splContainer.Panel2 // this.splContainer.Panel2.Controls.Add(this.btnCancel); this.splContainer.Panel2.Controls.Add(this.btnImport); this.splContainer.Panel2.Controls.Add(this.cbProtocol); this.splContainer.Panel2.Controls.Add(this.lblOnlyImport); this.splContainer.Size = new System.Drawing.Size(861, 410); this.splContainer.SplitterDistance = 367; this.splContainer.TabIndex = 27; // // lvHosts // this.lvHosts.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.lvHosts.BorderStyle = System.Windows.Forms.BorderStyle.None; this.lvHosts.FullRowSelect = true; this.lvHosts.GridLines = true; this.lvHosts.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.lvHosts.HideSelection = false; this.lvHosts.Location = new System.Drawing.Point(0, 27); this.lvHosts.Name = "lvHosts"; this.lvHosts.Size = new System.Drawing.Size(861, 339); this.lvHosts.TabIndex = 26; this.lvHosts.UseCompatibleStateImageBehavior = false; this.lvHosts.View = System.Windows.Forms.View.Details; // // btnCancel // this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnCancel.Location = new System.Drawing.Point(778, 8); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.TabIndex = 111; this.btnCancel.Text = "&Cancel"; this.btnCancel.UseVisualStyleBackColor = true; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // btnImport // this.btnImport.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnImport.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnImport.Location = new System.Drawing.Point(697, 8); this.btnImport.Name = "btnImport"; this.btnImport.Size = new System.Drawing.Size(75, 23); this.btnImport.TabIndex = 101; this.btnImport.Text = "&Import"; this.btnImport.UseVisualStyleBackColor = true; this.btnImport.Click += new System.EventHandler(this.btnImport_Click); // // cbProtocol // this.cbProtocol.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbProtocol.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.cbProtocol.FormattingEnabled = true; this.cbProtocol.Items.AddRange(new object[] { "SSH2", "Telnet", "HTTP", "HTTPS", "Rlogin", "RDP", "VNC" }); this.cbProtocol.Location = new System.Drawing.Point(111, 9); this.cbProtocol.Name = "cbProtocol"; this.cbProtocol.Size = new System.Drawing.Size(122, 21); this.cbProtocol.TabIndex = 28; // // lblOnlyImport // this.lblOnlyImport.AutoSize = true; this.lblOnlyImport.Location = new System.Drawing.Point(3, 12); this.lblOnlyImport.Name = "lblOnlyImport"; this.lblOnlyImport.Size = new System.Drawing.Size(92, 13); this.lblOnlyImport.TabIndex = 1; this.lblOnlyImport.Text = "Protocol to import:"; // // clmHost // this.clmHost.Text = "Hostname/IP"; this.clmHost.Width = 130; // // clmSSH // this.clmSSH.Text = "SSH"; this.clmSSH.Width = 50; // // clmTelnet // this.clmTelnet.Text = "Telnet"; this.clmTelnet.Width = 50; // // clmHTTP // this.clmHTTP.Text = "HTTP"; this.clmHTTP.Width = 50; // // clmHTTPS // this.clmHTTPS.Text = "HTTPS"; this.clmHTTPS.Width = 50; // // clmRlogin // this.clmRlogin.Text = "Rlogin"; this.clmRlogin.Width = 50; // // clmRDP // this.clmRDP.Text = "RDP"; this.clmRDP.Width = 50; // // clmVNC // this.clmVNC.Text = "VNC"; this.clmVNC.Width = 50; // // clmOpenPorts // this.clmOpenPorts.Text = "Open Ports"; this.clmOpenPorts.Width = 150; // // clmClosedPorts // this.clmClosedPorts.Text = "Closed Ports"; this.clmClosedPorts.Width = 150; // // prgBar // this.prgBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.prgBar.Location = new System.Drawing.Point(7, 63); this.prgBar.Name = "prgBar"; this.prgBar.Size = new System.Drawing.Size(751, 16); this.prgBar.Step = 1; this.prgBar.TabIndex = 28; // // pnlPorts // this.pnlPorts.Controls.Add(this.portEnd); this.pnlPorts.Controls.Add(this.portStart); this.pnlPorts.Controls.Add(this.Label2); this.pnlPorts.Controls.Add(this.Label1); this.pnlPorts.Location = new System.Drawing.Point(319, 8); this.pnlPorts.Name = "pnlPorts"; this.pnlPorts.Size = new System.Drawing.Size(152, 51); this.pnlPorts.TabIndex = 18; // // portEnd // this.portEnd.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.portEnd.Location = new System.Drawing.Point(79, 28); this.portEnd.Maximum = new decimal(new int[] { 65535, 0, 0, 0 }); this.portEnd.Name = "portEnd"; this.portEnd.Size = new System.Drawing.Size(67, 20); this.portEnd.TabIndex = 15; // // portStart // this.portStart.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.portStart.Location = new System.Drawing.Point(6, 28); this.portStart.Maximum = new decimal(new int[] { 65535, 0, 0, 0 }); this.portStart.Name = "portStart"; this.portStart.Size = new System.Drawing.Size(67, 20); this.portStart.TabIndex = 5; // // Label2 // this.Label2.AutoSize = true; this.Label2.Location = new System.Drawing.Point(78, 1); this.Label2.Name = "Label2"; this.Label2.Size = new System.Drawing.Size(51, 13); this.Label2.TabIndex = 10; this.Label2.Text = "End Port:"; // // Label1 // this.Label1.AutoSize = true; this.Label1.Location = new System.Drawing.Point(3, 0); this.Label1.Name = "Label1"; this.Label1.Size = new System.Drawing.Size(54, 13); this.Label1.TabIndex = 0; this.Label1.Text = "Start Port:"; // // PortScan // this.AcceptButton = this.btnImport; this.CancelButton = this.btnCancel; this.ClientSize = new System.Drawing.Size(861, 484); this.Controls.Add(this.pnlPorts); this.Controls.Add(this.prgBar); this.Controls.Add(this.splContainer); this.Controls.Add(this.btnScan); this.Controls.Add(this.lblEndIP); this.Controls.Add(this.lblStartIP); this.Controls.Add(this.ipEnd); this.Controls.Add(this.ipStart); this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "PortScan"; this.TabText = "Port Scan"; this.Text = "Port Scan"; this.splContainer.Panel1.ResumeLayout(false); this.splContainer.Panel2.ResumeLayout(false); this.splContainer.Panel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.splContainer)).EndInit(); this.splContainer.ResumeLayout(false); this.pnlPorts.ResumeLayout(false); this.pnlPorts.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.portEnd)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.portStart)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
public static void LoadControlsLayOut(ref System.Windows.Forms.SplitContainer ctrs, string formName) { int height = 0; const int width = 250; const int heightBox = 32; Control ctlParent = ctrs.Panel1; try { string ControlName = string.Empty; DataTable dt = UIMessage.DBEngine.execReturnDataTable(string.Format("select * from tblFormLayout where FormName = '{0}' and (IsLayout is null or IsLayout =0)", formName)); if (dt != null && dt.Rows.Count > 0) { foreach (DataRow dr in dt.Rows) { ControlName = dr["ControlName"].ToString(); if (ctlParent.Controls.Find(ControlName, true).Length <= 0) { DevExpress.XtraEditors.LabelControl lbl = new DevExpress.XtraEditors.LabelControl() { Name = string.Format("lbl{0}", ControlName), Text = UIMessage.Get_Message(string.Format("lbl{0}", ControlName)), Location = new Point(10, height) }; ctlParent.Controls.Add(lbl); switch (dr["SystemType"].ToString()) { case "ComboBox": DevExpress.XtraEditors.LookUpEdit led = new DevExpress.XtraEditors.LookUpEdit() { Name = string.Format("cbx{0}", ControlName), Location = new Point(130, height), Width = width, Height = heightBox }; ctlParent.Controls.Add(led); break; case "Datetime": case "Date": if (!ControlName.ToLower().Contains("time")) { DevExpress.XtraEditors.DateEdit dtp = new DevExpress.XtraEditors.DateEdit() { Name = string.Format("dtp{0}", ControlName), Location = new Point(130, height), Width = width, Height = heightBox }; ctlParent.Controls.Add(dtp); } else { DevExpress.XtraEditors.TimeEdit tid = new DevExpress.XtraEditors.TimeEdit() { Name = string.Format("tid{0}", ControlName), Location = new Point(130, height), Width = width, Height = heightBox }; ctlParent.Controls.Add(tid); } break; case "Time": DevExpress.XtraEditors.TimeEdit tid1 = new DevExpress.XtraEditors.TimeEdit() { Name = string.Format("tid{0}", ControlName), Location = new Point(130, height), Width = width, Height = heightBox }; ctlParent.Controls.Add(tid1); break; case "CheckEdit": DevExpress.XtraEditors.CheckEdit ckb = new DevExpress.XtraEditors.CheckEdit() { Name = string.Format("ckb{0}", ControlName), Location = new Point(130, height), Width = width, Height = heightBox }; ctlParent.Controls.Add(ckb); break; case "PictureEdit": DevExpress.XtraEditors.PictureEdit pic = new DevExpress.XtraEditors.PictureEdit() { Name = string.Format("ckb{0}", ControlName), Location = new Point(130, height), Width = width, Height = heightBox }; ctlParent.Controls.Add(pic); break; default: DevExpress.XtraEditors.TextEdit txt = new DevExpress.XtraEditors.TextEdit() { Name = string.Format("txt{0}", ControlName), Location = new Point(130, height), Width = width, Height = heightBox }; ctlParent.Controls.Add(txt); break; } height += 25; } } } } catch (Exception ex) { Helper.LogError(ex, ex.Message, "LoadControlsLayOut()"); } LoadDesignedControls(ctrs, formName); }
/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { _components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WebServicesView)); _splitContainer = new System.Windows.Forms.SplitContainer(); _webServicesTreeView = new System.Windows.Forms.TreeView(); _webServicesListView = new System.Windows.Forms.ListView(); _propertyColumnHeader = new System.Windows.Forms.ColumnHeader(); _valueColumnHeader = new System.Windows.Forms.ColumnHeader(); _webServiceImageList = new System.Windows.Forms.ImageList(_components); _splitContainer.Panel1.SuspendLayout(); _splitContainer.Panel2.SuspendLayout(); _splitContainer.SuspendLayout(); this.SuspendLayout(); // // splitContainer // _splitContainer.Dock = System.Windows.Forms.DockStyle.Fill; _splitContainer.Location = new System.Drawing.Point(0, 0); _splitContainer.Name = "splitContainer"; // // splitContainer.Panel1 // _splitContainer.Panel1.Controls.Add(_webServicesTreeView); // // splitContainer.Panel2 // _splitContainer.Panel2.Controls.Add(_webServicesListView); _splitContainer.Size = new System.Drawing.Size(471, 305); _splitContainer.SplitterDistance = 156; _splitContainer.TabIndex = 1; // // webServicesTreeView // _webServicesTreeView.Dock = System.Windows.Forms.DockStyle.Fill; _webServicesTreeView.Location = new System.Drawing.Point(0, 0); _webServicesTreeView.Name = "webServicesTreeView"; _webServicesTreeView.Size = new System.Drawing.Size(156, 305); _webServicesTreeView.TabIndex = 0; _webServicesTreeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.WebServicesTreeViewAfterSelect); // // webServicesListView // _webServicesListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { _propertyColumnHeader, _valueColumnHeader }); _webServicesListView.Dock = System.Windows.Forms.DockStyle.Fill; _webServicesListView.Location = new System.Drawing.Point(0, 0); _webServicesListView.Name = "webServicesListView"; _webServicesListView.Size = new System.Drawing.Size(311, 305); _webServicesListView.TabIndex = 2; _webServicesListView.UseCompatibleStateImageBehavior = false; _webServicesListView.View = System.Windows.Forms.View.Details; // // propertyColumnHeader // _propertyColumnHeader.Text = "Property"; _propertyColumnHeader.Width = 120; // // valueColumnHeader // _valueColumnHeader.Text = "Value"; _valueColumnHeader.Width = 191; // // WebServiceImageList // _webServiceImageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("WebServiceImageList.ImageStream"))); _webServiceImageList.TransparentColor = System.Drawing.Color.Transparent; _webServiceImageList.Images.SetKeyName(0, "Icons.16x16.Library"); _webServiceImageList.Images.SetKeyName(1, "Icons.16x16.Interface"); _webServiceImageList.Images.SetKeyName(2, "Icons.16x16.Class"); _webServiceImageList.Images.SetKeyName(3, "Icons.16x16.Method"); // // WebServicesView // this.Controls.Add(_splitContainer); this.Name = "WebServicesView"; this.Size = new System.Drawing.Size(471, 305); _splitContainer.Panel1.ResumeLayout(false); _splitContainer.Panel2.ResumeLayout(false); _splitContainer.ResumeLayout(false); this.ResumeLayout(false); }
public SplitContainerMessageFilter(SplitContainer splitContainer) { _owner = splitContainer; }
/// <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(MainForm)); this._mainMenu = new System.Windows.Forms.MainMenu(this.components); this._menuItemFile = new System.Windows.Forms.MenuItem(); this._menuItemFileOpen = new System.Windows.Forms.MenuItem(); this._menuItemFileSave = new System.Windows.Forms.MenuItem(); this._menuItemFileExit = new System.Windows.Forms.MenuItem(); this._menuItemView = new System.Windows.Forms.MenuItem(); this._menuItemViewNormal = new System.Windows.Forms.MenuItem(); this._menuItemViewFitToWindow = new System.Windows.Forms.MenuItem(); this._menuItemViewSpiltter1 = new System.Windows.Forms.MenuItem(); this._menuItemViewAnnotationToolbar = new System.Windows.Forms.MenuItem(); this._menuItem_Annotations = new System.Windows.Forms.MenuItem(); this._menuItemAnnotationsPresentationStateInfo = new System.Windows.Forms.MenuItem(); this._menuItemHelp = new System.Windows.Forms.MenuItem(); this._menuItemHelpAbout = new System.Windows.Forms.MenuItem(); this._imageList = new System.Windows.Forms.ImageList(this.components); this._openFileDialog = new System.Windows.Forms.OpenFileDialog(); this._saveFileDialog = new System.Windows.Forms.SaveFileDialog(); this._treeView_Elements = new System.Windows.Forms.TreeView(); this._splitContainer = new System.Windows.Forms.SplitContainer(); ((System.ComponentModel.ISupportInitialize)(this._splitContainer)).BeginInit(); this._splitContainer.Panel1.SuspendLayout(); this._splitContainer.SuspendLayout(); this.SuspendLayout(); // // _mainMenu // this._mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this._menuItemFile, this._menuItemView, this._menuItem_Annotations, this._menuItemHelp }); // // _menuItemFile // this._menuItemFile.Index = 0; this._menuItemFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this._menuItemFileOpen, this._menuItemFileSave, this._menuItemFileExit }); this._menuItemFile.Text = "&File"; this._menuItemFile.Popup += new System.EventHandler(this.menuItemFile_Popup); // // _menuItemFileOpen // this._menuItemFileOpen.Index = 0; this._menuItemFileOpen.Text = "&Open..."; this._menuItemFileOpen.Click += new System.EventHandler(this.menuItemFileOpen_Click); // // _menuItemFileSave // this._menuItemFileSave.Enabled = false; this._menuItemFileSave.Index = 1; this._menuItemFileSave.Text = "&Save..."; this._menuItemFileSave.Click += new System.EventHandler(this.menuItemFileSave_Click); // // _menuItemFileExit // this._menuItemFileExit.Index = 2; this._menuItemFileExit.Text = "&Exit"; this._menuItemFileExit.Click += new System.EventHandler(this.menuItemFileExit_Click); // // _menuItemView // this._menuItemView.Index = 1; this._menuItemView.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this._menuItemViewNormal, this._menuItemViewFitToWindow, this._menuItemViewSpiltter1, this._menuItemViewAnnotationToolbar }); this._menuItemView.Text = "&View"; this._menuItemView.Popup += new System.EventHandler(this.menuItemView_Popup); // // _menuItemViewNormal // this._menuItemViewNormal.Index = 0; this._menuItemViewNormal.Text = "&Normal"; this._menuItemViewNormal.Click += new System.EventHandler(this.menuItemViewNormal_Click); // // _menuItemViewFitToWindow // this._menuItemViewFitToWindow.Index = 1; this._menuItemViewFitToWindow.Text = "&Fit to Window"; this._menuItemViewFitToWindow.Click += new System.EventHandler(this.menuItemViewFitToWindow_Click); // // _menuItemViewSpiltter1 // this._menuItemViewSpiltter1.Index = 2; this._menuItemViewSpiltter1.Text = "-"; // // _menuItemViewAnnotationToolbar // this._menuItemViewAnnotationToolbar.Checked = true; this._menuItemViewAnnotationToolbar.Index = 3; this._menuItemViewAnnotationToolbar.Text = "Annotation Toolbar"; this._menuItemViewAnnotationToolbar.Click += new System.EventHandler(this._menuItemViewAnnotationToolbar_Click); // // _menuItem_Annotations // this._menuItem_Annotations.Index = 2; this._menuItem_Annotations.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this._menuItemAnnotationsPresentationStateInfo }); this._menuItem_Annotations.Text = "&Annotations"; // // _menuItemAnnotationsPresentationStateInfo // this._menuItemAnnotationsPresentationStateInfo.Index = 0; this._menuItemAnnotationsPresentationStateInfo.Text = "Presentation State Info"; this._menuItemAnnotationsPresentationStateInfo.Click += new System.EventHandler(this._menuItemAnnotationsPresentationStateInfo_Click); // // _menuItemHelp // this._menuItemHelp.Index = 3; this._menuItemHelp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this._menuItemHelpAbout }); this._menuItemHelp.Text = "&Help"; // // _menuItemHelpAbout // this._menuItemHelpAbout.Index = 0; this._menuItemHelpAbout.Text = "&About"; this._menuItemHelpAbout.Click += new System.EventHandler(this.menuItemAbout_Click); // // _imageList // this._imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("_imageList.ImageStream"))); this._imageList.TransparentColor = System.Drawing.Color.Transparent; this._imageList.Images.SetKeyName(0, ""); this._imageList.Images.SetKeyName(1, ""); this._imageList.Images.SetKeyName(2, ""); this._imageList.Images.SetKeyName(3, ""); // // _openFileDialog // this._openFileDialog.Filter = "DICOM Files (*.dcm;*.dic)|*.dcm;*.dic|All files (*.*)|*.*"; this._openFileDialog.Multiselect = true; this._openFileDialog.Title = "Open Dicom File"; // // _treeView_Elements // this._treeView_Elements.Dock = System.Windows.Forms.DockStyle.Fill; this._treeView_Elements.FullRowSelect = true; this._treeView_Elements.HideSelection = false; this._treeView_Elements.ImageIndex = 0; this._treeView_Elements.ImageList = this._imageList; this._treeView_Elements.Location = new System.Drawing.Point(0, 0); this._treeView_Elements.Name = "_treeView_Elements"; this._treeView_Elements.SelectedImageIndex = 0; this._treeView_Elements.Size = new System.Drawing.Size(80, 518); this._treeView_Elements.TabIndex = 3; // // _splitContainer // this._splitContainer.Dock = System.Windows.Forms.DockStyle.Fill; this._splitContainer.Location = new System.Drawing.Point(0, 0); this._splitContainer.Name = "_splitContainer"; // // _splitContainer.Panel1 // this._splitContainer.Panel1.Controls.Add(this._treeView_Elements); this._splitContainer.Size = new System.Drawing.Size(673, 518); this._splitContainer.SplitterDistance = 80; this._splitContainer.TabIndex = 4; // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(673, 518); this.Controls.Add(this._splitContainer); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Menu = this._mainMenu; this.Name = "MainForm"; this.Text = "DicomAnnDemo"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.MainForm_Load); this._splitContainer.Panel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this._splitContainer)).EndInit(); this._splitContainer.ResumeLayout(false); this.ResumeLayout(false); }
public SplitterHelper(System.Windows.Forms.SplitContainer splitter, string product, string regValue) { m_key = Microsoft.Win32.Registry.CurrentUser.CreateSubKey(@"Software\" + product + @"\Window"); m_splitter = splitter; m_regValue = regValue; }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); C1.Win.C1Tile.PanelElement panelElement1 = new C1.Win.C1Tile.PanelElement(); C1.Win.C1Tile.ImageElement imageElement1 = new C1.Win.C1Tile.ImageElement(); C1.Win.C1Tile.TextElement textElement1 = new C1.Win.C1Tile.TextElement(); this.sc1 = new System.Windows.Forms.SplitContainer(); this.tablePanel1 = new System.Windows.Forms.TableLayoutPanel(); this.panel1 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel(); this._searchBox = new System.Windows.Forms.TextBox(); this.panel3 = new System.Windows.Forms.Panel(); this._search = new System.Windows.Forms.PictureBox(); this._exportImage2 = new System.Windows.Forms.PictureBox(); this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.toolStripProgressBar1 = new System.Windows.Forms.ToolStripProgressBar(); this._imageTileControl = new C1.Win.C1Tile.C1TileControl(); this.Group1 = new C1.Win.C1Tile.Group(); this.tile1 = new C1.Win.C1Tile.Tile(); this.tile2 = new C1.Win.C1Tile.Tile(); this.tile3 = new C1.Win.C1Tile.Tile(); this._exportImage = new System.Windows.Forms.PictureBox(); this.c1PdfDocument1 = new C1.C1Pdf.C1PdfDocument(); ((System.ComponentModel.ISupportInitialize)(this.sc1)).BeginInit(); this.sc1.Panel1.SuspendLayout(); this.sc1.Panel2.SuspendLayout(); this.sc1.SuspendLayout(); this.tablePanel1.SuspendLayout(); this.panel1.SuspendLayout(); this.panel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this._search)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this._exportImage2)).BeginInit(); this.statusStrip1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this._exportImage)).BeginInit(); this.SuspendLayout(); // // sc1 // this.sc1.Dock = System.Windows.Forms.DockStyle.Fill; this.sc1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; this.sc1.IsSplitterFixed = true; this.sc1.Location = new System.Drawing.Point(0, 0); this.sc1.Margin = new System.Windows.Forms.Padding(2); this.sc1.Name = "sc1"; this.sc1.Orientation = System.Windows.Forms.Orientation.Horizontal; // // sc1.Panel1 // this.sc1.Panel1.Controls.Add(this.tablePanel1); this.sc1.Panel1.Margin = new System.Windows.Forms.Padding(2); // // sc1.Panel2 // this.sc1.Panel2.Controls.Add(this.statusStrip1); this.sc1.Panel2.Controls.Add(this._imageTileControl); this.sc1.Panel2.Controls.Add(this._exportImage); this.sc1.Panel2.Paint += new System.Windows.Forms.PaintEventHandler(this.tableLayoutPanel1_Paint); this.sc1.Panel2.MouseClick += new System.Windows.Forms.MouseEventHandler(this.sc1_Panel2_MouseClick); this.sc1.Size = new System.Drawing.Size(780, 749); this.sc1.SplitterDistance = 40; this.sc1.TabIndex = 0; // // tablePanel1 // this.tablePanel1.ColumnCount = 3; this.tablePanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); this.tablePanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 37.5F)); this.tablePanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 37.5F)); this.tablePanel1.Controls.Add(this.panel1, 1, 0); this.tablePanel1.Controls.Add(this.panel3, 2, 0); this.tablePanel1.Controls.Add(this._exportImage2, 0, 0); this.tablePanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tablePanel1.Location = new System.Drawing.Point(0, 0); this.tablePanel1.Name = "tablePanel1"; this.tablePanel1.RowCount = 1; this.tablePanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tablePanel1.Size = new System.Drawing.Size(780, 40); this.tablePanel1.TabIndex = 0; this.tablePanel1.Paint += new System.Windows.Forms.PaintEventHandler(this.tablePanel1_Paint); // // panel1 // this.panel1.Controls.Add(this.panel2); this.panel1.Controls.Add(this._searchBox); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(198, 3); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(286, 34); this.panel1.TabIndex = 5; this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint_2); // // panel2 // this.panel2.Location = new System.Drawing.Point(479, 12); this.panel2.Margin = new System.Windows.Forms.Padding(2, 12, 45, 12); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(40, 16); this.panel2.TabIndex = 1; this.panel2.Paint += new System.Windows.Forms.PaintEventHandler(this.OnSearchPanelPaint); // // _searchBox // this._searchBox.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._searchBox.BorderStyle = System.Windows.Forms.BorderStyle.None; this._searchBox.Location = new System.Drawing.Point(3, 12); this._searchBox.Name = "_searchBox"; this._searchBox.Size = new System.Drawing.Size(265, 13); this._searchBox.TabIndex = 4; this._searchBox.Text = "Search Image"; this._searchBox.MouseClick += new System.Windows.Forms.MouseEventHandler(this._searchBox_MouseClick); this._searchBox.TextChanged += new System.EventHandler(this._searchBox_TextChanged); // // panel3 // this.panel3.Controls.Add(this._search); this.panel3.Location = new System.Drawing.Point(489, 12); this.panel3.Margin = new System.Windows.Forms.Padding(2, 12, 45, 12); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(60, 16); this.panel3.TabIndex = 1; // // _search // this._search.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._search.Image = ((System.Drawing.Image)(resources.GetObject("_search.Image"))); this._search.Location = new System.Drawing.Point(0, -3); this._search.Margin = new System.Windows.Forms.Padding(0); this._search.Name = "_search"; this._search.Size = new System.Drawing.Size(60, 28); this._search.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this._search.TabIndex = 0; this._search.TabStop = false; this._search.Click += new System.EventHandler(this._search_Click_1); // // _exportImage2 // this._exportImage2.Image = ((System.Drawing.Image)(resources.GetObject("_exportImage2.Image"))); this._exportImage2.Location = new System.Drawing.Point(3, 3); this._exportImage2.Name = "_exportImage2"; this._exportImage2.Size = new System.Drawing.Size(54, 34); this._exportImage2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this._exportImage2.TabIndex = 6; this._exportImage2.TabStop = false; this._exportImage2.Visible = false; this._exportImage2.Click += new System.EventHandler(this.OnExportClick); this._exportImage2.Paint += new System.Windows.Forms.PaintEventHandler(this.OnExportImagePaint); // // statusStrip1 // this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripProgressBar1 }); this.statusStrip1.Location = new System.Drawing.Point(0, 683); this.statusStrip1.Name = "statusStrip1"; this.statusStrip1.Size = new System.Drawing.Size(780, 22); this.statusStrip1.TabIndex = 4; this.statusStrip1.Text = "statusStrip1"; this.statusStrip1.Visible = false; // // toolStripProgressBar1 // this.toolStripProgressBar1.Name = "toolStripProgressBar1"; this.toolStripProgressBar1.Size = new System.Drawing.Size(100, 16); this.toolStripProgressBar1.Style = System.Windows.Forms.ProgressBarStyle.Marquee; // // _imageTileControl // this._imageTileControl.AllowChecking = true; this._imageTileControl.AllowRearranging = true; this._imageTileControl.CellHeight = 78; this._imageTileControl.CellSpacing = 11; this._imageTileControl.CellWidth = 78; // // // panelElement1.Alignment = System.Drawing.ContentAlignment.BottomLeft; panelElement1.Children.Add(imageElement1); panelElement1.Children.Add(textElement1); panelElement1.Margin = new System.Windows.Forms.Padding(10, 6, 10, 6); this._imageTileControl.DefaultTemplate.Elements.Add(panelElement1); this._imageTileControl.Dock = System.Windows.Forms.DockStyle.Fill; this._imageTileControl.Groups.Add(this.Group1); this._imageTileControl.Location = new System.Drawing.Point(0, 0); this._imageTileControl.Name = "_imageTileControl"; this._imageTileControl.Size = new System.Drawing.Size(780, 705); this._imageTileControl.SwipeDistance = 20; this._imageTileControl.SwipeRearrangeDistance = 98; this._imageTileControl.TabIndex = 3; this._imageTileControl.TileChecked += new System.EventHandler <C1.Win.C1Tile.TileEventArgs>(this._imageTileControl_TileChecked); this._imageTileControl.TileUnchecked += new System.EventHandler <C1.Win.C1Tile.TileEventArgs>(this._imageTileControl_TileUnchecked); this._imageTileControl.Paint += new System.Windows.Forms.PaintEventHandler(this._imageTileControl_Paint_1); // // Group1 // this.Group1.Name = "Group1"; this.Group1.Text = "Your search result!"; this.Group1.Tiles.Add(this.tile1); this.Group1.Tiles.Add(this.tile2); this.Group1.Tiles.Add(this.tile3); this.Group1.Paint += new System.Windows.Forms.PaintEventHandler(this.OnTileControlPaint); // // tile1 // this.tile1.BackColor = System.Drawing.Color.LightCoral; this.tile1.Name = "tile1"; this.tile1.Text = "Tile 1"; this.tile1.Visible = false; this.tile1.Paint += new System.Windows.Forms.PaintEventHandler(this.OnTileControlPaint); // // tile2 // this.tile2.BackColor = System.Drawing.Color.Teal; this.tile2.Name = "tile2"; this.tile2.Text = "Tile 2"; this.tile2.Visible = false; this.tile2.Paint += new System.Windows.Forms.PaintEventHandler(this.OnTileControlPaint); // // tile3 // this.tile3.BackColor = System.Drawing.Color.SteelBlue; this.tile3.Name = "tile3"; this.tile3.Text = "Tile 3"; this.tile3.Visible = false; this.tile3.Paint += new System.Windows.Forms.PaintEventHandler(this.OnTileControlPaint); // // _exportImage // this._exportImage.Image = ((System.Drawing.Image)(resources.GetObject("_exportImage.Image"))); this._exportImage.Location = new System.Drawing.Point(29, 3); this._exportImage.Name = "_exportImage"; this._exportImage.Size = new System.Drawing.Size(135, 28); this._exportImage.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this._exportImage.TabIndex = 2; this._exportImage.TabStop = false; this._exportImage.Click += new System.EventHandler(this.OnExportClick); this._exportImage.Paint += new System.Windows.Forms.PaintEventHandler(this.OnExportImagePaint); // // c1PdfDocument1 // this.c1PdfDocument1.DocumentInfo.Author = ""; this.c1PdfDocument1.DocumentInfo.CreationDate = new System.DateTime(((long)(0))); this.c1PdfDocument1.DocumentInfo.Creator = ""; this.c1PdfDocument1.DocumentInfo.Keywords = ""; this.c1PdfDocument1.DocumentInfo.Producer = "ComponentOne C1Pdf"; this.c1PdfDocument1.DocumentInfo.Subject = ""; this.c1PdfDocument1.DocumentInfo.Title = ""; this.c1PdfDocument1.MaxHeaderBookmarkLevel = 0; this.c1PdfDocument1.PdfVersion = "1.3"; this.c1PdfDocument1.RefDC = null; this.c1PdfDocument1.RotateAngle = 0F; this.c1PdfDocument1.UseFastTextOut = true; this.c1PdfDocument1.UseFontShaping = true; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(780, 749); this.Controls.Add(this.sc1); this.MaximizeBox = false; this.MaximumSize = new System.Drawing.Size(810, 810); this.Name = "Form1"; this.ShowIcon = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Image Gallery"; this.Load += new System.EventHandler(this.Form1_Load); this.sc1.Panel1.ResumeLayout(false); this.sc1.Panel2.ResumeLayout(false); this.sc1.Panel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.sc1)).EndInit(); this.sc1.ResumeLayout(false); this.tablePanel1.ResumeLayout(false); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.panel3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this._search)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this._exportImage2)).EndInit(); this.statusStrip1.ResumeLayout(false); this.statusStrip1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this._exportImage)).EndInit(); this.ResumeLayout(false); }
//--------------------------------------------------------------------- // Creates and formats a new category expenditure page // params: (in, in, in) //--------------------------------------------------------------------- public void CreateNewExpenditurePage(Category newCategory, int index, int categoryKey) { newCategoryTab = new TabPage(); newCategoryTab.Text = newCategory.getCategoryTitle(); tcExpenditures.TabPages.Insert(index, newCategoryTab); System.Windows.Forms.ListBox newListBox = new System.Windows.Forms.ListBox(); newListBox.FormattingEnabled = true; newListBox.ItemHeight = 20; newListBox.Location = new System.Drawing.Point(4, 4); newListBox.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); newListBox.Size = new System.Drawing.Size(525, 100); TransactionNode currentTransaction; string currentDetails; for (int i = 0; i < categories.getCategory(index).transactionCount; i++) { currentTransaction = categories.getCategory(index).getTransactionDetails(i); currentDetails = currentTransaction.Data.getDate() + ": " + ("$" + (currentTransaction.Data.getPrice() * -1).ToString("0.00")) + ", " + currentTransaction.Data.getDesc(); newListBox.Items.Add(currentDetails); } System.Windows.Forms.SplitContainer CategoryDetails1 = new System.Windows.Forms.SplitContainer(); CategoryDetails1.AutoSize = true; CategoryDetails1.Location = new System.Drawing.Point(0, 100); CategoryDetails1.Size = new System.Drawing.Size(275, 40); CategoryDetails1.SplitterDistance = 125; System.Windows.Forms.SplitContainer CategoryDetails2 = new System.Windows.Forms.SplitContainer(); CategoryDetails2.AutoSize = true; CategoryDetails2.Location = new System.Drawing.Point(275, 100); CategoryDetails2.Size = new System.Drawing.Size(275, 40); CategoryDetails2.SplitterDistance = 125; System.Windows.Forms.Label priorityLabel = new System.Windows.Forms.Label(); priorityLabel.Text = "Priority rating:"; priorityLabel.AutoSize = true; priorityLabel.Location = new System.Drawing.Point(0, 0); priorityLabel.Size = new System.Drawing.Size(50, 20); System.Windows.Forms.Label priorityValue = new System.Windows.Forms.Label(); priorityValue.Text = newCategory.getPriorityRating().ToString(); priorityValue.AutoSize = true; priorityValue.Location = new System.Drawing.Point(0, 0); priorityValue.Size = new System.Drawing.Size(50, 20); System.Windows.Forms.Label totalLabel = new System.Windows.Forms.Label(); totalLabel.Text = "Category total:"; totalLabel.AutoSize = true; totalLabel.Location = new System.Drawing.Point(0, 20); totalLabel.Size = new System.Drawing.Size(50, 20); System.Windows.Forms.Label totalValue = new System.Windows.Forms.Label(); totalValue.Text = "$" + newCategory.getCategoryTotal().ToString("0.00"); totalValue.AutoSize = true; totalValue.Location = new System.Drawing.Point(0, 20); totalValue.Size = new System.Drawing.Size(50, 20); System.Windows.Forms.Label budgetLabel = new System.Windows.Forms.Label(); budgetLabel.Text = "Category budget: "; budgetLabel.AutoSize = true; budgetLabel.Location = new System.Drawing.Point(0, 0); budgetLabel.Size = new System.Drawing.Size(50, 20); System.Windows.Forms.Label budgetValue = new System.Windows.Forms.Label(); budgetValue.Text = "$" + newCategory.getBudget().ToString("0.00"); budgetValue.AutoSize = true; budgetValue.Location = new System.Drawing.Point(0, 0); budgetValue.Size = new System.Drawing.Size(50, 20); System.Windows.Forms.Label differenceLabel = new System.Windows.Forms.Label(); differenceLabel.Text = "Difference:"; differenceLabel.AutoSize = true; differenceLabel.Location = new System.Drawing.Point(0, 20); differenceLabel.Size = new System.Drawing.Size(50, 20); System.Windows.Forms.Label differenceValue = new System.Windows.Forms.Label(); differenceValue.Text = "$" + newCategory.getDifference().ToString("0.00"); differenceValue.AutoSize = true; differenceValue.Location = new System.Drawing.Point(0, 20); differenceValue.Size = new System.Drawing.Size(50, 20); if (newCategory.getDifference() <= 0) { differenceValue.ForeColor = Color.Red; } else { differenceValue.ForeColor = Color.Green; } CategoryDetails1.Panel1.Controls.Add(priorityLabel); CategoryDetails1.Panel2.Controls.Add(priorityValue); CategoryDetails1.Panel1.Controls.Add(totalLabel); CategoryDetails1.Panel2.Controls.Add(totalValue); CategoryDetails2.Panel1.Controls.Add(budgetLabel); CategoryDetails2.Panel2.Controls.Add(budgetValue); CategoryDetails2.Panel1.Controls.Add(differenceLabel); CategoryDetails2.Panel2.Controls.Add(differenceValue); newCategoryTab.Controls.Add(newListBox); newCategoryTab.Controls.Add(CategoryDetails1); newCategoryTab.Controls.Add(CategoryDetails2); }
/// <summary> /// This method initialize the components contained on the form. /// </summary> public void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.Panel1 = new System.Windows.Forms.Panel(); this.sclviewertree = new SclViewerTree(); // Legacy Tree initialization this.Panel2 = new System.Windows.Forms.Panel(); this.PropertyGridAttributes = new System.Windows.Forms.PropertyGrid(); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.mainMenu1 = new System.Windows.Forms.MainMenu(this.components); this.fileMenu = new System.Windows.Forms.MenuItem(); this.openItem = new System.Windows.Forms.MenuItem(); this.exitItem = new System.Windows.Forms.MenuItem(); this.editMenu = new System.Windows.Forms.MenuItem(); this.preferencesItem = new System.Windows.Forms.MenuItem(); this.helpMenu = new System.Windows.Forms.MenuItem(); this.aboutItem = new System.Windows.Forms.MenuItem(); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveasToolStripMenuItem = new ToolStripMenuItem(); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.validateSCLFileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.importIEDConfigToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.Exit = new System.Windows.Forms.ToolBarButton(); this.toolBar1 = new System.Windows.Forms.ToolBar(); this.Separator1 = new System.Windows.Forms.ToolBarButton(); this.New = new System.Windows.Forms.ToolBarButton(); this.Open = new System.Windows.Forms.ToolBarButton(); this.save = new System.Windows.Forms.ToolBarButton(); this.Separator2 = new System.Windows.Forms.ToolBarButton(); this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel(); this.Panel1.SuspendLayout(); this.Panel2.SuspendLayout(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.menuStrip1.SuspendLayout(); this.statusStrip1.SuspendLayout(); this.SuspendLayout(); // // Panel1 // this.Panel1.Controls.Add(this.sclviewertree); this.Panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.Panel1.Location = new System.Drawing.Point(0, 0); this.Panel1.Name = "Panel1"; //this.Panel1.Size = new System.Drawing.Size(347, 670); this.Panel1.TabIndex = 0; this.Panel1.AutoSize = true; this.sclviewertree.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.sclviewertree.Location = new System.Drawing.Point(0, 0); this.sclviewertree.Name = "SclTreeViewer"; this.sclviewertree.Dock = DockStyle.Fill; this.sclviewertree.TabIndex = 0; this.sclviewertree.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.sclviewertreeAfterSelect); // // Panel2 // this.Panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.Panel2.Controls.Add(this.PropertyGridAttributes); this.Panel2.Location = new System.Drawing.Point(0, 0); this.Panel2.Name = "Panel2"; //this.Panel2.Size = new System.Drawing.Size(583, 670); this.Panel2.TabIndex = 2; //this.Panel2.AutoScroll = true; this.Panel2.AutoSize = true; // // PropertyGridAttributes // this.PropertyGridAttributes.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom))); this.PropertyGridAttributes.Location = new System.Drawing.Point(1, 1); this.PropertyGridAttributes.Name = "PropertyGridAttributes"; this.PropertyGridAttributes.Dock = DockStyle.Fill; //this.PropertyGridAttributes.Size = new System.Drawing.Size(580, 465); //this.PropertyGridAttributes.AutoScroll = true; //this.PropertyGridAttributes.AutoSize = true; this.PropertyGridAttributes.TabIndex = 3; this.PropertyGridAttributes.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.PropertyGridAttributesPropertyValueChanged); // // splitContainer1 // this.splitContainer1.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.splitContainer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.splitContainer1.Location = new System.Drawing.Point(0, 52); this.splitContainer1.Name = "splitContainer1"; this.splitContainer1.Dock = DockStyle.Fill; //this.splitContainer1.Size = new System.Drawing.Size(943, 672); //this.splitContainer1.MinimumSize = new System.Drawing.Size(300, 200); //this.splitContainer1.AutoSize = true; //this.splitContainer1.AutoScroll = true; //this.splitContainer1.SplitterDistance = 349; // // splitContainer1.Panel1 // this.splitContainer1.Panel1.AutoScroll = true; this.splitContainer1.Panel1.Controls.Add(this.Panel1); //this.splitContainer1.AutoScrollMinSize = new System.Drawing.Size(943, 672); // // splitContainer1.Panel2 // this.splitContainer1.Panel2.Controls.Add(this.Panel2); this.splitContainer1.Panel2.AutoScroll = true; this.splitContainer1.TabIndex = 5; // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.fileMenu, this.helpMenu }); // // File Menu // this.fileMenu.Index = 0; this.fileMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.openItem, this.exitItem }); this.fileMenu.OwnerDraw = true; this.fileMenu.Text = "File"; // // Open SCL File // this.openItem.Index = 0; this.openItem.OwnerDraw = true; this.openItem.Text = "Open"; // // Exit Application // this.exitItem.Index = 1; this.exitItem.OwnerDraw = true; this.exitItem.Text = "Exit"; this.exitItem.Click += new System.EventHandler(this.exitApp); // // Preferences // this.preferencesItem.Index = 1; this.preferencesItem.OwnerDraw = true; this.preferencesItem.Text = "Preferences"; this.preferencesItem.Click += new System.EventHandler(this.OpenPreferencesDialog); // // Edit // this.editMenu.Index = 1; this.editMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.aboutItem }); this.helpMenu.OwnerDraw = true; this.helpMenu.Text = "Help"; // // Help // this.helpMenu.Index = 1; this.helpMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.aboutItem }); this.helpMenu.OwnerDraw = true; this.helpMenu.Text = "Help"; // // About // this.aboutItem.Index = 0; this.aboutItem.OwnerDraw = true; this.aboutItem.Text = "About"; // // menuStrip1 // this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.toolsToolStripMenuItem, this.helpToolStripMenuItem }); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; //this.menuStrip1.Size = new System.Drawing.Size(943, 24); //this.menuStrip1.AutoSize = true; this.menuStrip1.TabIndex = 0; this.menuStrip1.Text = "menuStrip1"; // // fileToolStripMenuItem // this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.newToolStripMenuItem, this.openToolStripMenuItem, this.saveToolStripMenuItem, this.saveasToolStripMenuItem, this.exitToolStripMenuItem }); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; //this.fileToolStripMenuItem.Size = new System.Drawing.Size(53, 20); //this.fileToolStripMenuItem.AutoSize = true; this.fileToolStripMenuItem.Text = "Project"; // // newToolStripMenuItem // this.newToolStripMenuItem.Name = "newToolStripMenuItem"; //this.newToolStripMenuItem.Size = new System.Drawing.Size(152, 22); //this.newToolStripMenuItem.AutoSize = true; this.newToolStripMenuItem.Text = "New"; this.newToolStripMenuItem.Click += new System.EventHandler(this.NewFile); // // openToolStripMenuItem // this.openToolStripMenuItem.Name = "openToolStripMenuItem"; //this.openToolStripMenuItem.Size = new System.Drawing.Size(152, 22); //this.openToolStripMenuItem.AutoSize = true; this.openToolStripMenuItem.Text = "Open"; this.openToolStripMenuItem.Click += new System.EventHandler(this.OpenFile); // // saveToolStripMenuItem // this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; //this.saveToolStripMenuItem.Size = new System.Drawing.Size(152, 22); //this.saveToolStripMenuItem.AutoSize = true; this.saveToolStripMenuItem.Text = "Save"; this.saveToolStripMenuItem.Click += new System.EventHandler(this.SaveFile); // // saveasToolStripMenuItem // this.saveasToolStripMenuItem.Name = "saveasToolStripMenuItem"; this.saveasToolStripMenuItem.Text = "Save as..."; this.saveasToolStripMenuItem.Click += new System.EventHandler(this.SaveAsFile); // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; //this.exitToolStripMenuItem.Size = new System.Drawing.Size(152, 22); //this.exitToolStripMenuItem.AutoSize = true; this.exitToolStripMenuItem.Text = "Exit"; this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitApp); // // helpToolStripMenuItem // this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.aboutToolStripMenuItem }); this.helpToolStripMenuItem.Name = "helpToolStripMenuItem"; //this.helpToolStripMenuItem.Size = new System.Drawing.Size(40, 20); //this.helpToolStripMenuItem.AutoSize = true; this.helpToolStripMenuItem.Text = "Help"; // // aboutToolStripMenuItem // this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem"; //this.aboutToolStripMenuItem.Size = new System.Drawing.Size(152, 22); //this.aboutToolStripMenuItem.AutoSize = true; this.aboutToolStripMenuItem.Text = "About"; this.aboutToolStripMenuItem.Click += new System.EventHandler(this.AboutClick); // // toolsToolStripMenuItem // this.toolsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.validateSCLFileToolStripMenuItem, this.importIEDConfigToolStripMenuItem }); this.toolsToolStripMenuItem.Name = "toolsToolStripMenuItem"; //this.toolsToolStripMenuItem.Size = new System.Drawing.Size(44, 20); //this.toolsToolStripMenuItem.AutoSize = true; this.toolsToolStripMenuItem.Text = "Tools"; // // validateSCLFileToolStripMenuItem // this.validateSCLFileToolStripMenuItem.Name = "validateSCLFileToolStripMenuItem"; //this.validateSCLFileToolStripMenuItem.Size = new System.Drawing.Size(161, 22); //this.validateSCLFileToolStripMenuItem.AutoSize = true; this.validateSCLFileToolStripMenuItem.Text = "Validate SCL file"; this.validateSCLFileToolStripMenuItem.Click += new System.EventHandler(this.ValidateFileClick); // // importIEDConfigToolStripMenuItem // this.importIEDConfigToolStripMenuItem.Name = "importIEDConfigToolStripMenuItem"; //this.importIEDConfigToolStripMenuItem.Size = new System.Drawing.Size(161, 22); //this.importIEDConfigToolStripMenuItem.AutoSize = true; this.importIEDConfigToolStripMenuItem.Text = "Import IED file"; this.importIEDConfigToolStripMenuItem.Click += new System.EventHandler(this.ImportIEDClick); // // toolBar1 // this.toolBar1.Appearance = System.Windows.Forms.ToolBarAppearance.Flat; this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.Separator1, this.New, this.Open, this.save, this.Separator2 }); this.toolBar1.ButtonSize = new System.Drawing.Size(16, 16); this.toolBar1.DropDownArrows = true; this.toolBar1.Location = new System.Drawing.Point(0, 24); this.toolBar1.Name = "toolBar1"; this.toolBar1.ShowToolTips = true; //this.toolBar1.Size = new System.Drawing.Size(943, 28); this.toolBar1.TabIndex = 1; this.toolBar1.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBarEvent); // // Separator1 // this.Separator1.Name = "Separator1"; this.Separator1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // New // this.New.ImageIndex = 0; this.New.Name = "New"; this.New.ToolTipText = "New configuration file"; // // Open // this.Open.ImageIndex = 1; this.Open.Name = "Open"; this.Open.ToolTipText = "Open a configuration file"; // // Salvar // this.save.ImageIndex = 2; this.save.Name = "Salvar"; this.save.ToolTipText = "Save configuration file"; // // Separator2 // this.Separator2.Name = "Separator2"; this.Separator2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // statusStrip1 // this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripStatusLabel1 }); this.statusStrip1.Location = new System.Drawing.Point(0, 724); this.statusStrip1.Name = "statusStrip1"; this.statusStrip1.Size = new System.Drawing.Size(943, 22); this.statusStrip1.TabIndex = 4; this.statusStrip1.Text = "Status Bar"; // // toolStripStatusLabel1 // this.toolStripStatusLabel1.Name = "toolStripStatusLabel1"; this.toolStripStatusLabel1.Size = new System.Drawing.Size(0, 17); // // FormSCL // //this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); //this.ClientSize = new System.Drawing.Size(943, 746); this.Controls.Add(this.splitContainer1); this.Controls.Add(this.toolBar1); this.Controls.Add(this.menuStrip1); this.Controls.Add(this.statusStrip1); this.Name = "FormSCL"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = this.AppName; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; //this.AutoScroll = true; this.AutoSize = true; this.Load += new System.EventHandler(this.Form1_Load); this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FormSCLFormClosed); this.Panel1.ResumeLayout(false); this.Panel2.ResumeLayout(false); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.ResumeLayout(false); this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); this.statusStrip1.ResumeLayout(false); this.statusStrip1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.Load += new System.EventHandler(this.Help_Load); System.Windows.Forms.TreeNode TreeNode1 = new System.Windows.Forms.TreeNode("Introduction"); System.Windows.Forms.TreeNode TreeNode2 = new System.Windows.Forms.TreeNode("Prerequisites"); System.Windows.Forms.TreeNode TreeNode3 = new System.Windows.Forms.TreeNode("Installation"); System.Windows.Forms.TreeNode TreeNode4 = new System.Windows.Forms.TreeNode("Configuration"); System.Windows.Forms.TreeNode TreeNode5 = new System.Windows.Forms.TreeNode("SQL Configuration"); System.Windows.Forms.TreeNode TreeNode6 = new System.Windows.Forms.TreeNode("Command-Line Switches"); System.Windows.Forms.TreeNode TreeNode7 = new System.Windows.Forms.TreeNode("Getting Started", new System.Windows.Forms .TreeNode[] { TreeNode2, TreeNode3, TreeNode4, TreeNode5, TreeNode6 }); System.Windows.Forms.TreeNode TreeNode8 = new System.Windows.Forms.TreeNode("Main Menu"); System.Windows.Forms.TreeNode TreeNode9 = new System.Windows.Forms.TreeNode("Connections"); System.Windows.Forms.TreeNode TreeNode10 = new System.Windows.Forms.TreeNode("Config"); System.Windows.Forms.TreeNode TreeNode11 = new System.Windows.Forms.TreeNode("Errors and Infos"); System.Windows.Forms.TreeNode TreeNode12 = new System.Windows.Forms.TreeNode("Save As / Export"); System.Windows.Forms.TreeNode TreeNode13 = new System.Windows.Forms.TreeNode("Sessions"); System.Windows.Forms.TreeNode TreeNode14 = new System.Windows.Forms.TreeNode("Screenshot Manager"); System.Windows.Forms.TreeNode TreeNode15 = new System.Windows.Forms.TreeNode("Connection"); System.Windows.Forms.TreeNode TreeNode16 = new System.Windows.Forms.TreeNode("Options"); System.Windows.Forms.TreeNode TreeNode17 = new System.Windows.Forms.TreeNode("Update"); System.Windows.Forms.TreeNode TreeNode18 = new System.Windows.Forms.TreeNode("SSH File Transfer"); System.Windows.Forms.TreeNode TreeNode19 = new System.Windows.Forms.TreeNode("Quick Connect"); System.Windows.Forms.TreeNode TreeNode20 = new System.Windows.Forms.TreeNode("Import From Active Directory"); System.Windows.Forms.TreeNode TreeNode21 = new System.Windows.Forms.TreeNode("External Applications"); System.Windows.Forms.TreeNode TreeNode22 = new System.Windows.Forms.TreeNode("Port Scan"); System.Windows.Forms.TreeNode TreeNode23 = new System.Windows.Forms.TreeNode("User Interface", new System.Windows. Forms.TreeNode[] { TreeNode8, TreeNode9, TreeNode10, TreeNode11, TreeNode12, TreeNode13, TreeNode14, TreeNode15, TreeNode16, TreeNode17, TreeNode18, TreeNode19, TreeNode20, TreeNode21, TreeNode22 }); System.Windows.Forms.TreeNode TreeNode24 = new System.Windows.Forms.TreeNode("Quick Reference"); System.Windows.Forms.TreeNode TreeNode25 = new System.Windows.Forms.TreeNode("Help", new System.Windows. Forms.TreeNode[] { TreeNode1, TreeNode7, TreeNode23, TreeNode24 }); this.wbHelp = new System.Windows.Forms.WebBrowser(); this.wbHelp.DocumentTitleChanged += new System.EventHandler(this.wbHelp_DocumentTitleChanged); this.tvIndex = new System.Windows.Forms.TreeView(); this.tvIndex.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.tvIndex_NodeMouseClick); this.tvIndex.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvIndex_AfterSelect); this.imgListHelp = new System.Windows.Forms.ImageList(this.components); this.pnlSplitter = new System.Windows.Forms.SplitContainer(); this.lblDocName = new System.Windows.Forms.Label(); this.pnlSplitter.Panel1.SuspendLayout(); this.pnlSplitter.Panel2.SuspendLayout(); this.pnlSplitter.SuspendLayout(); this.SuspendLayout(); // //wbHelp // this.wbHelp.AllowWebBrowserDrop = false; this.wbHelp.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.wbHelp.Location = new System.Drawing.Point(1, 36); this.wbHelp.MinimumSize = new System.Drawing.Size(20, 20); this.wbHelp.Name = "wbHelp"; this.wbHelp.ScriptErrorsSuppressed = true; this.wbHelp.Size = new System.Drawing.Size(327, 286); this.wbHelp.TabIndex = 1; // //tvIndex // this.tvIndex.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.tvIndex.BorderStyle = System.Windows.Forms.BorderStyle.None; this.tvIndex.HideSelection = false; this.tvIndex.Location = new System.Drawing.Point(1, 1); this.tvIndex.Name = "tvIndex"; TreeNode1.Name = "Node0"; TreeNode1.Tag = "Introduction"; TreeNode1.Text = "Introduction"; TreeNode2.Name = "Node0"; TreeNode2.Tag = "Prerequisites"; TreeNode2.Text = "Prerequisites"; TreeNode3.Name = "Node3"; TreeNode3.Tag = "Installation"; TreeNode3.Text = "Installation"; TreeNode4.Name = "Node4"; TreeNode4.Tag = "Configuration"; TreeNode4.Text = "Configuration"; TreeNode5.Name = "Node0"; TreeNode5.Tag = "ConfigurationSQL"; TreeNode5.Text = "SQL Configuration"; TreeNode6.Name = "Node5"; TreeNode6.Tag = "CMDSwitches"; TreeNode6.Text = "Command-Line Switches"; TreeNode7.Name = "Node1"; TreeNode7.Text = "Getting Started"; TreeNode8.Name = "Node7"; TreeNode8.Tag = "MainMenu"; TreeNode8.Text = "Main Menu"; TreeNode9.Name = "Node8"; TreeNode9.Tag = "Connections"; TreeNode9.Text = "Connections"; TreeNode10.Name = "Node9"; TreeNode10.Tag = "Config"; TreeNode10.Text = "Config"; TreeNode11.Name = "Node10"; TreeNode11.Tag = "ErrorsAndInfos"; TreeNode11.Text = "Errors and Infos"; TreeNode12.Name = "Node11"; TreeNode12.Tag = "SaveAsExport"; TreeNode12.Text = "Save As / Export"; TreeNode13.Name = "Node12"; TreeNode13.Tag = "Sessions"; TreeNode13.Text = "Sessions"; TreeNode14.Name = "Node13"; TreeNode14.Tag = "ScreenshotManager"; TreeNode14.Text = "Screenshot Manager"; TreeNode15.Name = "Node14"; TreeNode15.Tag = "Connection"; TreeNode15.Text = "Connection"; TreeNode16.Name = "Node15"; TreeNode16.Tag = "Options"; TreeNode16.Text = "Options"; TreeNode17.Name = "Node16"; TreeNode17.Tag = "Update"; TreeNode17.Text = "Update"; TreeNode18.Name = "Node17"; TreeNode18.Tag = "SSHFileTransfer"; TreeNode18.Text = "SSH File Transfer"; TreeNode19.Name = "Node18"; TreeNode19.Tag = "QuickConnect"; TreeNode19.Text = "Quick Connect"; TreeNode20.Name = "Node19"; TreeNode20.Tag = "ImportFromAD"; TreeNode20.Text = "Import From Active Directory"; TreeNode21.Name = "Node1"; TreeNode21.Tag = "ExternalApps"; TreeNode21.Text = "External Applications"; TreeNode22.Name = "Node0"; TreeNode22.Tag = "PortScan"; TreeNode22.Text = "Port Scan"; TreeNode23.Name = "Node6"; TreeNode23.Text = "User Interface"; TreeNode24.Name = "Node20"; TreeNode24.Tag = "QuickReference"; TreeNode24.Text = "Quick Reference"; TreeNode25.Name = "Node0"; TreeNode25.Text = "Help"; this.tvIndex.Nodes.AddRange(new System.Windows.Forms.TreeNode[] { TreeNode25 }); this.tvIndex.ShowRootLines = false; this.tvIndex.Size = new System.Drawing.Size(207, 321); this.tvIndex.TabIndex = 0; // //imgListHelp // this.imgListHelp.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit; this.imgListHelp.ImageSize = new System.Drawing.Size(16, 16); this.imgListHelp.TransparentColor = System.Drawing.Color.Transparent; // //pnlSplitter // this.pnlSplitter.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.pnlSplitter.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; this.pnlSplitter.Location = new System.Drawing.Point(0, 0); this.pnlSplitter.Name = "pnlSplitter"; // //pnlSplitter.Panel1 // this.pnlSplitter.Panel1.Controls.Add(this.tvIndex); // //pnlSplitter.Panel2 // this.pnlSplitter.Panel2.Controls.Add(this.lblDocName); this.pnlSplitter.Panel2.Controls.Add(this.wbHelp); this.pnlSplitter.Size = new System.Drawing.Size(542, 323); this.pnlSplitter.SplitterDistance = 209; this.pnlSplitter.TabIndex = 2; // //lblDocName // this.lblDocName.Anchor = (System.Windows.Forms.AnchorStyles) ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right); this.lblDocName.BackColor = System.Drawing.Color.DimGray; this.lblDocName.Font = new System.Drawing.Font("Microsoft Sans Serif", (float)(12.0F), System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, (byte)(0)); this.lblDocName.ForeColor = System.Drawing.Color.White; this.lblDocName.Location = new System.Drawing.Point(1, 1); this.lblDocName.Name = "lblDocName"; this.lblDocName.Size = new System.Drawing.Size(327, 35); this.lblDocName.TabIndex = 2; this.lblDocName.Text = "Introduction"; this.lblDocName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // //Help // this.ClientSize = new System.Drawing.Size(542, 323); this.Controls.Add(this.pnlSplitter); this.Icon = global::My.Resources.Resources.Help_Icon; this.Name = "Help"; this.TabText = "Help"; this.Text = "Help"; this.pnlSplitter.Panel1.ResumeLayout(false); this.pnlSplitter.Panel2.ResumeLayout(false); this.pnlSplitter.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { splitContainer1 = new System.Windows.Forms.SplitContainer(); treeView1 = new System.Windows.Forms.TreeView(); splitContainer2 = new MySplitContainer(); listView1 = new System.Windows.Forms.ListView(); listView2 = new System.Windows.Forms.ListView(); splitContainer1.SuspendLayout(); splitContainer2.SuspendLayout(); SuspendLayout(); // Basic SplitContainer properties. // This is a vertical splitter that moves in 10-pixel increments. // This splitter needs no explicit Orientation property because Vertical is the default. splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; splitContainer1.ForeColor = System.Drawing.SystemColors.Control; splitContainer1.Location = new System.Drawing.Point(0, 0); splitContainer1.Name = "splitContainer1"; // You can drag the splitter no nearer than 30 pixels from the left edge of the container. splitContainer1.Panel1MinSize = 30; // You can drag the splitter no nearer than 20 pixels from the right edge of the container. splitContainer1.Panel2MinSize = 20; splitContainer1.Size = new System.Drawing.Size(292, 273); splitContainer1.SplitterDistance = 79; // This splitter moves in 10-pixel increments. splitContainer1.SplitterIncrement = 10; splitContainer1.SplitterWidth = 6; // splitContainer1 is the first control in the tab order. splitContainer1.TabIndex = 0; splitContainer1.Text = "splitContainer1"; // When the splitter moves, the cursor changes shape. splitContainer1.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(splitContainer1_SplitterMoved); splitContainer1.SplitterMoving += new System.Windows.Forms.SplitterCancelEventHandler(splitContainer1_SplitterMoving); // Add a TreeView control to the left panel. splitContainer1.Panel1.BackColor = System.Drawing.SystemColors.Control; // Add a TreeView control to Panel1. splitContainer1.Panel1.Controls.Add(treeView1); splitContainer1.Panel1.Name = "splitterPanel1"; // Controls placed on Panel1 support right-to-left fonts. splitContainer1.Panel1.RightToLeft = System.Windows.Forms.RightToLeft.Yes; // Add a SplitContainer to the right panel. splitContainer1.Panel2.Controls.Add(splitContainer2); splitContainer1.Panel2.Name = "splitterPanel2"; // This TreeView control is in Panel1 of splitContainer1. treeView1.Dock = System.Windows.Forms.DockStyle.Fill; treeView1.ForeColor = System.Drawing.SystemColors.InfoText; treeView1.ImageIndex = -1; treeView1.Location = new System.Drawing.Point(0, 0); treeView1.Name = "treeView1"; treeView1.SelectedImageIndex = -1; treeView1.Size = new System.Drawing.Size(79, 273); treeView1.BeginUpdate(); treeView1.Nodes.Add("Parent"); treeView1.Nodes[0].Nodes.Add("Child 1"); treeView1.Nodes[0].Nodes.Add("Child 2"); treeView1.Nodes[0].Nodes[1].Nodes.Add("Grandchild"); treeView1.Nodes[0].Nodes[1].Nodes[0].Nodes.Add("Great Grandchild"); treeView1.EndUpdate(); // treeView1 is the second control in the tab order. treeView1.TabIndex = 1; // Basic SplitContainer properties. // This is a horizontal splitter whose top and bottom panels are ListView controls. The top panel is fixed. splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill; // The top panel remains the same size when the form is resized. splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; splitContainer2.Location = new System.Drawing.Point(0, 0); splitContainer2.Name = "splitContainer2"; // Create the horizontal splitter. splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal; splitContainer2.Size = new System.Drawing.Size(207, 273); splitContainer2.SplitterDistance = 125; splitContainer2.SplitterWidth = 6; // splitContainer2 is the third control in the tab order. //splitContainer2.TabIndex = 2; splitContainer2.TabStop = false; splitContainer2.Text = "splitContainer2"; // This splitter panel contains the top ListView control. splitContainer2.Panel1.Controls.Add(listView1); splitContainer2.Panel1.Name = "splitterPanel3"; // This splitter panel contains the bottom ListView control. splitContainer2.Panel2.Controls.Add(listView2); splitContainer2.Panel2.Name = "splitterPanel4"; // This ListView control is in the top panel of splitContainer2. listView1.Dock = System.Windows.Forms.DockStyle.Fill; listView1.Location = new System.Drawing.Point(0, 0); listView1.Name = "listView1"; listView1.Size = new System.Drawing.Size(207, 125); listView1.View = View.Details; // Display grid lines. listView1.GridLines = true; // Create three items and three sets of subitems for each item. ListViewItem item1 = new ListViewItem("item1", 0); // Place a check mark next to the item. item1.Checked = true; item1.SubItems.Add("1"); item1.SubItems.Add("2"); item1.SubItems.Add("3"); ListViewItem item2 = new ListViewItem("item2", 1); item2.SubItems.Add("4"); item2.SubItems.Add("5"); item2.SubItems.Add("6"); ListViewItem item3 = new ListViewItem("item3", 0); // Place a check mark next to the item. item3.Checked = true; item3.SubItems.Add("7"); item3.SubItems.Add("8"); item3.SubItems.Add("9"); // Create columns for the items and subitems. // Width of -2 indicates auto-size. listView1.Columns.Add("Item Column", -2, HorizontalAlignment.Left); listView1.Columns.Add("Column 2", -2, HorizontalAlignment.Left); listView1.Columns.Add("Column 3", -2, HorizontalAlignment.Left); listView1.Columns.Add("Column 4", -2, HorizontalAlignment.Center); //Add the items to the ListView. listView1.Items.AddRange(new ListViewItem[] { item1, item2, item3 }); // listView1 is the fourth control in the tab order. listView1.TabIndex = 3; // This ListView control is in the bottom panel of splitContainer2. listView2.Dock = System.Windows.Forms.DockStyle.Fill; listView2.Location = new System.Drawing.Point(0, 0); listView2.Name = "listView2"; listView2.Size = new System.Drawing.Size(207, 142); listView2.View = View.Details; // Display grid lines. listView2.GridLines = true; // Create three items and three sets of subitems for each item. item1 = new ListViewItem("item1", 0); // Place a check mark next to the item. item1.Checked = true; item1.SubItems.Add("1"); item1.SubItems.Add("2"); item1.SubItems.Add("3"); item2 = new ListViewItem("item2", 1); item2.SubItems.Add("4"); item2.SubItems.Add("5"); item2.SubItems.Add("6"); item3 = new ListViewItem("item3", 0); // Place a check mark next to the item. item3.Checked = true; item3.SubItems.Add("7"); item3.SubItems.Add("8"); item3.SubItems.Add("9"); // Create columns for the items and subitems. // Width of -2 indicates auto-size. listView2.Columns.Add("Item Column", -2, HorizontalAlignment.Left); listView2.Columns.Add("Column 2", -2, HorizontalAlignment.Left); listView2.Columns.Add("Column 3", -2, HorizontalAlignment.Left); listView2.Columns.Add("Column 4", -2, HorizontalAlignment.Center); //Add the items to the ListView. listView2.Items.AddRange(new ListViewItem[] { item1, item2, item3 }); // listView2 is the fifth control in the tab order. listView2.TabIndex = 4; // These are basic properties of the form. //ClientSize = new System.Drawing.Size(292, 273); this.WindowState = FormWindowState.Maximized; Controls.Add(splitContainer1); Name = "Form1"; Text = "Form1"; splitContainer1.ResumeLayout(false); splitContainer2.ResumeLayout(false); 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(MainForm)); this.openFileDialog = new System.Windows.Forms.OpenFileDialog(); this.menuStrip = new System.Windows.Forms.MenuStrip(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.reloadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.closeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.exitToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.splitContainer = new System.Windows.Forms.SplitContainer(); this.treeView = new System.Windows.Forms.TreeView(); this.imageList = new System.Windows.Forms.ImageList(this.components); this.tabControl = new System.Windows.Forms.TabControl(); this.tabPage = new System.Windows.Forms.TabPage(); this.statusStrip = new System.Windows.Forms.StatusStrip(); this.toolStripStatusLabel = new System.Windows.Forms.ToolStripStatusLabel(); this.menuStrip.SuspendLayout(); this.splitContainer.Panel1.SuspendLayout(); this.splitContainer.Panel2.SuspendLayout(); this.splitContainer.SuspendLayout(); this.tabControl.SuspendLayout(); this.statusStrip.SuspendLayout(); this.SuspendLayout(); // // openFileDialog // this.openFileDialog.DefaultExt = "*.sol"; this.openFileDialog.Filter = "SharedObject Files|*.sol|All Files|*.*"; // // menuStrip // this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem }); this.menuStrip.Location = new System.Drawing.Point(0, 0); this.menuStrip.Name = "menuStrip"; this.menuStrip.RenderMode = System.Windows.Forms.ToolStripRenderMode.System; this.menuStrip.Size = new System.Drawing.Size(654, 24); this.menuStrip.TabIndex = 4; // // fileToolStripMenuItem // this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.openToolStripMenuItem, this.reloadToolStripMenuItem, this.toolStripSeparator1, this.closeToolStripMenuItem, this.exitToolStripMenuItem }); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Size = new System.Drawing.Size(35, 20); this.fileToolStripMenuItem.Text = "&File"; // // openToolStripMenuItem // this.openToolStripMenuItem.Name = "openToolStripMenuItem"; this.openToolStripMenuItem.Size = new System.Drawing.Size(118, 22); this.openToolStripMenuItem.Text = "&Open"; this.openToolStripMenuItem.Click += new System.EventHandler(this.openToolStripMenuItem_Click); // // reloadToolStripMenuItem // this.reloadToolStripMenuItem.Enabled = false; this.reloadToolStripMenuItem.Name = "reloadToolStripMenuItem"; this.reloadToolStripMenuItem.Size = new System.Drawing.Size(118, 22); this.reloadToolStripMenuItem.Text = "&Reload"; this.reloadToolStripMenuItem.Click += new System.EventHandler(this.reloadToolStripMenuItem_Click); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(115, 6); // // closeToolStripMenuItem // this.closeToolStripMenuItem.Name = "closeToolStripMenuItem"; this.closeToolStripMenuItem.Size = new System.Drawing.Size(118, 22); this.closeToolStripMenuItem.Text = "&Close"; this.closeToolStripMenuItem.Click += new System.EventHandler(this.closeToolStripMenuItem_Click); // // exitToolStripMenuItem // this.exitToolStripMenuItem.Name = "exitToolStripMenuItem"; this.exitToolStripMenuItem.Size = new System.Drawing.Size(118, 22); this.exitToolStripMenuItem.Text = "&Exit"; this.exitToolStripMenuItem.Click += new System.EventHandler(this.exitToolStripMenuItem_Click); // // splitContainer // this.splitContainer.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer.Location = new System.Drawing.Point(0, 24); this.splitContainer.Name = "splitContainer"; // // splitContainer.Panel1 // this.splitContainer.Panel1.Controls.Add(this.treeView); // // splitContainer.Panel2 // this.splitContainer.Panel2.Controls.Add(this.tabControl); this.splitContainer.Size = new System.Drawing.Size(654, 426); this.splitContainer.SplitterDistance = 218; this.splitContainer.TabIndex = 5; // // treeView // this.treeView.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.treeView.FullRowSelect = true; this.treeView.ImageIndex = 0; this.treeView.ImageList = this.imageList; this.treeView.Location = new System.Drawing.Point(6, 6); this.treeView.Name = "treeView"; this.treeView.SelectedImageIndex = 0; this.treeView.Size = new System.Drawing.Size(211, 392); this.treeView.TabIndex = 0; this.treeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView_AfterSelect); // // imageList // this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream"))); this.imageList.TransparentColor = System.Drawing.Color.Transparent; this.imageList.Images.SetKeyName(0, "None"); this.imageList.Images.SetKeyName(1, "Array"); this.imageList.Images.SetKeyName(2, "ByteArray"); this.imageList.Images.SetKeyName(3, "Date"); this.imageList.Images.SetKeyName(4, "Int"); this.imageList.Images.SetKeyName(5, "null"); this.imageList.Images.SetKeyName(6, "Number"); this.imageList.Images.SetKeyName(7, "Object"); this.imageList.Images.SetKeyName(8, "String"); this.imageList.Images.SetKeyName(9, "undefined"); this.imageList.Images.SetKeyName(10, "XML"); this.imageList.Images.SetKeyName(11, "Mixed"); this.imageList.Images.SetKeyName(12, "Ref"); this.imageList.Images.SetKeyName(13, "Boolean"); this.imageList.Images.SetKeyName(14, "LostReference"); this.imageList.Images.SetKeyName(15, "shared_object"); // // tabControl // this.tabControl.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.tabControl.Controls.Add(this.tabPage); this.tabControl.ImageList = this.imageList; this.tabControl.Location = new System.Drawing.Point(0, 6); this.tabControl.Name = "tabControl"; this.tabControl.Padding = new System.Drawing.Point(9, 5); this.tabControl.SelectedIndex = 0; this.tabControl.Size = new System.Drawing.Size(429, 394); this.tabControl.TabIndex = 1; this.tabControl.Visible = false; // // tabPage // this.tabPage.Location = new System.Drawing.Point(4, 27); this.tabPage.Name = "tabPage"; this.tabPage.Padding = new System.Windows.Forms.Padding(3); this.tabPage.Size = new System.Drawing.Size(421, 363); this.tabPage.TabIndex = 1; this.tabPage.UseVisualStyleBackColor = true; // // statusStrip // this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripStatusLabel }); this.statusStrip.Location = new System.Drawing.Point(0, 428); this.statusStrip.Name = "statusStrip"; this.statusStrip.Size = new System.Drawing.Size(654, 22); this.statusStrip.TabIndex = 6; // // toolStripStatusLabel // this.toolStripStatusLabel.Margin = new System.Windows.Forms.Padding(3, 3, 0, 2); this.toolStripStatusLabel.Name = "toolStripStatusLabel"; this.toolStripStatusLabel.Overflow = System.Windows.Forms.ToolStripItemOverflow.Never; this.toolStripStatusLabel.Size = new System.Drawing.Size(42, 17); this.toolStripStatusLabel.Text = "Ready."; // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(654, 450); this.Controls.Add(this.statusStrip); this.Controls.Add(this.splitContainer); this.Controls.Add(this.menuStrip); this.MainMenuStrip = this.menuStrip; this.Name = "MainForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = " SharedObject Reader"; this.Load += new System.EventHandler(this.MainForm_Load); this.menuStrip.ResumeLayout(false); this.menuStrip.PerformLayout(); this.splitContainer.Panel1.ResumeLayout(false); this.splitContainer.Panel2.ResumeLayout(false); this.splitContainer.ResumeLayout(false); this.tabControl.ResumeLayout(false); this.statusStrip.ResumeLayout(false); this.statusStrip.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { System.Windows.Forms.DataVisualization.Charting.Series series6 = new System.Windows.Forms.DataVisualization.Charting.Series(); this.panel1 = new System.Windows.Forms.Panel(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.GBox_ViewMode = new System.Windows.Forms.GroupBox(); this.CBox_DrawType = new System.Windows.Forms.ComboBox(); this.GBox_EndLine = new System.Windows.Forms.GroupBox(); this.TBox_LFCode = new System.Windows.Forms.TextBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.TBox_BoundaryText = new System.Windows.Forms.TextBox(); this.GBox_Input = new System.Windows.Forms.GroupBox(); this.GBox_ShiftBit = new System.Windows.Forms.GroupBox(); this.Num_ShiftBit = new System.Windows.Forms.NumericUpDown(); this.ChkBox_EchoBack = new System.Windows.Forms.CheckBox(); this.TBox_Main = new Ratatoskr.PacketView.Sequential.ViewTextBox(); this.Splitter_Main = new System.Windows.Forms.SplitContainer(); this.PBox_LineNo = new System.Windows.Forms.PictureBox(); this.Splitter_Compare = new System.Windows.Forms.SplitContainer(); this.TBox_ComparePattern = new System.Windows.Forms.TextBox(); this.Panel_CompareSetting = new System.Windows.Forms.Panel(); this.button1 = new System.Windows.Forms.Button(); this.Chart_CompareRate = new System.Windows.Forms.DataVisualization.Charting.Chart(); this.Panel_CompareStatus = new System.Windows.Forms.Panel(); this.panel1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.GBox_ViewMode.SuspendLayout(); this.GBox_EndLine.SuspendLayout(); this.groupBox1.SuspendLayout(); this.GBox_Input.SuspendLayout(); this.GBox_ShiftBit.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.Num_ShiftBit)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.Splitter_Main)).BeginInit(); this.Splitter_Main.Panel1.SuspendLayout(); this.Splitter_Main.Panel2.SuspendLayout(); this.Splitter_Main.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.PBox_LineNo)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.Splitter_Compare)).BeginInit(); this.Splitter_Compare.Panel1.SuspendLayout(); this.Splitter_Compare.Panel2.SuspendLayout(); this.Splitter_Compare.SuspendLayout(); this.Panel_CompareSetting.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.Chart_CompareRate)).BeginInit(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.Add(this.groupBox2); this.panel1.Controls.Add(this.GBox_Input); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(922, 74); this.panel1.TabIndex = 0; // // groupBox2 // this.groupBox2.Controls.Add(this.GBox_ViewMode); this.groupBox2.Controls.Add(this.GBox_EndLine); this.groupBox2.Controls.Add(this.groupBox1); this.groupBox2.Location = new System.Drawing.Point(193, 3); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(505, 64); this.groupBox2.TabIndex = 7; this.groupBox2.TabStop = false; this.groupBox2.Text = "View setting"; // // GBox_ViewMode // this.GBox_ViewMode.Controls.Add(this.CBox_DrawType); this.GBox_ViewMode.Location = new System.Drawing.Point(6, 16); this.GBox_ViewMode.Name = "GBox_ViewMode"; this.GBox_ViewMode.Size = new System.Drawing.Size(120, 42); this.GBox_ViewMode.TabIndex = 1; this.GBox_ViewMode.TabStop = false; this.GBox_ViewMode.Text = "Draw type"; // // CBox_DrawType // this.CBox_DrawType.Dock = System.Windows.Forms.DockStyle.Fill; this.CBox_DrawType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.CBox_DrawType.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.CBox_DrawType.FormattingEnabled = true; this.CBox_DrawType.Location = new System.Drawing.Point(3, 15); this.CBox_DrawType.Name = "CBox_DrawType"; this.CBox_DrawType.Size = new System.Drawing.Size(114, 20); this.CBox_DrawType.TabIndex = 0; // // GBox_EndLine // this.GBox_EndLine.Controls.Add(this.TBox_LFCode); this.GBox_EndLine.Location = new System.Drawing.Point(318, 16); this.GBox_EndLine.Name = "GBox_EndLine"; this.GBox_EndLine.Size = new System.Drawing.Size(180, 41); this.GBox_EndLine.TabIndex = 2; this.GBox_EndLine.TabStop = false; this.GBox_EndLine.Text = "LF(Line Feed) Code"; // // TBox_LFCode // this.TBox_LFCode.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.TBox_LFCode.Dock = System.Windows.Forms.DockStyle.Fill; this.TBox_LFCode.Location = new System.Drawing.Point(3, 15); this.TBox_LFCode.Name = "TBox_LFCode"; this.TBox_LFCode.Size = new System.Drawing.Size(174, 19); this.TBox_LFCode.TabIndex = 0; this.TBox_LFCode.TextChanged += new System.EventHandler(this.TBox_LFCode_TextChanged); // // groupBox1 // this.groupBox1.Controls.Add(this.TBox_BoundaryText); this.groupBox1.Location = new System.Drawing.Point(132, 16); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(180, 41); this.groupBox1.TabIndex = 4; this.groupBox1.TabStop = false; this.groupBox1.Text = "HEX/BIN Boundary text"; // // TBox_BoundaryText // this.TBox_BoundaryText.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.TBox_BoundaryText.Dock = System.Windows.Forms.DockStyle.Fill; this.TBox_BoundaryText.Font = new System.Drawing.Font("MS ゴシック", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(128))); this.TBox_BoundaryText.Location = new System.Drawing.Point(3, 15); this.TBox_BoundaryText.Name = "TBox_BoundaryText"; this.TBox_BoundaryText.Size = new System.Drawing.Size(174, 19); this.TBox_BoundaryText.TabIndex = 0; // // GBox_Input // this.GBox_Input.Controls.Add(this.GBox_ShiftBit); this.GBox_Input.Controls.Add(this.ChkBox_EchoBack); this.GBox_Input.Location = new System.Drawing.Point(3, 3); this.GBox_Input.Name = "GBox_Input"; this.GBox_Input.Size = new System.Drawing.Size(184, 64); this.GBox_Input.TabIndex = 6; this.GBox_Input.TabStop = false; this.GBox_Input.Text = "Input setting"; // // GBox_ShiftBit // this.GBox_ShiftBit.Controls.Add(this.Num_ShiftBit); this.GBox_ShiftBit.Location = new System.Drawing.Point(6, 18); this.GBox_ShiftBit.Name = "GBox_ShiftBit"; this.GBox_ShiftBit.Size = new System.Drawing.Size(80, 41); this.GBox_ShiftBit.TabIndex = 1; this.GBox_ShiftBit.TabStop = false; this.GBox_ShiftBit.Text = "Bit shift"; // // Num_ShiftBit // this.Num_ShiftBit.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.Num_ShiftBit.Dock = System.Windows.Forms.DockStyle.Fill; this.Num_ShiftBit.Location = new System.Drawing.Point(3, 15); this.Num_ShiftBit.Maximum = new decimal(new int[] { 7, 0, 0, 0 }); this.Num_ShiftBit.Name = "Num_ShiftBit"; this.Num_ShiftBit.Size = new System.Drawing.Size(74, 19); this.Num_ShiftBit.TabIndex = 0; this.Num_ShiftBit.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // ChkBox_EchoBack // this.ChkBox_EchoBack.AutoSize = true; this.ChkBox_EchoBack.Location = new System.Drawing.Point(92, 34); this.ChkBox_EchoBack.Name = "ChkBox_EchoBack"; this.ChkBox_EchoBack.Size = new System.Drawing.Size(77, 16); this.ChkBox_EchoBack.TabIndex = 3; this.ChkBox_EchoBack.Text = "Echo back"; this.ChkBox_EchoBack.UseVisualStyleBackColor = true; this.ChkBox_EchoBack.CheckedChanged += new System.EventHandler(this.ChkBox_EchoBack_CheckedChanged); // // TBox_Main // this.TBox_Main.BackColor = System.Drawing.Color.White; this.TBox_Main.BorderStyle = System.Windows.Forms.BorderStyle.None; this.TBox_Main.DetectUrls = false; this.TBox_Main.Dock = System.Windows.Forms.DockStyle.Fill; this.TBox_Main.Font = new System.Drawing.Font("MS ゴシック", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(128))); this.TBox_Main.HideSelection = false; this.TBox_Main.Location = new System.Drawing.Point(70, 0); this.TBox_Main.Name = "TBox_Main"; this.TBox_Main.ReadOnly = true; this.TBox_Main.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.ForcedVertical; this.TBox_Main.Size = new System.Drawing.Size(237, 490); this.TBox_Main.TabIndex = 1; this.TBox_Main.Text = ""; this.TBox_Main.VScroll += new System.EventHandler(this.TBox_Main_VScroll); this.TBox_Main.TextChanged += new System.EventHandler(this.TBox_Main_TextChanged); this.TBox_Main.MouseDown += new System.Windows.Forms.MouseEventHandler(this.TBox_Main_MouseDown); this.TBox_Main.MouseUp += new System.Windows.Forms.MouseEventHandler(this.TBox_Main_MouseUp); this.TBox_Main.Resize += new System.EventHandler(this.TBox_Main_Resize); // // Splitter_Main // this.Splitter_Main.Dock = System.Windows.Forms.DockStyle.Fill; this.Splitter_Main.FixedPanel = System.Windows.Forms.FixedPanel.Panel2; this.Splitter_Main.Location = new System.Drawing.Point(0, 74); this.Splitter_Main.Name = "Splitter_Main"; // // Splitter_Main.Panel1 // this.Splitter_Main.Panel1.Controls.Add(this.TBox_Main); this.Splitter_Main.Panel1.Controls.Add(this.PBox_LineNo); // // Splitter_Main.Panel2 // this.Splitter_Main.Panel2.Controls.Add(this.Splitter_Compare); this.Splitter_Main.Size = new System.Drawing.Size(922, 490); this.Splitter_Main.SplitterDistance = 307; this.Splitter_Main.TabIndex = 2; // // PBox_LineNo // this.PBox_LineNo.Dock = System.Windows.Forms.DockStyle.Left; this.PBox_LineNo.Location = new System.Drawing.Point(0, 0); this.PBox_LineNo.Name = "PBox_LineNo"; this.PBox_LineNo.Size = new System.Drawing.Size(70, 490); this.PBox_LineNo.TabIndex = 2; this.PBox_LineNo.TabStop = false; this.PBox_LineNo.Paint += new System.Windows.Forms.PaintEventHandler(this.PBox_LineNo_Paint); // // Splitter_Compare // this.Splitter_Compare.Dock = System.Windows.Forms.DockStyle.Fill; this.Splitter_Compare.FixedPanel = System.Windows.Forms.FixedPanel.Panel2; this.Splitter_Compare.Location = new System.Drawing.Point(0, 0); this.Splitter_Compare.Name = "Splitter_Compare"; this.Splitter_Compare.Orientation = System.Windows.Forms.Orientation.Horizontal; // // Splitter_Compare.Panel1 // this.Splitter_Compare.Panel1.Controls.Add(this.TBox_ComparePattern); this.Splitter_Compare.Panel1.Controls.Add(this.Panel_CompareSetting); // // Splitter_Compare.Panel2 // this.Splitter_Compare.Panel2.Controls.Add(this.Chart_CompareRate); this.Splitter_Compare.Panel2.Controls.Add(this.Panel_CompareStatus); this.Splitter_Compare.Size = new System.Drawing.Size(611, 490); this.Splitter_Compare.SplitterDistance = 208; this.Splitter_Compare.TabIndex = 0; // // TBox_ComparePattern // this.TBox_ComparePattern.Dock = System.Windows.Forms.DockStyle.Fill; this.TBox_ComparePattern.Location = new System.Drawing.Point(79, 0); this.TBox_ComparePattern.Multiline = true; this.TBox_ComparePattern.Name = "TBox_ComparePattern"; this.TBox_ComparePattern.Size = new System.Drawing.Size(532, 208); this.TBox_ComparePattern.TabIndex = 1; // // Panel_CompareSetting // this.Panel_CompareSetting.Controls.Add(this.button1); this.Panel_CompareSetting.Dock = System.Windows.Forms.DockStyle.Left; this.Panel_CompareSetting.Location = new System.Drawing.Point(0, 0); this.Panel_CompareSetting.Name = "Panel_CompareSetting"; this.Panel_CompareSetting.Size = new System.Drawing.Size(79, 208); this.Panel_CompareSetting.TabIndex = 0; // // button1 // this.button1.FlatAppearance.BorderSize = 0; this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.button1.Location = new System.Drawing.Point(3, 3); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(73, 23); this.button1.TabIndex = 0; this.button1.Text = "Preset"; this.button1.UseVisualStyleBackColor = true; // // Chart_CompareRate // this.Chart_CompareRate.Dock = System.Windows.Forms.DockStyle.Fill; this.Chart_CompareRate.Location = new System.Drawing.Point(0, 68); this.Chart_CompareRate.Name = "Chart_CompareRate"; series6.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Spline; series6.Name = "Series_Rate"; series6.XValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.UInt32; series6.YValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.UInt32; this.Chart_CompareRate.Series.Add(series6); this.Chart_CompareRate.Size = new System.Drawing.Size(611, 210); this.Chart_CompareRate.TabIndex = 0; this.Chart_CompareRate.Text = "chart1"; // // Panel_CompareStatus // this.Panel_CompareStatus.Dock = System.Windows.Forms.DockStyle.Top; this.Panel_CompareStatus.Location = new System.Drawing.Point(0, 0); this.Panel_CompareStatus.Name = "Panel_CompareStatus"; this.Panel_CompareStatus.Size = new System.Drawing.Size(611, 68); this.Panel_CompareStatus.TabIndex = 1; // // PacketViewInstanceImpl // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.Controls.Add(this.Splitter_Main); this.Controls.Add(this.panel1); this.Name = "ViewInstanceImpl"; this.Size = new System.Drawing.Size(922, 564); this.panel1.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.GBox_ViewMode.ResumeLayout(false); this.GBox_EndLine.ResumeLayout(false); this.GBox_EndLine.PerformLayout(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.GBox_Input.ResumeLayout(false); this.GBox_Input.PerformLayout(); this.GBox_ShiftBit.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.Num_ShiftBit)).EndInit(); this.Splitter_Main.Panel1.ResumeLayout(false); this.Splitter_Main.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.Splitter_Main)).EndInit(); this.Splitter_Main.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.PBox_LineNo)).EndInit(); this.Splitter_Compare.Panel1.ResumeLayout(false); this.Splitter_Compare.Panel1.PerformLayout(); this.Splitter_Compare.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.Splitter_Compare)).EndInit(); this.Splitter_Compare.ResumeLayout(false); this.Panel_CompareSetting.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.Chart_CompareRate)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { splitContainer1 = new System.Windows.Forms.SplitContainer(); treeView1 = new System.Windows.Forms.TreeView(); splitContainer2 = new System.Windows.Forms.SplitContainer(); listView1 = new System.Windows.Forms.ListView(); listView2 = new System.Windows.Forms.ListView(); splitContainer1.SuspendLayout(); splitContainer2.SuspendLayout(); SuspendLayout(); // Basic SplitContainer properties. // This is a vertical splitter that moves in 10-pixel increments. // This splitter needs no explicit Orientation property because Vertical is the default. splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; splitContainer1.ForeColor = System.Drawing.SystemColors.Control; splitContainer1.Location = new System.Drawing.Point(0, 0); splitContainer1.Name = "splitContainer1"; // You can drag the splitter no nearer than 30 pixels from the left edge of the container. splitContainer1.Panel1MinSize = 30; // You can drag the splitter no nearer than 20 pixels from the right edge of the container. splitContainer1.Panel2MinSize = 20; splitContainer1.Size = new System.Drawing.Size(292, 273); splitContainer1.SplitterDistance = 79; // This splitter moves in 10-pixel increments. splitContainer1.SplitterIncrement = 10; splitContainer1.SplitterWidth = 6; // splitContainer1 is the first control in the tab order. splitContainer1.TabIndex = 0; splitContainer1.Text = "splitContainer1"; // When the splitter moves, the cursor changes shape. splitContainer1.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(splitContainer1_SplitterMoved); splitContainer1.SplitterMoving += new System.Windows.Forms.SplitterCancelEventHandler(splitContainer1_SplitterMoving); // Add a TreeView control to the left panel. splitContainer1.Panel1.BackColor = System.Drawing.SystemColors.Control; // Add a TreeView control to Panel1. splitContainer1.Panel1.Controls.Add(treeView1); splitContainer1.Panel1.Name = "splitterPanel1"; // Controls placed on Panel1 support right-to-left fonts. splitContainer1.Panel1.RightToLeft = System.Windows.Forms.RightToLeft.Yes; // Add a SplitContainer to the right panel. splitContainer1.Panel2.Controls.Add(splitContainer2); splitContainer1.Panel2.Name = "splitterPanel2"; // This TreeView control is in Panel1 of splitContainer1. treeView1.Dock = System.Windows.Forms.DockStyle.Fill; treeView1.ForeColor = System.Drawing.SystemColors.InfoText; treeView1.ImageIndex = -1; treeView1.Location = new System.Drawing.Point(0, 0); treeView1.Name = "treeView1"; treeView1.SelectedImageIndex = -1; treeView1.Size = new System.Drawing.Size(79, 273); // treeView1 is the second control in the tab order. treeView1.TabIndex = 1; // Basic SplitContainer properties. // This is a horizontal splitter whose top and bottom panels are ListView controls. The top panel is fixed. splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill; // The top panel remains the same size when the form is resized. splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; splitContainer2.Location = new System.Drawing.Point(0, 0); splitContainer2.Name = "splitContainer2"; // Create the horizontal splitter. splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal; splitContainer2.Size = new System.Drawing.Size(207, 273); splitContainer2.SplitterDistance = 125; splitContainer2.SplitterWidth = 6; // splitContainer2 is the third control in the tab order. splitContainer2.TabIndex = 2; splitContainer2.Text = "splitContainer2"; // This splitter panel contains the top ListView control. splitContainer2.Panel1.Controls.Add(listView1); splitContainer2.Panel1.Name = "splitterPanel3"; // This splitter panel contains the bottom ListView control. splitContainer2.Panel2.Controls.Add(listView2); splitContainer2.Panel2.Name = "splitterPanel4"; // This ListView control is in the top panel of splitContainer2. listView1.Dock = System.Windows.Forms.DockStyle.Fill; listView1.Location = new System.Drawing.Point(0, 0); listView1.Name = "listView1"; listView1.Size = new System.Drawing.Size(207, 125); // listView1 is the fourth control in the tab order. listView1.TabIndex = 3; // This ListView control is in the bottom panel of splitContainer2. listView2.Dock = System.Windows.Forms.DockStyle.Fill; listView2.Location = new System.Drawing.Point(0, 0); listView2.Name = "listView2"; listView2.Size = new System.Drawing.Size(207, 142); // listView2 is the fifth control in the tab order. listView2.TabIndex = 4; // These are basic properties of the form. ClientSize = new System.Drawing.Size(292, 273); Controls.Add(splitContainer1); Name = "Form1"; Text = "Form1"; splitContainer1.ResumeLayout(false); splitContainer2.ResumeLayout(false); ResumeLayout(false); }
public ChatTab(User self, User dest, IPEndPoint destEndPoint) { this.self = self; this.pair = dest; this.pairEndPoint = destEndPoint; iMessenger = (IMessenger)RemotingServices.Connect(typeof(IMessenger), Util.URL(pairEndPoint)); #region tab layout this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.richTextBox1 = new System.Windows.Forms.RichTextBox(); this.richTextBox2 = new System.Windows.Forms.RichTextBox(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.SuspendLayout(); this.Controls.Add(this.splitContainer1); this.Location = new System.Drawing.Point(4, 22); this.Name = dest.Nick; this.Padding = new System.Windows.Forms.Padding(3); this.Size = new System.Drawing.Size(899, 563); this.Text = dest.Name; this.UseVisualStyleBackColor = true; // // splitContainer1 // this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer1.Location = new System.Drawing.Point(3, 3); this.splitContainer1.Name = "splitContainer1"; this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal; // // splitContainer1.Panel1 // this.splitContainer1.Panel1.Controls.Add(this.richTextBox1); // // splitContainer1.Panel2 // this.splitContainer1.Panel2.Controls.Add(this.richTextBox2); this.splitContainer1.Size = new System.Drawing.Size(893, 557); this.splitContainer1.SplitterDistance = 481; this.splitContainer1.TabIndex = 0; // // richTextBox1 // this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.richTextBox1.Location = new System.Drawing.Point(0, 0); this.richTextBox1.Name = "richTextBox1"; this.richTextBox1.Size = new System.Drawing.Size(893, 481); this.richTextBox1.TabIndex = 0; this.richTextBox1.Text = ""; this.richTextBox1.Multiline = true; this.richTextBox1.ReadOnly = true; this.richTextBox1.Font = new Font(FontFamily.GenericMonospace, this.richTextBox1.Font.Size); // // richTextBox2 // this.richTextBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.richTextBox2.Location = new System.Drawing.Point(0, 0); this.richTextBox2.Name = "richTextBox2"; this.richTextBox2.Size = new System.Drawing.Size(893, 72); this.richTextBox2.TabIndex = 0; this.richTextBox2.Text = ""; this.ResumeLayout(false); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); this.splitContainer1.ResumeLayout(false); #endregion this.richTextBox2.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.SendMessage); }
private void InitializeComponent() { this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.splitContainer2 = new System.Windows.Forms.SplitContainer(); this.tChart1 = new Steema.TeeChart.TChart(); this.tChart2 = new Steema.TeeChart.TChart(); this.splitContainer3 = new System.Windows.Forms.SplitContainer(); this.dataGridView1 = new System.Windows.Forms.DataGridView(); this.dataGridView2 = new System.Windows.Forms.DataGridView(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); this.splitContainer2.Panel1.SuspendLayout(); this.splitContainer2.Panel2.SuspendLayout(); this.splitContainer2.SuspendLayout(); this.splitContainer3.Panel1.SuspendLayout(); this.splitContainer3.Panel2.SuspendLayout(); this.splitContainer3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).BeginInit(); this.SuspendLayout(); // // textBox1 // this.textBox1.Size = new System.Drawing.Size(672, 62); this.textBox1.Text = "Click on the Bars on the upper Chart to see the Detail \'drill-down\' associated to " + "each \r\none of them."; // // panel1 // this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.comboBox1); this.panel1.Size = new System.Drawing.Size(672, 42); // // panel2 // this.panel2.Controls.Add(this.splitContainer1); this.panel2.Size = new System.Drawing.Size(672, 296); // // splitContainer1 // this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer1.Location = new System.Drawing.Point(0, 0); this.splitContainer1.Name = "splitContainer1"; // // splitContainer1.Panel1 // this.splitContainer1.Panel1.Controls.Add(this.splitContainer2); // // splitContainer1.Panel2 // this.splitContainer1.Panel2.Controls.Add(this.splitContainer3); this.splitContainer1.Size = new System.Drawing.Size(672, 296); this.splitContainer1.SplitterDistance = 456; this.splitContainer1.TabIndex = 0; // // splitContainer2 // this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer2.Location = new System.Drawing.Point(0, 0); this.splitContainer2.Name = "splitContainer2"; this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal; // // splitContainer2.Panel1 // this.splitContainer2.Panel1.Controls.Add(this.tChart1); // // splitContainer2.Panel2 // this.splitContainer2.Panel2.Controls.Add(this.tChart2); this.splitContainer2.Size = new System.Drawing.Size(456, 296); this.splitContainer2.SplitterDistance = 149; this.splitContainer2.TabIndex = 0; // // tChart1 // // // // this.tChart1.Axes.Automatic = true; this.tChart1.Dock = System.Windows.Forms.DockStyle.Fill; this.tChart1.Location = new System.Drawing.Point(0, 0); this.tChart1.Name = "tChart1"; this.tChart1.Size = new System.Drawing.Size(456, 149); this.tChart1.TabIndex = 0; // // tChart2 // // // // this.tChart2.Axes.Automatic = true; this.tChart2.Dock = System.Windows.Forms.DockStyle.Fill; this.tChart2.Location = new System.Drawing.Point(0, 0); this.tChart2.Name = "tChart2"; this.tChart2.Size = new System.Drawing.Size(456, 143); this.tChart2.TabIndex = 0; // // splitContainer3 // this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainer3.Location = new System.Drawing.Point(0, 0); this.splitContainer3.Name = "splitContainer3"; this.splitContainer3.Orientation = System.Windows.Forms.Orientation.Horizontal; // // splitContainer3.Panel1 // this.splitContainer3.Panel1.Controls.Add(this.dataGridView1); // // splitContainer3.Panel2 // this.splitContainer3.Panel2.Controls.Add(this.dataGridView2); this.splitContainer3.Size = new System.Drawing.Size(212, 296); this.splitContainer3.SplitterDistance = 138; this.splitContainer3.TabIndex = 0; // // dataGridView1 // this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGridView1.Location = new System.Drawing.Point(0, 0); this.dataGridView1.Name = "dataGridView1"; this.dataGridView1.Size = new System.Drawing.Size(212, 138); this.dataGridView1.TabIndex = 0; // // dataGridView2 // this.dataGridView2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView2.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGridView2.Location = new System.Drawing.Point(0, 0); this.dataGridView2.Name = "dataGridView2"; this.dataGridView2.Size = new System.Drawing.Size(212, 154); this.dataGridView2.TabIndex = 0; // // comboBox1 // this.comboBox1.FormattingEnabled = true; this.comboBox1.Items.AddRange(new object[] { "Sum", "Count", "Average", "Min", "Max" }); this.comboBox1.Location = new System.Drawing.Point(116, 3); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(121, 21); this.comboBox1.TabIndex = 1; this.comboBox1.Text = "Sum"; this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(13, 7); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(97, 13); this.label1.TabIndex = 2; this.label1.Text = "Aggregate method:"; // // Master_Detail // this.ClientSize = new System.Drawing.Size(672, 400); this.Name = "Master_Detail"; this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.panel2.ResumeLayout(false); this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.ResumeLayout(false); this.splitContainer2.Panel1.ResumeLayout(false); this.splitContainer2.Panel2.ResumeLayout(false); this.splitContainer2.ResumeLayout(false); this.splitContainer3.Panel1.ResumeLayout(false); this.splitContainer3.Panel2.ResumeLayout(false); this.splitContainer3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView2)).EndInit(); 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.Windows.Forms.ToolStripSeparator _toolStripSeparator3; System.Windows.Forms.ToolStripSeparator _toolStripSeparator1; System.Windows.Forms.ToolStripSeparator _toolStripSeparator2; System.Windows.Forms.SplitContainer _splitTreeProps; System.Windows.Forms.SplitContainer _splitEditorOutput; this._propertyGrid = new System.Windows.Forms.PropertyGrid(); this._outputWindow = new System.Windows.Forms.RichTextBox(); this._mainMenu = new System.Windows.Forms.MenuStrip(); this._fileMenu = new System.Windows.Forms.ToolStripMenuItem(); this._newProjectMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this._openProjectMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this._closeMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); this._importProjectMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this._saveMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this._saveAsMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this._exitMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this._undoMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this._redoMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this._newItemMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this._addItemMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this._deleteMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this._buildMenu = new System.Windows.Forms.ToolStripMenuItem(); this._buildMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this._rebuildMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this._cleanMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); this._debuggerMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this._cancelBuildSeparator = new System.Windows.Forms.ToolStripSeparator(); this._cancelBuildMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this._helpMenu = new System.Windows.Forms.ToolStripMenuItem(); this._viewHelpMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this._aboutMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this._treeContextMenu = new System.Windows.Forms.ContextMenuStrip(this.components); this._treeNewItemMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this._treeAddItemMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this._treeDeleteMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); this._treeOpenFileMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this._treeOpenFileLocationMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this._treeRebuildMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this._treeView = new MonoGame.Tools.Pipeline.MultiSelectTreeview(); this._openRecentMenuItem = new System.Windows.Forms.ToolStripMenuItem(); _toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); _toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); _toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); _splitTreeProps = new System.Windows.Forms.SplitContainer(); _splitEditorOutput = new System.Windows.Forms.SplitContainer(); ((System.ComponentModel.ISupportInitialize)(_splitTreeProps)).BeginInit(); _splitTreeProps.Panel1.SuspendLayout(); _splitTreeProps.Panel2.SuspendLayout(); _splitTreeProps.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(_splitEditorOutput)).BeginInit(); _splitEditorOutput.Panel1.SuspendLayout(); _splitEditorOutput.Panel2.SuspendLayout(); _splitEditorOutput.SuspendLayout(); this._mainMenu.SuspendLayout(); this._treeContextMenu.SuspendLayout(); this.SuspendLayout(); // // _toolStripSeparator3 // _toolStripSeparator3.Name = "_toolStripSeparator3"; _toolStripSeparator3.Size = new System.Drawing.Size(179, 6); // // _toolStripSeparator1 // _toolStripSeparator1.Name = "_toolStripSeparator1"; _toolStripSeparator1.Size = new System.Drawing.Size(179, 6); // // _toolStripSeparator2 // _toolStripSeparator2.Name = "_toolStripSeparator2"; _toolStripSeparator2.Size = new System.Drawing.Size(143, 6); // // _splitTreeProps // _splitTreeProps.Dock = System.Windows.Forms.DockStyle.Fill; _splitTreeProps.Location = new System.Drawing.Point(0, 0); _splitTreeProps.Name = "_splitTreeProps"; _splitTreeProps.Orientation = System.Windows.Forms.Orientation.Horizontal; // // _splitTreeProps.Panel1 // _splitTreeProps.Panel1.Controls.Add(this._treeView); // // _splitTreeProps.Panel2 // _splitTreeProps.Panel2.Controls.Add(this._propertyGrid); _splitTreeProps.Size = new System.Drawing.Size(249, 537); _splitTreeProps.SplitterDistance = 210; _splitTreeProps.TabIndex = 1; _splitTreeProps.TabStop = false; // // _propertyGrid // this._propertyGrid.Dock = System.Windows.Forms.DockStyle.Fill; this._propertyGrid.Location = new System.Drawing.Point(0, 0); this._propertyGrid.Name = "_propertyGrid"; this._propertyGrid.Size = new System.Drawing.Size(249, 323); this._propertyGrid.TabIndex = 0; // // _splitEditorOutput // _splitEditorOutput.Dock = System.Windows.Forms.DockStyle.Fill; _splitEditorOutput.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; _splitEditorOutput.Location = new System.Drawing.Point(0, 24); _splitEditorOutput.Name = "_splitEditorOutput"; // // _splitEditorOutput.Panel1 // _splitEditorOutput.Panel1.Controls.Add(_splitTreeProps); // // _splitEditorOutput.Panel2 // _splitEditorOutput.Panel2.Controls.Add(this._outputWindow); _splitEditorOutput.Size = new System.Drawing.Size(784, 537); _splitEditorOutput.SplitterDistance = 249; _splitEditorOutput.TabIndex = 2; _splitEditorOutput.TabStop = false; // // _outputWindow // this._outputWindow.Dock = System.Windows.Forms.DockStyle.Fill; this._outputWindow.HideSelection = false; this._outputWindow.Location = new System.Drawing.Point(0, 0); this._outputWindow.Name = "_outputWindow"; this._outputWindow.ReadOnly = true; this._outputWindow.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical; this._outputWindow.Size = new System.Drawing.Size(531, 537); this._outputWindow.TabIndex = 0; this._outputWindow.TabStop = false; this._outputWindow.Text = ""; // // _mainMenu // this._mainMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this._fileMenu, this.editToolStripMenuItem, this._buildMenu, this._helpMenu }); this._mainMenu.Location = new System.Drawing.Point(0, 0); this._mainMenu.Name = "_mainMenu"; this._mainMenu.Size = new System.Drawing.Size(784, 24); this._mainMenu.TabIndex = 0; this._mainMenu.Text = "menuStrip1"; this._mainMenu.MenuActivate += new System.EventHandler(this.MainMenuMenuActivate); // // _fileMenu // this._fileMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this._newProjectMenuItem, this._openProjectMenuItem, this._openRecentMenuItem, this._closeMenuItem, this.toolStripSeparator3, this._importProjectMenuItem, _toolStripSeparator3, this._saveMenuItem, this._saveAsMenuItem, _toolStripSeparator1, this._exitMenuItem }); this._fileMenu.Name = "_fileMenu"; this._fileMenu.Size = new System.Drawing.Size(37, 20); this._fileMenu.Text = "&File"; // // _newProjectMenuItem // this._newProjectMenuItem.Name = "_newProjectMenuItem"; this._newProjectMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.N))); this._newProjectMenuItem.Size = new System.Drawing.Size(182, 22); this._newProjectMenuItem.Text = "New..."; this._newProjectMenuItem.Click += new System.EventHandler(this.OnNewProjectClick); // // _openProjectMenuItem // this._openProjectMenuItem.Name = "_openProjectMenuItem"; this._openProjectMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O))); this._openProjectMenuItem.Size = new System.Drawing.Size(182, 22); this._openProjectMenuItem.Text = "Open..."; this._openProjectMenuItem.Click += new System.EventHandler(this.OnOpenProjectClick); // // _closeMenuItem // this._closeMenuItem.Name = "_closeMenuItem"; this._closeMenuItem.Size = new System.Drawing.Size(182, 22); this._closeMenuItem.Text = "Close"; this._closeMenuItem.Click += new System.EventHandler(this.OnCloseProjectClick); // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Size = new System.Drawing.Size(179, 6); // // _importProjectMenuItem // this._importProjectMenuItem.Name = "_importProjectMenuItem"; this._importProjectMenuItem.Size = new System.Drawing.Size(182, 22); this._importProjectMenuItem.Text = "Import..."; this._importProjectMenuItem.Click += new System.EventHandler(this.OnImportProjectClick); // // _saveMenuItem // this._saveMenuItem.Name = "_saveMenuItem"; this._saveMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S))); this._saveMenuItem.Size = new System.Drawing.Size(182, 22); this._saveMenuItem.Text = "&Save"; this._saveMenuItem.Click += new System.EventHandler(this.OnSaveProjectClick); // // _saveAsMenuItem // this._saveAsMenuItem.Name = "_saveAsMenuItem"; this._saveAsMenuItem.Size = new System.Drawing.Size(182, 22); this._saveAsMenuItem.Text = "Save &As..."; this._saveAsMenuItem.Click += new System.EventHandler(this.OnSaveAsProjectClick); // // _exitMenuItem // this._exitMenuItem.Name = "_exitMenuItem"; this._exitMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.F4))); this._exitMenuItem.Size = new System.Drawing.Size(182, 22); this._exitMenuItem.Text = "E&xit"; this._exitMenuItem.Click += new System.EventHandler(this.ExitMenuItemClick); // // editToolStripMenuItem // this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this._undoMenuItem, this._redoMenuItem, this.toolStripSeparator2, this._newItemMenuItem, this._addItemMenuItem, this.toolStripSeparator1, this._deleteMenuItem }); this.editToolStripMenuItem.Name = "editToolStripMenuItem"; this.editToolStripMenuItem.Size = new System.Drawing.Size(39, 20); this.editToolStripMenuItem.Text = "&Edit"; // // _undoMenuItem // this._undoMenuItem.Enabled = false; this._undoMenuItem.Name = "_undoMenuItem"; this._undoMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Z))); this._undoMenuItem.Size = new System.Drawing.Size(144, 22); this._undoMenuItem.Text = "Undo"; this._undoMenuItem.Click += new System.EventHandler(this.OnUndoClick); // // _redoMenuItem // this._redoMenuItem.Enabled = false; this._redoMenuItem.Name = "_redoMenuItem"; this._redoMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Y))); this._redoMenuItem.Size = new System.Drawing.Size(144, 22); this._redoMenuItem.Text = "Redo"; this._redoMenuItem.Click += new System.EventHandler(this.OnRedoClick); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Size = new System.Drawing.Size(141, 6); // // _newItemMenuItem // this._newItemMenuItem.Name = "_newItemMenuItem"; this._newItemMenuItem.Size = new System.Drawing.Size(144, 22); this._newItemMenuItem.Text = "&New Item..."; this._newItemMenuItem.Click += new System.EventHandler(this.OnNewItemClick); // // _addItemMenuItem // this._addItemMenuItem.Name = "_addItemMenuItem"; this._addItemMenuItem.Size = new System.Drawing.Size(144, 22); this._addItemMenuItem.Text = "&Add Item..."; this._addItemMenuItem.Click += new System.EventHandler(this.OnAddItemClick); // // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; this.toolStripSeparator1.Size = new System.Drawing.Size(141, 6); // // _deleteMenuItem // this._deleteMenuItem.Name = "_deleteMenuItem"; this._deleteMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Delete; this._deleteMenuItem.Size = new System.Drawing.Size(144, 22); this._deleteMenuItem.Text = "&Delete"; this._deleteMenuItem.Click += new System.EventHandler(this.OnDeleteItemClick); // // _buildMenu // this._buildMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this._buildMenuItem, this._rebuildMenuItem, this._cleanMenuItem, this.toolStripSeparator5, this._debuggerMenuItem, this._cancelBuildSeparator, this._cancelBuildMenuItem }); this._buildMenu.Name = "_buildMenu"; this._buildMenu.Size = new System.Drawing.Size(46, 20); this._buildMenu.Text = "&Build"; // // _buildMenuItem // this._buildMenuItem.Name = "_buildMenuItem"; this._buildMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F6; this._buildMenuItem.Size = new System.Drawing.Size(173, 22); this._buildMenuItem.Text = "&Build"; this._buildMenuItem.Click += new System.EventHandler(this.BuildMenuItemClick); // // _rebuildMenuItem // this._rebuildMenuItem.Name = "_rebuildMenuItem"; this._rebuildMenuItem.Size = new System.Drawing.Size(173, 22); this._rebuildMenuItem.Text = "&Rebuild"; this._rebuildMenuItem.Click += new System.EventHandler(this.RebuildMenuItemClick); // // _cleanMenuItem // this._cleanMenuItem.Name = "_cleanMenuItem"; this._cleanMenuItem.Size = new System.Drawing.Size(173, 22); this._cleanMenuItem.Text = "&Clean"; this._cleanMenuItem.Click += new System.EventHandler(this.CleanMenuItemClick); // // toolStripSeparator5 // this.toolStripSeparator5.Name = "toolStripSeparator5"; this.toolStripSeparator5.Size = new System.Drawing.Size(170, 6); // // _debuggerMenuItem // this._debuggerMenuItem.CheckOnClick = true; this._debuggerMenuItem.Name = "_debuggerMenuItem"; this._debuggerMenuItem.Size = new System.Drawing.Size(173, 22); this._debuggerMenuItem.Text = "Debug Mode"; // // _cancelBuildSeparator // this._cancelBuildSeparator.Name = "_cancelBuildSeparator"; this._cancelBuildSeparator.Size = new System.Drawing.Size(170, 6); this._cancelBuildSeparator.Visible = false; // // _cancelBuildMenuItem // this._cancelBuildMenuItem.Name = "_cancelBuildMenuItem"; this._cancelBuildMenuItem.ShortcutKeyDisplayString = "Ctrl+Break"; this._cancelBuildMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Pause))); this._cancelBuildMenuItem.Size = new System.Drawing.Size(173, 22); this._cancelBuildMenuItem.Text = "Cancel"; this._cancelBuildMenuItem.Visible = false; this._cancelBuildMenuItem.Click += new System.EventHandler(this.CancelBuildMenuItemClick); // // _helpMenu // this._helpMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this._viewHelpMenuItem, _toolStripSeparator2, this._aboutMenuItem }); this._helpMenu.Name = "_helpMenu"; this._helpMenu.Size = new System.Drawing.Size(44, 20); this._helpMenu.Text = "&Help"; // // _viewHelpMenuItem // this._viewHelpMenuItem.Name = "_viewHelpMenuItem"; this._viewHelpMenuItem.ShortcutKeys = System.Windows.Forms.Keys.F1; this._viewHelpMenuItem.Size = new System.Drawing.Size(146, 22); this._viewHelpMenuItem.Text = "&View Help"; this._viewHelpMenuItem.Click += new System.EventHandler(this.ViewHelpMenuItemClick); // // _aboutMenuItem // this._aboutMenuItem.Name = "_aboutMenuItem"; this._aboutMenuItem.Size = new System.Drawing.Size(146, 22); this._aboutMenuItem.Text = "&About..."; this._aboutMenuItem.Click += new System.EventHandler(this.AboutMenuItemClick); // // _treeContextMenu // this._treeContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this._treeNewItemMenuItem, this._treeAddItemMenuItem, this._treeDeleteMenuItem, this.toolStripSeparator6, this._treeOpenFileMenuItem, this._treeOpenFileLocationMenuItem, this.toolStripSeparator4, this._treeRebuildMenuItem }); this._treeContextMenu.Name = "itemContextMenu"; this._treeContextMenu.Size = new System.Drawing.Size(174, 148); this._treeContextMenu.Opening += new System.ComponentModel.CancelEventHandler(this.MainMenuMenuActivate); // // _treeNewItemMenuItem // this._treeNewItemMenuItem.Name = "_treeNewItemMenuItem"; this._treeNewItemMenuItem.Size = new System.Drawing.Size(173, 22); this._treeNewItemMenuItem.Text = "New Item..."; this._treeNewItemMenuItem.Click += new System.EventHandler(this.OnNewItemClick); // // _treeAddItemMenuItem // this._treeAddItemMenuItem.Name = "_treeAddItemMenuItem"; this._treeAddItemMenuItem.Size = new System.Drawing.Size(173, 22); this._treeAddItemMenuItem.Text = "&Add Item..."; this._treeAddItemMenuItem.Click += new System.EventHandler(this.OnAddItemClick); // // _treeDeleteMenuItem // this._treeDeleteMenuItem.Name = "_treeDeleteMenuItem"; this._treeDeleteMenuItem.ShortcutKeys = System.Windows.Forms.Keys.Delete; this._treeDeleteMenuItem.Size = new System.Drawing.Size(173, 22); this._treeDeleteMenuItem.Text = "&Delete"; this._treeDeleteMenuItem.Click += new System.EventHandler(this.OnDeleteItemClick); // // toolStripSeparator6 // this.toolStripSeparator6.Name = "toolStripSeparator6"; this.toolStripSeparator6.Size = new System.Drawing.Size(170, 6); // // _treeOpenFileMenuItem // this._treeOpenFileMenuItem.Name = "_treeOpenFileMenuItem"; this._treeOpenFileMenuItem.Size = new System.Drawing.Size(173, 22); this._treeOpenFileMenuItem.Text = "Open File"; this._treeOpenFileMenuItem.Click += new System.EventHandler(this.ContextMenu_OpenFile_Click); // // _treeOpenFileLocationMenuItem // this._treeOpenFileLocationMenuItem.Name = "_treeOpenFileLocationMenuItem"; this._treeOpenFileLocationMenuItem.Size = new System.Drawing.Size(173, 22); this._treeOpenFileLocationMenuItem.Text = "Open File Location"; this._treeOpenFileLocationMenuItem.Click += new System.EventHandler(this.ContextMenu_OpenFileLocation_Click); // // toolStripSeparator4 // this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.Size = new System.Drawing.Size(170, 6); // // _treeRebuildMenuItem // this._treeRebuildMenuItem.Name = "_treeRebuildMenuItem"; this._treeRebuildMenuItem.Size = new System.Drawing.Size(173, 22); this._treeRebuildMenuItem.Text = "Rebuild"; this._treeRebuildMenuItem.Click += new System.EventHandler(this.RebuildItemsMenuItemClick); // // _treeView // this._treeView.Dock = System.Windows.Forms.DockStyle.Fill; this._treeView.Location = new System.Drawing.Point(0, 0); this._treeView.Name = "_treeView"; this._treeView.Size = new System.Drawing.Size(249, 210); this._treeView.TabIndex = 0; this._treeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.TreeViewAfterSelect); this._treeView.MouseUp += new System.Windows.Forms.MouseEventHandler(this.TreeViewMouseUp); // // _openRecentMenuItem // this._openRecentMenuItem.Name = "_openRecentMenuItem"; this._openRecentMenuItem.Size = new System.Drawing.Size(182, 22); this._openRecentMenuItem.Text = "Open Recent"; // // MainView // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(784, 561); this.Controls.Add(_splitEditorOutput); this.Controls.Add(this._mainMenu); this.MainMenuStrip = this._mainMenu; this.MinimumSize = new System.Drawing.Size(320, 240); this.Name = "MainView"; this.Text = "MonoGame Pipeline"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainView_FormClosing); this.Load += new System.EventHandler(this.MainView_Load); this.Shown += new System.EventHandler(this.MainView_Shown); _splitTreeProps.Panel1.ResumeLayout(false); _splitTreeProps.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(_splitTreeProps)).EndInit(); _splitTreeProps.ResumeLayout(false); _splitEditorOutput.Panel1.ResumeLayout(false); _splitEditorOutput.Panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(_splitEditorOutput)).EndInit(); _splitEditorOutput.ResumeLayout(false); this._mainMenu.ResumeLayout(false); this._mainMenu.PerformLayout(); this._treeContextMenu.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }