Ejemplo n.º 1
0
		/// <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()
		{
			this.comboBox1 = new System.Windows.Forms.ComboBox();
			this.label1 = new System.Windows.Forms.Label();
			this.SuspendLayout();
			// 
			// comboBox1
			// 
			this.comboBox1.FormattingEnabled = true;
			this.comboBox1.Location = new System.Drawing.Point(117, 12);
			this.comboBox1.Name = "comboBox1";
			this.comboBox1.Size = new System.Drawing.Size(252, 21);
			this.comboBox1.TabIndex = 11;
			this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.ComboBox1SelectedIndexChanged);
			// 
			// label1
			// 
			this.label1.Location = new System.Drawing.Point(12, 12);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(100, 23);
			this.label1.TabIndex = 12;
			this.label1.Text = "Таблицы:";
			// 
			// Annex1
			// 
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.ClientSize = new System.Drawing.Size(582, 340);
			this.Controls.Add(this.label1);
			this.Controls.Add(this.comboBox1);
			this.Name = "Annex1";
			this.Text = "Annex1";
			this.ResumeLayout(false);

		}
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.comboBox1 = new System.Windows.Forms.ComboBox();
     this.SuspendLayout();
     //
     // comboBox1
     //
     this.comboBox1.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.comboBox1.DisplayMember = "Caption";
     this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox1.FormattingEnabled = true;
     this.comboBox1.Location = new System.Drawing.Point(0, 0);
     this.comboBox1.Margin = new System.Windows.Forms.Padding(0);
     this.comboBox1.Name = "comboBox1";
     this.comboBox1.Size = new System.Drawing.Size(197, 21);
     this.comboBox1.TabIndex = 0;
     this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
     //
     // ExcelListWindows
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.comboBox1);
     this.Name = "ExcelListWindows";
     this.Size = new System.Drawing.Size(197, 21);
     this.Load += new System.EventHandler(this.ExcelListWindows_Load);
     this.ResumeLayout(false);
 }
Ejemplo n.º 3
0
 public override void _initControl()
 {
     if (null == mComboBox || mComboBox.IsDisposed)
     {
         mComboBox = new System.Windows.Forms.ComboBox();
         mComboBox.Enabled = mEnable;
         if (null != mSize)
         {
             mComboBox.Size = new Size(mSize._getWidth(), mSize._getHeight());
         }
         int x_ = mPoint._getX();
         int y_ = mPoint._getY();
         mComboBox.Location = new Point(x_, y_);
         if (null != m_tSelectTextSlot)
         {
             mComboBox.SelectedText = this.m_tSelectTextSlot();
         }
         foreach (ComboBoxItem i in mComboBoxItems)
         {
             string name_ = i._getName();
             ICommand command_ = i._getCommand();
             mCommands.Add(command_);
             mComboBox.Items.Add(name_);
         }
         mComboBox.SelectionChangeCommitted += this._selectionChangeCommitted;
     }
 }
Ejemplo n.º 4
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.comboBox1 = new System.Windows.Forms.ComboBox();
     this.SuspendLayout();
     //
     // comboBox1
     //
     this.comboBox1.FormattingEnabled = true;
     this.comboBox1.Location = new System.Drawing.Point(0, 0);
     this.comboBox1.Name = "comboBox1";
     this.comboBox1.Size = new System.Drawing.Size(442, 21);
     this.comboBox1.TabIndex = 0;
     this.comboBox1.Text = "Введите название услуги";
     this.comboBox1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.comboBox1_MouseDoubleClick);
     this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
     this.comboBox1.Enter += new System.EventHandler(this.comboBox1_Enter);
     this.comboBox1.KeyUp += new System.Windows.Forms.KeyEventHandler(this.searchPatientComboBox1_KeyUp);
     //
     // SearchReestrBox
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.comboBox1);
     this.Name = "SearchReestrBox";
     this.Size = new System.Drawing.Size(443, 22);
     this.ResumeLayout(false);
 }
Ejemplo n.º 5
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.comboBox1 = new System.Windows.Forms.ComboBox();
     this.label1 = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // comboBox1
     //
     this.comboBox1.FormattingEnabled = true;
     this.comboBox1.Location = new System.Drawing.Point(37, 2);
     this.comboBox1.Name = "comboBox1";
     this.comboBox1.Size = new System.Drawing.Size(129, 21);
     this.comboBox1.TabIndex = 0;
     //
     // label1
     //
     this.label1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.label1.Location = new System.Drawing.Point(3, 0);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(28, 23);
     this.label1.TabIndex = 1;
     this.label1.Text = "0";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // MappedDataTypeCtrl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.label1);
     this.Controls.Add(this.comboBox1);
     this.Name = "MappedDataTypeCtrl";
     this.Size = new System.Drawing.Size(172, 27);
     this.ResumeLayout(false);
 }
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.combo = new System.Windows.Forms.ComboBox();
     this.SuspendLayout();
     //
     // combo
     //
     this.combo.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
     this.combo.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
     this.combo.Dock = System.Windows.Forms.DockStyle.Fill;
     this.combo.DropDownWidth = 189;
     this.combo.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.combo.FormattingEnabled = true;
     this.combo.Location = new System.Drawing.Point(0, 0);
     this.combo.Name = "combo";
     this.combo.Size = new System.Drawing.Size(189, 28);
     this.combo.TabIndex = 0;
     this.combo.KeyDown += new System.Windows.Forms.KeyEventHandler(this.combo_KeyDown);
     this.combo.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.combo_KeyPress);
     //
     // ucDropDownList
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.combo);
     this.Name = "ucDropDownList";
     this.Size = new System.Drawing.Size(189, 28);
     this.Enter += new System.EventHandler(this.ucDropDownList_Enter);
     this.ResumeLayout(false);
 }
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.Label label1;
     this.newTekConsumerBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.comboBox5 = new System.Windows.Forms.ComboBox();
     this.toolTip = new System.Windows.Forms.ToolTip(this.components);
     label1 = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.newTekConsumerBindingSource)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     label1.AutoSize = true;
     label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(190)))), ((int)(((byte)(190)))), ((int)(((byte)(190)))));
     label1.Location = new System.Drawing.Point(12, 10);
     label1.Name = "label1";
     label1.Size = new System.Drawing.Size(87, 13);
     label1.TabIndex = 17;
     label1.Text = "Channel Layout";
     //
     // newTekConsumerBindingSource
     //
     this.newTekConsumerBindingSource.AllowNew = false;
     this.newTekConsumerBindingSource.DataSource = typeof(CasparCGFrontend.DecklinkConsumer);
     //
     // comboBox5
     //
     this.comboBox5.DataBindings.Add(new System.Windows.Forms.Binding("SelectedItem", this.newTekConsumerBindingSource, "ChannelLayout", true));
     this.comboBox5.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox5.FormattingEnabled = true;
     this.comboBox5.Items.AddRange(new object[] {
     "mono",
     "stereo",
     "dts",
     "dolbye",
     "dolbydigital",
     "smpte",
     "passthru"});
     this.comboBox5.Location = new System.Drawing.Point(105, 7);
     this.comboBox5.Name = "comboBox5";
     this.comboBox5.Size = new System.Drawing.Size(121, 21);
     this.comboBox5.TabIndex = 18;
     this.toolTip.SetToolTip(this.comboBox5, "This is the audio channels configuration. Passthru will pass 16 channels of audio" +
     " withour modifying it. More information: http://casparcg.com/wiki/Content_/_Medi" +
     "a#Audio Default is Stereo.");
     //
     // NewTekIVGAConsumerControl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.Controls.Add(this.comboBox5);
     this.Controls.Add(label1);
     this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name = "NewTekIVGAConsumerControl";
     ((System.ComponentModel.ISupportInitialize)(this.newTekConsumerBindingSource)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
		private void InitializeComponent()
		{
			_pathComboBox = new System.Windows.Forms.ComboBox();
			_browseButton = new System.Windows.Forms.Button();
			this.SuspendLayout();
			// 
			// pathComboBox
			// 
			_pathComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
				| System.Windows.Forms.AnchorStyles.Right)));
			_pathComboBox.Location = new System.Drawing.Point(0, 2);
			_pathComboBox.Name = "pathComboBox";
			_pathComboBox.Size = new System.Drawing.Size(211, 21);
			_pathComboBox.TabIndex = 0;
			// 
			// browseButton
			// 
			_browseButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			_browseButton.FlatStyle = System.Windows.Forms.FlatStyle.System;
			_browseButton.Location = new System.Drawing.Point(217, 1);
			_browseButton.Name = "browseButton";
			_browseButton.Size = new System.Drawing.Size(32, 23);
			_browseButton.TabIndex = 1;
			_browseButton.Click += new System.EventHandler(this.browseButton_Click);
			// 
			// NuGenFileSelector
			// 
			this.Controls.Add(_browseButton);
			this.Controls.Add(_pathComboBox);
			this.Size = new System.Drawing.Size(250, 25);
			this.ResumeLayout(false);
		}
 /// <summary> 
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.cmbClass = new System.Windows.Forms.ComboBox();
     this.SuspendLayout();
     //
     // cmbClass
     //
     this.cmbClass.Dock = System.Windows.Forms.DockStyle.Fill;
     this.cmbClass.FormattingEnabled = true;
     this.cmbClass.Location = new System.Drawing.Point(0, 0);
     this.cmbClass.Margin = new System.Windows.Forms.Padding(4);
     this.cmbClass.Name = "cmbClass";
     this.cmbClass.Size = new System.Drawing.Size(146, 29);
     this.cmbClass.TabIndex = 0;
     //
     // ComboBoxClass
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 21F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.cmbClass);
     this.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.Margin = new System.Windows.Forms.Padding(5);
     this.Name = "ComboBoxClass";
     this.Size = new System.Drawing.Size(146, 32);
     this.ResumeLayout(false);
 }
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ServerEncryptionBox));
     this.comboBox = new System.Windows.Forms.ComboBox();
     this.label5 = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // comboBox
     //
     resources.ApplyResources(this.comboBox, "comboBox");
     this.comboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox.FormattingEnabled = true;
     this.comboBox.Name = "comboBox";
     this.comboBox.Sorted = true;
     //
     // label5
     //
     resources.ApplyResources(this.label5, "label5");
     this.label5.Name = "label5";
     //
     // ServerEncryptionBox
     //
     resources.ApplyResources(this, "$this");
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.comboBox);
     this.Controls.Add(this.label5);
     this.MaximumSize = new System.Drawing.Size(352, 37);
     this.MinimumSize = new System.Drawing.Size(50, 37);
     this.Name = "ServerEncryptionBox";
     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.label1 = new System.Windows.Forms.Label();
     this.comboBox1 = new System.Windows.Forms.ComboBox();
     this.button1 = new System.Windows.Forms.Button();
     this.button2 = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(13, 13);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(129, 13);
     this.label1.TabIndex = 0;
     this.label1.Text = "Output format for textures:";
     //
     // comboBox1
     //
     this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox1.FormattingEnabled = true;
     this.comboBox1.Location = new System.Drawing.Point(12, 30);
     this.comboBox1.Name = "comboBox1";
     this.comboBox1.Size = new System.Drawing.Size(268, 21);
     this.comboBox1.TabIndex = 1;
     //
     // button1
     //
     this.button1.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.button1.Location = new System.Drawing.Point(200, 57);
     this.button1.Name = "button1";
     this.button1.Size = new System.Drawing.Size(80, 23);
     this.button1.TabIndex = 2;
     this.button1.Text = "Cancel";
     this.button1.UseVisualStyleBackColor = true;
     //
     // button2
     //
     this.button2.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.button2.Location = new System.Drawing.Point(114, 57);
     this.button2.Name = "button2";
     this.button2.Size = new System.Drawing.Size(80, 23);
     this.button2.TabIndex = 3;
     this.button2.Text = "OK";
     this.button2.UseVisualStyleBackColor = true;
     //
     // ExportAllAskFormat
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(292, 92);
     this.Controls.Add(this.button2);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.comboBox1);
     this.Controls.Add(this.label1);
     this.Name = "ExportAllAskFormat";
     this.Text = "Export All";
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 12
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.label3 = new System.Windows.Forms.Label();
     this.LblEntrar = new System.Windows.Forms.Label();
     this.CboRoles = new System.Windows.Forms.ComboBox();
     this.SuspendLayout();
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(40, 27);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(72, 13);
     this.label3.TabIndex = 11;
     this.label3.Text = "ROL A USAR";
     //
     // LblEntrar
     //
     this.LblEntrar.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(89)))), ((int)(((byte)(182)))));
     this.LblEntrar.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.LblEntrar.Cursor = System.Windows.Forms.Cursors.Hand;
     this.LblEntrar.ForeColor = System.Drawing.Color.White;
     this.LblEntrar.Location = new System.Drawing.Point(140, 107);
     this.LblEntrar.Name = "LblEntrar";
     this.LblEntrar.Size = new System.Drawing.Size(88, 32);
     this.LblEntrar.TabIndex = 6;
     this.LblEntrar.Text = "LISTO";
     this.LblEntrar.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     this.LblEntrar.Click += new System.EventHandler(this.LblEntrar_Click);
     //
     // CboRoles
     //
     this.CboRoles.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.CboRoles.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.CboRoles.FormattingEnabled = true;
     this.CboRoles.Location = new System.Drawing.Point(43, 43);
     this.CboRoles.Name = "CboRoles";
     this.CboRoles.Size = new System.Drawing.Size(296, 21);
     this.CboRoles.TabIndex = 12;
     //
     // FrmChooseRol
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(240)))), ((int)(((byte)(241)))));
     this.ClientSize = new System.Drawing.Size(372, 168);
     this.Controls.Add(this.CboRoles);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.LblEntrar);
     this.MaximizeBox = false;
     this.MaximumSize = new System.Drawing.Size(388, 206);
     this.MinimizeBox = false;
     this.MinimumSize = new System.Drawing.Size(388, 206);
     this.Name = "FrmChooseRol";
     this.Text = "FrbaCommerce - Elegir rol";
     this.Load += new System.EventHandler(this.FrmChooseRol_Load);
     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.cmbPorts = new System.Windows.Forms.ComboBox();
     this.label1 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.tbBaudRate = new System.Windows.Forms.TextBox();
     this.SuspendLayout();
     //
     // cmbPorts
     //
     this.cmbPorts.Location = new System.Drawing.Point(115, 24);
     this.cmbPorts.Name = "cmbPorts";
     this.cmbPorts.Size = new System.Drawing.Size(100, 21);
     this.cmbPorts.TabIndex = 0;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(4, 25);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(100, 20);
     this.label1.TabIndex = 5;
     this.label1.Text = "Serial port";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(4, 49);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(100, 20);
     this.label2.TabIndex = 4;
     this.label2.Text = "Baudrate";
     //
     // tbBaudRate
     //
     this.tbBaudRate.Location = new System.Drawing.Point(115, 53);
     this.tbBaudRate.Name = "tbBaudRate";
     this.tbBaudRate.Size = new System.Drawing.Size(100, 20);
     this.tbBaudRate.TabIndex = 3;
     this.tbBaudRate.Text = "4800";
     //
     // FrmGpsSettings
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
     this.ClientSize = new System.Drawing.Size(228, 87);
     this.Controls.Add(this.tbBaudRate);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.cmbPorts);
     this.MaximizeBox = false;
     this.MaximumSize = new System.Drawing.Size(244, 123);
     this.MinimizeBox = false;
     this.MinimumSize = new System.Drawing.Size(244, 123);
     this.Name = "FrmGpsSettings";
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text = "GPS Settings";
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ControlPartList));
     this.contextMenuPart = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.renameToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.deleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.toolTipNamespace = new System.Windows.Forms.ToolTip(this.components);
     this.labelDataSource = new System.Windows.Forms.Label();
     this.comboBoxPartList = new System.Windows.Forms.ComboBox();
     this.contextMenuPart.SuspendLayout();
     this.SuspendLayout();
     //
     // contextMenuPart
     //
     resources.ApplyResources(this.contextMenuPart, "contextMenuPart");
     this.contextMenuPart.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.renameToolStripMenuItem,
     this.deleteToolStripMenuItem});
     this.contextMenuPart.Name = "contextMenuPart";
     this.contextMenuPart.Opening += new System.ComponentModel.CancelEventHandler(this.contextMenuPart_Opening);
     //
     // renameToolStripMenuItem
     //
     this.renameToolStripMenuItem.Name = "renameToolStripMenuItem";
     resources.ApplyResources(this.renameToolStripMenuItem, "renameToolStripMenuItem");
     this.renameToolStripMenuItem.Click += new System.EventHandler(this.renameToolStripMenuItem_Click);
     //
     // deleteToolStripMenuItem
     //
     this.deleteToolStripMenuItem.Name = "deleteToolStripMenuItem";
     resources.ApplyResources(this.deleteToolStripMenuItem, "deleteToolStripMenuItem");
     this.deleteToolStripMenuItem.Click += new System.EventHandler(this.deleteToolStripMenuItem_Click);
     //
     // labelDataSource
     //
     resources.ApplyResources(this.labelDataSource, "labelDataSource");
     this.labelDataSource.Name = "labelDataSource";
     //
     // comboBoxPartList
     //
     resources.ApplyResources(this.comboBoxPartList, "comboBoxPartList");
     this.comboBoxPartList.ContextMenuStrip = this.contextMenuPart;
     this.comboBoxPartList.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxPartList.FormattingEnabled = true;
     this.comboBoxPartList.Name = "comboBoxPartList";
     this.comboBoxPartList.SelectedIndexChanged += new System.EventHandler(this.comboBoxPartList_SelectedIndexChanged);
     this.comboBoxPartList.MouseHover += new System.EventHandler(this.comboBoxPartList_MouseHover);
     //
     // ControlPartList
     //
     resources.ApplyResources(this, "$this");
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.comboBoxPartList);
     this.Controls.Add(this.labelDataSource);
     this.Name = "ControlPartList";
     this.contextMenuPart.ResumeLayout(false);
     this.ResumeLayout(false);
 }
        public void AddPanel()
        {
            int yCord = 0;

            tmpNumUpDown = new System.Windows.Forms.NumericUpDown();
            tmpComboBox = new System.Windows.Forms.ComboBox();
            tmpPanel = new System.Windows.Forms.Panel();

            // numericUpDown2
            //
            tmpNumUpDown.Location = new System.Drawing.Point(3, 3);
            tmpNumUpDown.Name = "numericUpDown";
            tmpNumUpDown.Size = new System.Drawing.Size(108, 20);
            tmpNumUpDown.TabIndex = 1;
            //
            // comboBox1
            //
            tmpComboBox.FormattingEnabled = true;
            tmpComboBox.Items.AddRange(new object[] {
                "AA(4.0)",
                "BA(3.5)",
                "BB(3.0)",
                "CB(2.5)",
                "CC(2.0)",
                "DC(1.5)",
                "DD(1.0)",
                "FD(0.5)",
                "FF,F0(0.0)"
            });
            tmpComboBox.Location = new System.Drawing.Point(132, 2);
            tmpComboBox.Name = "comboBox";
            tmpComboBox.SelectedIndex = 0;
            tmpComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            tmpComboBox.Size = new System.Drawing.Size(121, 21);
            tmpComboBox.TabIndex = 2;
            //
            // panel1
            //

            tmpPanel.Controls.Add(tmpComboBox);
            tmpPanel.Controls.Add(tmpNumUpDown);

            tmpPanel.Name = "panel";
            tmpPanel.Size = new System.Drawing.Size(256, 28);

            if (PanelList.Count > 0) {

                yCord = PanelList[PanelList.Count - 1].Location.Y;
                yCord += 30;
                tmpPanel.Location = new System.Drawing.Point(0, yCord);

            }
            else tmpPanel.Location = new System.Drawing.Point(0, 0);

            PanelList.Add(tmpPanel);
            GradeList.Add(tmpComboBox);
            CredictList.Add(tmpNumUpDown);
        }
Ejemplo n.º 16
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.label1 = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.comboBox1 = new System.Windows.Forms.ComboBox();
     this.comboBox2 = new System.Windows.Forms.ComboBox();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(653, 7);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(26, 13);
     this.label1.TabIndex = 4;
     this.label1.Text = "Tag";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(3, 7);
     this.label4.Name = "label4";
     this.label4.Padding = new System.Windows.Forms.Padding(0, 3, 0, 0);
     this.label4.Size = new System.Drawing.Size(191, 16);
     this.label4.TabIndex = 1;
     this.label4.Text = "error in getting plugin element name";
     //
     // comboBox1
     //
     this.comboBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox1.FormattingEnabled = true;
     this.comboBox1.Location = new System.Drawing.Point(263, 4);
     this.comboBox1.Name = "comboBox1";
     this.comboBox1.Size = new System.Drawing.Size(358, 21);
     this.comboBox1.TabIndex = 3;
     //
     // comboBox2
     //
     this.comboBox2.FormattingEnabled = true;
     this.comboBox2.Location = new System.Drawing.Point(200, 4);
     this.comboBox2.Name = "comboBox2";
     this.comboBox2.Size = new System.Drawing.Size(57, 21);
     this.comboBox2.TabIndex = 2;
     this.comboBox2.Text = "Type";
     //
     // Ident
     //
     this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.Controls.Add(this.label4);
     this.Controls.Add(this.comboBox1);
     this.Controls.Add(this.comboBox2);
     this.Controls.Add(this.label1);
     this.Name = "Ident";
     this.Padding = new System.Windows.Forms.Padding(0, 5, 0, 0);
     this.Size = new System.Drawing.Size(682, 30);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 17
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.btnCancelScenario = new System.Windows.Forms.Button();
     this.btnOkScenario = new System.Windows.Forms.Button();
     this.lblSelectScenario = new System.Windows.Forms.Label();
     this.comboBox1 = new System.Windows.Forms.ComboBox();
     this.SuspendLayout();
     //
     // btnCancelScenario
     //
     this.btnCancelScenario.Location = new System.Drawing.Point(370, 43);
     this.btnCancelScenario.Name = "btnCancelScenario";
     this.btnCancelScenario.Size = new System.Drawing.Size(53, 26);
     this.btnCancelScenario.TabIndex = 7;
     this.btnCancelScenario.Text = "Cancel";
     this.btnCancelScenario.UseVisualStyleBackColor = true;
     //
     // btnOkScenario
     //
     this.btnOkScenario.Location = new System.Drawing.Point(311, 44);
     this.btnOkScenario.Name = "btnOkScenario";
     this.btnOkScenario.Size = new System.Drawing.Size(53, 25);
     this.btnOkScenario.TabIndex = 6;
     this.btnOkScenario.Text = "OK";
     this.btnOkScenario.UseVisualStyleBackColor = true;
     //
     // lblSelectScenario
     //
     this.lblSelectScenario.AutoSize = true;
     this.lblSelectScenario.Location = new System.Drawing.Point(12, 19);
     this.lblSelectScenario.Name = "lblSelectScenario";
     this.lblSelectScenario.Size = new System.Drawing.Size(146, 13);
     this.lblSelectScenario.TabIndex = 4;
     this.lblSelectScenario.Text = "Select Water Level Scenario:";
     //
     // comboBox1
     //
     this.comboBox1.FormattingEnabled = true;
     this.comboBox1.Location = new System.Drawing.Point(164, 16);
     this.comboBox1.Name = "comboBox1";
     this.comboBox1.Size = new System.Drawing.Size(259, 21);
     this.comboBox1.TabIndex = 8;
     //
     // FormSelectScenario
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(438, 77);
     this.Controls.Add(this.comboBox1);
     this.Controls.Add(this.btnCancelScenario);
     this.Controls.Add(this.btnOkScenario);
     this.Controls.Add(this.lblSelectScenario);
     this.Name = "FormSelectScenario";
     this.Text = "Water Level Scenario";
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 18
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     this.comboBox1 = new System.Windows.Forms.ComboBox();
     this.label1 = new System.Windows.Forms.Label();
     this.ckBxSequential = new System.Windows.Forms.CheckBox();
     this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
     this.SuspendLayout();
     //
     // comboBox1
     //
     this.comboBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.comboBox1.FormattingEnabled = true;
     this.comboBox1.Location = new System.Drawing.Point(49, 2);
     this.comboBox1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.comboBox1.Name = "comboBox1";
     this.comboBox1.Size = new System.Drawing.Size(132, 24);
     this.comboBox1.TabIndex = 0;
     //
     // label1
     //
     this.label1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.label1.Location = new System.Drawing.Point(4, 0);
     this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(37, 28);
     this.label1.TabIndex = 1;
     this.label1.Text = "0";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // ckBxSequential
     //
     this.ckBxSequential.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.ckBxSequential.AutoSize = true;
     this.ckBxSequential.Location = new System.Drawing.Point(195, 5);
     this.ckBxSequential.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.ckBxSequential.Name = "ckBxSequential";
     this.ckBxSequential.Size = new System.Drawing.Size(97, 21);
     this.ckBxSequential.TabIndex = 2;
     this.ckBxSequential.Text = "Sequential";
     this.ckBxSequential.UseVisualStyleBackColor = true;
     //
     // DataTypeCtrl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.ckBxSequential);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.comboBox1);
     this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.Name = "DataTypeCtrl";
     this.Size = new System.Drawing.Size(296, 33);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 19
