/// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     okBtn_           = new System.Windows.Forms.Button();
     cancelBtn_       = new System.Windows.Forms.Button();
     buttonsPn_       = new System.Windows.Forms.Panel();
     applyBtn_        = new System.Windows.Forms.Button();
     itemNameLb_      = new System.Windows.Forms.Label();
     topPn_           = new System.Windows.Forms.Panel();
     maxElementsCtrl_ = new System.Windows.Forms.NumericUpDown();
     maxElementsLb_   = new System.Windows.Forms.Label();
     dataTypeCtrl_    = new SampleClients.Common.DataTypeCtrl();
     dataTypeLb_      = new System.Windows.Forms.Label();
     itemNameTb_      = new System.Windows.Forms.TextBox();
     mainPn_          = new System.Windows.Forms.Panel();
     browseFiltersLv_ = new System.Windows.Forms.ListView();
     popupMenu_       = new System.Windows.Forms.ContextMenuStrip();
     addMi_           = new System.Windows.Forms.ToolStripMenuItem();
     removeMi_        = new System.Windows.Forms.ToolStripMenuItem();
     buttonsPn_.SuspendLayout();
     topPn_.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(maxElementsCtrl_)).BeginInit();
     mainPn_.SuspendLayout();
     SuspendLayout();
     //
     // OkBTN
     //
     okBtn_.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     okBtn_.Location = new System.Drawing.Point(4, 8);
     okBtn_.Name     = "okBtn_";
     okBtn_.TabIndex = 1;
     okBtn_.Text     = "OK";
     okBtn_.Click   += new System.EventHandler(OkBTN_Click);
     //
     // CancelBTN
     //
     cancelBtn_.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     cancelBtn_.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     cancelBtn_.Location     = new System.Drawing.Point(248, 8);
     cancelBtn_.Name         = "cancelBtn_";
     cancelBtn_.TabIndex     = 0;
     cancelBtn_.Text         = "Cancel";
     cancelBtn_.Click       += new System.EventHandler(CancelBTN_Click);
     //
     // ButtonsPN
     //
     buttonsPn_.Controls.Add(applyBtn_);
     buttonsPn_.Controls.Add(cancelBtn_);
     buttonsPn_.Controls.Add(okBtn_);
     buttonsPn_.Dock     = System.Windows.Forms.DockStyle.Bottom;
     buttonsPn_.Location = new System.Drawing.Point(4, 218);
     buttonsPn_.Name     = "buttonsPn_";
     buttonsPn_.Size     = new System.Drawing.Size(328, 36);
     buttonsPn_.TabIndex = 0;
     //
     // ApplyBTN
     //
     applyBtn_.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)));
     applyBtn_.Location = new System.Drawing.Point(127, 7);
     applyBtn_.Name     = "applyBtn_";
     applyBtn_.TabIndex = 2;
     applyBtn_.Text     = "Apply";
     applyBtn_.Click   += new System.EventHandler(ApplyBTN_Click);
     //
     // ItemNameLB
     //
     itemNameLb_.Location  = new System.Drawing.Point(8, 0);
     itemNameLb_.Name      = "itemNameLb_";
     itemNameLb_.Size      = new System.Drawing.Size(80, 23);
     itemNameLb_.TabIndex  = 0;
     itemNameLb_.Text      = "Item Name";
     itemNameLb_.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // TopPN
     //
     topPn_.Controls.Add(maxElementsCtrl_);
     topPn_.Controls.Add(maxElementsLb_);
     topPn_.Controls.Add(dataTypeCtrl_);
     topPn_.Controls.Add(dataTypeLb_);
     topPn_.Controls.Add(itemNameTb_);
     topPn_.Controls.Add(itemNameLb_);
     topPn_.Dock     = System.Windows.Forms.DockStyle.Top;
     topPn_.Location = new System.Drawing.Point(4, 4);
     topPn_.Name     = "topPn_";
     topPn_.Size     = new System.Drawing.Size(328, 72);
     topPn_.TabIndex = 32;
     //
     // MaxElementsCTRL
     //
     maxElementsCtrl_.Location = new System.Drawing.Point(88, 49);
     maxElementsCtrl_.Maximum  = new System.Decimal(new int[] {
         2147483647,
         0,
         0,
         0
     });
     maxElementsCtrl_.Name     = "maxElementsCtrl_";
     maxElementsCtrl_.TabIndex = 14;
     //
     // MaxElementsLB
     //
     maxElementsLb_.Location  = new System.Drawing.Point(8, 48);
     maxElementsLb_.Name      = "maxElementsLb_";
     maxElementsLb_.Size      = new System.Drawing.Size(80, 23);
     maxElementsLb_.TabIndex  = 13;
     maxElementsLb_.Text      = "Max Items";
     maxElementsLb_.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // DataTypeCTRL
     //
     dataTypeCtrl_.Location     = new System.Drawing.Point(88, 24);
     dataTypeCtrl_.Name         = "dataTypeCtrl_";
     dataTypeCtrl_.SelectedType = null;
     dataTypeCtrl_.Size         = new System.Drawing.Size(120, 24);
     dataTypeCtrl_.TabIndex     = 12;
     //
     // DataTypeLB
     //
     dataTypeLb_.Location  = new System.Drawing.Point(8, 24);
     dataTypeLb_.Name      = "dataTypeLb_";
     dataTypeLb_.Size      = new System.Drawing.Size(80, 23);
     dataTypeLb_.TabIndex  = 11;
     dataTypeLb_.Text      = "Data Type";
     dataTypeLb_.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // ItemNameTB
     //
     itemNameTb_.Location = new System.Drawing.Point(88, 0);
     itemNameTb_.Name     = "itemNameTb_";
     itemNameTb_.Size     = new System.Drawing.Size(236, 20);
     itemNameTb_.TabIndex = 10;
     itemNameTb_.Text     = "";
     //
     // MainPN
     //
     mainPn_.Controls.Add(browseFiltersLv_);
     mainPn_.Dock = System.Windows.Forms.DockStyle.Fill;
     mainPn_.DockPadding.Bottom = 4;
     mainPn_.DockPadding.Top    = 4;
     mainPn_.Location           = new System.Drawing.Point(4, 76);
     mainPn_.Name     = "mainPn_";
     mainPn_.Size     = new System.Drawing.Size(328, 142);
     mainPn_.TabIndex = 33;
     //
     // BrowseFiltersLV
     //
     browseFiltersLv_.ContextMenuStrip = popupMenu_;
     browseFiltersLv_.Dock             = System.Windows.Forms.DockStyle.Fill;
     browseFiltersLv_.FullRowSelect    = true;
     browseFiltersLv_.Location         = new System.Drawing.Point(0, 4);
     browseFiltersLv_.MultiSelect      = false;
     browseFiltersLv_.Name             = "browseFiltersLv_";
     browseFiltersLv_.Size             = new System.Drawing.Size(328, 134);
     browseFiltersLv_.TabIndex         = 0;
     browseFiltersLv_.View             = System.Windows.Forms.View.Details;
     //
     // PopupMenu
     //
     popupMenu_.Items.AddRange(new System.Windows.Forms.ToolStripMenuItem[] {
         addMi_,
         removeMi_
     });
     //
     // AddMI
     //
     addMi_.ImageIndex = 0;
     addMi_.Text       = "&Add";
     addMi_.Click     += new System.EventHandler(AddMI_Click);
     //
     // RemoveMI
     //
     removeMi_.ImageIndex = 1;
     removeMi_.Text       = "&Remove";
     removeMi_.Click     += new System.EventHandler(RemoveMI_Click);
     //
     // BrowseFiltersDlg
     //
     AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     ClientSize        = new System.Drawing.Size(336, 254);
     Controls.Add(mainPn_);
     Controls.Add(buttonsPn_);
     Controls.Add(topPn_);
     DockPadding.Left  = 4;
     DockPadding.Right = 4;
     DockPadding.Top   = 4;
     Name          = "BrowseFiltersDlg";
     StartPosition = System.Windows.Forms.FormStartPosition.Manual;
     Text          = "Browse Filters";
     buttonsPn_.ResumeLayout(false);
     topPn_.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(maxElementsCtrl_)).EndInit();
     mainPn_.ResumeLayout(false);
     ResumeLayout(false);
 }