0
 private void InitializeComponent()
 {
     this.registerCombo = new System.Windows.Forms.ComboBox();
     this.label1 = new System.Windows.Forms.Label();
     this.maxDeltaESPTextBox = new System.Windows.Forms.TextBox();
     this.SuspendLayout();
     //
     // registerCombo
     //
     this.registerCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.registerCombo.FormattingEnabled = true;
     this.registerCombo.Items.AddRange(new object[] {
     "EAX",
     "ECX",
     "EDX",
     "EBX",
     "ESP",
     "EBP",
     "ESI",
     "EDI",
     "ANY"});
     this.registerCombo.Location = new System.Drawing.Point(0, 0);
     this.registerCombo.Name = "registerCombo";
     this.registerCombo.Size = new System.Drawing.Size(45, 21);
     this.registerCombo.TabIndex = 28;
     this.registerCombo.SelectedIndexChanged += new System.EventHandler(this.registerCombo_SelectedIndexChanged);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(140, 6);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(96, 13);
     this.label1.TabIndex = 29;
     this.label1.Text = "Maxium delta ESP:";
     //
     // maxDeltaESPTextBox
     //
     this.maxDeltaESPTextBox.Location = new System.Drawing.Point(243, 2);
     this.maxDeltaESPTextBox.Name = "maxDeltaESPTextBox";
     this.maxDeltaESPTextBox.Size = new System.Drawing.Size(27, 20);
     this.maxDeltaESPTextBox.TabIndex = 30;
     this.maxDeltaESPTextBox.Text = "24";
     this.maxDeltaESPTextBox.TextChanged += new System.EventHandler(this.maxDeltaESPText_TextChanged);
     //
     // PushRegister
     //
     this.Controls.Add(this.maxDeltaESPTextBox);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.registerCombo);
     this.Name = "PushRegister";
     this.Size = new System.Drawing.Size(275, 26);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 20
0
 public ComboBox()
 {
     mComboBoxItems = new List<ComboBoxItem>();
     mCommands = new List<ICommand>();
     m_tSelectTextSlot = null;
     mPoint = new Point2I();
     mSize = new Size2I();
     mComboBox = null;
     mContain = null;
     mEnable = true;
 }
Ejemplo n.º 21
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.lblAngle = new System.Windows.Forms.Label();
     this.cmbAngles = new System.Windows.Forms.ComboBox();
     this.lblAngles = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // lblAngle
     //
     this.lblAngle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.lblAngle.Location = new System.Drawing.Point(75, 44);
     this.lblAngle.Name = "lblAngle";
     this.lblAngle.Size = new System.Drawing.Size(40, 20);
     this.lblAngle.TabIndex = 0;
     this.lblAngle.Text = "Angle";
     this.lblAngle.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     //
     // cmbAngles
     //
     this.cmbAngles.FormattingEnabled = true;
     this.cmbAngles.Items.AddRange(new object[] {
     "Up",
     "Down"});
     this.cmbAngles.Location = new System.Drawing.Point(3, 20);
     this.cmbAngles.Name = "cmbAngles";
     this.cmbAngles.Size = new System.Drawing.Size(58, 21);
     this.cmbAngles.TabIndex = 7;
     this.cmbAngles.SelectedIndexChanged += new System.EventHandler(this.CmbAnglesSelectedIndexChanged);
     this.cmbAngles.KeyDown += new System.Windows.Forms.KeyEventHandler(this.CmbAnglesKeyDown);
     //
     // lblAngles
     //
     this.lblAngles.Location = new System.Drawing.Point(3, 1);
     this.lblAngles.Name = "lblAngles";
     this.lblAngles.Size = new System.Drawing.Size(45, 16);
     this.lblAngles.TabIndex = 6;
     this.lblAngles.Text = "Angles:";
     this.lblAngles.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // AngleControl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.cmbAngles);
     this.Controls.Add(this.lblAngles);
     this.Controls.Add(this.lblAngle);
     this.DoubleBuffered = true;
     this.Name = "AngleControl";
     this.Size = new System.Drawing.Size(115, 64);
     this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.AngleControlMouseDown);
     this.MouseMove += new System.Windows.Forms.MouseEventHandler(this.AngleControlMouseMove);
     this.MouseUp += new System.Windows.Forms.MouseEventHandler(this.AngleControlMouseUp);
     this.ResumeLayout(false);
 }
Ejemplo n.º 22
0
 /// <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(SaveForm));
     this.encryptionBox = new System.Windows.Forms.ComboBox();
     this.saveButton = new System.Windows.Forms.Button();
     this.versionBox = new HaRepackerLib.Controls.IntegerInput();
     this.label1 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // encryptionBox
     //
     resources.ApplyResources(this.encryptionBox, "encryptionBox");
     this.encryptionBox.FormattingEnabled = true;
     this.encryptionBox.Name = "encryptionBox";
     //
     // saveButton
     //
     resources.ApplyResources(this.saveButton, "saveButton");
     this.saveButton.Name = "saveButton";
     this.saveButton.UseVisualStyleBackColor = true;
     this.saveButton.Click += new System.EventHandler(this.saveButton_Click);
     //
     // versionBox
     //
     resources.ApplyResources(this.versionBox, "versionBox");
     this.versionBox.Name = "versionBox";
     this.versionBox.Value = 0;
     //
     // label1
     //
     resources.ApplyResources(this.label1, "label1");
     this.label1.Name = "label1";
     //
     // label2
     //
     resources.ApplyResources(this.label2, "label2");
     this.label2.Name = "label2";
     //
     // SaveForm
     //
     resources.ApplyResources(this, "$this");
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.versionBox);
     this.Controls.Add(this.saveButton);
     this.Controls.Add(this.encryptionBox);
     this.Name = "SaveForm";
     this.Load += new System.EventHandler(this.SaveForm_Load);
     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()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CslaDataSourceConfiguration));
       this.label2 = new System.Windows.Forms.Label();
       this.okButton = new System.Windows.Forms.Button();
       this.cancelButton = new System.Windows.Forms.Button();
       this.TypeComboBox = new System.Windows.Forms.ComboBox();
       this.SuspendLayout();
       //
       // label2
       //
       resources.ApplyResources(this.label2, "label2");
       this.label2.Name = "label2";
       //
       // okButton
       //
       resources.ApplyResources(this.okButton, "okButton");
       this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
       this.okButton.Name = "okButton";
       this.okButton.UseVisualStyleBackColor = true;
       //
       // cancelButton
       //
       resources.ApplyResources(this.cancelButton, "cancelButton");
       this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
       this.cancelButton.Name = "cancelButton";
       this.cancelButton.UseVisualStyleBackColor = true;
       //
       // TypeComboBox
       //
       resources.ApplyResources(this.TypeComboBox, "TypeComboBox");
       this.TypeComboBox.FormattingEnabled = true;
       this.TypeComboBox.Name = "TypeComboBox";
       this.TypeComboBox.Sorted = true;
       //
       // CslaDataSourceConfiguration
       //
       this.AcceptButton = this.okButton;
       resources.ApplyResources(this, "$this");
       this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
       this.CancelButton = this.cancelButton;
       this.ControlBox = false;
       this.Controls.Add(this.TypeComboBox);
       this.Controls.Add(this.cancelButton);
       this.Controls.Add(this.okButton);
       this.Controls.Add(this.label2);
       this.MaximizeBox = false;
       this.MinimizeBox = false;
       this.Name = "CslaDataSourceConfiguration";
       this.ShowInTaskbar = 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.label1 = new System.Windows.Forms.Label();
     this._provinceComboBox = new System.Windows.Forms.ComboBox();
     this._okButton = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.label1.AutoSize = true;
     this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(56, 49);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(67, 16);
     this.label1.TabIndex = 0;
     this.label1.Text = "Provincia:";
     //
     // _provinceComboBox
     //
     this._provinceComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this._provinceComboBox.FormattingEnabled = true;
     this._provinceComboBox.Location = new System.Drawing.Point(129, 48);
     this._provinceComboBox.Name = "_provinceComboBox";
     this._provinceComboBox.Size = new System.Drawing.Size(129, 21);
     this._provinceComboBox.TabIndex = 1;
     //
     // _okButton
     //
     this._okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this._okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this._okButton.Enabled = false;
     this._okButton.Location = new System.Drawing.Point(129, 85);
     this._okButton.Name = "_okButton";
     this._okButton.Size = new System.Drawing.Size(75, 23);
     this._okButton.TabIndex = 2;
     this._okButton.Text = "OK";
     this._okButton.UseVisualStyleBackColor = true;
     //
     // NuovoGiardinoView
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.Silver;
     this.Controls.Add(this._okButton);
     this.Controls.Add(this._provinceComboBox);
     this.Controls.Add(this.label1);
     this.Name = "NuovoGiardinoView";
     this.Size = new System.Drawing.Size(343, 149);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 25
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.label3 = new System.Windows.Forms.Label();
     this.comboBox1 = new System.Windows.Forms.ComboBox();
     this.label1 = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(3, 7);
     this.label3.Name = "label3";
     this.label3.Padding = new System.Windows.Forms.Padding(0, 3, 0, 0);
     this.label3.Size = new System.Drawing.Size(68, 16);
     this.label3.TabIndex = 3;
     this.label3.Text = "not Assigned";
     //
     // comboBox1
     //
     this.comboBox1.FormattingEnabled = true;
     this.comboBox1.Location = new System.Drawing.Point(200, 4);
     this.comboBox1.Name = "comboBox1";
     this.comboBox1.Size = new System.Drawing.Size(175, 21);
     this.comboBox1.TabIndex = 1;
     this.comboBox1.DropDownClosed += new System.EventHandler(this.SIDLoader_DropDownClose);
     this.comboBox1.DropDown += new System.EventHandler(this.SIDLoader_DropDown);
     //
     // label1
     //
     this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(457, 7);
     this.label1.Name = "label1";
     this.label1.Padding = new System.Windows.Forms.Padding(0, 3, 0, 0);
     this.label1.Size = new System.Drawing.Size(25, 16);
     this.label1.TabIndex = 0;
     this.label1.Text = "SID";
     //
     // SID
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.Controls.Add(this.label3);
     this.Controls.Add(this.comboBox1);
     this.Controls.Add(this.label1);
     this.Name = "SID";
     this.Size = new System.Drawing.Size(485, 30);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 26
0
 private void InitializeComponent()
 {
     this.lb_text = new System.Windows.Forms.Label();
     this.ddp_dif = new System.Windows.Forms.ComboBox();
     this.bt_ok = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // lb_text
     //
     this.lb_text.AutoSize = true;
     this.lb_text.Location = new System.Drawing.Point(12, 13);
     this.lb_text.Name = "lb_text";
     this.lb_text.Size = new System.Drawing.Size(35, 13);
     this.lb_text.TabIndex = 0;
     this.lb_text.Text = "label1";
     //
     // ddp_dif
     //
     this.ddp_dif.FormattingEnabled = true;
     this.ddp_dif.Location = new System.Drawing.Point(16, 40);
     this.ddp_dif.Name = "ddp_dif";
     this.ddp_dif.Size = new System.Drawing.Size(121, 21);
     this.ddp_dif.TabIndex = 1;
     //
     // bt_ok
     //
     this.bt_ok.Location = new System.Drawing.Point(16, 67);
     this.bt_ok.Name = "bt_ok";
     this.bt_ok.Size = new System.Drawing.Size(121, 23);
     this.bt_ok.TabIndex = 2;
     this.bt_ok.Text = "button1";
     this.bt_ok.UseVisualStyleBackColor = true;
     //
     // ChangeDifficulty
     //
     this.AcceptButton = this.bt_ok;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(150, 102);
     this.Controls.Add(this.bt_ok);
     this.Controls.Add(this.ddp_dif);
     this.Controls.Add(this.lb_text);
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "ChangeDifficulty";
     this.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.RightToLeftLayout = true;
     this.Text = "שנה קושי";
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 27
0
		/// <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()
		{
			this.scoresText = new System.Windows.Forms.RichTextBox();
			this.ConnectBtn = new System.Windows.Forms.Button();
			this.portNameCombo = new System.Windows.Forms.ComboBox();
			this.SuspendLayout();
			// 
			// scoresText
			// 
			this.scoresText.Location = new System.Drawing.Point(14, 22);
			this.scoresText.Name = "scoresText";
			this.scoresText.Size = new System.Drawing.Size(120, 203);
			this.scoresText.TabIndex = 0;
			this.scoresText.Text = "";
			// 
			// ConnectBtn
			// 
			this.ConnectBtn.Enabled = false;
			this.ConnectBtn.Location = new System.Drawing.Point(160, 47);
			this.ConnectBtn.Name = "ConnectBtn";
			this.ConnectBtn.Size = new System.Drawing.Size(109, 23);
			this.ConnectBtn.TabIndex = 2;
			this.ConnectBtn.Text = "Connect";
			this.ConnectBtn.UseVisualStyleBackColor = true;
			this.ConnectBtn.Click += new System.EventHandler(this.ConnectBtnClick);
			// 
			// portNameCombo
			// 
			this.portNameCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.portNameCombo.FormattingEnabled = true;
			this.portNameCombo.Location = new System.Drawing.Point(160, 22);
			this.portNameCombo.Name = "portNameCombo";
			this.portNameCombo.Size = new System.Drawing.Size(109, 21);
			this.portNameCombo.Sorted = true;
			this.portNameCombo.TabIndex = 3;
			this.portNameCombo.SelectionChangeCommitted += new System.EventHandler(this.PortNameComboSelectionChangeCommitted);
			// 
			// MainForm
			// 
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.ClientSize = new System.Drawing.Size(284, 262);
			this.Controls.Add(this.portNameCombo);
			this.Controls.Add(this.ConnectBtn);
			this.Controls.Add(this.scoresText);
			this.Name = "MainForm";
			this.Text = "buttons5";
			this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainFormFormClosing);
			this.ResumeLayout(false);

		}
Ejemplo n.º 28
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.textBoxCueTest = new System.Windows.Forms.TextBox();
            this.comboBoxCueTest = new System.Windows.Forms.ComboBox();
            this.maskedTextBoxCueTest = new System.Windows.Forms.MaskedTextBox();
            this.SuspendLayout();
            // 
            // textBoxCueTest
            // 
            this.textBoxCueTest.Location = new System.Drawing.Point(12, 40);
            this.textBoxCueTest.Name = "textBoxCueTest";
            this.textBoxCueTest.Size = new System.Drawing.Size(200, 20);
            this.textBoxCueTest.TabIndex = 6;
            // 
            // comboBoxCueTest
            // 
            this.comboBoxCueTest.FormattingEnabled = true;
            this.comboBoxCueTest.Items.AddRange(new object[] {
            "One",
            "Two",
            "Three",
            "Four",
            "Five"});
            this.comboBoxCueTest.Location = new System.Drawing.Point(12, 12);
            this.comboBoxCueTest.Name = "comboBoxCueTest";
            this.comboBoxCueTest.Size = new System.Drawing.Size(200, 21);
            this.comboBoxCueTest.TabIndex = 5;
            // 
            // maskedTextBoxCueTest
            // 
            this.maskedTextBoxCueTest.Location = new System.Drawing.Point(12, 67);
            this.maskedTextBoxCueTest.Name = "maskedTextBoxCueTest";
            this.maskedTextBoxCueTest.Size = new System.Drawing.Size(200, 20);
            this.maskedTextBoxCueTest.TabIndex = 7;
            // 
            // FormMain
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(222, 98);
            this.Controls.Add(this.textBoxCueTest);
            this.Controls.Add(this.comboBoxCueTest);
            this.Controls.Add(this.maskedTextBoxCueTest);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
            this.Name = "FormMain";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Cue Text Sample";
            this.ResumeLayout(false);
            this.PerformLayout();

        }
Ejemplo n.º 29
0
		/// <summary> 
		/// Required method for Designer support - do not modify 
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.groupBox6 = new System.Windows.Forms.GroupBox();
			this.label8 = new System.Windows.Forms.Label();
			this.logingApi = new System.Windows.Forms.ComboBox();
			this.groupBox6.SuspendLayout();
			this.SuspendLayout();
			// 
			// groupBox6
			// 
			this.groupBox6.Controls.Add(this.logingApi);
			this.groupBox6.Controls.Add(this.label8);
			this.groupBox6.Location = new System.Drawing.Point(-8, 8);
			this.groupBox6.Name = "groupBox6";
			this.groupBox6.Size = new System.Drawing.Size(480, 320);
			this.groupBox6.TabIndex = 46;
			this.groupBox6.TabStop = false;
			// 
			// label8
			// 
			this.label8.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label8.Location = new System.Drawing.Point(40, 16);
			this.label8.Name = "label8";
			this.label8.Size = new System.Drawing.Size(349, 16);
			this.label8.TabIndex = 44;
			this.label8.Text = "Logging type:";
			// 
			// logingApi
			// 
			this.logingApi.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.logingApi.Items.AddRange(new object[] {
														   "Log4net",
														   "NLog",
														   "Console",
														   "Null"});
			this.logingApi.Location = new System.Drawing.Point(120, 150);
			this.logingApi.Name = "logingApi";
			this.logingApi.Size = new System.Drawing.Size(240, 21);
			this.logingApi.TabIndex = 49;
			// 
			// LoggingPanel
			// 
			this.Controls.Add(this.groupBox6);
			this.Name = "LoggingPanel";
			this.Size = new System.Drawing.Size(464, 336);
			this.groupBox6.ResumeLayout(false);
			this.ResumeLayout(false);

		}
Ejemplo n.º 30
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.button1 = new System.Windows.Forms.Button();
     this.label1 = new System.Windows.Forms.Label();
     this.comboBoxTurmas = new System.Windows.Forms.ComboBox();
     this.SuspendLayout();
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(1, 71);
     this.button1.Name = "button1";
     this.button1.Size = new System.Drawing.Size(439, 34);
     this.button1.TabIndex = 0;
     this.button1.Text = "Apagar";
     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(13, 13);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(37, 13);
     this.label1.TabIndex = 1;
     this.label1.Text = "Turma";
     //
     // comboBoxTurmas
     //
     this.comboBoxTurmas.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxTurmas.FormattingEnabled = true;
     this.comboBoxTurmas.Location = new System.Drawing.Point(12, 29);
     this.comboBoxTurmas.Name = "comboBoxTurmas";
     this.comboBoxTurmas.Size = new System.Drawing.Size(415, 21);
     this.comboBoxTurmas.TabIndex = 2;
     //
     // FormDeleteTurma
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(439, 112);
     this.Controls.Add(this.comboBoxTurmas);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.button1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.Name = "FormDeleteTurma";
     this.Text = "Apagar Turma";
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 31
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent( )
 {
     this._cbSegmentType = new System.Windows.Forms.ComboBox();
     this._Cancel        = new System.Windows.Forms.Button();
     this._btnOk         = new System.Windows.Forms.Button();
     this._groupBox1     = new System.Windows.Forms.GroupBox();
     this.SuspendLayout();
     //
     // _cbSegmentType
     //
     this._cbSegmentType.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this._cbSegmentType.Location              = new System.Drawing.Point(15, 20);
     this._cbSegmentType.Name                  = "_cbSegmentType";
     this._cbSegmentType.Size                  = new System.Drawing.Size(152, 21);
     this._cbSegmentType.TabIndex              = 1;
     this._cbSegmentType.SelectedIndexChanged += new System.EventHandler(this._cbSegmentType_SelectedIndexChanged);
     //
     // _Cancel
     //
     this._Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this._Cancel.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this._Cancel.Location     = new System.Drawing.Point(184, 40);
     this._Cancel.Name         = "_Cancel";
     this._Cancel.TabIndex     = 3;
     this._Cancel.Text         = "&Cancel";
     //
     // _btnOk
     //
     this._btnOk.DialogResult = System.Windows.Forms.DialogResult.OK;
     this._btnOk.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this._btnOk.Location     = new System.Drawing.Point(184, 6);
     this._btnOk.Name         = "_btnOk";
     this._btnOk.TabIndex     = 2;
     this._btnOk.Text         = "&Ok";
     //
     // _groupBox1
     //
     this._groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this._groupBox1.Location  = new System.Drawing.Point(7, 4);
     this._groupBox1.Name      = "_groupBox1";
     this._groupBox1.Size      = new System.Drawing.Size(169, 47);
     this._groupBox1.TabIndex  = 0;
     this._groupBox1.TabStop   = false;
     this._groupBox1.Text      = "&Segment Type";
     //
     // SegmentTypeDialog
     //
     this.AcceptButton      = this._btnOk;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this._Cancel;
     this.ClientSize        = new System.Drawing.Size(266, 72);
     this.Controls.Add(this._btnOk);
     this.Controls.Add(this._Cancel);
     this.Controls.Add(this._cbSegmentType);
     this.Controls.Add(this._groupBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "SegmentTypeDialog";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Segment Type";
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.panel1 = new System.Windows.Forms.Panel();
     this.panel3 = new System.Windows.Forms.Panel();
     this.btnClear = new System.Windows.Forms.Button();
     this.btnSearch = new System.Windows.Forms.Button();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.rbEqual = new System.Windows.Forms.RadioButton();
     this.rbLess = new System.Windows.Forms.RadioButton();
     this.rbMore = new System.Windows.Forms.RadioButton();
     this.txtSalary = new System.Windows.Forms.TextBox();
     this.label6 = new System.Windows.Forms.Label();
     this.cmbMonth = new System.Windows.Forms.ComboBox();
     this.label8 = new System.Windows.Forms.Label();
     this.txtYear = new System.Windows.Forms.TextBox();
     this.label7 = new System.Windows.Forms.Label();
     this.pnlForAdmin = new System.Windows.Forms.Panel();
     this.cmbPosition = new System.Windows.Forms.ComboBox();
     this.cmbDepartment = new System.Windows.Forms.ComboBox();
     this.label5 = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.txtSurname = new System.Windows.Forms.TextBox();
     this.txtName = new System.Windows.Forms.TextBox();
     this.txtUserNo = new System.Windows.Forms.TextBox();
     this.label3 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     this.panel2 = new System.Windows.Forms.Panel();
     this.btnClose = new System.Windows.Forms.Button();
     this.btnDelete = new System.Windows.Forms.Button();
     this.btnUpdate = new System.Windows.Forms.Button();
     this.btnNew = new System.Windows.Forms.Button();
     this.dataGridView1 = new System.Windows.Forms.DataGridView();
     this.txtExcel = new System.Windows.Forms.Button();
     this.panel1.SuspendLayout();
     this.panel3.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.pnlForAdmin.SuspendLayout();
     this.panel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Controls.Add(this.panel3);
     this.panel1.Controls.Add(this.pnlForAdmin);
     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(775, 178);
     this.panel1.TabIndex = 0;
     //
     // panel3
     //
     this.panel3.Controls.Add(this.txtExcel);
     this.panel3.Controls.Add(this.btnClear);
     this.panel3.Controls.Add(this.btnSearch);
     this.panel3.Controls.Add(this.groupBox1);
     this.panel3.Controls.Add(this.txtSalary);
     this.panel3.Controls.Add(this.label6);
     this.panel3.Controls.Add(this.cmbMonth);
     this.panel3.Controls.Add(this.label8);
     this.panel3.Controls.Add(this.txtYear);
     this.panel3.Controls.Add(this.label7);
     this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel3.Location = new System.Drawing.Point(282, 0);
     this.panel3.Name = "panel3";
     this.panel3.Size = new System.Drawing.Size(493, 178);
     this.panel3.TabIndex = 1;
     //
     // btnClear
     //
     this.btnClear.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
     this.btnClear.Location = new System.Drawing.Point(176, 120);
     this.btnClear.Name = "btnClear";
     this.btnClear.Size = new System.Drawing.Size(138, 38);
     this.btnClear.TabIndex = 4;
     this.btnClear.Text = "Clear";
     this.btnClear.UseVisualStyleBackColor = true;
     this.btnClear.Click += new System.EventHandler(this.btnClear_Click);
     //
     // btnSearch
     //
     this.btnSearch.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
     this.btnSearch.Location = new System.Drawing.Point(32, 120);
     this.btnSearch.Name = "btnSearch";
     this.btnSearch.Size = new System.Drawing.Size(138, 38);
     this.btnSearch.TabIndex = 3;
     this.btnSearch.Text = "Search";
     this.btnSearch.UseVisualStyleBackColor = true;
     this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.rbEqual);
     this.groupBox1.Controls.Add(this.rbLess);
     this.groupBox1.Controls.Add(this.rbMore);
     this.groupBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
     this.groupBox1.Location = new System.Drawing.Point(276, 57);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(200, 57);
     this.groupBox1.TabIndex = 30;
     this.groupBox1.TabStop = false;
     //
     // rbEqual
     //
     this.rbEqual.AutoSize = true;
     this.rbEqual.Location = new System.Drawing.Point(132, 22);
     this.rbEqual.Name = "rbEqual";
     this.rbEqual.Size = new System.Drawing.Size(75, 21);
     this.rbEqual.TabIndex = 2;
     this.rbEqual.TabStop = true;
     this.rbEqual.Text = "Equals";
     this.rbEqual.UseVisualStyleBackColor = true;
     //
     // rbLess
     //
     this.rbLess.AutoSize = true;
     this.rbLess.Location = new System.Drawing.Point(65, 22);
     this.rbLess.Name = "rbLess";
     this.rbLess.Size = new System.Drawing.Size(60, 21);
     this.rbLess.TabIndex = 1;
     this.rbLess.TabStop = true;
     this.rbLess.Text = "Less";
     this.rbLess.UseVisualStyleBackColor = true;
     //
     // rbMore
     //
     this.rbMore.AutoSize = true;
     this.rbMore.Location = new System.Drawing.Point(6, 22);
     this.rbMore.Name = "rbMore";
     this.rbMore.Size = new System.Drawing.Size(62, 21);
     this.rbMore.TabIndex = 0;
     this.rbMore.TabStop = true;
     this.rbMore.Text = "More";
     this.rbMore.UseVisualStyleBackColor = true;
     //
     // txtSalary
     //
     this.txtSalary.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
     this.txtSalary.Location = new System.Drawing.Point(110, 78);
     this.txtSalary.Name = "txtSalary";
     this.txtSalary.Size = new System.Drawing.Size(161, 26);
     this.txtSalary.TabIndex = 2;
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
     this.label6.Location = new System.Drawing.Point(4, 84);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(59, 20);
     this.label6.TabIndex = 29;
     this.label6.Text = "Salary";
     //
     // cmbMonth
     //
     this.cmbMonth.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
     this.cmbMonth.FormattingEnabled = true;
     this.cmbMonth.Location = new System.Drawing.Point(109, 43);
     this.cmbMonth.Name = "cmbMonth";
     this.cmbMonth.Size = new System.Drawing.Size(161, 28);
     this.cmbMonth.TabIndex = 1;
     //
     // label8
     //
     this.label8.AutoSize = true;
     this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
     this.label8.Location = new System.Drawing.Point(3, 46);
     this.label8.Name = "label8";
     this.label8.Size = new System.Drawing.Size(59, 20);
     this.label8.TabIndex = 27;
     this.label8.Text = "Month";
     //
     // txtYear
     //
     this.txtYear.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
     this.txtYear.Location = new System.Drawing.Point(110, 12);
     this.txtYear.Name = "txtYear";
     this.txtYear.Size = new System.Drawing.Size(161, 26);
     this.txtYear.TabIndex = 0;
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
     this.label7.Location = new System.Drawing.Point(4, 18);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(47, 20);
     this.label7.TabIndex = 25;
     this.label7.Text = "Year";
     //
     // pnlForAdmin
     //
     this.pnlForAdmin.Controls.Add(this.cmbPosition);
     this.pnlForAdmin.Controls.Add(this.cmbDepartment);
     this.pnlForAdmin.Controls.Add(this.label5);
     this.pnlForAdmin.Controls.Add(this.label4);
     this.pnlForAdmin.Controls.Add(this.txtSurname);
     this.pnlForAdmin.Controls.Add(this.txtName);
     this.pnlForAdmin.Controls.Add(this.txtUserNo);
     this.pnlForAdmin.Controls.Add(this.label3);
     this.pnlForAdmin.Controls.Add(this.label2);
     this.pnlForAdmin.Controls.Add(this.label1);
     this.pnlForAdmin.Dock = System.Windows.Forms.DockStyle.Left;
     this.pnlForAdmin.Location = new System.Drawing.Point(0, 0);
     this.pnlForAdmin.Name = "pnlForAdmin";
     this.pnlForAdmin.Size = new System.Drawing.Size(282, 178);
     this.pnlForAdmin.TabIndex = 0;
     //
     // cmbPosition
     //
     this.cmbPosition.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
     this.cmbPosition.FormattingEnabled = true;
     this.cmbPosition.Location = new System.Drawing.Point(137, 144);
     this.cmbPosition.Name = "cmbPosition";
     this.cmbPosition.Size = new System.Drawing.Size(138, 28);
     this.cmbPosition.TabIndex = 4;
     //
     // cmbDepartment
     //
     this.cmbDepartment.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
     this.cmbDepartment.FormattingEnabled = true;
     this.cmbDepartment.Location = new System.Drawing.Point(137, 107);
     this.cmbDepartment.Name = "cmbDepartment";
     this.cmbDepartment.Size = new System.Drawing.Size(138, 28);
     this.cmbDepartment.TabIndex = 3;
     this.cmbDepartment.SelectedIndexChanged += new System.EventHandler(this.cmbDepartment_SelectedIndexChanged);
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
     this.label5.Location = new System.Drawing.Point(7, 144);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(73, 20);
     this.label5.TabIndex = 21;
     this.label5.Text = "Position";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
     this.label4.Location = new System.Drawing.Point(7, 107);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(104, 20);
     this.label4.TabIndex = 22;
     this.label4.Text = "Department";
     //
     // txtSurname
     //
     this.txtSurname.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
     this.txtSurname.Location = new System.Drawing.Point(137, 75);
     this.txtSurname.Name = "txtSurname";
     this.txtSurname.Size = new System.Drawing.Size(138, 26);
     this.txtSurname.TabIndex = 2;
     //
     // txtName
     //
     this.txtName.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
     this.txtName.Location = new System.Drawing.Point(137, 40);
     this.txtName.Name = "txtName";
     this.txtName.Size = new System.Drawing.Size(138, 26);
     this.txtName.TabIndex = 1;
     //
     // txtUserNo
     //
     this.txtUserNo.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
     this.txtUserNo.Location = new System.Drawing.Point(137, 6);
     this.txtUserNo.Name = "txtUserNo";
     this.txtUserNo.Size = new System.Drawing.Size(138, 26);
     this.txtUserNo.TabIndex = 0;
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
     this.label3.Location = new System.Drawing.Point(8, 78);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(81, 20);
     this.label3.TabIndex = 18;
     this.label3.Text = "Surname";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
     this.label2.Location = new System.Drawing.Point(8, 43);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(55, 20);
     this.label2.TabIndex = 19;
     this.label2.Text = "Name";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
     this.label1.Location = new System.Drawing.Point(8, 9);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(69, 20);
     this.label1.TabIndex = 20;
     this.label1.Text = "UserNo";
     //
     // panel2
     //
     this.panel2.Controls.Add(this.btnClose);
     this.panel2.Controls.Add(this.btnDelete);
     this.panel2.Controls.Add(this.btnUpdate);
     this.panel2.Controls.Add(this.btnNew);
     this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.panel2.Location = new System.Drawing.Point(0, 385);
     this.panel2.Name = "panel2";
     this.panel2.Size = new System.Drawing.Size(775, 87);
     this.panel2.TabIndex = 1;
     //
     // btnClose
     //
     this.btnClose.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
     this.btnClose.Location = new System.Drawing.Point(458, 20);
     this.btnClose.Name = "btnClose";
     this.btnClose.Size = new System.Drawing.Size(117, 47);
     this.btnClose.TabIndex = 3;
     this.btnClose.Text = "Close";
     this.btnClose.UseVisualStyleBackColor = true;
     this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
     //
     // btnDelete
     //
     this.btnDelete.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
     this.btnDelete.Location = new System.Drawing.Point(335, 20);
     this.btnDelete.Name = "btnDelete";
     this.btnDelete.Size = new System.Drawing.Size(117, 47);
     this.btnDelete.TabIndex = 2;
     this.btnDelete.Text = "Delete";
     this.btnDelete.UseVisualStyleBackColor = true;
     this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
     //
     // btnUpdate
     //
     this.btnUpdate.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
     this.btnUpdate.Location = new System.Drawing.Point(212, 20);
     this.btnUpdate.Name = "btnUpdate";
     this.btnUpdate.Size = new System.Drawing.Size(117, 47);
     this.btnUpdate.TabIndex = 1;
     this.btnUpdate.Text = "Update";
     this.btnUpdate.UseVisualStyleBackColor = true;
     this.btnUpdate.Click += new System.EventHandler(this.btnUpdate_Click);
     //
     // btnNew
     //
     this.btnNew.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
     this.btnNew.Location = new System.Drawing.Point(89, 20);
     this.btnNew.Name = "btnNew";
     this.btnNew.Size = new System.Drawing.Size(117, 47);
     this.btnNew.TabIndex = 0;
     this.btnNew.Text = "New";
     this.btnNew.UseVisualStyleBackColor = true;
     this.btnNew.Click += new System.EventHandler(this.btnNew_Click);
     //
     // dataGridView1
     //
     this.dataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.dataGridView1.Location = new System.Drawing.Point(0, 178);
     this.dataGridView1.MultiSelect = false;
     this.dataGridView1.Name = "dataGridView1";
     this.dataGridView1.Size = new System.Drawing.Size(775, 207);
     this.dataGridView1.TabIndex = 2;
     this.dataGridView1.RowEnter += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_RowEnter);
     //
     // txtExcel
     //
     this.txtExcel.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
     this.txtExcel.Location = new System.Drawing.Point(321, 120);
     this.txtExcel.Name = "txtExcel";
     this.txtExcel.Size = new System.Drawing.Size(147, 38);
     this.txtExcel.TabIndex = 31;
     this.txtExcel.Text = "Export to Excel";
     this.txtExcel.UseVisualStyleBackColor = true;
     this.txtExcel.Click += new System.EventHandler(this.txtExcel_Click);
     //
     // FrmSalaryList
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(775, 472);
     this.Controls.Add(this.dataGridView1);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.Name = "FrmSalaryList";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Salary List";
     this.Load += new System.EventHandler(this.FrmSalaryList_Load);
     this.panel1.ResumeLayout(false);
     this.panel3.ResumeLayout(false);
     this.panel3.PerformLayout();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.pnlForAdmin.ResumeLayout(false);
     this.pnlForAdmin.PerformLayout();
     this.panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 33
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.cancelBtn = new System.Windows.Forms.Button();
     this.saveBtn = new System.Windows.Forms.Button();
     this.label1 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.label9 = new System.Windows.Forms.Label();
     this.backupModeCombo = new System.Windows.Forms.ComboBox();
     this.httpBackupURLTxtBox = new System.Windows.Forms.TextBox();
     this.httpApiKeyTxtBox = new System.Windows.Forms.TextBox();
     this.s3KeyPrefixTxtBox = new System.Windows.Forms.TextBox();
     this.SuspendLayout();
     //
     // cancelBtn
     //
     this.cancelBtn.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelBtn.Location = new System.Drawing.Point(274, 249);
     this.cancelBtn.Name = "cancelBtn";
     this.cancelBtn.Size = new System.Drawing.Size(90, 32);
     this.cancelBtn.TabIndex = 11;
     this.cancelBtn.Text = "Cancel";
     this.cancelBtn.UseVisualStyleBackColor = true;
     this.cancelBtn.Click += new System.EventHandler(this.cancelBtn_Click);
     //
     // saveBtn
     //
     this.saveBtn.Location = new System.Drawing.Point(165, 249);
     this.saveBtn.Name = "saveBtn";
     this.saveBtn.Size = new System.Drawing.Size(90, 32);
     this.saveBtn.TabIndex = 64;
     this.saveBtn.Text = "Save";
     this.saveBtn.UseVisualStyleBackColor = true;
     this.saveBtn.Click += new System.EventHandler(this.saveBtn_Click);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(65, 53);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(74, 13);
     this.label1.TabIndex = 65;
     this.label1.Text = "Backup Mode";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Enabled = false;
     this.label3.Location = new System.Drawing.Point(38, 158);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(101, 13);
     this.label3.TabIndex = 67;
     this.label3.Text = "HTTP Backup URL";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Enabled = false;
     this.label4.Location = new System.Drawing.Point(62, 184);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(77, 13);
     this.label4.TabIndex = 68;
     this.label4.Text = "HTTP API Key";
     //
     // label9
     //
     this.label9.AutoSize = true;
     this.label9.Location = new System.Drawing.Point(69, 102);
     this.label9.Name = "label9";
     this.label9.Size = new System.Drawing.Size(70, 13);
     this.label9.TabIndex = 73;
     this.label9.Text = "S3 Key Prefix";
     //
     // backupModeCombo
     //
     this.backupModeCombo.FormattingEnabled = true;
     this.backupModeCombo.Items.AddRange(new object[] {
     "off",
     "s3",
     "http"});
     this.backupModeCombo.Location = new System.Drawing.Point(145, 49);
     this.backupModeCombo.Name = "backupModeCombo";
     this.backupModeCombo.Size = new System.Drawing.Size(121, 21);
     this.backupModeCombo.TabIndex = 74;
     //
     // httpBackupURLTxtBox
     //
     this.httpBackupURLTxtBox.Enabled = false;
     this.httpBackupURLTxtBox.Location = new System.Drawing.Point(145, 154);
     this.httpBackupURLTxtBox.Name = "httpBackupURLTxtBox";
     this.httpBackupURLTxtBox.Size = new System.Drawing.Size(286, 20);
     this.httpBackupURLTxtBox.TabIndex = 76;
     //
     // httpApiKeyTxtBox
     //
     this.httpApiKeyTxtBox.Enabled = false;
     this.httpApiKeyTxtBox.Location = new System.Drawing.Point(145, 180);
     this.httpApiKeyTxtBox.Name = "httpApiKeyTxtBox";
     this.httpApiKeyTxtBox.Size = new System.Drawing.Size(286, 20);
     this.httpApiKeyTxtBox.TabIndex = 77;
     //
     // s3KeyPrefixTxtBox
     //
     this.s3KeyPrefixTxtBox.Location = new System.Drawing.Point(145, 99);
     this.s3KeyPrefixTxtBox.Name = "s3KeyPrefixTxtBox";
     this.s3KeyPrefixTxtBox.Size = new System.Drawing.Size(286, 20);
     this.s3KeyPrefixTxtBox.TabIndex = 82;
     //
     // TravelDataConfigForm
     //
     this.AcceptButton = this.saveBtn;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.CancelButton = this.cancelBtn;
     this.ClientSize = new System.Drawing.Size(502, 304);
     this.Controls.Add(this.s3KeyPrefixTxtBox);
     this.Controls.Add(this.httpApiKeyTxtBox);
     this.Controls.Add(this.httpBackupURLTxtBox);
     this.Controls.Add(this.backupModeCombo);
     this.Controls.Add(this.label9);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.saveBtn);
     this.Controls.Add(this.cancelBtn);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "TravelDataConfigForm";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text = "Travel Data Config";
     this.Load += new System.EventHandler(this.TravelDataConfigForm_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 34
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     this.listBoxProduct = new System.Windows.Forms.ListBox();
     this.tabControl1 = new System.Windows.Forms.TabControl();
     this.tabPage2 = new System.Windows.Forms.TabPage();
     this.contextMenuStripForTabControl = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.插入toolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.刪除ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.改名ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.tabPage1 = new System.Windows.Forms.TabPage();
     this.comboBoxWidth = new System.Windows.Forms.ComboBox();
     this.label1 = new System.Windows.Forms.Label();
     this.comboBoxHeight = new System.Windows.Forms.ComboBox();
     this.label2 = new System.Windows.Forms.Label();
     this.btnSave = new System.Windows.Forms.Button();
     this.textBoxRename = new System.Windows.Forms.TextBox();
     this.label3 = new System.Windows.Forms.Label();
     this.tabControl1.SuspendLayout();
     this.contextMenuStripForTabControl.SuspendLayout();
     this.SuspendLayout();
     //
     // listBoxProduct
     //
     this.listBoxProduct.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.listBoxProduct.BackColor = System.Drawing.Color.SeaShell;
     this.listBoxProduct.FormattingEnabled = true;
     this.listBoxProduct.ItemHeight = 16;
     this.listBoxProduct.Location = new System.Drawing.Point(1, 3);
     this.listBoxProduct.Name = "listBoxProduct";
     this.listBoxProduct.Size = new System.Drawing.Size(164, 516);
     this.listBoxProduct.TabIndex = 3;
     this.listBoxProduct.MouseDown += new System.Windows.Forms.MouseEventHandler(this.listBoxProduct_MouseDown);
     //
     // tabControl1
     //
     this.tabControl1.Alignment = System.Windows.Forms.TabAlignment.Bottom;
     this.tabControl1.Controls.Add(this.tabPage2);
     this.tabControl1.Controls.Add(this.tabPage1);
     this.tabControl1.Dock = System.Windows.Forms.DockStyle.Right;
     this.tabControl1.Font = new System.Drawing.Font("標楷體", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.tabControl1.ItemSize = new System.Drawing.Size(92, 32);
     this.tabControl1.Location = new System.Drawing.Point(167, 0);
     this.tabControl1.Name = "tabControl1";
     this.tabControl1.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size = new System.Drawing.Size(748, 671);
     this.tabControl1.TabIndex = 4;
     this.tabControl1.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.tabControl1_DrawItem);
     this.tabControl1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.tabControl1_MouseDown);
     this.tabControl1.MouseLeave += new System.EventHandler(this.tabControl1_MouseLeave);
     //
     // tabPage2
     //
     this.tabPage2.BackColor = System.Drawing.Color.Azure;
     this.tabPage2.ContextMenuStrip = this.contextMenuStripForTabControl;
     this.tabPage2.Location = new System.Drawing.Point(4, 4);
     this.tabPage2.Name = "tabPage2";
     this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage2.Size = new System.Drawing.Size(740, 631);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text = "饮料西点";
     //
     // contextMenuStripForTabControl
     //
     this.contextMenuStripForTabControl.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.插入toolStripMenuItem,
     this.刪除ToolStripMenuItem,
     this.改名ToolStripMenuItem});
     this.contextMenuStripForTabControl.Name = "contextMenuStripForTabControl";
     this.contextMenuStripForTabControl.Size = new System.Drawing.Size(103, 70);
     //
     // 插入toolStripMenuItem
     //
     this.插入toolStripMenuItem.Name = "插入toolStripMenuItem";
     this.插入toolStripMenuItem.Size = new System.Drawing.Size(102, 22);
     this.插入toolStripMenuItem.Text = "插入";
     this.插入toolStripMenuItem.Click += new System.EventHandler(this.插入toolStripMenuItem_Click);
     //
     // 刪除ToolStripMenuItem
     //
     this.刪除ToolStripMenuItem.Name = "刪除ToolStripMenuItem";
     this.刪除ToolStripMenuItem.Size = new System.Drawing.Size(102, 22);
     this.刪除ToolStripMenuItem.Text = "刪除";
     this.刪除ToolStripMenuItem.Click += new System.EventHandler(this.刪除ToolStripMenuItem_Click);
     //
     // 改名ToolStripMenuItem
     //
     this.改名ToolStripMenuItem.Name = "改名ToolStripMenuItem";
     this.改名ToolStripMenuItem.Size = new System.Drawing.Size(102, 22);
     this.改名ToolStripMenuItem.Text = "改名";
     this.改名ToolStripMenuItem.Click += new System.EventHandler(this.改名ToolStripMenuItem_Click);
     //
     // tabPage1
     //
     this.tabPage1.BackColor = System.Drawing.Color.Azure;
     this.tabPage1.Location = new System.Drawing.Point(4, 4);
     this.tabPage1.Name = "tabPage1";
     this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage1.Size = new System.Drawing.Size(740, 631);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text = "面包";
     //
     // comboBoxWidth
     //
     this.comboBoxWidth.FormattingEnabled = true;
     this.comboBoxWidth.Items.AddRange(new object[] {
     "2",
     "3",
     "4",
     "5",
     "6",
     "7",
     "8",
     "9"});
     this.comboBoxWidth.Location = new System.Drawing.Point(19, 536);
     this.comboBoxWidth.Name = "comboBoxWidth";
     this.comboBoxWidth.Size = new System.Drawing.Size(47, 24);
     this.comboBoxWidth.TabIndex = 5;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(-2, 540);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(24, 16);
     this.label1.TabIndex = 6;
     this.label1.Text = "寬";
     //
     // comboBoxHeight
     //
     this.comboBoxHeight.FormattingEnabled = true;
     this.comboBoxHeight.Items.AddRange(new object[] {
     "2",
     "3",
     "4",
     "5",
     "6",
     "7",
     "8",
     "9",
     "10",
     "11",
     "12",
     "13",
     "14"});
     this.comboBoxHeight.Location = new System.Drawing.Point(108, 536);
     this.comboBoxHeight.Name = "comboBoxHeight";
     this.comboBoxHeight.Size = new System.Drawing.Size(47, 24);
     this.comboBoxHeight.TabIndex = 7;
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(87, 540);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(24, 16);
     this.label2.TabIndex = 8;
     this.label2.Text = "高";
     //
     // btnSave
     //
     this.btnSave.Location = new System.Drawing.Point(19, 566);
     this.btnSave.Name = "btnSave";
     this.btnSave.Size = new System.Drawing.Size(136, 37);
     this.btnSave.TabIndex = 9;
     this.btnSave.Text = "本頁菜單存檔";
     this.btnSave.UseVisualStyleBackColor = true;
     this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
     //
     // textBoxRename
     //
     this.textBoxRename.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.textBoxRename.Location = new System.Drawing.Point(74, 635);
     this.textBoxRename.MaxLength = 6;
     this.textBoxRename.Name = "textBoxRename";
     this.textBoxRename.Size = new System.Drawing.Size(86, 27);
     this.textBoxRename.TabIndex = 11;
     //
     // label3
     //
     this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(12, 638);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(56, 16);
     this.label3.TabIndex = 12;
     this.label3.Text = "改名為";
     //
     // EditBakeryMenu
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 16F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(216)))), ((int)(((byte)(228)))), ((int)(((byte)(248)))));
     this.ClientSize = new System.Drawing.Size(915, 671);
     this.Controls.Add(this.btnSave);
     this.Controls.Add(this.comboBoxHeight);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.comboBoxWidth);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.listBoxProduct);
     this.Controls.Add(this.tabControl1);
     this.Controls.Add(this.textBoxRename);
     this.Font = new System.Drawing.Font("新細明體", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.Margin = new System.Windows.Forms.Padding(4);
     this.Name = "EditBakeryMenu";
     this.Text = "烘焙菜單";
     this.Load += new System.EventHandler(this.EditBakeryMenu_Load);
     this.tabControl1.ResumeLayout(false);
     this.contextMenuStripForTabControl.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 35
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.panel1 = new System.Windows.Forms.Panel();
     this.label3 = new System.Windows.Forms.Label();
     this.bnCancel = new System.Windows.Forms.Button();
     this.label1 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.txtFileFormatPreview = new System.Windows.Forms.TextBox();
     this.cbShowList = new System.Windows.Forms.ComboBox();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.AllowDrop = true;
     this.panel1.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.panel1.Controls.Add(this.label3);
     this.panel1.Location = new System.Drawing.Point(12, 12);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(406, 324);
     this.panel1.TabIndex = 0;
     this.panel1.DragDrop += new System.Windows.Forms.DragEventHandler(this.Panel1_DragDrop);
     this.panel1.DragEnter += new System.Windows.Forms.DragEventHandler(this.Panel1_DragEnter);
     //
     // label3
     //
     this.label3.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.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.ForeColor = System.Drawing.SystemColors.ControlDark;
     this.label3.Location = new System.Drawing.Point(94, 101);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(180, 56);
     this.label3.TabIndex = 0;
     this.label3.Text = "Drop Files Here";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // bnCancel
     //
     this.bnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.bnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.bnCancel.Location = new System.Drawing.Point(325, 382);
     this.bnCancel.Name = "bnCancel";
     this.bnCancel.Size = new System.Drawing.Size(92, 23);
     this.bnCancel.TabIndex = 1;
     this.bnCancel.Text = "Cancel";
     this.bnCancel.UseVisualStyleBackColor = true;
     this.bnCancel.Click += new System.EventHandler(this.BnCancel_Click);
     //
     // label1
     //
     this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(13, 339);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(42, 13);
     this.label1.TabIndex = 2;
     this.label1.Text = "Format:";
     //
     // label2
     //
     this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(13, 362);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(37, 13);
     this.label2.TabIndex = 3;
     this.label2.Text = "Show:";
     //
     // txtFileFormatPreview
     //
     this.txtFileFormatPreview.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.txtFileFormatPreview.Location = new System.Drawing.Point(62, 339);
     this.txtFileFormatPreview.Name = "txtFileFormatPreview";
     this.txtFileFormatPreview.Size = new System.Drawing.Size(257, 20);
     this.txtFileFormatPreview.TabIndex = 4;
     //
     // cbShowList
     //
     this.cbShowList.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.cbShowList.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cbShowList.FormattingEnabled = true;
     this.cbShowList.Location = new System.Drawing.Point(62, 362);
     this.cbShowList.Name = "cbShowList";
     this.cbShowList.Size = new System.Drawing.Size(257, 21);
     this.cbShowList.TabIndex = 12;
     //
     // QuickRename
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.CancelButton = this.bnCancel;
     this.ClientSize = new System.Drawing.Size(430, 411);
     this.Controls.Add(this.cbShowList);
     this.Controls.Add(this.txtFileFormatPreview);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.bnCancel);
     this.Controls.Add(this.panel1);
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.MinimumSize = new System.Drawing.Size(420, 450);
     this.Name = "QuickRename";
     this.ShowIcon = false;
     this.ShowInTaskbar = false;
     this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text = "Quick Rename";
     this.panel1.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.pnlBottomMain = new System.Windows.Forms.Panel();
     this.btnDong = new System.Windows.Forms.Button();
     this.pnlHeaderNoiDung = new System.Windows.Forms.Panel();
     this.lblTieuDeNoiDung = new System.Windows.Forms.Label();
     this.grbSapXep = new System.Windows.Forms.GroupBox();
     this.label1 = new System.Windows.Forms.Label();
     this.cboSapXepTheo = new System.Windows.Forms.ComboBox();
     this.rdbXuoi = new System.Windows.Forms.RadioButton();
     this.rdbNguoc = new System.Windows.Forms.RadioButton();
     this.splitCont = new System.Windows.Forms.SplitContainer();
     this.lvwTinhGia = new System.Windows.Forms.ListView();
     this.pnlHeaderDanhSachTinhGia = new System.Windows.Forms.Panel();
     this.btnCopyTinhGia = new System.Windows.Forms.Button();
     this.btnRefresh = new System.Windows.Forms.Button();
     this.txtNoiDungTinhGia = new System.Windows.Forms.TextBox();
     this.pnlBottomMain.SuspendLayout();
     this.pnlHeaderNoiDung.SuspendLayout();
     this.grbSapXep.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitCont)).BeginInit();
     this.splitCont.Panel1.SuspendLayout();
     this.splitCont.Panel2.SuspendLayout();
     this.splitCont.SuspendLayout();
     this.pnlHeaderDanhSachTinhGia.SuspendLayout();
     this.SuspendLayout();
     //
     // pnlBottomMain
     //
     this.pnlBottomMain.Controls.Add(this.btnDong);
     this.pnlBottomMain.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.pnlBottomMain.Location = new System.Drawing.Point(0, 432);
     this.pnlBottomMain.Name = "pnlBottomMain";
     this.pnlBottomMain.Size = new System.Drawing.Size(746, 38);
     this.pnlBottomMain.TabIndex = 3;
     //
     // btnDong
     //
     this.btnDong.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnDong.Location = new System.Drawing.Point(311, 7);
     this.btnDong.Name = "btnDong";
     this.btnDong.Size = new System.Drawing.Size(75, 23);
     this.btnDong.TabIndex = 2;
     this.btnDong.Text = "Đóng";
     this.btnDong.UseVisualStyleBackColor = true;
     this.btnDong.Click += new System.EventHandler(this.btnHuy_Click);
     //
     // pnlHeaderNoiDung
     //
     this.pnlHeaderNoiDung.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pnlHeaderNoiDung.Controls.Add(this.lblTieuDeNoiDung);
     this.pnlHeaderNoiDung.Dock = System.Windows.Forms.DockStyle.Top;
     this.pnlHeaderNoiDung.Location = new System.Drawing.Point(0, 0);
     this.pnlHeaderNoiDung.Name = "pnlHeaderNoiDung";
     this.pnlHeaderNoiDung.Size = new System.Drawing.Size(194, 33);
     this.pnlHeaderNoiDung.TabIndex = 4;
     //
     // lblTieuDeNoiDung
     //
     this.lblTieuDeNoiDung.AutoSize = true;
     this.lblTieuDeNoiDung.Location = new System.Drawing.Point(49, 9);
     this.lblTieuDeNoiDung.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
     this.lblTieuDeNoiDung.Name = "lblTieuDeNoiDung";
     this.lblTieuDeNoiDung.Size = new System.Drawing.Size(89, 13);
     this.lblTieuDeNoiDung.TabIndex = 0;
     this.lblTieuDeNoiDung.Text = "Nội dung tính giá";
     //
     // grbSapXep
     //
     this.grbSapXep.Controls.Add(this.label1);
     this.grbSapXep.Controls.Add(this.cboSapXepTheo);
     this.grbSapXep.Controls.Add(this.rdbXuoi);
     this.grbSapXep.Controls.Add(this.rdbNguoc);
     this.grbSapXep.Location = new System.Drawing.Point(3, 3);
     this.grbSapXep.Name = "grbSapXep";
     this.grbSapXep.Size = new System.Drawing.Size(300, 53);
     this.grbSapXep.TabIndex = 3;
     this.grbSapXep.TabStop = false;
     this.grbSapXep.Text = "Sắp xếp";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(14, 22);
     this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(32, 13);
     this.label1.TabIndex = 1;
     this.label1.Text = "Theo";
     //
     // cboSapXepTheo
     //
     this.cboSapXepTheo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboSapXepTheo.DropDownWidth = 112;
     this.cboSapXepTheo.FormattingEnabled = true;
     this.cboSapXepTheo.Items.AddRange(new object[] {
     "Không",
     "Ngày",
     "Nhân viên",
     "Tiêu đề"});
     this.cboSapXepTheo.Location = new System.Drawing.Point(50, 19);
     this.cboSapXepTheo.Margin = new System.Windows.Forms.Padding(2);
     this.cboSapXepTheo.Name = "cboSapXepTheo";
     this.cboSapXepTheo.Size = new System.Drawing.Size(111, 21);
     this.cboSapXepTheo.TabIndex = 5;
     //
     // rdbXuoi
     //
     this.rdbXuoi.AutoSize = true;
     this.rdbXuoi.Checked = true;
     this.rdbXuoi.Location = new System.Drawing.Point(175, 20);
     this.rdbXuoi.Name = "rdbXuoi";
     this.rdbXuoi.Size = new System.Drawing.Size(46, 17);
     this.rdbXuoi.TabIndex = 3;
     this.rdbXuoi.TabStop = true;
     this.rdbXuoi.Text = "Xuôi";
     this.rdbXuoi.UseVisualStyleBackColor = true;
     //
     // rdbNguoc
     //
     this.rdbNguoc.AutoSize = true;
     this.rdbNguoc.Location = new System.Drawing.Point(238, 20);
     this.rdbNguoc.Name = "rdbNguoc";
     this.rdbNguoc.Size = new System.Drawing.Size(57, 17);
     this.rdbNguoc.TabIndex = 0;
     this.rdbNguoc.Text = "Ngược";
     this.rdbNguoc.UseVisualStyleBackColor = true;
     //
     // splitCont
     //
     this.splitCont.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitCont.Location = new System.Drawing.Point(0, 0);
     this.splitCont.Margin = new System.Windows.Forms.Padding(2);
     this.splitCont.Name = "splitCont";
     //
     // splitCont.Panel1
     //
     this.splitCont.Panel1.Controls.Add(this.lvwTinhGia);
     this.splitCont.Panel1.Controls.Add(this.pnlHeaderDanhSachTinhGia);
     //
     // splitCont.Panel2
     //
     this.splitCont.Panel2.Controls.Add(this.txtNoiDungTinhGia);
     this.splitCont.Panel2.Controls.Add(this.pnlHeaderNoiDung);
     this.splitCont.Size = new System.Drawing.Size(746, 432);
     this.splitCont.SplitterDistance = 550;
     this.splitCont.SplitterWidth = 2;
     this.splitCont.TabIndex = 6;
     //
     // lvwTinhGia
     //
     this.lvwTinhGia.Dock = System.Windows.Forms.DockStyle.Fill;
     this.lvwTinhGia.GridLines = true;
     this.lvwTinhGia.Location = new System.Drawing.Point(0, 66);
     this.lvwTinhGia.MultiSelect = false;
     this.lvwTinhGia.Name = "lvwTinhGia";
     this.lvwTinhGia.Size = new System.Drawing.Size(550, 366);
     this.lvwTinhGia.TabIndex = 8;
     this.lvwTinhGia.UseCompatibleStateImageBehavior = false;
     this.lvwTinhGia.View = System.Windows.Forms.View.Details;
     this.lvwTinhGia.SelectedIndexChanged += new System.EventHandler(this.lvwTinhGia_SelectedIndexChanged);
     //
     // pnlHeaderDanhSachTinhGia
     //
     this.pnlHeaderDanhSachTinhGia.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.pnlHeaderDanhSachTinhGia.Controls.Add(this.btnCopyTinhGia);
     this.pnlHeaderDanhSachTinhGia.Controls.Add(this.btnRefresh);
     this.pnlHeaderDanhSachTinhGia.Controls.Add(this.grbSapXep);
     this.pnlHeaderDanhSachTinhGia.Dock = System.Windows.Forms.DockStyle.Top;
     this.pnlHeaderDanhSachTinhGia.Location = new System.Drawing.Point(0, 0);
     this.pnlHeaderDanhSachTinhGia.Name = "pnlHeaderDanhSachTinhGia";
     this.pnlHeaderDanhSachTinhGia.Size = new System.Drawing.Size(550, 66);
     this.pnlHeaderDanhSachTinhGia.TabIndex = 7;
     //
     // btnCopyTinhGia
     //
     this.btnCopyTinhGia.Location = new System.Drawing.Point(421, 23);
     this.btnCopyTinhGia.Name = "btnCopyTinhGia";
     this.btnCopyTinhGia.Size = new System.Drawing.Size(93, 23);
     this.btnCopyTinhGia.TabIndex = 5;
     this.btnCopyTinhGia.Text = "Copy Tính giá";
     this.btnCopyTinhGia.UseVisualStyleBackColor = true;
     this.btnCopyTinhGia.Click += new System.EventHandler(this.btnCopyTinhGia_Click);
     //
     // btnRefresh
     //
     this.btnRefresh.Location = new System.Drawing.Point(322, 23);
     this.btnRefresh.Name = "btnRefresh";
     this.btnRefresh.Size = new System.Drawing.Size(93, 23);
     this.btnRefresh.TabIndex = 4;
     this.btnRefresh.Text = "Refesh";
     this.btnRefresh.UseVisualStyleBackColor = true;
     this.btnRefresh.Click += new System.EventHandler(this.btnThemTinhGia_Click);
     //
     // txtNoiDungTinhGia
     //
     this.txtNoiDungTinhGia.Dock = System.Windows.Forms.DockStyle.Fill;
     this.txtNoiDungTinhGia.Location = new System.Drawing.Point(0, 33);
     this.txtNoiDungTinhGia.Margin = new System.Windows.Forms.Padding(2);
     this.txtNoiDungTinhGia.Multiline = true;
     this.txtNoiDungTinhGia.Name = "txtNoiDungTinhGia";
     this.txtNoiDungTinhGia.ReadOnly = true;
     this.txtNoiDungTinhGia.ScrollBars = System.Windows.Forms.ScrollBars.Both;
     this.txtNoiDungTinhGia.Size = new System.Drawing.Size(194, 399);
     this.txtNoiDungTinhGia.TabIndex = 5;
     //
     // LietKeTinhGiaForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(746, 470);
     this.Controls.Add(this.splitCont);
     this.Controls.Add(this.pnlBottomMain);
     this.Name = "LietKeTinhGiaForm";
     this.Text = "Danh sách Tính giá";
     this.Load += new System.EventHandler(this.LietKeTinhGiaForm_Load);
     this.Resize += new System.EventHandler(this.LietKeTinhGiaForm_Resize);
     this.pnlBottomMain.ResumeLayout(false);
     this.pnlHeaderNoiDung.ResumeLayout(false);
     this.pnlHeaderNoiDung.PerformLayout();
     this.grbSapXep.ResumeLayout(false);
     this.grbSapXep.PerformLayout();
     this.splitCont.Panel1.ResumeLayout(false);
     this.splitCont.Panel2.ResumeLayout(false);
     this.splitCont.Panel2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitCont)).EndInit();
     this.splitCont.ResumeLayout(false);
     this.pnlHeaderDanhSachTinhGia.ResumeLayout(false);
     this.ResumeLayout(false);
 }
        /// <summary>
        /// Initializes the component.
        /// </summary>
        public void InitializeComponent()
        {
            this.components      = new System.ComponentModel.Container();
            this.uxErrorProvider = new System.Windows.Forms.ErrorProvider(this.components);
            this.uxBindingSource = new System.Windows.Forms.BindingSource(this.components);

            //this.uxTableLayoutPanel = new System.Windows.Forms.TableLayoutPanel();
            this.uxShoppingCartItemId = new System.Windows.Forms.TextBox();
            uxShoppingCartItemIdLabel = new System.Windows.Forms.Label();
            this.uxShoppingCartId     = new System.Windows.Forms.TextBox();
            uxShoppingCartIdLabel     = new System.Windows.Forms.Label();
            this.uxQuantity           = new System.Windows.Forms.TextBox();
            uxQuantityLabel           = new System.Windows.Forms.Label();
            this.uxProductId          = new System.Windows.Forms.ComboBox();
            uxProductIdLabel          = new System.Windows.Forms.Label();
            this.uxDateCreated        = new System.Windows.Forms.DateTimePicker();
            uxDateCreatedLabel        = new System.Windows.Forms.Label();
            this.uxModifiedDate       = new System.Windows.Forms.DateTimePicker();
            uxModifiedDateLabel       = new System.Windows.Forms.Label();

            ((System.ComponentModel.ISupportInitialize)(this.uxBindingSource)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.uxErrorProvider)).BeginInit();
            this.SuspendLayout();

            //
            // uxTableLayoutPanel
            //
            //this.uxTableLayoutPanel.AutoSize = true;
            //this.uxTableLayoutPanel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
            //this.uxTableLayoutPanel.ColumnCount = 2;
            //this.uxTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 120F));
            //this.uxTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 250F));
            //this.uxTableLayoutPanel.Location = new System.Drawing.System.Drawing.Point(3, 3);
            //this.uxTableLayoutPanel.Name = "uxTableLayoutPanel";
            //this.uxTableLayoutPanel.RowCount = 2;
            //this.uxTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
            //this.uxTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
            //this.uxTableLayoutPanel.Size = new System.Drawing.Size(450, 50);
            //this.uxTableLayoutPanel.TabIndex = 0;

            //
            // uxErrorProvider
            //
            this.uxErrorProvider.ContainerControl = this;
            this.uxErrorProvider.DataSource       = this.uxBindingSource;

            //
            // uxShoppingCartItemIdLabel
            //
            this.uxShoppingCartItemIdLabel.Name     = "uxShoppingCartItemIdLabel";
            this.uxShoppingCartItemIdLabel.Text     = "Shopping Cart Item Id:";
            this.uxShoppingCartItemIdLabel.Location = new System.Drawing.Point(3, 0);
            this.Controls.Add(this.uxShoppingCartItemIdLabel);
            //this.uxTableLayoutPanel.Controls.Add(this.uxShoppingCartItemIdLabel);
            //
            // uxShoppingCartItemId
            //
            this.uxShoppingCartItemId.Name     = "uxShoppingCartItemId";
            this.uxShoppingCartItemId.ReadOnly = true;
            //this.uxTableLayoutPanel.Controls.Add(this.uxShoppingCartItemId);
            this.uxShoppingCartItemId.Location = new System.Drawing.Point(160, 0);
            this.Controls.Add(this.uxShoppingCartItemId);
            //
            // uxShoppingCartIdLabel
            //
            this.uxShoppingCartIdLabel.Name     = "uxShoppingCartIdLabel";
            this.uxShoppingCartIdLabel.Text     = "Shopping Cart Id:";
            this.uxShoppingCartIdLabel.Location = new System.Drawing.Point(3, 26);
            this.Controls.Add(this.uxShoppingCartIdLabel);
            //this.uxTableLayoutPanel.Controls.Add(this.uxShoppingCartIdLabel);
            //
            // uxShoppingCartId
            //
            this.uxShoppingCartId.Name      = "uxShoppingCartId";
            this.uxShoppingCartId.Width     = 250;
            this.uxShoppingCartId.MaxLength = 50;
            //this.uxTableLayoutPanel.Controls.Add(this.uxShoppingCartId);
            this.uxShoppingCartId.Location = new System.Drawing.Point(160, 26);
            this.Controls.Add(this.uxShoppingCartId);
            //
            // uxQuantityLabel
            //
            this.uxQuantityLabel.Name     = "uxQuantityLabel";
            this.uxQuantityLabel.Text     = "Quantity:";
            this.uxQuantityLabel.Location = new System.Drawing.Point(3, 52);
            this.Controls.Add(this.uxQuantityLabel);
            //this.uxTableLayoutPanel.Controls.Add(this.uxQuantityLabel);
            //
            // uxQuantity
            //
            this.uxQuantity.Name = "uxQuantity";
            //this.uxTableLayoutPanel.Controls.Add(this.uxQuantity);
            this.uxQuantity.Location = new System.Drawing.Point(160, 52);
            this.Controls.Add(this.uxQuantity);
            //
            // uxProductIdLabel
            //
            this.uxProductIdLabel.Name     = "uxProductIdLabel";
            this.uxProductIdLabel.Text     = "Product Id:";
            this.uxProductIdLabel.Location = new System.Drawing.Point(3, 78);
            this.Controls.Add(this.uxProductIdLabel);
            //this.uxTableLayoutPanel.Controls.Add(this.uxProductIdLabel);
            //
            // uxProductId
            //
            this.uxProductId.Name = "uxProductId";
            //this.uxTableLayoutPanel.Controls.Add(this.uxProductId);
            this.uxProductId.Location = new System.Drawing.Point(160, 78);
            this.Controls.Add(this.uxProductId);
            //
            // uxDateCreatedLabel
            //
            this.uxDateCreatedLabel.Name     = "uxDateCreatedLabel";
            this.uxDateCreatedLabel.Text     = "Date Created:";
            this.uxDateCreatedLabel.Location = new System.Drawing.Point(3, 104);
            this.Controls.Add(this.uxDateCreatedLabel);
            //this.uxTableLayoutPanel.Controls.Add(this.uxDateCreatedLabel);
            //
            // uxDateCreated
            //
            this.uxDateCreated.Name = "uxDateCreated";
            //this.uxTableLayoutPanel.Controls.Add(this.uxDateCreated);
            this.uxDateCreated.Location = new System.Drawing.Point(160, 104);
            this.Controls.Add(this.uxDateCreated);
            //
            // uxModifiedDateLabel
            //
            this.uxModifiedDateLabel.Name     = "uxModifiedDateLabel";
            this.uxModifiedDateLabel.Text     = "Modified Date:";
            this.uxModifiedDateLabel.Location = new System.Drawing.Point(3, 130);
            this.Controls.Add(this.uxModifiedDateLabel);
            //this.uxTableLayoutPanel.Controls.Add(this.uxModifiedDateLabel);
            //
            // uxModifiedDate
            //
            this.uxModifiedDate.Name = "uxModifiedDate";
            //this.uxTableLayoutPanel.Controls.Add(this.uxModifiedDate);
            this.uxModifiedDate.Location = new System.Drawing.Point(160, 130);
            this.Controls.Add(this.uxModifiedDate);
            //
            // uxProductId
            //
            this.uxProductId.DisplayMember = "Name";
            this.uxProductId.ValueMember   = "ProductId";
            //
            // ShoppingCartItemEditControlBase
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            //this.Controls.Add(this.uxTableLayoutPanel);
            this.AutoScroll = true;
            this.Name       = "ShoppingCartItemEditControlBase";
            this.Size       = new System.Drawing.Size(478, 311);
            //this.Localizable = true;
            ((System.ComponentModel.ISupportInitialize)(this.uxErrorProvider)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.uxBindingSource)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();
        }