Пример #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     ValueTB      = new System.Windows.Forms.TextBox();
     DateTimeCTRL = new System.Windows.Forms.DateTimePicker();
     EditBTN      = new System.Windows.Forms.Button();
     LeftPN       = new System.Windows.Forms.Panel();
     EditPN       = new System.Windows.Forms.Panel();
     MainPN       = new System.Windows.Forms.Panel();
     DataTypeCTRL = new DataTypeCtrl();
     LeftPN.SuspendLayout();
     EditPN.SuspendLayout();
     MainPN.SuspendLayout();
     SuspendLayout();
     //
     // ValueTB
     //
     ValueTB.Dock     = System.Windows.Forms.DockStyle.Fill;
     ValueTB.Location = new System.Drawing.Point(0, 0);
     ValueTB.Name     = "ValueTB";
     ValueTB.Size     = new System.Drawing.Size(120, 20);
     ValueTB.TabIndex = 0;
     ValueTB.Text     = "";
     //
     // DateTimeCTRL
     //
     DateTimeCTRL.CustomFormat = "yyyy/MM/dd HH:mm:ss";
     DateTimeCTRL.Dock         = System.Windows.Forms.DockStyle.Fill;
     DateTimeCTRL.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     DateTimeCTRL.Location     = new System.Drawing.Point(0, 0);
     DateTimeCTRL.Name         = "DateTimeCTRL";
     DateTimeCTRL.ShowUpDown   = true;
     DateTimeCTRL.Size         = new System.Drawing.Size(120, 20);
     DateTimeCTRL.TabIndex     = 1;
     DateTimeCTRL.Visible      = false;
     //
     // EditBTN
     //
     EditBTN.Dock      = System.Windows.Forms.DockStyle.Fill;
     EditBTN.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     EditBTN.Location  = new System.Drawing.Point(4, 0);
     EditBTN.Name      = "EditBTN";
     EditBTN.Size      = new System.Drawing.Size(24, 20);
     EditBTN.TabIndex  = 0;
     EditBTN.Text      = "...";
     EditBTN.Click    += new System.EventHandler(EditBTN_Click);
     //
     // LeftPN
     //
     LeftPN.Controls.Add(DateTimeCTRL);
     LeftPN.Controls.Add(ValueTB);
     LeftPN.Controls.Add(EditPN);
     LeftPN.Dock     = System.Windows.Forms.DockStyle.Fill;
     LeftPN.Location = new System.Drawing.Point(0, 0);
     LeftPN.Name     = "LeftPN";
     LeftPN.Size     = new System.Drawing.Size(152, 20);
     LeftPN.TabIndex = 0;
     //
     // EditPN
     //
     EditPN.Controls.Add(EditBTN);
     EditPN.Dock              = System.Windows.Forms.DockStyle.Right;
     EditPN.DockPadding.Left  = 4;
     EditPN.DockPadding.Right = 4;
     EditPN.Location          = new System.Drawing.Point(120, 0);
     EditPN.Name              = "EditPN";
     EditPN.Size              = new System.Drawing.Size(32, 20);
     EditPN.TabIndex          = 2;
     EditPN.Visible           = false;
     //
     // MainPN
     //
     MainPN.Controls.Add(LeftPN);
     MainPN.Controls.Add(DataTypeCTRL);
     MainPN.Dock     = System.Windows.Forms.DockStyle.Fill;
     MainPN.Location = new System.Drawing.Point(0, 0);
     MainPN.Name     = "MainPN";
     MainPN.Size     = new System.Drawing.Size(240, 20);
     MainPN.TabIndex = 27;
     //
     // DataTypeCTRL
     //
     DataTypeCTRL.Dock         = System.Windows.Forms.DockStyle.Right;
     DataTypeCTRL.Location     = new System.Drawing.Point(152, 0);
     DataTypeCTRL.Name         = "DataTypeCTRL";
     DataTypeCTRL.SelectedType = null;
     DataTypeCTRL.Size         = new System.Drawing.Size(88, 20);
     DataTypeCTRL.TabIndex     = 1;
     //
     // ValueCtrl
     //
     Controls.Add(MainPN);
     Name = "ValueCtrl";
     Size = new System.Drawing.Size(240, 20);
     LeftPN.ResumeLayout(false);
     EditPN.ResumeLayout(false);
     MainPN.ResumeLayout(false);
     ResumeLayout(false);
 }