Ejemplo n.º 38
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmUsersManage));
     this.ToolTipMain = new System.Windows.Forms.ToolTip(this.components);
     this.lstAccounts = new System.Windows.Forms.ListView();
     this.lstAccounts_ColumnHeader_1_ = new System.Windows.Forms.ColumnHeader();
     this.lstAccounts_ColumnHeader_2_ = new System.Windows.Forms.ColumnHeader();
     this.lstAccounts_ColumnHeader_3_ = new System.Windows.Forms.ColumnHeader();
     this.cmdClear    = new System.Windows.Forms.Button();
     this.cmdSave     = new System.Windows.Forms.Button();
     this.ctrlLiner1  = new System.Windows.Forms.PictureBox();
     this.Frame1      = new System.Windows.Forms.GroupBox();
     this.txtFullname = new System.Windows.Forms.TextBox();
     this.txtPassword = new System.Windows.Forms.TextBox();
     this.txtUsername = new System.Windows.Forms.TextBox();
     this.cboLevel    = new System.Windows.Forms.ComboBox();
     this._Label1_2   = new System.Windows.Forms.Label();
     this._Label1_0   = new System.Windows.Forms.Label();
     this._Label1_1   = new System.Windows.Forms.Label();
     this._Label1_3   = new System.Windows.Forms.Label();
     this.lblId       = new System.Windows.Forms.Label();
     this.cmdClose    = new System.Windows.Forms.Button();
     this.cmdEdit     = new System.Windows.Forms.Button();
     this.cmdDelete   = new System.Windows.Forms.Button();
     this._Label1_4   = new System.Windows.Forms.Label();
     this.Label19     = new System.Windows.Forms.Label();
     this.Label4      = new System.Windows.Forms.Label();
     this.Image1      = new System.Windows.Forms.PictureBox();
     this.lstAccounts.SuspendLayout();
     this.Frame1.SuspendLayout();
     this.SuspendLayout();
     this.listViewHelper1 = new UpgradeHelpers.Gui.ListViewHelper(this.components);
     ((System.ComponentModel.ISupportInitialize) this.listViewHelper1).BeginInit();
     //
     // lstAccounts
     //
     this.lstAccounts.AllowDrop     = true;
     this.lstAccounts.BackColor     = System.Drawing.SystemColors.Window;
     this.lstAccounts.BorderStyle   = System.Windows.Forms.BorderStyle.Fixed3D;
     this.lstAccounts.ForeColor     = System.Drawing.SystemColors.WindowText;
     this.lstAccounts.FullRowSelect = true;
     this.lstAccounts.HideSelection = true;
     this.lstAccounts.LabelEdit     = true;
     this.lstAccounts.Location      = new System.Drawing.Point(0, 264);
     this.lstAccounts.MultiSelect   = false;
     this.lstAccounts.Name          = "lstAccounts";
     this.lstAccounts.Size          = new System.Drawing.Size(337, 113);
     this.lstAccounts.TabIndex      = 7;
     this.lstAccounts.View          = System.Windows.Forms.View.Details;
     this.lstAccounts.Columns.Add(this.lstAccounts_ColumnHeader_1_);
     this.lstAccounts.Columns.Add(this.lstAccounts_ColumnHeader_2_);
     this.lstAccounts.Columns.Add(this.lstAccounts_ColumnHeader_3_);
     this.lstAccounts.DoubleClick += new System.EventHandler(this.lstAccounts_DoubleClick);
     //
     // lstAccounts_ColumnHeader_1_
     //
     this.lstAccounts_ColumnHeader_1_.Text  = "UserId";
     this.lstAccounts_ColumnHeader_1_.Width = 97;
     //
     // lstAccounts_ColumnHeader_2_
     //
     this.lstAccounts_ColumnHeader_2_.Text  = "Name";
     this.lstAccounts_ColumnHeader_2_.Width = 97;
     //
     // lstAccounts_ColumnHeader_3_
     //
     this.lstAccounts_ColumnHeader_3_.Text  = "Level";
     this.lstAccounts_ColumnHeader_3_.Width = 97;
     //
     // cmdClear
     //
     this.cmdClear.AllowDrop               = true;
     this.cmdClear.BackColor               = System.Drawing.SystemColors.Control;
     this.cmdClear.ForeColor               = System.Drawing.SystemColors.ControlText;
     this.cmdClear.Location                = new System.Drawing.Point(168, 232);
     this.cmdClear.Name                    = "cmdClear";
     this.cmdClear.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.cmdClear.Size                    = new System.Drawing.Size(81, 25);
     this.cmdClear.TabIndex                = 5;
     this.cmdClear.Text                    = "&New";
     this.cmdClear.TextImageRelation       = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.cmdClear.UseVisualStyleBackColor = false;
     this.cmdClear.Click                  += new System.EventHandler(this.cmdClear_Click);
     //
     // cmdSave
     //
     this.cmdSave.AllowDrop               = true;
     this.cmdSave.BackColor               = System.Drawing.SystemColors.Control;
     this.cmdSave.ForeColor               = System.Drawing.SystemColors.ControlText;
     this.cmdSave.Location                = new System.Drawing.Point(80, 232);
     this.cmdSave.Name                    = "cmdSave";
     this.cmdSave.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.cmdSave.Size                    = new System.Drawing.Size(81, 25);
     this.cmdSave.TabIndex                = 4;
     this.cmdSave.Text                    = "&Save";
     this.cmdSave.TextImageRelation       = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.cmdSave.UseVisualStyleBackColor = false;
     this.cmdSave.Click                  += new System.EventHandler(this.cmdSave_Click);
     //
     // ctrlLiner1
     //
     this.ctrlLiner1.AllowDrop        = true;
     this.ctrlLiner1.BackColor        = System.Drawing.SystemColors.Control;
     this.ctrlLiner1.BorderStyle      = System.Windows.Forms.BorderStyle.Fixed3D;
     this.ctrlLiner1.CausesValidation = true;
     this.ctrlLiner1.Dock             = System.Windows.Forms.DockStyle.None;
     this.ctrlLiner1.Enabled          = true;
     this.ctrlLiner1.Location         = new System.Drawing.Point(0, 56);
     this.ctrlLiner1.Name             = "ctrlLiner1";
     this.ctrlLiner1.Size             = new System.Drawing.Size(313, 2);
     this.ctrlLiner1.SizeMode         = System.Windows.Forms.PictureBoxSizeMode.Normal;
     this.ctrlLiner1.TabIndex         = 15;
     this.ctrlLiner1.TabStop          = true;
     this.ctrlLiner1.Visible          = true;
     //
     // Frame1
     //
     this.Frame1.AllowDrop = true;
     this.Frame1.BackColor = System.Drawing.SystemColors.Control;
     this.Frame1.Controls.Add(this.txtFullname);
     this.Frame1.Controls.Add(this.txtPassword);
     this.Frame1.Controls.Add(this.txtUsername);
     this.Frame1.Controls.Add(this.cboLevel);
     this.Frame1.Controls.Add(this._Label1_2);
     this.Frame1.Controls.Add(this._Label1_0);
     this.Frame1.Controls.Add(this._Label1_1);
     this.Frame1.Controls.Add(this._Label1_3);
     this.Frame1.Controls.Add(this.lblId);
     this.Frame1.Enabled     = true;
     this.Frame1.Font        = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0);
     this.Frame1.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.Frame1.Location    = new System.Drawing.Point(8, 64);
     this.Frame1.Name        = "Frame1";
     this.Frame1.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Frame1.Size        = new System.Drawing.Size(329, 153);
     this.Frame1.TabIndex    = 10;
     this.Frame1.Text        = "User information";
     this.Frame1.Visible     = true;
     //
     // txtFullname
     //
     this.txtFullname.AcceptsReturn = true;
     this.txtFullname.AllowDrop     = true;
     this.txtFullname.BackColor     = System.Drawing.SystemColors.Window;
     this.txtFullname.BorderStyle   = System.Windows.Forms.BorderStyle.Fixed3D;
     this.txtFullname.Cursor        = System.Windows.Forms.Cursors.IBeam;
     this.txtFullname.ForeColor     = System.Drawing.SystemColors.WindowText;
     this.txtFullname.ImeMode       = System.Windows.Forms.ImeMode.Disable;
     this.txtFullname.Location      = new System.Drawing.Point(120, 88);
     this.txtFullname.MaxLength     = 50;
     this.txtFullname.Name          = "txtFullname";
     this.txtFullname.RightToLeft   = System.Windows.Forms.RightToLeft.No;
     this.txtFullname.Size          = new System.Drawing.Size(193, 19);
     this.txtFullname.TabIndex      = 2;
     this.txtFullname.Enter        += new System.EventHandler(this.txtFullname_Enter);
     //
     // txtPassword
     //
     this.txtPassword.AcceptsReturn = true;
     this.txtPassword.AllowDrop     = true;
     this.txtPassword.BackColor     = System.Drawing.SystemColors.Window;
     this.txtPassword.BorderStyle   = System.Windows.Forms.BorderStyle.Fixed3D;
     this.txtPassword.Cursor        = System.Windows.Forms.Cursors.IBeam;
     this.txtPassword.Font          = new System.Drawing.Font("Wingdings", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 2);
     this.txtPassword.ForeColor     = System.Drawing.SystemColors.WindowText;
     this.txtPassword.ImeMode       = System.Windows.Forms.ImeMode.Disable;
     this.txtPassword.Location      = new System.Drawing.Point(120, 56);
     this.txtPassword.MaxLength     = 50;
     this.txtPassword.Name          = "txtPassword";
     this.txtPassword.PasswordChar  = (char)108;
     this.txtPassword.RightToLeft   = System.Windows.Forms.RightToLeft.No;
     this.txtPassword.Size          = new System.Drawing.Size(193, 19);
     this.txtPassword.TabIndex      = 1;
     this.txtPassword.Enter        += new System.EventHandler(this.txtPassword_Enter);
     //
     // txtUsername
     //
     this.txtUsername.AcceptsReturn = true;
     this.txtUsername.AllowDrop     = true;
     this.txtUsername.BackColor     = System.Drawing.SystemColors.Window;
     this.txtUsername.BorderStyle   = System.Windows.Forms.BorderStyle.Fixed3D;
     this.txtUsername.Cursor        = System.Windows.Forms.Cursors.IBeam;
     this.txtUsername.ForeColor     = System.Drawing.SystemColors.WindowText;
     this.txtUsername.Location      = new System.Drawing.Point(120, 24);
     this.txtUsername.MaxLength     = 50;
     this.txtUsername.Name          = "txtUsername";
     this.txtUsername.RightToLeft   = System.Windows.Forms.RightToLeft.No;
     this.txtUsername.Size          = new System.Drawing.Size(193, 19);
     this.txtUsername.TabIndex      = 0;
     this.txtUsername.Enter        += new System.EventHandler(this.txtUsername_Enter);
     //
     // cboLevel
     //
     this.cboLevel.AllowDrop        = true;
     this.cboLevel.BackColor        = System.Drawing.SystemColors.Window;
     this.cboLevel.CausesValidation = true;
     this.cboLevel.DropDownStyle    = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboLevel.Enabled          = true;
     this.cboLevel.ForeColor        = System.Drawing.SystemColors.WindowText;
     this.cboLevel.IntegralHeight   = true;
     this.cboLevel.Location         = new System.Drawing.Point(120, 120);
     this.cboLevel.Name             = "cboLevel";
     this.cboLevel.RightToLeft      = System.Windows.Forms.RightToLeft.No;
     this.cboLevel.Size             = new System.Drawing.Size(193, 21);
     this.cboLevel.Sorted           = false;
     this.cboLevel.TabIndex         = 3;
     this.cboLevel.TabStop          = true;
     this.cboLevel.Visible          = true;
     //
     // _Label1_2
     //
     this._Label1_2.AllowDrop   = true;
     this._Label1_2.AutoSize    = true;
     this._Label1_2.BackColor   = System.Drawing.SystemColors.Control;
     this._Label1_2.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this._Label1_2.Font        = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0);
     this._Label1_2.ForeColor   = System.Drawing.Color.FromArgb(64, 64, 64);
     this._Label1_2.Location    = new System.Drawing.Point(16, 88);
     this._Label1_2.Name        = "_Label1_2";
     this._Label1_2.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this._Label1_2.Size        = new System.Drawing.Size(68, 13);
     this._Label1_2.TabIndex    = 16;
     this._Label1_2.Text        = "Full name: *";
     //
     // _Label1_0
     //
     this._Label1_0.AllowDrop   = true;
     this._Label1_0.AutoSize    = true;
     this._Label1_0.BackColor   = System.Drawing.SystemColors.Control;
     this._Label1_0.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this._Label1_0.Font        = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0);
     this._Label1_0.ForeColor   = System.Drawing.Color.FromArgb(64, 64, 64);
     this._Label1_0.Location    = new System.Drawing.Point(16, 24);
     this._Label1_0.Name        = "_Label1_0";
     this._Label1_0.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this._Label1_0.Size        = new System.Drawing.Size(70, 13);
     this._Label1_0.TabIndex    = 14;
     this._Label1_0.Text        = "Username: *";
     //
     // _Label1_1
     //
     this._Label1_1.AllowDrop   = true;
     this._Label1_1.AutoSize    = true;
     this._Label1_1.BackColor   = System.Drawing.SystemColors.Control;
     this._Label1_1.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this._Label1_1.Font        = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0);
     this._Label1_1.ForeColor   = System.Drawing.Color.FromArgb(64, 64, 64);
     this._Label1_1.Location    = new System.Drawing.Point(16, 56);
     this._Label1_1.Name        = "_Label1_1";
     this._Label1_1.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this._Label1_1.Size        = new System.Drawing.Size(96, 13);
     this._Label1_1.TabIndex    = 13;
     this._Label1_1.Text        = "New password: *";
     //
     // _Label1_3
     //
     this._Label1_3.AllowDrop   = true;
     this._Label1_3.AutoSize    = true;
     this._Label1_3.BackColor   = System.Drawing.SystemColors.Control;
     this._Label1_3.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this._Label1_3.Font        = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0);
     this._Label1_3.ForeColor   = System.Drawing.Color.FromArgb(64, 64, 64);
     this._Label1_3.Location    = new System.Drawing.Point(16, 120);
     this._Label1_3.Name        = "_Label1_3";
     this._Label1_3.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this._Label1_3.Size        = new System.Drawing.Size(71, 13);
     this._Label1_3.TabIndex    = 12;
     this._Label1_3.Text        = "User level: *";
     //
     // lblId
     //
     this.lblId.AllowDrop   = true;
     this.lblId.AutoSize    = true;
     this.lblId.BackColor   = System.Drawing.SystemColors.Control;
     this.lblId.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.lblId.Font        = new System.Drawing.Font("Tahoma", 8.25f, System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0);
     this.lblId.ForeColor   = System.Drawing.Color.FromArgb(64, 64, 64);
     this.lblId.Location    = new System.Drawing.Point(128, 24);
     this.lblId.Name        = "lblId";
     this.lblId.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.lblId.Size        = new System.Drawing.Size(3, 13);
     this.lblId.TabIndex    = 11;
     //
     // cmdClose
     //
     this.cmdClose.AllowDrop               = true;
     this.cmdClose.BackColor               = System.Drawing.SystemColors.Control;
     this.cmdClose.ForeColor               = System.Drawing.SystemColors.ControlText;
     this.cmdClose.Location                = new System.Drawing.Point(256, 232);
     this.cmdClose.Name                    = "cmdClose";
     this.cmdClose.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.cmdClose.Size                    = new System.Drawing.Size(81, 25);
     this.cmdClose.TabIndex                = 6;
     this.cmdClose.Text                    = "&Close";
     this.cmdClose.TextImageRelation       = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.cmdClose.UseVisualStyleBackColor = false;
     this.cmdClose.Click                  += new System.EventHandler(this.cmdClose_Click);
     //
     // cmdEdit
     //
     this.cmdEdit.AllowDrop               = true;
     this.cmdEdit.BackColor               = System.Drawing.SystemColors.Control;
     this.cmdEdit.ForeColor               = System.Drawing.SystemColors.ControlText;
     this.cmdEdit.Location                = new System.Drawing.Point(168, 384);
     this.cmdEdit.Name                    = "cmdEdit";
     this.cmdEdit.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.cmdEdit.Size                    = new System.Drawing.Size(81, 25);
     this.cmdEdit.TabIndex                = 8;
     this.cmdEdit.Text                    = "&Edit";
     this.cmdEdit.TextImageRelation       = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.cmdEdit.UseVisualStyleBackColor = false;
     this.cmdEdit.Click                  += new System.EventHandler(this.cmdEdit_Click);
     //
     // cmdDelete
     //
     this.cmdDelete.AllowDrop               = true;
     this.cmdDelete.BackColor               = System.Drawing.SystemColors.Control;
     this.cmdDelete.ForeColor               = System.Drawing.SystemColors.ControlText;
     this.cmdDelete.Location                = new System.Drawing.Point(256, 384);
     this.cmdDelete.Name                    = "cmdDelete";
     this.cmdDelete.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.cmdDelete.Size                    = new System.Drawing.Size(81, 25);
     this.cmdDelete.TabIndex                = 9;
     this.cmdDelete.Text                    = "&Delete";
     this.cmdDelete.TextImageRelation       = System.Windows.Forms.TextImageRelation.ImageAboveText;
     this.cmdDelete.UseVisualStyleBackColor = false;
     this.cmdDelete.Click                  += new System.EventHandler(this.cmdDelete_Click);
     //
     // _Label1_4
     //
     this._Label1_4.AllowDrop   = true;
     this._Label1_4.AutoSize    = true;
     this._Label1_4.BackColor   = System.Drawing.SystemColors.Control;
     this._Label1_4.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this._Label1_4.Font        = new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0);
     this._Label1_4.ForeColor   = System.Drawing.Color.FromArgb(64, 64, 64);
     this._Label1_4.Location    = new System.Drawing.Point(8, 392);
     this._Label1_4.Name        = "_Label1_4";
     this._Label1_4.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this._Label1_4.Size        = new System.Drawing.Size(95, 13);
     this._Label1_4.TabIndex    = 19;
     this._Label1_4.Text        = "* Required fields";
     //
     // Label19
     //
     this.Label19.AllowDrop   = true;
     this.Label19.AutoSize    = true;
     this.Label19.BackColor   = System.Drawing.Color.Transparent;
     this.Label19.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.Label19.Font        = new System.Drawing.Font("Microsoft Sans Serif", 9.75f, System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0);
     this.Label19.ForeColor   = System.Drawing.Color.FromArgb(64, 64, 64);
     this.Label19.Location    = new System.Drawing.Point(48, 8);
     this.Label19.Name        = "Label19";
     this.Label19.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label19.Size        = new System.Drawing.Size(34, 16);
     this.Label19.TabIndex    = 18;
     this.Label19.Text        = "User";
     this.Label19.TextAlign   = System.Drawing.ContentAlignment.TopRight;
     //
     // Label4
     //
     this.Label4.AllowDrop   = true;
     this.Label4.AutoSize    = true;
     this.Label4.BackColor   = System.Drawing.Color.Transparent;
     this.Label4.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.Label4.ForeColor   = System.Drawing.Color.FromArgb(64, 64, 64);
     this.Label4.Location    = new System.Drawing.Point(48, 32);
     this.Label4.Name        = "Label4";
     this.Label4.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.Label4.Size        = new System.Drawing.Size(176, 13);
     this.Label4.TabIndex    = 17;
     this.Label4.Text        = "Set user information and access level";
     //
     // Image1
     //
     this.Image1.AllowDrop   = true;
     this.Image1.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.Image1.Cursor      = new System.Windows.Forms.Cursor((new System.Drawing.Bitmap((System.Drawing.Image)resources.GetObject("Image1.Cursor"))).GetHicon());
     this.Image1.Enabled     = true;
     this.Image1.Image       = (System.Drawing.Image)resources.GetObject("Image1.Image");
     this.Image1.Location    = new System.Drawing.Point(8, 8);
     this.Image1.Name        = "Image1";
     this.Image1.Size        = new System.Drawing.Size(32, 32);
     this.Image1.SizeMode    = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.Image1.Visible     = true;
     //
     // frmUsersManage
     //
     this.AllowDrop           = true;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6, 13);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoScroll          = true;
     this.BackColor           = System.Drawing.SystemColors.Control;
     this.ClientSize          = new System.Drawing.Size(345, 414);
     this.Controls.Add(this.lstAccounts);
     this.Controls.Add(this.cmdClear);
     this.Controls.Add(this.cmdSave);
     this.Controls.Add(this.ctrlLiner1);
     this.Controls.Add(this.Frame1);
     this.Controls.Add(this.cmdClose);
     this.Controls.Add(this.cmdEdit);
     this.Controls.Add(this.cmdDelete);
     this.Controls.Add(this._Label1_4);
     this.Controls.Add(this.Label19);
     this.Controls.Add(this.Label4);
     this.Controls.Add(this.Image1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = (System.Drawing.Icon)resources.GetObject("frmUsersManage.Icon");
     this.Location        = new System.Drawing.Point(327, 144);
     this.MaximizeBox     = false;
     this.MinimizeBox     = true;
     this.Name            = "frmUsersManage";
     this.RightToLeft     = System.Windows.Forms.RightToLeft.No;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.Manual;
     this.Text            = "Users Management";
     //this.Image1.Cursor = vbCustom;
     this.ToolTipMain.SetToolTip(this.Image1, "View warnings");
     this.Closed += new System.EventHandler(this.Form_Closed);
     this.listViewHelper1.SetCorrectEventsBehavior(this.lstAccounts, true);
     ((System.ComponentModel.ISupportInitialize) this.listViewHelper1).EndInit();
     this.lstAccounts.ResumeLayout(false);
     this.Frame1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 39
0
        /// <summary>
        /// 绑定泛型集合到ComboBox
        /// </summary>
        /// <typeparam name="T">泛型类型</typeparam>
        /// <param name="combox">ComboBox</param>
        /// <param name="displayFun">显示的委托,当为null时调用成员的ToString方法的值作为显示值[默认值为null]</param>
        /// <param name="items">要绑定的集合</param>
        /// <param name="selectedItem">默认选中项,不设置默认选中时该值为null[默认值为null]</param>
        public static void BindingIEnumerableGenericToComboBox <T>(System.Windows.Forms.ComboBox combox, Func <T, string> displayFun, IEnumerable <T> items, T selectedItem = null) where T : class
        {
            List <FieldInfoEx> bindItems = FieldInfoEx.GenericToDropdownBindingItems <T>(items, displayFun);

            BindingIEnumerableGenericToComboBox <T>(combox, bindItems, selectedItem);
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.pageSpecificFilter = new System.Windows.Forms.TabPage();
     this.lblNameMask        = new System.Windows.Forms.Label();
     this.lblPlaceMask       = new System.Windows.Forms.Label();
     this.lblGroups          = new System.Windows.Forms.Label();
     this.GroupBox1          = new System.Windows.Forms.GroupBox();
     this.chkOnlyPatriarchs  = new System.Windows.Forms.CheckBox();
     this.lblSources         = new System.Windows.Forms.Label();
     this.lblAliveBefore     = new System.Windows.Forms.Label();
     this.lblEventsMask      = new System.Windows.Forms.Label();
     this.rgLife             = new System.Windows.Forms.GroupBox();
     this.rbAliveBefore      = new System.Windows.Forms.RadioButton();
     this.rbOnlyDead         = new System.Windows.Forms.RadioButton();
     this.rbOnlyLive         = new System.Windows.Forms.RadioButton();
     this.rbAll              = new System.Windows.Forms.RadioButton();
     this.txtName            = new System.Windows.Forms.ComboBox();
     this.rgSex              = new System.Windows.Forms.GroupBox();
     this.rbSexFemale        = new System.Windows.Forms.RadioButton();
     this.rbSexAll           = new System.Windows.Forms.RadioButton();
     this.rbSexMale          = new System.Windows.Forms.RadioButton();
     this.txtAliveBeforeDate = new System.Windows.Forms.MaskedTextBox();
     this.cmbResidence       = new System.Windows.Forms.ComboBox();
     this.cmbGroup           = new System.Windows.Forms.ComboBox();
     this.cmbSource          = new System.Windows.Forms.ComboBox();
     this.cmbEventVal        = new System.Windows.Forms.ComboBox();
     this.tabsFilters.SuspendLayout();
     this.pageSpecificFilter.SuspendLayout();
     this.GroupBox1.SuspendLayout();
     this.rgLife.SuspendLayout();
     this.rgSex.SuspendLayout();
     this.SuspendLayout();
     //
     // tabsFilters
     //
     this.tabsFilters.Controls.Add(this.pageSpecificFilter);
     this.tabsFilters.Size = new System.Drawing.Size(829, 490);
     this.tabsFilters.Controls.SetChildIndex(this.pageSpecificFilter, 0);
     //
     // pageSpecificFilter
     //
     this.pageSpecificFilter.Controls.Add(this.lblNameMask);
     this.pageSpecificFilter.Controls.Add(this.lblPlaceMask);
     this.pageSpecificFilter.Controls.Add(this.lblGroups);
     this.pageSpecificFilter.Controls.Add(this.GroupBox1);
     this.pageSpecificFilter.Controls.Add(this.lblSources);
     this.pageSpecificFilter.Controls.Add(this.lblAliveBefore);
     this.pageSpecificFilter.Controls.Add(this.lblEventsMask);
     this.pageSpecificFilter.Controls.Add(this.rgLife);
     this.pageSpecificFilter.Controls.Add(this.txtName);
     this.pageSpecificFilter.Controls.Add(this.rgSex);
     this.pageSpecificFilter.Controls.Add(this.txtAliveBeforeDate);
     this.pageSpecificFilter.Controls.Add(this.cmbResidence);
     this.pageSpecificFilter.Controls.Add(this.cmbGroup);
     this.pageSpecificFilter.Controls.Add(this.cmbSource);
     this.pageSpecificFilter.Controls.Add(this.cmbEventVal);
     this.pageSpecificFilter.Location = new System.Drawing.Point(4, 26);
     this.pageSpecificFilter.Margin   = new System.Windows.Forms.Padding(0);
     this.pageSpecificFilter.Name     = "pageSpecificFilter";
     this.pageSpecificFilter.Padding  = new System.Windows.Forms.Padding(10);
     this.pageSpecificFilter.Size     = new System.Drawing.Size(819, 464);
     this.pageSpecificFilter.TabIndex = 1;
     this.pageSpecificFilter.Text     = "pageSpecificFilter";
     //
     // lblNameMask
     //
     this.lblNameMask.AutoSize = true;
     this.lblNameMask.Location = new System.Drawing.Point(14, 179);
     this.lblNameMask.Name     = "lblNameMask";
     this.lblNameMask.Size     = new System.Drawing.Size(85, 17);
     this.lblNameMask.TabIndex = 19;
     this.lblNameMask.Text     = "lblNameMask";
     //
     // lblPlaceMask
     //
     this.lblPlaceMask.AutoSize = true;
     this.lblPlaceMask.Location = new System.Drawing.Point(14, 234);
     this.lblPlaceMask.Name     = "lblPlaceMask";
     this.lblPlaceMask.Size     = new System.Drawing.Size(81, 17);
     this.lblPlaceMask.TabIndex = 21;
     this.lblPlaceMask.Text     = "lblPlaceMask";
     //
     // lblGroups
     //
     this.lblGroups.AutoSize = true;
     this.lblGroups.Location = new System.Drawing.Point(14, 344);
     this.lblGroups.Name     = "lblGroups";
     this.lblGroups.Size     = new System.Drawing.Size(64, 17);
     this.lblGroups.TabIndex = 25;
     this.lblGroups.Text     = "lblGroups";
     //
     // GroupBox1
     //
     this.GroupBox1.Controls.Add(this.chkOnlyPatriarchs);
     this.GroupBox1.Location = new System.Drawing.Point(411, 73);
     this.GroupBox1.Name     = "GroupBox1";
     this.GroupBox1.Size     = new System.Drawing.Size(234, 41);
     this.GroupBox1.TabIndex = 29;
     this.GroupBox1.TabStop  = false;
     //
     // chkOnlyPatriarchs
     //
     this.chkOnlyPatriarchs.AutoSize = true;
     this.chkOnlyPatriarchs.Location = new System.Drawing.Point(8, 16);
     this.chkOnlyPatriarchs.Name     = "chkOnlyPatriarchs";
     this.chkOnlyPatriarchs.Size     = new System.Drawing.Size(140, 21);
     this.chkOnlyPatriarchs.TabIndex = 0;
     this.chkOnlyPatriarchs.Text     = "chkOnlyPatriarchs";
     //
     // lblSources
     //
     this.lblSources.AutoSize = true;
     this.lblSources.Location = new System.Drawing.Point(13, 399);
     this.lblSources.Name     = "lblSources";
     this.lblSources.Size     = new System.Drawing.Size(69, 17);
     this.lblSources.TabIndex = 27;
     this.lblSources.Text     = "lblSources";
     //
     // lblAliveBefore
     //
     this.lblAliveBefore.AutoSize = true;
     this.lblAliveBefore.Location = new System.Drawing.Point(411, 15);
     this.lblAliveBefore.Name     = "lblAliveBefore";
     this.lblAliveBefore.Size     = new System.Drawing.Size(86, 17);
     this.lblAliveBefore.TabIndex = 17;
     this.lblAliveBefore.Text     = "lblAliveBefore";
     //
     // lblEventsMask
     //
     this.lblEventsMask.AutoSize = true;
     this.lblEventsMask.Location = new System.Drawing.Point(13, 289);
     this.lblEventsMask.Name     = "lblEventsMask";
     this.lblEventsMask.Size     = new System.Drawing.Size(92, 17);
     this.lblEventsMask.TabIndex = 23;
     this.lblEventsMask.Text     = "lblEventsMask";
     //
     // rgLife
     //
     this.rgLife.Controls.Add(this.rbAliveBefore);
     this.rgLife.Controls.Add(this.rbOnlyDead);
     this.rgLife.Controls.Add(this.rbOnlyLive);
     this.rgLife.Controls.Add(this.rbAll);
     this.rgLife.Location = new System.Drawing.Point(197, 15);
     this.rgLife.Name     = "rgLife";
     this.rgLife.Padding  = new System.Windows.Forms.Padding(10);
     this.rgLife.Size     = new System.Drawing.Size(193, 159);
     this.rgLife.TabIndex = 15;
     this.rgLife.TabStop  = false;
     //
     // rbAliveBefore
     //
     this.rbAliveBefore.AutoSize = true;
     this.rbAliveBefore.Location = new System.Drawing.Point(10, 120);
     this.rbAliveBefore.Margin   = new System.Windows.Forms.Padding(0);
     this.rbAliveBefore.Name     = "rbAliveBefore";
     this.rbAliveBefore.Size     = new System.Drawing.Size(108, 21);
     this.rbAliveBefore.TabIndex = 3;
     this.rbAliveBefore.Text     = "rbAliveBefore";
     this.rbAliveBefore.Click   += new System.EventHandler(this.rgLifeClick);
     //
     // rbOnlyDead
     //
     this.rbOnlyDead.AutoSize = true;
     this.rbOnlyDead.Location = new System.Drawing.Point(10, 89);
     this.rbOnlyDead.Margin   = new System.Windows.Forms.Padding(0, 0, 0, 10);
     this.rbOnlyDead.Name     = "rbOnlyDead";
     this.rbOnlyDead.Size     = new System.Drawing.Size(102, 21);
     this.rbOnlyDead.TabIndex = 2;
     this.rbOnlyDead.Text     = "rbOnlyDead";
     this.rbOnlyDead.Click   += new System.EventHandler(this.rgLifeClick);
     //
     // rbOnlyLive
     //
     this.rbOnlyLive.AutoSize = true;
     this.rbOnlyLive.Location = new System.Drawing.Point(10, 58);
     this.rbOnlyLive.Margin   = new System.Windows.Forms.Padding(0, 0, 0, 10);
     this.rbOnlyLive.Name     = "rbOnlyLive";
     this.rbOnlyLive.Size     = new System.Drawing.Size(94, 21);
     this.rbOnlyLive.TabIndex = 1;
     this.rbOnlyLive.Text     = "rbOnlyLive";
     this.rbOnlyLive.Click   += new System.EventHandler(this.rgLifeClick);
     //
     // rbAll
     //
     this.rbAll.AutoSize = true;
     this.rbAll.Location = new System.Drawing.Point(10, 27);
     this.rbAll.Margin   = new System.Windows.Forms.Padding(0, 0, 0, 10);
     this.rbAll.Name     = "rbAll";
     this.rbAll.Size     = new System.Drawing.Size(54, 21);
     this.rbAll.TabIndex = 0;
     this.rbAll.Text     = "rbAll";
     this.rbAll.Click   += new System.EventHandler(this.rgLifeClick);
     //
     // txtName
     //
     this.txtName.Location = new System.Drawing.Point(13, 199);
     this.txtName.Margin   = new System.Windows.Forms.Padding(3, 3, 3, 10);
     this.txtName.Name     = "txtName";
     this.txtName.Size     = new System.Drawing.Size(281, 25);
     this.txtName.Sorted   = true;
     this.txtName.TabIndex = 20;
     this.txtName.Text     = "*";
     //
     // rgSex
     //
     this.rgSex.Controls.Add(this.rbSexFemale);
     this.rgSex.Controls.Add(this.rbSexAll);
     this.rgSex.Controls.Add(this.rbSexMale);
     this.rgSex.Location = new System.Drawing.Point(14, 15);
     this.rgSex.Margin   = new System.Windows.Forms.Padding(10);
     this.rgSex.Name     = "rgSex";
     this.rgSex.Padding  = new System.Windows.Forms.Padding(10);
     this.rgSex.Size     = new System.Drawing.Size(166, 130);
     this.rgSex.TabIndex = 16;
     this.rgSex.TabStop  = false;
     //
     // rbSexFemale
     //
     this.rbSexFemale.AutoSize = true;
     this.rbSexFemale.Location = new System.Drawing.Point(10, 89);
     this.rbSexFemale.Margin   = new System.Windows.Forms.Padding(0);
     this.rbSexFemale.Name     = "rbSexFemale";
     this.rbSexFemale.Size     = new System.Drawing.Size(107, 21);
     this.rbSexFemale.TabIndex = 2;
     this.rbSexFemale.Text     = "rbSexFemale";
     //
     // rbSexAll
     //
     this.rbSexAll.AutoSize = true;
     this.rbSexAll.Location = new System.Drawing.Point(10, 27);
     this.rbSexAll.Margin   = new System.Windows.Forms.Padding(0, 0, 0, 10);
     this.rbSexAll.Name     = "rbSexAll";
     this.rbSexAll.Size     = new System.Drawing.Size(77, 21);
     this.rbSexAll.TabIndex = 0;
     this.rbSexAll.Text     = "rbSexAll";
     //
     // rbSexMale
     //
     this.rbSexMale.AutoSize = true;
     this.rbSexMale.Location = new System.Drawing.Point(10, 58);
     this.rbSexMale.Margin   = new System.Windows.Forms.Padding(0, 0, 0, 10);
     this.rbSexMale.Name     = "rbSexMale";
     this.rbSexMale.Size     = new System.Drawing.Size(91, 21);
     this.rbSexMale.TabIndex = 1;
     this.rbSexMale.Text     = "rbSexMale";
     //
     // txtAliveBeforeDate
     //
     this.txtAliveBeforeDate.Enabled        = false;
     this.txtAliveBeforeDate.Location       = new System.Drawing.Point(411, 35);
     this.txtAliveBeforeDate.Mask           = "00/00/0000";
     this.txtAliveBeforeDate.Name           = "txtAliveBeforeDate";
     this.txtAliveBeforeDate.Size           = new System.Drawing.Size(148, 24);
     this.txtAliveBeforeDate.TabIndex       = 18;
     this.txtAliveBeforeDate.TextMaskFormat = System.Windows.Forms.MaskFormat.IncludePromptAndLiterals;
     //
     // cmbResidence
     //
     this.cmbResidence.Location = new System.Drawing.Point(13, 254);
     this.cmbResidence.Margin   = new System.Windows.Forms.Padding(3, 3, 3, 10);
     this.cmbResidence.Name     = "cmbResidence";
     this.cmbResidence.Size     = new System.Drawing.Size(281, 25);
     this.cmbResidence.Sorted   = true;
     this.cmbResidence.TabIndex = 22;
     this.cmbResidence.Text     = "*";
     //
     // cmbGroup
     //
     this.cmbGroup.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbGroup.Location      = new System.Drawing.Point(13, 364);
     this.cmbGroup.Margin        = new System.Windows.Forms.Padding(3, 3, 3, 10);
     this.cmbGroup.Name          = "cmbGroup";
     this.cmbGroup.Size          = new System.Drawing.Size(281, 25);
     this.cmbGroup.TabIndex      = 26;
     //
     // cmbSource
     //
     this.cmbSource.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbSource.Location      = new System.Drawing.Point(14, 419);
     this.cmbSource.Name          = "cmbSource";
     this.cmbSource.Size          = new System.Drawing.Size(281, 25);
     this.cmbSource.TabIndex      = 28;
     //
     // cmbEventVal
     //
     this.cmbEventVal.Location = new System.Drawing.Point(14, 309);
     this.cmbEventVal.Margin   = new System.Windows.Forms.Padding(3, 3, 3, 10);
     this.cmbEventVal.Name     = "cmbEventVal";
     this.cmbEventVal.Size     = new System.Drawing.Size(281, 25);
     this.cmbEventVal.Sorted   = true;
     this.cmbEventVal.TabIndex = 24;
     this.cmbEventVal.Text     = "*";
     //
     // PersonsFilterDlg
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(120F, 120F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Dpi;
     this.ClientSize          = new System.Drawing.Size(861, 584);
     this.Name = "PersonsFilterDlg";
     this.tabsFilters.ResumeLayout(false);
     this.pageSpecificFilter.ResumeLayout(false);
     this.pageSpecificFilter.PerformLayout();
     this.GroupBox1.ResumeLayout(false);
     this.GroupBox1.PerformLayout();
     this.rgLife.ResumeLayout(false);
     this.rgLife.PerformLayout();
     this.rgSex.ResumeLayout(false);
     this.rgSex.PerformLayout();
     this.ResumeLayout(false);
 }
Ejemplo n.º 41
0
 private void InitializeComponent()
 {
     this.panel1          = new System.Windows.Forms.Panel();
     this._clearButton    = new System.Windows.Forms.Button();
     this._recent         = new System.Windows.Forms.ComboBox();
     this._cacheDirectory = new System.Windows.Forms.TextBox();
     this._server         = new System.Windows.Forms.TextBox();
     this.label2          = new System.Windows.Forms.Label();
     this.label1          = new System.Windows.Forms.Label();
     this._jpeg           = new System.Windows.Forms.CheckBox();
     this._png            = new System.Windows.Forms.CheckBox();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.Controls.Add(this._png);
     this.panel1.Controls.Add(this._jpeg);
     this.panel1.Controls.Add(this._clearButton);
     this.panel1.Controls.Add(this._recent);
     this.panel1.Controls.Add(this._cacheDirectory);
     this.panel1.Controls.Add(this._server);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.label1);
     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(677, 199);
     this.panel1.TabIndex = 2;
     //
     // _clearButton
     //
     this._clearButton.Location = new System.Drawing.Point(579, 15);
     this._clearButton.Name     = "_clearButton";
     this._clearButton.Size     = new System.Drawing.Size(75, 23);
     this._clearButton.TabIndex = 5;
     this._clearButton.Text     = "Clear";
     this._clearButton.UseVisualStyleBackColor = true;
     this._clearButton.Click += new System.EventHandler(this._clearButton_Click);
     //
     // _recent
     //
     this._recent.FormattingEnabled = true;
     this._recent.Location          = new System.Drawing.Point(123, 15);
     this._recent.Name                  = "_recent";
     this._recent.Size                  = new System.Drawing.Size(450, 21);
     this._recent.TabIndex              = 4;
     this._recent.SelectedIndexChanged += new System.EventHandler(this._recent_SelectedIndexChanged);
     //
     // _cacheDirectory
     //
     this._cacheDirectory.Location = new System.Drawing.Point(123, 92);
     this._cacheDirectory.Name     = "_cacheDirectory";
     this._cacheDirectory.Size     = new System.Drawing.Size(450, 20);
     this._cacheDirectory.TabIndex = 3;
     //
     // _server
     //
     this._server.Location = new System.Drawing.Point(123, 52);
     this._server.Name     = "_server";
     this._server.Size     = new System.Drawing.Size(450, 20);
     this._server.TabIndex = 2;
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(13, 92);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(83, 13);
     this.label2.TabIndex = 1;
     this.label2.Text     = "Cache Directory";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(13, 52);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(38, 13);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Server";
     //
     // _jpeg
     //
     this._jpeg.AutoSize = true;
     this._jpeg.Location = new System.Drawing.Point(123, 133);
     this._jpeg.Name     = "_jpeg";
     this._jpeg.Size     = new System.Drawing.Size(49, 17);
     this._jpeg.TabIndex = 6;
     this._jpeg.Text     = "Jpeg";
     this._jpeg.UseVisualStyleBackColor = true;
     //
     // _png
     //
     this._png.AutoSize = true;
     this._png.Location = new System.Drawing.Point(123, 156);
     this._png.Name     = "_png";
     this._png.Size     = new System.Drawing.Size(45, 17);
     this._png.TabIndex = 7;
     this._png.Text     = "Png";
     this._png.UseVisualStyleBackColor = true;
     //
     // WmsLayer
     //
     this.BackColor = System.Drawing.SystemColors.Control;
     this.Controls.Add(this.panel1);
     this.Name = "WmsLayer";
     this.Size = new System.Drawing.Size(677, 199);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.ResumeLayout(false);
 }
 public void HienthiChungAutoComboBox(System.Windows.Forms.ComboBox cmb)
 {
     cmb.DataSource    = factory.DanhsachKhachHang();
     cmb.DisplayMember = "HO_TEN";
     cmb.ValueMember   = "ID";
 }
Ejemplo n.º 43
0
 /// <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()
 {
     this.btnConnect = new System.Windows.Forms.Button();
     this.btnCancel  = new System.Windows.Forms.Button();
     this.label1     = new System.Windows.Forms.Label();
     this.cmbPorts   = new System.Windows.Forms.ComboBox();
     this.SuspendLayout();
     //
     // btnConnect
     //
     this.btnConnect.Location = new System.Drawing.Point(353, 9);
     this.btnConnect.Name     = "btnConnect";
     this.btnConnect.Size     = new System.Drawing.Size(142, 40);
     this.btnConnect.TabIndex = 0;
     this.btnConnect.Text     = "connect";
     this.btnConnect.UseVisualStyleBackColor = true;
     this.btnConnect.Click += new System.EventHandler(this.BtnConnectClick);
     //
     // btnCancel
     //
     this.btnCancel.Location = new System.Drawing.Point(501, 9);
     this.btnCancel.Name     = "btnCancel";
     this.btnCancel.Size     = new System.Drawing.Size(73, 40);
     this.btnCancel.TabIndex = 1;
     this.btnCancel.Text     = "cancel";
     this.btnCancel.UseVisualStyleBackColor = true;
     this.btnCancel.Click += new System.EventHandler(this.BtnCancelClick);
     //
     // label1
     //
     this.label1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(12, 20);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(220, 23);
     this.label1.TabIndex = 2;
     this.label1.Text     = "Select com port to connect to";
     //
     // cmbPorts
     //
     this.cmbPorts.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbPorts.FormattingEnabled = true;
     this.cmbPorts.Location          = new System.Drawing.Point(231, 21);
     this.cmbPorts.Name     = "cmbPorts";
     this.cmbPorts.Size     = new System.Drawing.Size(116, 21);
     this.cmbPorts.TabIndex = 3;
     //
     // FrmConnect
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(585, 60);
     this.Controls.Add(this.cmbPorts);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnConnect);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "FrmConnect";
     this.ShowInTaskbar   = false;
     this.Text            = "Tores - Connect to ...";
     this.ResumeLayout(false);
 }
Ejemplo n.º 44
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.label1 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.txtPassword = new System.Windows.Forms.TextBox();
     this.txtId = new System.Windows.Forms.TextBox();
     this.txtDataSource = new System.Windows.Forms.TextBox();
     this.button1 = new System.Windows.Forms.Button();
     this.comboBox1 = new System.Windows.Forms.ComboBox();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(15, 15);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(65, 13);
     this.label1.TabIndex = 0;
     this.label1.Text = "Data source";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(6, 25);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(41, 13);
     this.label2.TabIndex = 1;
     this.label2.Text = "User Id";
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(6, 51);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(53, 13);
     this.label3.TabIndex = 2;
     this.label3.Text = "Password";
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.txtPassword);
     this.groupBox1.Controls.Add(this.txtId);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Enabled = false;
     this.groupBox1.Location = new System.Drawing.Point(13, 80);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(305, 82);
     this.groupBox1.TabIndex = 3;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "Sql server Authentication";
     //
     // txtPassword
     //
     this.txtPassword.Location = new System.Drawing.Point(73, 48);
     this.txtPassword.Name = "txtPassword";
     this.txtPassword.Size = new System.Drawing.Size(220, 20);
     this.txtPassword.TabIndex = 4;
     //
     // txtId
     //
     this.txtId.Location = new System.Drawing.Point(73, 22);
     this.txtId.Name = "txtId";
     this.txtId.Size = new System.Drawing.Size(220, 20);
     this.txtId.TabIndex = 4;
     //
     // txtDataSource
     //
     this.txtDataSource.Location = new System.Drawing.Point(86, 12);
     this.txtDataSource.Name = "txtDataSource";
     this.txtDataSource.Size = new System.Drawing.Size(220, 20);
     this.txtDataSource.TabIndex = 4;
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(133, 169);
     this.button1.Name = "button1";
     this.button1.Size = new System.Drawing.Size(75, 23);
     this.button1.TabIndex = 5;
     this.button1.Text = "OK";
     this.button1.UseVisualStyleBackColor = true;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // comboBox1
     //
     this.comboBox1.FormattingEnabled = true;
     this.comboBox1.Items.AddRange(new object[] {
     "None",
     "Sql server Authentication"});
     this.comboBox1.Location = new System.Drawing.Point(86, 48);
     this.comboBox1.Name = "comboBox1";
     this.comboBox1.Size = new System.Drawing.Size(220, 21);
     this.comboBox1.TabIndex = 6;
     this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.radioButton1_CheckedChanged);
     //
     // SetupForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(332, 203);
     this.Controls.Add(this.comboBox1);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.txtDataSource);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.label1);
     this.MaximizeBox = false;
     this.Name = "SetupForm";
     this.Text = "SetupForm";
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <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()
 {
     this.MessageTextBox    = new System.Windows.Forms.TextBox();
     this.label1            = new System.Windows.Forms.Label();
     this.label2            = new System.Windows.Forms.Label();
     this.PublishButton     = new System.Windows.Forms.Button();
     this.ConnectButton     = new System.Windows.Forms.Button();
     this.ClearButton       = new System.Windows.Forms.Button();
     this.PubMessageTextBox = new System.Windows.Forms.TextBox();
     this.label3            = new System.Windows.Forms.Label();
     this.label4            = new System.Windows.Forms.Label();
     this.DisconnectButton  = new System.Windows.Forms.Button();
     this.PortTextBox       = new System.Windows.Forms.TextBox();
     this.label5            = new System.Windows.Forms.Label();
     this.SubscribeButton   = new System.Windows.Forms.Button();
     this.label6            = new System.Windows.Forms.Label();
     this.label7            = new System.Windows.Forms.Label();
     this.PubTopicTextBox   = new System.Windows.Forms.TextBox();
     this.label8            = new System.Windows.Forms.Label();
     this.label9            = new System.Windows.Forms.Label();
     this.UnsubscribeButton = new System.Windows.Forms.Button();
     this.QosComboBox       = new System.Windows.Forms.ComboBox();
     this.SubListBox        = new System.Windows.Forms.ListBox();
     this.RetainCheckBox    = new System.Windows.Forms.CheckBox();
     this.SubTopicTextBox   = new System.Windows.Forms.TextBox();
     this.label10           = new System.Windows.Forms.Label();
     this.label11           = new System.Windows.Forms.Label();
     this.textBox2          = new System.Windows.Forms.TextBox();
     this.HostComboBox      = new System.Windows.Forms.ComboBox();
     this.UserComboBox      = new System.Windows.Forms.ComboBox();
     this.SubScrComboBox    = new System.Windows.Forms.ComboBox();
     this.label12           = new System.Windows.Forms.Label();
     this.iec104Box         = new System.Windows.Forms.TextBox();
     this.checkBox1         = new System.Windows.Forms.CheckBox();
     this.button2           = new System.Windows.Forms.Button();
     this.button3           = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // MessageTextBox
     //
     this.MessageTextBox.Font         = new System.Drawing.Font("Courier New", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.MessageTextBox.Location     = new System.Drawing.Point(10, 363);
     this.MessageTextBox.Margin       = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.MessageTextBox.Multiline    = true;
     this.MessageTextBox.Name         = "MessageTextBox";
     this.MessageTextBox.ReadOnly     = true;
     this.MessageTextBox.ScrollBars   = System.Windows.Forms.ScrollBars.Both;
     this.MessageTextBox.Size         = new System.Drawing.Size(958, 162);
     this.MessageTextBox.TabIndex     = 11;
     this.MessageTextBox.TextChanged += new System.EventHandler(this.MessageTextBoxTextChanged);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(10, 11);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(50, 20);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Host:";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location = new System.Drawing.Point(10, 180);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(112, 20);
     this.label2.TabIndex = 1;
     this.label2.Text     = "Topic for sub:";
     //
     // PublishButton
     //
     this.PublishButton.Enabled  = false;
     this.PublishButton.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.PublishButton.Location = new System.Drawing.Point(10, 324);
     this.PublishButton.Margin   = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.PublishButton.Name     = "PublishButton";
     this.PublishButton.Size     = new System.Drawing.Size(561, 31);
     this.PublishButton.TabIndex = 9;
     this.PublishButton.Text     = "Publish";
     this.PublishButton.UseVisualStyleBackColor = true;
     this.PublishButton.Click += new System.EventHandler(this.PublishButtonClick);
     //
     // ConnectButton
     //
     this.ConnectButton.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ConnectButton.Location = new System.Drawing.Point(461, 8);
     this.ConnectButton.Margin   = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.ConnectButton.Name     = "ConnectButton";
     this.ConnectButton.Size     = new System.Drawing.Size(110, 31);
     this.ConnectButton.TabIndex = 4;
     this.ConnectButton.Text     = "Connect";
     this.ConnectButton.UseVisualStyleBackColor = true;
     this.ConnectButton.Click += new System.EventHandler(this.ConnectButtonClick);
     //
     // ClearButton
     //
     this.ClearButton.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ClearButton.Location = new System.Drawing.Point(10, 533);
     this.ClearButton.Margin   = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.ClearButton.Name     = "ClearButton";
     this.ClearButton.Size     = new System.Drawing.Size(958, 31);
     this.ClearButton.TabIndex = 10;
     this.ClearButton.Text     = "Clear";
     this.ClearButton.UseVisualStyleBackColor = true;
     this.ClearButton.Click += new System.EventHandler(this.ClearButtonClick);
     //
     // PubMessageTextBox
     //
     this.PubMessageTextBox.Font      = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.PubMessageTextBox.Location  = new System.Drawing.Point(123, 290);
     this.PubMessageTextBox.Margin    = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.PubMessageTextBox.MaxLength = 128;
     this.PubMessageTextBox.Name      = "PubMessageTextBox";
     this.PubMessageTextBox.Size      = new System.Drawing.Size(448, 27);
     this.PubMessageTextBox.TabIndex  = 8;
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.Location = new System.Drawing.Point(10, 290);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(82, 20);
     this.label3.TabIndex = 9;
     this.label3.Text     = "Message:";
     //
     // label4
     //
     this.label4.AutoSize  = true;
     this.label4.Font      = new System.Drawing.Font("Microsoft JhengHei", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.label4.ForeColor = System.Drawing.Color.Red;
     this.label4.Location  = new System.Drawing.Point(14, 668);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(0, 24);
     this.label4.TabIndex  = 10;
     //
     // DisconnectButton
     //
     this.DisconnectButton.Enabled  = false;
     this.DisconnectButton.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.DisconnectButton.Location = new System.Drawing.Point(461, 48);
     this.DisconnectButton.Margin   = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.DisconnectButton.Name     = "DisconnectButton";
     this.DisconnectButton.Size     = new System.Drawing.Size(110, 31);
     this.DisconnectButton.TabIndex = 12;
     this.DisconnectButton.Text     = "Disconnect";
     this.DisconnectButton.UseVisualStyleBackColor = true;
     this.DisconnectButton.Click += new System.EventHandler(this.DisconnectButtonClick);
     //
     // PortTextBox
     //
     this.PortTextBox.Location  = new System.Drawing.Point(66, 54);
     this.PortTextBox.Margin    = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.PortTextBox.MaxLength = 4;
     this.PortTextBox.Name      = "PortTextBox";
     this.PortTextBox.Size      = new System.Drawing.Size(52, 27);
     this.PortTextBox.TabIndex  = 3;
     this.PortTextBox.Text      = "1883";
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label5.Location = new System.Drawing.Point(10, 53);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(45, 20);
     this.label5.TabIndex = 13;
     this.label5.Text     = "Port:";
     //
     // SubscribeButton
     //
     this.SubscribeButton.Enabled  = false;
     this.SubscribeButton.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.SubscribeButton.Location = new System.Drawing.Point(461, 180);
     this.SubscribeButton.Margin   = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.SubscribeButton.Name     = "SubscribeButton";
     this.SubscribeButton.Size     = new System.Drawing.Size(111, 31);
     this.SubscribeButton.TabIndex = 7;
     this.SubscribeButton.Text     = "Subscribe";
     this.SubscribeButton.UseVisualStyleBackColor = true;
     this.SubscribeButton.Click += new System.EventHandler(this.SubscribeButtonClick);
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label6.Location = new System.Drawing.Point(10, 252);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(112, 20);
     this.label6.TabIndex = 14;
     this.label6.Text     = "Topic for pub:";
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label7.Location = new System.Drawing.Point(132, 53);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(47, 20);
     this.label7.TabIndex = 16;
     this.label7.Text     = "QoS:";
     //
     // PubTopicTextBox
     //
     this.PubTopicTextBox.Font      = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.PubTopicTextBox.Location  = new System.Drawing.Point(123, 252);
     this.PubTopicTextBox.Margin    = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.PubTopicTextBox.MaxLength = 128;
     this.PubTopicTextBox.Name      = "PubTopicTextBox";
     this.PubTopicTextBox.Size      = new System.Drawing.Size(448, 27);
     this.PubTopicTextBox.TabIndex  = 15;
     //
     // label8
     //
     this.label8.AutoSize = true;
     this.label8.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label8.Location = new System.Drawing.Point(582, 12);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(157, 20);
     this.label8.TabIndex = 19;
     this.label8.Text     = "Subscriptions topic:";
     //
     // label9
     //
     this.label9.AutoSize = true;
     this.label9.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label9.Location = new System.Drawing.Point(311, 53);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(62, 20);
     this.label9.TabIndex = 21;
     this.label9.Text     = "Retain:";
     //
     // UnsubscribeButton
     //
     this.UnsubscribeButton.Enabled  = false;
     this.UnsubscribeButton.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.UnsubscribeButton.Location = new System.Drawing.Point(586, 324);
     this.UnsubscribeButton.Margin   = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.UnsubscribeButton.Name     = "UnsubscribeButton";
     this.UnsubscribeButton.Size     = new System.Drawing.Size(382, 31);
     this.UnsubscribeButton.TabIndex = 20;
     this.UnsubscribeButton.Text     = "Unsubscribe";
     this.UnsubscribeButton.UseVisualStyleBackColor = true;
     this.UnsubscribeButton.Click += new System.EventHandler(this.UnsubscribeButtonClick);
     //
     // QosComboBox
     //
     this.QosComboBox.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.QosComboBox.Font              = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.QosComboBox.FormattingEnabled = true;
     this.QosComboBox.Items.AddRange(new object[] {
         "0 At most once",
         "1 At least once",
         "2 Exactly once"
     });
     this.QosComboBox.Location              = new System.Drawing.Point(185, 53);
     this.QosComboBox.Margin                = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.QosComboBox.MaxDropDownItems      = 3;
     this.QosComboBox.Name                  = "QosComboBox";
     this.QosComboBox.Size                  = new System.Drawing.Size(120, 28);
     this.QosComboBox.TabIndex              = 17;
     this.QosComboBox.SelectedIndexChanged += new System.EventHandler(this.QosComboBoxSelectedIndexChanged);
     //
     // SubListBox
     //
     this.SubListBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.SubListBox.FormattingEnabled   = true;
     this.SubListBox.HorizontalScrollbar = true;
     this.SubListBox.ItemHeight          = 20;
     this.SubListBox.Location            = new System.Drawing.Point(586, 40);
     this.SubListBox.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.SubListBox.Name   = "SubListBox";
     this.SubListBox.ScrollAlwaysVisible = true;
     this.SubListBox.Size     = new System.Drawing.Size(382, 264);
     this.SubListBox.TabIndex = 18;
     //
     // RetainCheckBox
     //
     this.RetainCheckBox.AutoSize = true;
     this.RetainCheckBox.Location = new System.Drawing.Point(379, 59);
     this.RetainCheckBox.Name     = "RetainCheckBox";
     this.RetainCheckBox.Size     = new System.Drawing.Size(18, 17);
     this.RetainCheckBox.TabIndex = 22;
     this.RetainCheckBox.UseVisualStyleBackColor = true;
     //
     // SubTopicTextBox
     //
     this.SubTopicTextBox.Font      = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.SubTopicTextBox.Location  = new System.Drawing.Point(123, 180);
     this.SubTopicTextBox.Margin    = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.SubTopicTextBox.MaxLength = 128;
     this.SubTopicTextBox.Name      = "SubTopicTextBox";
     this.SubTopicTextBox.Size      = new System.Drawing.Size(332, 27);
     this.SubTopicTextBox.TabIndex  = 6;
     this.SubTopicTextBox.Text      = "device/pwF2wCzcA5Ni9CAPFzYktftt/asset/#/feed";
     //
     // label10
     //
     this.label10.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label10.Location = new System.Drawing.Point(10, 110);
     this.label10.Name     = "label10";
     this.label10.Size     = new System.Drawing.Size(100, 23);
     this.label10.TabIndex = 24;
     this.label10.Text     = "Username :"******"Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label11.Location = new System.Drawing.Point(10, 144);
     this.label11.Name     = "label11";
     this.label11.Size     = new System.Drawing.Size(100, 23);
     this.label11.TabIndex = 26;
     this.label11.Text     = "Password :"******"Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBox2.Location     = new System.Drawing.Point(116, 140);
     this.textBox2.Name         = "textBox2";
     this.textBox2.PasswordChar = '*';
     this.textBox2.Size         = new System.Drawing.Size(449, 27);
     this.textBox2.TabIndex     = 27;
     this.textBox2.Text         = "rick2000";
     //
     // HostComboBox
     //
     this.HostComboBox.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.HostComboBox.Font              = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.HostComboBox.FormattingEnabled = true;
     this.HostComboBox.Items.AddRange(new object[] {
         "api.allthingstalk.io",
         "10.10.10.6"
     });
     this.HostComboBox.Location              = new System.Drawing.Point(77, 10);
     this.HostComboBox.Margin                = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.HostComboBox.MaxDropDownItems      = 3;
     this.HostComboBox.Name                  = "HostComboBox";
     this.HostComboBox.Size                  = new System.Drawing.Size(331, 28);
     this.HostComboBox.TabIndex              = 28;
     this.HostComboBox.SelectedIndexChanged += new System.EventHandler(this.HostComboBoxSelectedIndexChanged);
     //
     // UserComboBox
     //
     this.UserComboBox.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.UserComboBox.Font              = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.UserComboBox.FormattingEnabled = true;
     this.UserComboBox.Items.AddRange(new object[] {
         "maker:4KbVgav9eGaHW1VeVyHJUWA5Bk9eyeVo7c6efz60",
         "rick"
     });
     this.UserComboBox.Location              = new System.Drawing.Point(116, 105);
     this.UserComboBox.Margin                = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.UserComboBox.MaxDropDownItems      = 3;
     this.UserComboBox.Name                  = "UserComboBox";
     this.UserComboBox.Size                  = new System.Drawing.Size(449, 28);
     this.UserComboBox.TabIndex              = 29;
     this.UserComboBox.SelectedIndexChanged += new System.EventHandler(this.UserComboBoxSelectedIndexChanged);
     //
     // SubScrComboBox
     //
     this.SubScrComboBox.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.SubScrComboBox.Font              = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.SubScrComboBox.FormattingEnabled = true;
     this.SubScrComboBox.Items.AddRange(new object[] {
         "device/pwF2wCzcA5Ni9CAPFzYktftt/asset/#/feed",
         "trap/#"
     });
     this.SubScrComboBox.Location              = new System.Drawing.Point(122, 214);
     this.SubScrComboBox.Margin                = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.SubScrComboBox.MaxDropDownItems      = 3;
     this.SubScrComboBox.Name                  = "SubScrComboBox";
     this.SubScrComboBox.Size                  = new System.Drawing.Size(450, 28);
     this.SubScrComboBox.TabIndex              = 30;
     this.SubScrComboBox.SelectedIndexChanged += new System.EventHandler(this.SubScrComboBoxSelectedIndexChanged);
     //
     // label12
     //
     this.label12.AutoSize = true;
     this.label12.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label12.Location = new System.Drawing.Point(12, 217);
     this.label12.Name     = "label12";
     this.label12.Size     = new System.Drawing.Size(110, 20);
     this.label12.TabIndex = 31;
     this.label12.Text     = "Example sub:";
     this.label12.Click   += new System.EventHandler(this.Label12Click);
     //
     // iec104Box
     //
     this.iec104Box.Font         = new System.Drawing.Font("Courier New", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.iec104Box.Location     = new System.Drawing.Point(10, 600);
     this.iec104Box.Margin       = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.iec104Box.Multiline    = true;
     this.iec104Box.Name         = "iec104Box";
     this.iec104Box.ReadOnly     = true;
     this.iec104Box.ScrollBars   = System.Windows.Forms.ScrollBars.Both;
     this.iec104Box.Size         = new System.Drawing.Size(958, 202);
     this.iec104Box.TabIndex     = 32;
     this.iec104Box.TextChanged += new System.EventHandler(this.Iec104BoxTextChanged);
     //
     // checkBox1
     //
     this.checkBox1.Location = new System.Drawing.Point(14, 569);
     this.checkBox1.Name     = "checkBox1";
     this.checkBox1.Size     = new System.Drawing.Size(127, 24);
     this.checkBox1.TabIndex = 33;
     this.checkBox1.Text     = "Start IEC104";
     this.checkBox1.UseVisualStyleBackColor = true;
     this.checkBox1.CheckedChanged         += new System.EventHandler(this.CheckBox1CheckedChanged);
     //
     // button2
     //
     this.button2.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button2.Location = new System.Drawing.Point(10, 825);
     this.button2.Name     = "button2";
     this.button2.Size     = new System.Drawing.Size(958, 28);
     this.button2.TabIndex = 34;
     this.button2.Text     = "Clear";
     this.button2.UseVisualStyleBackColor = true;
     this.button2.Click += new System.EventHandler(this.Button2Click);
     //
     // button3
     //
     this.button3.Location = new System.Drawing.Point(876, 8);
     this.button3.Name     = "button3";
     this.button3.Size     = new System.Drawing.Size(92, 23);
     this.button3.TabIndex = 36;
     this.button3.Text     = "Sluit";
     this.button3.UseVisualStyleBackColor = true;
     this.button3.Click += new System.EventHandler(this.Button3Click);
     //
     // MainForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 19F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(990, 865);
     this.Controls.Add(this.button3);
     this.Controls.Add(this.button2);
     this.Controls.Add(this.checkBox1);
     this.Controls.Add(this.iec104Box);
     this.Controls.Add(this.label12);
     this.Controls.Add(this.SubScrComboBox);
     this.Controls.Add(this.UserComboBox);
     this.Controls.Add(this.HostComboBox);
     this.Controls.Add(this.textBox2);
     this.Controls.Add(this.label11);
     this.Controls.Add(this.label10);
     this.Controls.Add(this.SubTopicTextBox);
     this.Controls.Add(this.RetainCheckBox);
     this.Controls.Add(this.SubListBox);
     this.Controls.Add(this.QosComboBox);
     this.Controls.Add(this.UnsubscribeButton);
     this.Controls.Add(this.label9);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.PubTopicTextBox);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.SubscribeButton);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.PortTextBox);
     this.Controls.Add(this.DisconnectButton);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.PubMessageTextBox);
     this.Controls.Add(this.ClearButton);
     this.Controls.Add(this.ConnectButton);
     this.Controls.Add(this.PublishButton);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.MessageTextBox);
     this.Font         = new System.Drawing.Font("Microsoft JhengHei", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(136)));
     this.Margin       = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.Name         = "MainForm";
     this.Text         = "MQTT Client";
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_Closing);
     this.Load        += new System.EventHandler(this.MainForm_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 46
0
 /// <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()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
     this.cryptList               = new System.Windows.Forms.ListBox();
     this.cryptListMenu           = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.exportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.button1                       = new System.Windows.Forms.Button();
     this.button2                       = new System.Windows.Forms.Button();
     this.label2                        = new System.Windows.Forms.Label();
     this.textBox1                      = new System.Windows.Forms.TextBox();
     this.label3                        = new System.Windows.Forms.Label();
     this.button3                       = new System.Windows.Forms.Button();
     this.button4                       = new System.Windows.Forms.Button();
     this.button5                       = new System.Windows.Forms.Button();
     this.label4                        = new System.Windows.Forms.Label();
     this.label5                        = new System.Windows.Forms.Label();
     this.label1                        = new System.Windows.Forms.Label();
     this.notifyIcon1                   = new System.Windows.Forms.NotifyIcon(this.components);
     this.notifyIconMenu                = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.exitToolStripMenuItem         = new System.Windows.Forms.ToolStripMenuItem();
     this.checkBox1                     = new System.Windows.Forms.CheckBox();
     this.comboBox1                     = new System.Windows.Forms.ComboBox();
     this.newOrExistingCtxM             = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.addNewToolStripMenuItem       = new System.Windows.Forms.ToolStripMenuItem();
     this.addExistingToolStripMenuItem  = new System.Windows.Forms.ToolStripMenuItem();
     this.button6                       = new System.Windows.Forms.Button();
     this.metroMenuStrip1               = new EPFramework.Forms.MetroMenuStrip();
     this.menuToolStripMenuItem         = new System.Windows.Forms.ToolStripMenuItem();
     this.addNewToolStripMenuItem1      = new System.Windows.Forms.ToolStripMenuItem();
     this.addExistingToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
     this.aboutToolStripMenuItem        = new System.Windows.Forms.ToolStripMenuItem();
     this.aboutToolStripMenuItem1       = new System.Windows.Forms.ToolStripMenuItem();
     this.freeVersionToolStripMenuItem  = new System.Windows.Forms.ToolStripMenuItem();
     this.label6                        = new System.Windows.Forms.Label();
     this.cryptListMenu.SuspendLayout();
     this.notifyIconMenu.SuspendLayout();
     this.newOrExistingCtxM.SuspendLayout();
     this.metroMenuStrip1.SuspendLayout();
     this.SuspendLayout();
     //
     // cryptList
     //
     this.cryptList.BackColor         = System.Drawing.Color.Black;
     this.cryptList.ContextMenuStrip  = this.cryptListMenu;
     this.cryptList.ForeColor         = System.Drawing.Color.White;
     this.cryptList.FormattingEnabled = true;
     this.cryptList.Location          = new System.Drawing.Point(23, 86);
     this.cryptList.Name                  = "cryptList";
     this.cryptList.Size                  = new System.Drawing.Size(163, 303);
     this.cryptList.TabIndex              = 0;
     this.cryptList.SelectedIndexChanged += new System.EventHandler(this.CryptListSelectedIndexChanged);
     //
     // cryptListMenu
     //
     this.cryptListMenu.ImageScalingSize = new System.Drawing.Size(20, 20);
     this.cryptListMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.exportToolStripMenuItem
     });
     this.cryptListMenu.Name = "cryptListMenu";
     this.cryptListMenu.Size = new System.Drawing.Size(108, 26);
     //
     // exportToolStripMenuItem
     //
     this.exportToolStripMenuItem.Name   = "exportToolStripMenuItem";
     this.exportToolStripMenuItem.Size   = new System.Drawing.Size(107, 22);
     this.exportToolStripMenuItem.Text   = "Export";
     this.exportToolStripMenuItem.Click += new System.EventHandler(this.ExportToolStripMenuItemClick);
     //
     // button1
     //
     this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.button1.ForeColor = System.Drawing.Color.White;
     this.button1.Location  = new System.Drawing.Point(22, 439);
     this.button1.Name      = "button1";
     this.button1.Size      = new System.Drawing.Size(72, 31);
     this.button1.TabIndex  = 1;
     this.button1.Text      = "Add";
     this.button1.UseVisualStyleBackColor = true;
     this.button1.Click += new System.EventHandler(this.Button1Click);
     //
     // button2
     //
     this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.button2.ForeColor = System.Drawing.Color.White;
     this.button2.Location  = new System.Drawing.Point(110, 439);
     this.button2.Name      = "button2";
     this.button2.Size      = new System.Drawing.Size(75, 31);
     this.button2.TabIndex  = 2;
     this.button2.Text      = "Remove";
     this.button2.UseVisualStyleBackColor = true;
     this.button2.Click += new System.EventHandler(this.Button2Click);
     //
     // label2
     //
     this.label2.ForeColor = System.Drawing.Color.White;
     this.label2.Location  = new System.Drawing.Point(476, 450);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(163, 23);
     this.label2.TabIndex  = 4;
     this.label2.Text      = "(c) 2015-2016, 0xFireball";
     this.label2.Click    += new System.EventHandler(this.Label2Click);
     //
     // textBox1
     //
     this.textBox1.BackColor    = System.Drawing.Color.Black;
     this.textBox1.ForeColor    = System.Drawing.Color.White;
     this.textBox1.Location     = new System.Drawing.Point(308, 151);
     this.textBox1.Name         = "textBox1";
     this.textBox1.PasswordChar = '•';
     this.textBox1.Size         = new System.Drawing.Size(320, 22);
     this.textBox1.TabIndex     = 5;
     //
     // label3
     //
     this.label3.Font      = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.ForeColor = System.Drawing.Color.White;
     this.label3.Location  = new System.Drawing.Point(217, 151);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(85, 23);
     this.label3.TabIndex  = 6;
     this.label3.Text      = "Password";
     //
     // button3
     //
     this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.button3.ForeColor = System.Drawing.Color.White;
     this.button3.Location  = new System.Drawing.Point(534, 179);
     this.button3.Name      = "button3";
     this.button3.Size      = new System.Drawing.Size(94, 27);
     this.button3.TabIndex  = 7;
     this.button3.Text      = "Unlock Vault";
     this.button3.UseVisualStyleBackColor = true;
     this.button3.Click += new System.EventHandler(this.Button3Click);
     //
     // button4
     //
     this.button4.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.button4.ForeColor = System.Drawing.Color.White;
     this.button4.Location  = new System.Drawing.Point(308, 179);
     this.button4.Name      = "button4";
     this.button4.Size      = new System.Drawing.Size(65, 27);
     this.button4.TabIndex  = 9;
     this.button4.Text      = "Import";
     this.button4.UseVisualStyleBackColor = true;
     this.button4.Click += new System.EventHandler(this.Button4Click);
     //
     // button5
     //
     this.button5.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.button5.ForeColor = System.Drawing.Color.White;
     this.button5.Location  = new System.Drawing.Point(375, 179);
     this.button5.Name      = "button5";
     this.button5.Size      = new System.Drawing.Size(65, 27);
     this.button5.TabIndex  = 10;
     this.button5.Text      = "Paste";
     this.button5.UseVisualStyleBackColor = true;
     this.button5.Click += new System.EventHandler(this.Button5Click);
     //
     // label4
     //
     this.label4.Font      = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.ForeColor = System.Drawing.Color.White;
     this.label4.Location  = new System.Drawing.Point(217, 86);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(411, 37);
     this.label4.TabIndex  = 11;
     this.label4.Text      = "No Item Selected";
     //
     // label5
     //
     this.label5.ForeColor = System.Drawing.Color.White;
     this.label5.Location  = new System.Drawing.Point(308, 297);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(320, 18);
     this.label5.TabIndex  = 12;
     this.label5.Text      = "Volume Locked.";
     //
     // label1
     //
     this.label1.ForeColor = System.Drawing.Color.White;
     this.label1.Location  = new System.Drawing.Point(217, 447);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(231, 23);
     this.label1.TabIndex  = 14;
     this.label1.Text      = "Version [not set]";
     this.label1.Click    += new System.EventHandler(this.Label1Click);
     //
     // notifyIcon1
     //
     this.notifyIcon1.ContextMenuStrip   = this.notifyIconMenu;
     this.notifyIcon1.Icon               = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
     this.notifyIcon1.Text               = "FireCryptEx";
     this.notifyIcon1.Visible            = true;
     this.notifyIcon1.BalloonTipClicked += new System.EventHandler(this.NotifyIcon1BalloonTipClicked);
     this.notifyIcon1.MouseDoubleClick  += new System.Windows.Forms.MouseEventHandler(this.NotifyIcon1MouseDoubleClick);
     //
     // notifyIconMenu
     //
     this.notifyIconMenu.ImageScalingSize = new System.Drawing.Size(20, 20);
     this.notifyIconMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.exitToolStripMenuItem
     });
     this.notifyIconMenu.Name     = "contextMenuStrip1";
     this.notifyIconMenu.Size     = new System.Drawing.Size(93, 26);
     this.notifyIconMenu.Opening += new System.ComponentModel.CancelEventHandler(this.ContextMenuStrip1Opening);
     //
     // exitToolStripMenuItem
     //
     this.exitToolStripMenuItem.Name   = "exitToolStripMenuItem";
     this.exitToolStripMenuItem.Size   = new System.Drawing.Size(92, 22);
     this.exitToolStripMenuItem.Text   = "Exit";
     this.exitToolStripMenuItem.Click += new System.EventHandler(this.ExitToolStripMenuItemClick);
     //
     // checkBox1
     //
     this.checkBox1.ForeColor = System.Drawing.Color.White;
     this.checkBox1.Location  = new System.Drawing.Point(308, 223);
     this.checkBox1.Name      = "checkBox1";
     this.checkBox1.Size      = new System.Drawing.Size(320, 24);
     this.checkBox1.TabIndex  = 15;
     this.checkBox1.Text      = "Map volume as network drive";
     this.checkBox1.UseVisualStyleBackColor = true;
     this.checkBox1.CheckedChanged         += new System.EventHandler(this.CheckBox1CheckedChanged);
     //
     // comboBox1
     //
     this.comboBox1.BackColor         = System.Drawing.Color.Black;
     this.comboBox1.Enabled           = false;
     this.comboBox1.ForeColor         = System.Drawing.Color.White;
     this.comboBox1.FormattingEnabled = true;
     this.comboBox1.Location          = new System.Drawing.Point(486, 244);
     this.comboBox1.Name     = "comboBox1";
     this.comboBox1.Size     = new System.Drawing.Size(65, 21);
     this.comboBox1.TabIndex = 17;
     //
     // newOrExistingCtxM
     //
     this.newOrExistingCtxM.ImageScalingSize = new System.Drawing.Size(20, 20);
     this.newOrExistingCtxM.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.addNewToolStripMenuItem,
         this.addExistingToolStripMenuItem
     });
     this.newOrExistingCtxM.Name = "newOrExistingCtxM";
     this.newOrExistingCtxM.Size = new System.Drawing.Size(140, 48);
     //
     // addNewToolStripMenuItem
     //
     this.addNewToolStripMenuItem.Name   = "addNewToolStripMenuItem";
     this.addNewToolStripMenuItem.Size   = new System.Drawing.Size(139, 22);
     this.addNewToolStripMenuItem.Text   = "Add New";
     this.addNewToolStripMenuItem.Click += new System.EventHandler(this.AddNewToolStripMenuItemClick);
     //
     // addExistingToolStripMenuItem
     //
     this.addExistingToolStripMenuItem.Name   = "addExistingToolStripMenuItem";
     this.addExistingToolStripMenuItem.Size   = new System.Drawing.Size(139, 22);
     this.addExistingToolStripMenuItem.Text   = "Add Existing";
     this.addExistingToolStripMenuItem.Click += new System.EventHandler(this.AddExistingToolStripMenuItemClick);
     //
     // button6
     //
     this.button6.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.button6.ForeColor = System.Drawing.Color.White;
     this.button6.Location  = new System.Drawing.Point(461, 406);
     this.button6.Name      = "button6";
     this.button6.Size      = new System.Drawing.Size(167, 31);
     this.button6.TabIndex  = 19;
     this.button6.Text      = "Remove License";
     this.button6.UseVisualStyleBackColor = true;
     this.button6.Click += new System.EventHandler(this.Button6Click);
     //
     // metroMenuStrip1
     //
     this.metroMenuStrip1.BackColor        = System.Drawing.Color.White;
     this.metroMenuStrip1.Font             = new System.Drawing.Font("Segoe UI", 11.25F);
     this.metroMenuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
     this.metroMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.menuToolStripMenuItem,
         this.aboutToolStripMenuItem
     });
     this.metroMenuStrip1.Location     = new System.Drawing.Point(20, 30);
     this.metroMenuStrip1.Name         = "metroMenuStrip1";
     this.metroMenuStrip1.Size         = new System.Drawing.Size(614, 28);
     this.metroMenuStrip1.TabIndex     = 20;
     this.metroMenuStrip1.Text         = "metroMenuStrip1";
     this.metroMenuStrip1.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.MetroMenuStrip1ItemClicked);
     this.metroMenuStrip1.DoubleClick += new System.EventHandler(this.MetroMenuStrip1DoubleClick);
     this.metroMenuStrip1.MouseLeave  += new System.EventHandler(this.MetroMenuStrip1MouseLeave);
     this.metroMenuStrip1.MouseHover  += new System.EventHandler(this.MetroMenuStrip1MouseHover);
     //
     // menuToolStripMenuItem
     //
     this.menuToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.addNewToolStripMenuItem1,
         this.addExistingToolStripMenuItem1
     });
     this.menuToolStripMenuItem.Font = new System.Drawing.Font("Segoe UI", 11.25F);
     this.menuToolStripMenuItem.Name = "menuToolStripMenuItem";
     this.menuToolStripMenuItem.Size = new System.Drawing.Size(58, 24);
     this.menuToolStripMenuItem.Text = "Menu";
     //
     // addNewToolStripMenuItem1
     //
     this.addNewToolStripMenuItem1.ForeColor = System.Drawing.Color.DarkOrange;
     this.addNewToolStripMenuItem1.Name      = "addNewToolStripMenuItem1";
     this.addNewToolStripMenuItem1.Size      = new System.Drawing.Size(161, 24);
     this.addNewToolStripMenuItem1.Text      = "Add New";
     this.addNewToolStripMenuItem1.Click    += new System.EventHandler(this.AddNewToolStripMenuItem1Click);
     //
     // addExistingToolStripMenuItem1
     //
     this.addExistingToolStripMenuItem1.ForeColor = System.Drawing.Color.DarkOrange;
     this.addExistingToolStripMenuItem1.Name      = "addExistingToolStripMenuItem1";
     this.addExistingToolStripMenuItem1.Size      = new System.Drawing.Size(161, 24);
     this.addExistingToolStripMenuItem1.Text      = "Add Existing";
     this.addExistingToolStripMenuItem1.Click    += new System.EventHandler(this.AddExistingToolStripMenuItem1Click);
     //
     // aboutToolStripMenuItem
     //
     this.aboutToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.aboutToolStripMenuItem1,
         this.freeVersionToolStripMenuItem
     });
     this.aboutToolStripMenuItem.Font = new System.Drawing.Font("Segoe UI", 11.25F);
     this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
     this.aboutToolStripMenuItem.Size = new System.Drawing.Size(62, 24);
     this.aboutToolStripMenuItem.Text = "About";
     //
     // aboutToolStripMenuItem1
     //
     this.aboutToolStripMenuItem1.ForeColor = System.Drawing.Color.DarkOrange;
     this.aboutToolStripMenuItem1.Name      = "aboutToolStripMenuItem1";
     this.aboutToolStripMenuItem1.Size      = new System.Drawing.Size(158, 24);
     this.aboutToolStripMenuItem1.Text      = "About";
     this.aboutToolStripMenuItem1.Click    += new System.EventHandler(this.AboutToolStripMenuItem1Click);
     //
     // freeVersionToolStripMenuItem
     //
     this.freeVersionToolStripMenuItem.ForeColor = System.Drawing.Color.DarkOrange;
     this.freeVersionToolStripMenuItem.Name      = "freeVersionToolStripMenuItem";
     this.freeVersionToolStripMenuItem.Size      = new System.Drawing.Size(158, 24);
     this.freeVersionToolStripMenuItem.Text      = "Free Version";
     this.freeVersionToolStripMenuItem.Click    += new System.EventHandler(this.FreeVersionToolStripMenuItemClick);
     //
     // label6
     //
     this.label6.Font      = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label6.ForeColor = System.Drawing.Color.Red;
     this.label6.Location  = new System.Drawing.Point(217, 342);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(218, 47);
     this.label6.TabIndex  = 21;
     this.label6.Text      = "TRIAL: 0 DAYS REMAINING";
     this.label6.Visible   = false;
     //
     // MainForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BorderColor         = System.Drawing.Color.DarkOrange;
     this.ClientSize          = new System.Drawing.Size(654, 490);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.metroMenuStrip1);
     this.Controls.Add(this.button6);
     this.Controls.Add(this.comboBox1);
     this.Controls.Add(this.checkBox1);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.button5);
     this.Controls.Add(this.button4);
     this.Controls.Add(this.button3);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.textBox1);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.button2);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.cryptList);
     this.DisplayHeader = false;
     this.DisplayTitle  = true;
     this.Font          = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MainMenuStrip = this.metroMenuStrip1;
     this.Name          = "MainForm";
     this.Padding       = new System.Windows.Forms.Padding(20, 30, 20, 20);
     this.ShadowType    = MetroFramework.Forms.MetroFormShadowType.None;
     this.Style         = MetroFramework.MetroColorStyle.Orange;
     this.Text          = "FireCryptEx";
     this.Theme         = MetroFramework.MetroThemeStyle.Dark;
     this.TitleColor    = System.Drawing.Color.DarkOrange;
     this.FormClosing  += new System.Windows.Forms.FormClosingEventHandler(this.MainFormFormClosing);
     this.Load         += new System.EventHandler(this.MainFormLoad);
     this.cryptListMenu.ResumeLayout(false);
     this.notifyIconMenu.ResumeLayout(false);
     this.newOrExistingCtxM.ResumeLayout(false);
     this.metroMenuStrip1.ResumeLayout(false);
     this.metroMenuStrip1.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 47
0
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(this.GetType());
     this.components     = new System.ComponentModel.Container();
     this.toolTip1       = new System.Windows.Forms.ToolTip(this.components);
     this.BtnOk          = new System.Windows.Forms.Button();
     this.BtnClose       = new System.Windows.Forms.Button();
     this.GroupBox1      = new System.Windows.Forms.GroupBox();
     this.Label5         = new System.Windows.Forms.Label();
     this.Label6         = new System.Windows.Forms.Label();
     this.Label7         = new System.Windows.Forms.Label();
     this.Label8         = new System.Windows.Forms.Label();
     this.Label9         = new System.Windows.Forms.Label();
     this.Label10        = new System.Windows.Forms.Label();
     this.Label11        = new System.Windows.Forms.Label();
     this.Label12        = new System.Windows.Forms.Label();
     this.Label13        = new System.Windows.Forms.Label();
     this.Label14        = new System.Windows.Forms.Label();
     this.Label15        = new System.Windows.Forms.Label();
     this.Label16        = new System.Windows.Forms.Label();
     this.Label17        = new System.Windows.Forms.Label();
     this.Label18        = new System.Windows.Forms.Label();
     this.CkGate1        = new System.Windows.Forms.CheckBox();
     this.EdGate1        = new System.Windows.Forms.TextBox();
     this.CkGate2        = new System.Windows.Forms.CheckBox();
     this.EdGate2        = new System.Windows.Forms.TextBox();
     this.CkGate3        = new System.Windows.Forms.CheckBox();
     this.EdGate3        = new System.Windows.Forms.TextBox();
     this.CkGate4        = new System.Windows.Forms.CheckBox();
     this.EdGate4        = new System.Windows.Forms.TextBox();
     this.CkGate5        = new System.Windows.Forms.CheckBox();
     this.EdGate5        = new System.Windows.Forms.TextBox();
     this.CkGate6        = new System.Windows.Forms.CheckBox();
     this.EdGate6        = new System.Windows.Forms.TextBox();
     this.CkGate7        = new System.Windows.Forms.CheckBox();
     this.EdGate7        = new System.Windows.Forms.TextBox();
     this.CkGate8        = new System.Windows.Forms.CheckBox();
     this.EdGate8        = new System.Windows.Forms.TextBox();
     this.CkGate9        = new System.Windows.Forms.CheckBox();
     this.EdGate9        = new System.Windows.Forms.TextBox();
     this.CkGate10       = new System.Windows.Forms.CheckBox();
     this.EdGate10       = new System.Windows.Forms.TextBox();
     this.GroupBox2      = new System.Windows.Forms.GroupBox();
     this.Label4         = new System.Windows.Forms.Label();
     this.Label3         = new System.Windows.Forms.Label();
     this.EdPublicAddr   = new System.Windows.Forms.TextBox();
     this.EdPrivateAddr  = new System.Windows.Forms.TextBox();
     this.GroupBox3      = new System.Windows.Forms.GroupBox();
     this.Label2         = new System.Windows.Forms.Label();
     this.Label1         = new System.Windows.Forms.Label();
     this.BtnChangeTitle = new System.Windows.Forms.Button();
     this.CbGateList     = new System.Windows.Forms.ComboBox();
     this.CbServerList   = new System.Windows.Forms.ComboBox();
     this.EdTitle        = new System.Windows.Forms.TextBox();
     this.SuspendLayout();
     this.Location        = new System.Drawing.Point(210, 287);
     this.ClientSize      = new System.Drawing.Size(448, 348);
     this.Font            = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name            = "FrmGateSetting";
     this.Text            = "网关路由配置";
     this.AutoScroll      = true;
     this.BackColor       = System.Drawing.SystemColors.ButtonFace;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Load           += new System.EventHandler(this.FormCreate);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.BtnOk.Size      = new System.Drawing.Size(105, 25);
     this.BtnOk.Location  = new System.Drawing.Point(64, 320);
     this.BtnOk.Click    += new System.EventHandler(this.BtnOkClick);
     this.BtnOk.TabIndex  = 0;
     this.BtnOk.Name      = "BtnOk";
     this.BtnOk.Enabled   = true;
     this.BtnOk.Text      = "保存(&S)";
     this.BtnOk.BackColor = System.Drawing.SystemColors.ButtonFace;
     this.toolTip1.SetToolTip(this.BtnOk, "将网关路由设置保存到配置文件中。");
     this.BtnClose.Size         = new System.Drawing.Size(75, 25);
     this.BtnClose.Location     = new System.Drawing.Point(336, 320);
     this.BtnClose.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.BtnClose.TabIndex     = 1;
     this.BtnClose.Name         = "BtnClose";
     this.BtnClose.Enabled      = true;
     this.BtnClose.Text         = "确定(&O)";
     this.BtnClose.BackColor    = System.Drawing.SystemColors.ButtonFace;
     this.toolTip1.SetToolTip(this.BtnClose, "退出网关路由配置");
     this.GroupBox1.Size     = new System.Drawing.Size(433, 161);
     this.GroupBox1.Location = new System.Drawing.Point(8, 152);
     this.GroupBox1.SuspendLayout();
     this.GroupBox1.Text     = "角色网关设置";
     this.GroupBox1.TabIndex = 2;
     this.GroupBox1.Enabled  = true;
     this.GroupBox1.Name     = "GroupBox1";
     this.Label5.Size        = new System.Drawing.Size(54, 12);
     this.Label5.Location    = new System.Drawing.Point(32, 16);
     this.Label5.Text        = "角色网关:";
     this.Label5.Enabled     = true;
     this.Label5.Name        = "Label5";
     this.Label6.Size        = new System.Drawing.Size(48, 12);
     this.Label6.Location    = new System.Drawing.Point(168, 16);
     this.Label6.Text        = "是否启用";
     this.Label6.Enabled     = true;
     this.Label6.Name        = "Label6";
     this.Label7.Size        = new System.Drawing.Size(54, 12);
     this.Label7.Location    = new System.Drawing.Point(240, 16);
     this.Label7.Text        = "角色网关:";
     this.Label7.Enabled     = true;
     this.Label7.Name        = "Label7";
     this.Label8.Size        = new System.Drawing.Size(48, 12);
     this.Label8.Location    = new System.Drawing.Point(376, 16);
     this.Label8.Text        = "是否启用";
     this.Label8.Enabled     = true;
     this.Label8.Name        = "Label8";
     this.Label9.Size        = new System.Drawing.Size(6, 12);
     this.Label9.Location    = new System.Drawing.Point(15, 36);
     this.Label9.Text        = "1";
     this.Label9.Enabled     = true;
     this.Label9.Name        = "Label9";
     this.Label10.Size       = new System.Drawing.Size(6, 12);
     this.Label10.Location   = new System.Drawing.Point(15, 60);
     this.Label10.Text       = "2";
     this.Label10.Enabled    = true;
     this.Label10.Name       = "Label10";
     this.Label11.Size       = new System.Drawing.Size(6, 12);
     this.Label11.Location   = new System.Drawing.Point(15, 84);
     this.Label11.Text       = "3";
     this.Label11.Enabled    = true;
     this.Label11.Name       = "Label11";
     this.Label12.Size       = new System.Drawing.Size(6, 12);
     this.Label12.Location   = new System.Drawing.Point(15, 108);
     this.Label12.Text       = "4";
     this.Label12.Enabled    = true;
     this.Label12.Name       = "Label12";
     this.Label13.Size       = new System.Drawing.Size(6, 12);
     this.Label13.Location   = new System.Drawing.Point(15, 132);
     this.Label13.Text       = "5";
     this.Label13.Enabled    = true;
     this.Label13.Name       = "Label13";
     this.Label14.Size       = new System.Drawing.Size(6, 12);
     this.Label14.Location   = new System.Drawing.Point(223, 36);
     this.Label14.Text       = "6";
     this.Label14.Enabled    = true;
     this.Label14.Name       = "Label14";
     this.Label15.Size       = new System.Drawing.Size(6, 12);
     this.Label15.Location   = new System.Drawing.Point(223, 60);
     this.Label15.Text       = "7";
     this.Label15.Enabled    = true;
     this.Label15.Name       = "Label15";
     this.Label16.Size       = new System.Drawing.Size(6, 12);
     this.Label16.Location   = new System.Drawing.Point(223, 84);
     this.Label16.Text       = "8";
     this.Label16.Enabled    = true;
     this.Label16.Name       = "Label16";
     this.Label17.Size       = new System.Drawing.Size(6, 12);
     this.Label17.Location   = new System.Drawing.Point(223, 108);
     this.Label17.Text       = "9";
     this.Label17.Enabled    = true;
     this.Label17.Name       = "Label17";
     this.Label18.Size       = new System.Drawing.Size(12, 12);
     this.Label18.Location   = new System.Drawing.Point(223, 132);
     this.Label18.Text       = "10";
     this.Label18.Enabled    = true;
     this.Label18.Name       = "Label18";
     this.CkGate1.Size       = new System.Drawing.Size(15, 17);
     this.CkGate1.Location   = new System.Drawing.Point(184, 32);
     this.CkGate1.CheckState = System.Windows.Forms.CheckState.Checked;
     this.CkGate1.TabIndex   = 0;
     this.CkGate1.Checked    = true;
     this.CkGate1.Name       = "CkGate1";
     this.CkGate1.Enabled    = true;
     this.CkGate1.Text       = "CkGate1";
     this.EdGate1.Size       = new System.Drawing.Size(137, 20);
     this.EdGate1.Location   = new System.Drawing.Point(32, 32);
     this.EdGate1.TabIndex   = 1;
     this.EdGate1.Text       = "210.121.143.202";
     this.EdGate1.Enabled    = true;
     this.EdGate1.Name       = "EdGate1";
     this.toolTip1.SetToolTip(this.EdGate1, "角色选择网关IP,及端口。");
     this.CkGate2.Size       = new System.Drawing.Size(15, 17);
     this.CkGate2.Location   = new System.Drawing.Point(184, 56);
     this.CkGate2.CheckState = System.Windows.Forms.CheckState.Checked;
     this.CkGate2.TabIndex   = 2;
     this.CkGate2.Checked    = true;
     this.CkGate2.Name       = "CkGate2";
     this.CkGate2.Enabled    = true;
     this.CkGate2.Text       = "CheckBox1";
     this.EdGate2.Size       = new System.Drawing.Size(137, 20);
     this.EdGate2.Location   = new System.Drawing.Point(32, 56);
     this.EdGate2.TabIndex   = 3;
     this.EdGate2.Text       = "210.121.143.203";
     this.EdGate2.Enabled    = true;
     this.EdGate2.Name       = "EdGate2";
     this.toolTip1.SetToolTip(this.EdGate2, "角色选择网关IP,及端口。");
     this.CkGate3.Size       = new System.Drawing.Size(15, 17);
     this.CkGate3.Location   = new System.Drawing.Point(184, 80);
     this.CkGate3.CheckState = System.Windows.Forms.CheckState.Checked;
     this.CkGate3.TabIndex   = 4;
     this.CkGate3.Checked    = true;
     this.CkGate3.Name       = "CkGate3";
     this.CkGate3.Enabled    = true;
     this.CkGate3.Text       = "CheckBox1";
     this.EdGate3.Size       = new System.Drawing.Size(137, 20);
     this.EdGate3.Location   = new System.Drawing.Point(32, 80);
     this.EdGate3.TabIndex   = 5;
     this.EdGate3.Text       = "210.121.143.203";
     this.EdGate3.Enabled    = true;
     this.EdGate3.Name       = "EdGate3";
     this.toolTip1.SetToolTip(this.EdGate3, "角色选择网关IP,及端口。");
     this.CkGate4.Size       = new System.Drawing.Size(15, 17);
     this.CkGate4.Location   = new System.Drawing.Point(184, 104);
     this.CkGate4.CheckState = System.Windows.Forms.CheckState.Checked;
     this.CkGate4.TabIndex   = 6;
     this.CkGate4.Checked    = true;
     this.CkGate4.Name       = "CkGate4";
     this.CkGate4.Enabled    = true;
     this.CkGate4.Text       = "CheckBox1";
     this.EdGate4.Size       = new System.Drawing.Size(137, 20);
     this.EdGate4.Location   = new System.Drawing.Point(32, 104);
     this.EdGate4.TabIndex   = 7;
     this.EdGate4.Text       = "210.121.143.203";
     this.EdGate4.Enabled    = true;
     this.EdGate4.Name       = "EdGate4";
     this.toolTip1.SetToolTip(this.EdGate4, "角色选择网关IP,及端口。");
     this.CkGate5.Size       = new System.Drawing.Size(15, 17);
     this.CkGate5.Location   = new System.Drawing.Point(184, 128);
     this.CkGate5.CheckState = System.Windows.Forms.CheckState.Checked;
     this.CkGate5.TabIndex   = 8;
     this.CkGate5.Checked    = true;
     this.CkGate5.Name       = "CkGate5";
     this.CkGate5.Enabled    = true;
     this.CkGate5.Text       = "CheckBox1";
     this.EdGate5.Size       = new System.Drawing.Size(137, 20);
     this.EdGate5.Location   = new System.Drawing.Point(32, 128);
     this.EdGate5.TabIndex   = 9;
     this.EdGate5.Text       = "210.121.143.203";
     this.EdGate5.Enabled    = true;
     this.EdGate5.Name       = "EdGate5";
     this.toolTip1.SetToolTip(this.EdGate5, "角色选择网关IP,及端口。");
     this.CkGate6.Size       = new System.Drawing.Size(15, 17);
     this.CkGate6.Location   = new System.Drawing.Point(392, 32);
     this.CkGate6.CheckState = System.Windows.Forms.CheckState.Checked;
     this.CkGate6.TabIndex   = 10;
     this.CkGate6.Checked    = true;
     this.CkGate6.Name       = "CkGate6";
     this.CkGate6.Enabled    = true;
     this.CkGate6.Text       = "CheckBox1";
     this.EdGate6.Size       = new System.Drawing.Size(137, 20);
     this.EdGate6.Location   = new System.Drawing.Point(240, 32);
     this.EdGate6.TabIndex   = 11;
     this.EdGate6.Text       = "210.121.143.203";
     this.EdGate6.Enabled    = true;
     this.EdGate6.Name       = "EdGate6";
     this.toolTip1.SetToolTip(this.EdGate6, "角色选择网关IP,及端口。");
     this.CkGate7.Size       = new System.Drawing.Size(15, 17);
     this.CkGate7.Location   = new System.Drawing.Point(392, 56);
     this.CkGate7.CheckState = System.Windows.Forms.CheckState.Checked;
     this.CkGate7.TabIndex   = 12;
     this.CkGate7.Checked    = true;
     this.CkGate7.Name       = "CkGate7";
     this.CkGate7.Enabled    = true;
     this.CkGate7.Text       = "CheckBox1";
     this.EdGate7.Size       = new System.Drawing.Size(137, 20);
     this.EdGate7.Location   = new System.Drawing.Point(240, 56);
     this.EdGate7.TabIndex   = 13;
     this.EdGate7.Text       = "210.121.143.203";
     this.EdGate7.Enabled    = true;
     this.EdGate7.Name       = "EdGate7";
     this.toolTip1.SetToolTip(this.EdGate7, "角色选择网关IP,及端口。");
     this.CkGate8.Size       = new System.Drawing.Size(15, 17);
     this.CkGate8.Location   = new System.Drawing.Point(392, 80);
     this.CkGate8.CheckState = System.Windows.Forms.CheckState.Checked;
     this.CkGate8.TabIndex   = 14;
     this.CkGate8.Checked    = true;
     this.CkGate8.Name       = "CkGate8";
     this.CkGate8.Enabled    = true;
     this.CkGate8.Text       = "CheckBox1";
     this.EdGate8.Size       = new System.Drawing.Size(137, 20);
     this.EdGate8.Location   = new System.Drawing.Point(240, 80);
     this.EdGate8.TabIndex   = 15;
     this.EdGate8.Text       = "210.121.143.203";
     this.EdGate8.Enabled    = true;
     this.EdGate8.Name       = "EdGate8";
     this.toolTip1.SetToolTip(this.EdGate8, "角色选择网关IP,及端口。");
     this.CkGate9.Size       = new System.Drawing.Size(15, 17);
     this.CkGate9.Location   = new System.Drawing.Point(392, 104);
     this.CkGate9.CheckState = System.Windows.Forms.CheckState.Checked;
     this.CkGate9.TabIndex   = 16;
     this.CkGate9.Checked    = true;
     this.CkGate9.Name       = "CkGate9";
     this.CkGate9.Enabled    = true;
     this.CkGate9.Text       = "CheckBox1";
     this.EdGate9.Size       = new System.Drawing.Size(137, 20);
     this.EdGate9.Location   = new System.Drawing.Point(240, 104);
     this.EdGate9.TabIndex   = 17;
     this.EdGate9.Text       = "210.121.143.203";
     this.EdGate9.Enabled    = true;
     this.EdGate9.Name       = "EdGate9";
     this.toolTip1.SetToolTip(this.EdGate9, "角色选择网关IP,及端口。");
     this.CkGate10.Size       = new System.Drawing.Size(15, 17);
     this.CkGate10.Location   = new System.Drawing.Point(392, 128);
     this.CkGate10.CheckState = System.Windows.Forms.CheckState.Checked;
     this.CkGate10.TabIndex   = 18;
     this.CkGate10.Checked    = true;
     this.CkGate10.Name       = "CkGate10";
     this.CkGate10.Enabled    = true;
     this.CkGate10.Text       = "CheckBox1";
     this.EdGate10.Size       = new System.Drawing.Size(137, 20);
     this.EdGate10.Location   = new System.Drawing.Point(240, 128);
     this.EdGate10.TabIndex   = 19;
     this.EdGate10.Text       = "210.121.143.203";
     this.EdGate10.Enabled    = true;
     this.EdGate10.Name       = "EdGate10";
     this.toolTip1.SetToolTip(this.EdGate10, "角色选择网关IP,及端口。");
     this.GroupBox2.Size     = new System.Drawing.Size(433, 57);
     this.GroupBox2.Location = new System.Drawing.Point(8, 88);
     this.GroupBox2.SuspendLayout();
     this.GroupBox2.Text        = "登录网关信息";
     this.GroupBox2.TabIndex    = 3;
     this.GroupBox2.Enabled     = true;
     this.GroupBox2.Name        = "GroupBox2";
     this.Label4.Size           = new System.Drawing.Size(54, 12);
     this.Label4.Location       = new System.Drawing.Point(200, 28);
     this.Label4.Text           = "外部地址:";
     this.Label4.Enabled        = true;
     this.Label4.Name           = "Label4";
     this.Label3.Size           = new System.Drawing.Size(54, 12);
     this.Label3.Location       = new System.Drawing.Point(8, 28);
     this.Label3.Text           = "内部地址:";
     this.Label3.Enabled        = true;
     this.Label3.Name           = "Label3";
     this.EdPublicAddr.Size     = new System.Drawing.Size(121, 20);
     this.EdPublicAddr.Location = new System.Drawing.Point(256, 24);
     this.EdPublicAddr.TabIndex = 0;
     this.EdPublicAddr.Text     = "210.121.143.202";
     this.EdPublicAddr.Enabled  = true;
     this.EdPublicAddr.Name     = "EdPublicAddr";
     this.toolTip1.SetToolTip(this.EdPublicAddr, "登录网关对外服务的IP地址。");
     this.EdPrivateAddr.Size     = new System.Drawing.Size(121, 20);
     this.EdPrivateAddr.Location = new System.Drawing.Point(72, 24);
     this.EdPrivateAddr.TabIndex = 1;
     this.EdPrivateAddr.Text     = "5.5.2.1";
     this.EdPrivateAddr.Enabled  = true;
     this.EdPrivateAddr.Name     = "EdPrivateAddr";
     this.toolTip1.SetToolTip(this.EdPrivateAddr, "登录网关连接到登录服务器IP地址。");
     this.GroupBox3.Size     = new System.Drawing.Size(433, 73);
     this.GroupBox3.Location = new System.Drawing.Point(8, 8);
     this.GroupBox3.SuspendLayout();
     this.GroupBox3.Text                     = "网关路由标识";
     this.GroupBox3.TabIndex                 = 4;
     this.GroupBox3.Enabled                  = true;
     this.GroupBox3.Name                     = "GroupBox3";
     this.Label2.Size                        = new System.Drawing.Size(54, 12);
     this.Label2.Location                    = new System.Drawing.Point(8, 44);
     this.Label2.Text                        = "路由标识:";
     this.Label2.Enabled                     = true;
     this.Label2.Name                        = "Label2";
     this.Label1.Size                        = new System.Drawing.Size(54, 12);
     this.Label1.Location                    = new System.Drawing.Point(8, 20);
     this.Label1.Text                        = "服务器名:";
     this.Label1.Enabled                     = true;
     this.Label1.Name                        = "Label1";
     this.BtnChangeTitle.Size                = new System.Drawing.Size(57, 22);
     this.BtnChangeTitle.Location            = new System.Drawing.Point(368, 40);
     this.BtnChangeTitle.BackColor           = System.Drawing.SystemColors.ButtonFace;
     this.BtnChangeTitle.Text                = "修改(&M)";
     this.BtnChangeTitle.Enabled             = true;
     this.BtnChangeTitle.Click              += new System.EventHandler(this.BtnChangeTitleClick);
     this.BtnChangeTitle.Name                = "BtnChangeTitle";
     this.CbGateList.Size                    = new System.Drawing.Size(161, 20);
     this.CbGateList.Location                = new System.Drawing.Point(72, 40);
     this.CbGateList.DropDownStyle           = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.CbGateList.ItemHeight              = 12;
     this.CbGateList.TabIndex                = 0;
     this.CbGateList.SelectedIndexChanged   += new System.EventHandler(this.CbGateListChange);
     this.CbGateList.Name                    = "CbGateList";
     this.CbGateList.Enabled                 = true;
     this.CbServerList.Size                  = new System.Drawing.Size(161, 20);
     this.CbServerList.Location              = new System.Drawing.Point(72, 16);
     this.CbServerList.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.CbServerList.ItemHeight            = 12;
     this.CbServerList.TabIndex              = 1;
     this.CbServerList.SelectedIndexChanged += new System.EventHandler(this.CbServerListChange);
     this.CbServerList.Name                  = "CbServerList";
     this.CbServerList.Enabled               = true;
     this.EdTitle.Size                       = new System.Drawing.Size(121, 21);
     this.EdTitle.Location                   = new System.Drawing.Point(240, 40);
     this.EdTitle.Font                       = new System.Drawing.Font("MS Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(1)));
     this.EdTitle.TabIndex                   = 2;
     this.EdTitle.Enabled                    = true;
     this.EdTitle.Name                       = "EdTitle";
     this.GroupBox1.Controls.Add(Label5);
     this.GroupBox1.Controls.Add(Label6);
     this.GroupBox1.Controls.Add(Label7);
     this.GroupBox1.Controls.Add(Label8);
     this.GroupBox1.Controls.Add(Label9);
     this.GroupBox1.Controls.Add(Label10);
     this.GroupBox1.Controls.Add(Label11);
     this.GroupBox1.Controls.Add(Label12);
     this.GroupBox1.Controls.Add(Label13);
     this.GroupBox1.Controls.Add(Label14);
     this.GroupBox1.Controls.Add(Label15);
     this.GroupBox1.Controls.Add(Label16);
     this.GroupBox1.Controls.Add(Label17);
     this.GroupBox1.Controls.Add(Label18);
     this.GroupBox1.Controls.Add(CkGate1);
     this.GroupBox1.Controls.Add(EdGate1);
     this.GroupBox1.Controls.Add(CkGate2);
     this.GroupBox1.Controls.Add(EdGate2);
     this.GroupBox1.Controls.Add(CkGate3);
     this.GroupBox1.Controls.Add(EdGate3);
     this.GroupBox1.Controls.Add(CkGate4);
     this.GroupBox1.Controls.Add(EdGate4);
     this.GroupBox1.Controls.Add(CkGate5);
     this.GroupBox1.Controls.Add(EdGate5);
     this.GroupBox1.Controls.Add(CkGate6);
     this.GroupBox1.Controls.Add(EdGate6);
     this.GroupBox1.Controls.Add(CkGate7);
     this.GroupBox1.Controls.Add(EdGate7);
     this.GroupBox1.Controls.Add(CkGate8);
     this.GroupBox1.Controls.Add(EdGate8);
     this.GroupBox1.Controls.Add(CkGate9);
     this.GroupBox1.Controls.Add(EdGate9);
     this.GroupBox1.Controls.Add(CkGate10);
     this.GroupBox1.Controls.Add(EdGate10);
     this.GroupBox1.ResumeLayout(false);
     this.GroupBox2.Controls.Add(Label4);
     this.GroupBox2.Controls.Add(Label3);
     this.GroupBox2.Controls.Add(EdPublicAddr);
     this.GroupBox2.Controls.Add(EdPrivateAddr);
     this.GroupBox2.ResumeLayout(false);
     this.GroupBox3.Controls.Add(Label2);
     this.GroupBox3.Controls.Add(Label1);
     this.GroupBox3.Controls.Add(BtnChangeTitle);
     this.GroupBox3.Controls.Add(CbGateList);
     this.GroupBox3.Controls.Add(CbServerList);
     this.GroupBox3.Controls.Add(EdTitle);
     this.GroupBox3.ResumeLayout(false);
     this.Controls.Add(BtnOk);
     this.Controls.Add(BtnClose);
     this.Controls.Add(GroupBox1);
     this.Controls.Add(GroupBox2);
     this.Controls.Add(GroupBox3);
     this.ResumeLayout(false);
 }