private void InitializeComponent() { textBox1 = new TextBox(); GroupBox.SuspendLayout(); SuspendLayout(); // // groupBox1 // GroupBox.Controls.Add(textBox1); GroupBox.Text = "Caption"; GroupBox.Controls.SetChildIndex(textBox1, 0); GroupBox.Controls.SetChildIndex(StatusLabel, 0); // // lblStatus // StatusLabel.Location = new Point(12, 20); // // textBox1 // textBox1.Location = new Point(44, 17); textBox1.Name = "textBox1"; textBox1.Size = new Size(440, 20); textBox1.TabIndex = 3; textBox1.TextChanged += TextBox1TextChanged; textBox1.Click += TextBox1Click; // // IntElement // AutoScaleDimensions = new SizeF(6F, 13F); Name = "IntElement"; GroupBox.ResumeLayout(false); GroupBox.PerformLayout(); ResumeLayout(false); }
public Control CreateControl() { var btnCheck = new Button(); btnCheck.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; btnCheck.Location = new Point(6, 42); btnCheck.Size = new Size(265, 23); btnCheck.Text = "Check for updates now"; btnCheck.Click += new EventHandler(CheckUpdatesButton_Click); chkEnabled = new CheckBox(); chkEnabled.AutoSize = true; chkEnabled.Location = new Point(10, 19); chkEnabled.Size = new Size(148, 17); chkEnabled.Text = "Check for updates at start"; control = new GroupBox(); control.SuspendLayout(); control.Controls.Add(btnCheck); control.Controls.Add(chkEnabled); control.Location = new Point(0, 0); control.Margin = new Padding(0); control.Size = new Size(277, 70); control.Text = "Updates"; control.ResumeLayout(false); control.PerformLayout(); return(control); }
public PonySettingsPanel() { radioHeart = new RadioButton(); radioStar = new RadioButton(); radioStar.Click += switchBitmap; radioHeart.Click += switchBitmap; bool isHeart = getSettingValue(SHAPE_PONY_TYPE, 1) == 1; if (isHeart) { radioHeart.Checked = true; } else { radioStar.Checked = true; } GroupBox group = new GroupBox(); group.SuspendLayout(); SuspendLayout(); radioHeart.AutoSize = true; radioHeart.Location = new Point(50, 32); radioHeart.TabStop = false; radioHeart.Appearance = Appearance.Button; radioHeart.FlatStyle = FlatStyle.Flat; radioHeart.FlatAppearance.BorderSize = 0; radioHeart.FlatAppearance.CheckedBackColor = SystemColors.ControlDark; radioHeart.Padding = new Padding(6); radioHeart.Image = Properties.Resources.emblem_favorite_32; radioStar.AutoSize = true; radioStar.Location = new Point(50, 92); radioStar.TabStop = false; radioStar.Appearance = Appearance.Button; radioStar.FlatStyle = FlatStyle.Flat; radioStar.FlatAppearance.BorderSize = 0; radioStar.FlatAppearance.CheckedBackColor = SystemColors.ControlDark; radioStar.Padding = new Padding(6); radioStar.Image = Properties.Resources.yellow_star_32; group.Controls.Add(radioStar); group.Controls.Add(radioHeart); group.Dock = DockStyle.Top; group.AutoSize = true; group.Location = new Point(0, 0); group.TabStop = false; group.Text = "Image to Draw"; Padding = new Padding(12); Controls.Add(group); group.ResumeLayout(false); group.PerformLayout(); ResumeLayout(false); }
public void InitializeComponent(TabPage pluginScreenSpace) { _mainGroupBox = new GroupBox { Location = new Point(12, 12), Text = "监听设置", AutoSize = true, AutoSizeMode = AutoSizeMode.GrowAndShrink }; _lbPort = new Label { AutoSize = true, Text = "端口:", Location = new Point(10, 33) }; TextPort = new NumericUpDown { Location = new Point(85, 30), DecimalPlaces = 0, Maximum = 65535, Value = 2019, Size = new Size(100, 35) }; ButtonStart = new Button { Text = "启动", Location = new Point(190, 30), Size = new Size(75, TextPort.Height) }; ButtonStop = new Button { Text = "停止", Location = new Point(270, 30), Size = new Size(75, TextPort.Height), Enabled = false }; _autoStart = new CheckBox { AutoSize = true, Text = "自动启动", Location = new Point(350, 33) }; lstMessages = new ListBox { Location = new Point(10, TextPort.Height * 2 + 20), FormattingEnabled = true, ScrollAlwaysVisible = true, HorizontalScrollbar = true, Size = new Size(440, 500), }; cmdClearMessages = new Button { Location = new Point(10, lstMessages.Location.Y + lstMessages.Height + 10), Size = new Size(200, TextPort.Height), Text = "清空日志", UseVisualStyleBackColor = true }; cmdCopyProblematic = new Button { Location = new Point(220, lstMessages.Location.Y + lstMessages.Height + 10), Size = new Size(200, TextPort.Height), Text = "复制到剪贴板", UseVisualStyleBackColor = true }; LoadSettings(); _mainGroupBox.Controls.Add(_lbPort); _mainGroupBox.Controls.Add(TextPort); _mainGroupBox.Controls.Add(ButtonStart); _mainGroupBox.Controls.Add(ButtonStop); _mainGroupBox.Controls.Add(_autoStart); _mainGroupBox.Controls.Add(lstMessages); _mainGroupBox.Controls.Add(cmdClearMessages); _mainGroupBox.Controls.Add(cmdCopyProblematic); pluginScreenSpace.Controls.Add(_mainGroupBox); pluginScreenSpace.AutoSize = true; cmdCopyProblematic.Click += cmdCopyProblematic_Click; cmdClearMessages.Click += cmdClearMessages_Click; _mainGroupBox.ResumeLayout(false); _mainGroupBox.PerformLayout(); ResumeLayout(false); PerformLayout(); }
/// <summary> /// Raises the Load event. /// </summary> /// <param name="e">An EventArgs that contains the event data.</param> protected override void OnLoad(EventArgs e) { // Call the base class's method so that registered delegates receive the event. base.OnLoad(e); // Layout the filter group box. groupBoxFilter.PerformLayout(); // Perform an initial load of the entries that have occurred before this DiagnosticsConsole // was loaded. LoadEntries(); }
public ArrowSettingsPanel() { radioOne = new RadioButton { Image = Properties.Resources.arrow_1 }; buttons.Add(radioOne); radioTwo = new RadioButton { Image = Properties.Resources.arrow_2 }; buttons.Add(radioTwo); GroupBox group = new GroupBox(); group.SuspendLayout(); SuspendLayout(); int i = 0; int arrowType = getSettingValue(SHAPE_ARROW_TYPE, 0); foreach (RadioButton b in buttons) { if (i == arrowType) { b.Checked = true; } b.AutoSize = true; b.Appearance = Appearance.Button; b.FlatStyle = FlatStyle.Flat; b.FlatAppearance.BorderSize = 0; b.FlatAppearance.CheckedBackColor = SystemColors.ControlDark; b.Location = new Point(32, 24 + 60 * i++); b.Padding = new Padding(6); b.TabStop = false; b.Click += switchArrow; group.Controls.Add(b); } group.Dock = DockStyle.Top; group.TabStop = false; group.Text = "Arrow Type"; group.AutoSize = true; Padding = new Padding(12); Controls.Add(group); group.ResumeLayout(false); group.PerformLayout(); ResumeLayout(false); }
private void ShowListQuiz(Exam examFind) { using (var _dbContext = new QuizContextDB()) { int dem = 0, demAnswer = 1; int y = 60, x = 55; int grVertical = 0; foreach (Quiz quiz in _dbContext.Quizs.ToList().Where(p => p.ExamID == this.examID)) { dem++; this.demQuantityQuiz++; this.nameGr = quiz.QuizID.ToString(); GroupBox nameGr = new GroupBox(); nameGr.SuspendLayout(); nameGr.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); nameGr.Controls.Add(CreateTitleQuiz(quiz.QuizName, dem)); foreach (Answer answer in _dbContext.Answers.ToList().Where(p => p.QuizID == quiz.QuizID)) { if (demAnswer == 2) { x += 45; } if (demAnswer >= 3) { _ = x == 100 ? x = 55 : x += 45; y = 550; } nameGr.Controls.Add(CreateAwserQuiz(answer.ContentAnswer, demAnswer, x, y, answer.AnswerID)); demAnswer++; } nameGr.Location = new System.Drawing.Point(0, grVertical); nameGr.Name = this.nameGr; //nameGr.ToString() nameGr.Size = new System.Drawing.Size(1110, 137); nameGr.TabIndex = 6; nameGr.TabStop = false; nameGr.ResumeLayout(false); nameGr.PerformLayout(); grVertical += 135; demAnswer = 1; y = 60; x = 55; this.panelAllQuiz.Controls.Add(nameGr); } lblTotalDone.Text = dem.ToString(); } }
private void InitializeComponent() { btnAddData = new Button(); textBox1 = new TextBox(); GroupBox.SuspendLayout(); SuspendLayout(); // // groupBox1 // GroupBox.Controls.Add(textBox1); GroupBox.Controls.Add(btnAddData); GroupBox.Controls.SetChildIndex(StatusLabel, 0); GroupBox.Controls.SetChildIndex(btnAddData, 0); GroupBox.Controls.SetChildIndex(textBox1, 0); // // lblStatus // StatusLabel.Location = new Point(12, 20); // // btnAddData // btnAddData.Image = Images.AddLayer; btnAddData.Location = new Point(460, 14); btnAddData.Name = "btnAddData"; btnAddData.Size = new Size(26, 26); btnAddData.TabIndex = 5; btnAddData.UseVisualStyleBackColor = true; btnAddData.Click += BtnAddDataClick; // // textBox1 // textBox1.Location = new Point(44, 17); textBox1.Name = "textBox1"; textBox1.ReadOnly = true; textBox1.Size = new Size(410, 20); textBox1.TabIndex = 6; // // PolygonElementOut // AutoScaleDimensions = new SizeF(6F, 13F); Name = "LineElementOut"; GroupBox.ResumeLayout(false); GroupBox.PerformLayout(); ResumeLayout(false); }
private void InitializeComponent() { gDNS = new System.Windows.Forms.GroupBox(); tDNS2 = new System.Windows.Forms.TextBox(); tDNS1 = new System.Windows.Forms.TextBox(); lDNS2 = new System.Windows.Forms.Label(); lDNS1 = new System.Windows.Forms.Label(); rStaticDNS = new System.Windows.Forms.RadioButton(); rAutoDNS = new System.Windows.Forms.RadioButton(); gTCP = new System.Windows.Forms.GroupBox(); tGateway = new System.Windows.Forms.TextBox(); tMask = new System.Windows.Forms.TextBox(); tIP = new System.Windows.Forms.TextBox(); lGateway = new System.Windows.Forms.Label(); lMask = new System.Windows.Forms.Label(); lIP = new System.Windows.Forms.Label(); rStaticDHCP = new System.Windows.Forms.RadioButton(); rAutoDHCP = new System.Windows.Forms.RadioButton(); bOk = new System.Windows.Forms.Button(); tComputer = new System.Windows.Forms.TextBox(); lComputer = new System.Windows.Forms.Label(); tNetBIOS = new System.Windows.Forms.TextBox(); lNetBIOS = new System.Windows.Forms.Label(); gDNS.SuspendLayout(); gTCP.SuspendLayout(); SuspendLayout(); gDNS.Controls.Add(tDNS2); gDNS.Controls.Add(tDNS1); gDNS.Controls.Add(lDNS2); gDNS.Controls.Add(lDNS1); gDNS.Controls.Add(rStaticDNS); gDNS.Controls.Add(rAutoDNS); gDNS.Location = new System.Drawing.Point(12, 213); gDNS.Name = "gDNS"; gDNS.Size = new System.Drawing.Size(393, 129); gDNS.TabIndex = 6; gDNS.TabStop = false; gDNS.Text = "DNS"; tDNS2.Enabled = false; tDNS2.Location = new System.Drawing.Point(87, 95); tDNS2.Name = "tDNS2"; tDNS2.Size = new System.Drawing.Size(133, 20); tDNS2.TabIndex = 1; tDNS1.Enabled = false; tDNS1.Location = new System.Drawing.Point(87, 68); tDNS1.Name = "tDNS1"; tDNS1.Size = new System.Drawing.Size(133, 20); tDNS1.TabIndex = 0; lDNS2.AutoSize = true; lDNS2.Location = new System.Drawing.Point(27, 98); lDNS2.Name = "lDNS2"; lDNS2.Size = new System.Drawing.Size(58, 13); lDNS2.TabIndex = 3; lDNS2.Text = "Secondary"; lDNS1.AutoSize = true; lDNS1.Location = new System.Drawing.Point(27, 71); lDNS1.Name = "lDNS1"; lDNS1.Size = new System.Drawing.Size(41, 13); lDNS1.TabIndex = 2; lDNS1.Text = "Primary"; rStaticDNS.AutoSize = true; rStaticDNS.Enabled = false; rStaticDNS.Location = new System.Drawing.Point(7, 44); rStaticDNS.Name = "rStaticDNS"; rStaticDNS.Size = new System.Drawing.Size(48, 17); rStaticDNS.TabIndex = 1; rStaticDNS.TabStop = true; rStaticDNS.Text = "DNS"; rStaticDNS.UseVisualStyleBackColor = true; rAutoDNS.AutoSize = true; rAutoDNS.Enabled = false; rAutoDNS.Location = new System.Drawing.Point(7, 20); rAutoDNS.Name = "rAutoDNS"; rAutoDNS.Size = new System.Drawing.Size(98, 17); rAutoDNS.TabIndex = 0; rAutoDNS.TabStop = true; rAutoDNS.Text = "DNS Automatic"; rAutoDNS.UseVisualStyleBackColor = true; gTCP.Controls.Add(tGateway); gTCP.Controls.Add(tMask); gTCP.Controls.Add(tIP); gTCP.Controls.Add(lGateway); gTCP.Controls.Add(lMask); gTCP.Controls.Add(lIP); gTCP.Controls.Add(rStaticDHCP); gTCP.Controls.Add(rAutoDHCP); gTCP.Location = new System.Drawing.Point(12, 52); gTCP.Name = "gTCP"; gTCP.Size = new System.Drawing.Size(393, 155); gTCP.TabIndex = 5; gTCP.TabStop = false; gTCP.Text = "TCP"; tGateway.Enabled = false; tGateway.Location = new System.Drawing.Point(87, 122); tGateway.Name = "tGateway"; tGateway.Size = new System.Drawing.Size(133, 20); tGateway.TabIndex = 2; tMask.Enabled = false; tMask.Location = new System.Drawing.Point(87, 95); tMask.Name = "tMask"; tMask.Size = new System.Drawing.Size(133, 20); tMask.TabIndex = 1; tIP.Enabled = false; tIP.Location = new System.Drawing.Point(87, 68); tIP.Name = "tIP"; tIP.Size = new System.Drawing.Size(133, 20); tIP.TabIndex = 0; lGateway.AutoSize = true; lGateway.Location = new System.Drawing.Point(27, 125); lGateway.Name = "lGateway"; lGateway.Size = new System.Drawing.Size(49, 13); lGateway.TabIndex = 4; lGateway.Text = "Gateway"; lMask.AutoSize = true; lMask.Location = new System.Drawing.Point(27, 98); lMask.Name = "lMask"; lMask.Size = new System.Drawing.Size(33, 13); lMask.TabIndex = 3; lMask.Text = "Mask"; lIP.AutoSize = true; lIP.Location = new System.Drawing.Point(27, 71); lIP.Name = "lIP"; lIP.Size = new System.Drawing.Size(17, 13); lIP.TabIndex = 2; lIP.Text = "IP"; rStaticDHCP.AutoSize = true; rStaticDHCP.Enabled = false; rStaticDHCP.Location = new System.Drawing.Point(7, 44); rStaticDHCP.Name = "rStaticDHCP"; rStaticDHCP.Size = new System.Drawing.Size(65, 17); rStaticDHCP.TabIndex = 1; rStaticDHCP.TabStop = true; rStaticDHCP.Text = "IP Static"; rStaticDHCP.UseVisualStyleBackColor = true; rAutoDHCP.AutoSize = true; rAutoDHCP.Enabled = false; rAutoDHCP.Location = new System.Drawing.Point(7, 20); rAutoDHCP.Name = "rAutoDHCP"; rAutoDHCP.Size = new System.Drawing.Size(76, 17); rAutoDHCP.TabIndex = 0; rAutoDHCP.TabStop = true; rAutoDHCP.Text = "IP Dinamic"; rAutoDHCP.UseVisualStyleBackColor = true; bOk.BackgroundImage = Kiosk.Properties.Resources.ico_ok; bOk.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; bOk.Location = new System.Drawing.Point(341, 348); bOk.Name = "bOk"; bOk.Size = new System.Drawing.Size(64, 48); bOk.TabIndex = 2; bOk.UseVisualStyleBackColor = true; bOk.Click += new System.EventHandler(bOk_Click); tComputer.Enabled = false; tComputer.Location = new System.Drawing.Point(75, 16); tComputer.Name = "tComputer"; tComputer.Size = new System.Drawing.Size(130, 20); tComputer.TabIndex = 0; lComputer.AutoSize = true; lComputer.Location = new System.Drawing.Point(15, 19); lComputer.Name = "lComputer"; lComputer.Size = new System.Drawing.Size(52, 13); lComputer.TabIndex = 10; lComputer.Text = "Computer"; tNetBIOS.Enabled = false; tNetBIOS.Location = new System.Drawing.Point(279, 16); tNetBIOS.Name = "tNetBIOS"; tNetBIOS.Size = new System.Drawing.Size(126, 20); tNetBIOS.TabIndex = 1; lNetBIOS.AutoSize = true; lNetBIOS.Location = new System.Drawing.Point(213, 19); lNetBIOS.Name = "lNetBIOS"; lNetBIOS.Size = new System.Drawing.Size(60, 13); lNetBIOS.TabIndex = 12; lNetBIOS.Text = "Workgroup"; base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; base.ClientSize = new System.Drawing.Size(417, 405); base.ControlBox = false; base.Controls.Add(tNetBIOS); base.Controls.Add(lNetBIOS); base.Controls.Add(tComputer); base.Controls.Add(lComputer); base.Controls.Add(bOk); base.Controls.Add(gDNS); base.Controls.Add(gTCP); base.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; base.Name = "DLG_Net"; base.ShowIcon = false; base.ShowInTaskbar = false; base.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; Text = "System info"; gDNS.ResumeLayout(false); gDNS.PerformLayout(); gTCP.ResumeLayout(false); gTCP.PerformLayout(); ResumeLayout(false); PerformLayout(); }
private void InitializeComponent() { pBOTTOM = new System.Windows.Forms.Panel(); bOk = new System.Windows.Forms.Button(); tNetBIOS = new System.Windows.Forms.TextBox(); lNetBIOS = new System.Windows.Forms.Label(); tComputer = new System.Windows.Forms.TextBox(); lComputer = new System.Windows.Forms.Label(); gDNS = new System.Windows.Forms.GroupBox(); tDNS2 = new System.Windows.Forms.TextBox(); tDNS1 = new System.Windows.Forms.TextBox(); lDNS2 = new System.Windows.Forms.Label(); lDNS1 = new System.Windows.Forms.Label(); rStaticDNS = new System.Windows.Forms.RadioButton(); rAutoDNS = new System.Windows.Forms.RadioButton(); gTCP = new System.Windows.Forms.GroupBox(); tGateway = new System.Windows.Forms.TextBox(); tMask = new System.Windows.Forms.TextBox(); tIP = new System.Windows.Forms.TextBox(); lGateway = new System.Windows.Forms.Label(); lMask = new System.Windows.Forms.Label(); lIP = new System.Windows.Forms.Label(); rStaticDHCP = new System.Windows.Forms.RadioButton(); rAutoDHCP = new System.Windows.Forms.RadioButton(); lServer = new System.Windows.Forms.Label(); iServer = new System.Windows.Forms.TextBox(); iUser = new System.Windows.Forms.TextBox(); lUser = new System.Windows.Forms.Label(); iSelector = new System.Windows.Forms.TextBox(); lSelector = new System.Windows.Forms.Label(); iValidator = new System.Windows.Forms.TextBox(); lValidator = new System.Windows.Forms.Label(); iPrinter = new System.Windows.Forms.TextBox(); lPrinter = new System.Windows.Forms.Label(); iEthernet = new System.Windows.Forms.TextBox(); lEthernet = new System.Windows.Forms.Label(); iCPU = new System.Windows.Forms.TextBox(); lCPU = new System.Windows.Forms.Label(); iBarcode = new System.Windows.Forms.TextBox(); lBarcode = new System.Windows.Forms.Label(); lSystem = new System.Windows.Forms.Label(); iSystem = new System.Windows.Forms.TextBox(); iWifi = new System.Windows.Forms.TextBox(); lWifi = new System.Windows.Forms.Label(); iVNC = new System.Windows.Forms.TextBox(); lVNC = new System.Windows.Forms.Label(); pBOTTOM.SuspendLayout(); gDNS.SuspendLayout(); gTCP.SuspendLayout(); SuspendLayout(); pBOTTOM.Controls.Add(bOk); pBOTTOM.Dock = System.Windows.Forms.DockStyle.Bottom; pBOTTOM.Location = new System.Drawing.Point(0, 434); pBOTTOM.Name = "pBOTTOM"; pBOTTOM.Size = new System.Drawing.Size(784, 48); pBOTTOM.TabIndex = 5; bOk.Dock = System.Windows.Forms.DockStyle.Right; bOk.Image = Kiosk.Properties.Resources.ico_ok; bOk.Location = new System.Drawing.Point(736, 0); bOk.Name = "bOk"; bOk.Size = new System.Drawing.Size(48, 48); bOk.TabIndex = 0; bOk.UseVisualStyleBackColor = true; bOk.Click += new System.EventHandler(bOk_Click); tNetBIOS.Enabled = false; tNetBIOS.Location = new System.Drawing.Point(442, 34); tNetBIOS.Name = "tNetBIOS"; tNetBIOS.Size = new System.Drawing.Size(330, 20); tNetBIOS.TabIndex = 14; lNetBIOS.AutoSize = true; lNetBIOS.Location = new System.Drawing.Point(376, 37); lNetBIOS.Name = "lNetBIOS"; lNetBIOS.Size = new System.Drawing.Size(60, 13); lNetBIOS.TabIndex = 18; lNetBIOS.Text = "Workgroup"; tComputer.Enabled = false; tComputer.Location = new System.Drawing.Point(442, 6); tComputer.Name = "tComputer"; tComputer.Size = new System.Drawing.Size(330, 20); tComputer.TabIndex = 13; lComputer.AutoSize = true; lComputer.Location = new System.Drawing.Point(376, 9); lComputer.Name = "lComputer"; lComputer.Size = new System.Drawing.Size(52, 13); lComputer.TabIndex = 17; lComputer.Text = "Computer"; gDNS.Controls.Add(tDNS2); gDNS.Controls.Add(tDNS1); gDNS.Controls.Add(lDNS2); gDNS.Controls.Add(lDNS1); gDNS.Controls.Add(rStaticDNS); gDNS.Controls.Add(rAutoDNS); gDNS.Location = new System.Drawing.Point(379, 317); gDNS.Name = "gDNS"; gDNS.Size = new System.Drawing.Size(393, 111); gDNS.TabIndex = 16; gDNS.TabStop = false; gDNS.Text = "DNS"; tDNS2.Enabled = false; tDNS2.Location = new System.Drawing.Point(133, 71); tDNS2.Name = "tDNS2"; tDNS2.Size = new System.Drawing.Size(133, 20); tDNS2.TabIndex = 1; tDNS1.Enabled = false; tDNS1.Location = new System.Drawing.Point(133, 44); tDNS1.Name = "tDNS1"; tDNS1.Size = new System.Drawing.Size(133, 20); tDNS1.TabIndex = 0; lDNS2.AutoSize = true; lDNS2.Location = new System.Drawing.Point(73, 74); lDNS2.Name = "lDNS2"; lDNS2.Size = new System.Drawing.Size(58, 13); lDNS2.TabIndex = 3; lDNS2.Text = "Secondary"; lDNS1.AutoSize = true; lDNS1.Location = new System.Drawing.Point(73, 47); lDNS1.Name = "lDNS1"; lDNS1.Size = new System.Drawing.Size(41, 13); lDNS1.TabIndex = 2; lDNS1.Text = "Primary"; rStaticDNS.AutoSize = true; rStaticDNS.Enabled = false; rStaticDNS.Location = new System.Drawing.Point(7, 44); rStaticDNS.Name = "rStaticDNS"; rStaticDNS.Size = new System.Drawing.Size(48, 17); rStaticDNS.TabIndex = 1; rStaticDNS.TabStop = true; rStaticDNS.Text = "DNS"; rStaticDNS.UseVisualStyleBackColor = true; rAutoDNS.AutoSize = true; rAutoDNS.Enabled = false; rAutoDNS.Location = new System.Drawing.Point(7, 20); rAutoDNS.Name = "rAutoDNS"; rAutoDNS.Size = new System.Drawing.Size(98, 17); rAutoDNS.TabIndex = 0; rAutoDNS.TabStop = true; rAutoDNS.Text = "DNS Automatic"; rAutoDNS.UseVisualStyleBackColor = true; gTCP.Controls.Add(tGateway); gTCP.Controls.Add(tMask); gTCP.Controls.Add(tIP); gTCP.Controls.Add(lGateway); gTCP.Controls.Add(lMask); gTCP.Controls.Add(lIP); gTCP.Controls.Add(rStaticDHCP); gTCP.Controls.Add(rAutoDHCP); gTCP.Location = new System.Drawing.Point(379, 164); gTCP.Name = "gTCP"; gTCP.Size = new System.Drawing.Size(393, 150); gTCP.TabIndex = 15; gTCP.TabStop = false; gTCP.Text = "TCP"; tGateway.Enabled = false; tGateway.Location = new System.Drawing.Point(87, 122); tGateway.Name = "tGateway"; tGateway.Size = new System.Drawing.Size(133, 20); tGateway.TabIndex = 2; tMask.Enabled = false; tMask.Location = new System.Drawing.Point(87, 95); tMask.Name = "tMask"; tMask.Size = new System.Drawing.Size(133, 20); tMask.TabIndex = 1; tIP.Enabled = false; tIP.Location = new System.Drawing.Point(87, 68); tIP.Name = "tIP"; tIP.Size = new System.Drawing.Size(133, 20); tIP.TabIndex = 0; lGateway.AutoSize = true; lGateway.Location = new System.Drawing.Point(27, 125); lGateway.Name = "lGateway"; lGateway.Size = new System.Drawing.Size(49, 13); lGateway.TabIndex = 4; lGateway.Text = "Gateway"; lMask.AutoSize = true; lMask.Location = new System.Drawing.Point(27, 98); lMask.Name = "lMask"; lMask.Size = new System.Drawing.Size(33, 13); lMask.TabIndex = 3; lMask.Text = "Mask"; lIP.AutoSize = true; lIP.Location = new System.Drawing.Point(27, 71); lIP.Name = "lIP"; lIP.Size = new System.Drawing.Size(17, 13); lIP.TabIndex = 2; lIP.Text = "IP"; rStaticDHCP.AutoSize = true; rStaticDHCP.Enabled = false; rStaticDHCP.Location = new System.Drawing.Point(7, 44); rStaticDHCP.Name = "rStaticDHCP"; rStaticDHCP.Size = new System.Drawing.Size(65, 17); rStaticDHCP.TabIndex = 1; rStaticDHCP.TabStop = true; rStaticDHCP.Text = "IP Static"; rStaticDHCP.UseVisualStyleBackColor = true; rAutoDHCP.AutoSize = true; rAutoDHCP.Enabled = false; rAutoDHCP.Location = new System.Drawing.Point(7, 20); rAutoDHCP.Name = "rAutoDHCP"; rAutoDHCP.Size = new System.Drawing.Size(76, 17); rAutoDHCP.TabIndex = 0; rAutoDHCP.TabStop = true; rAutoDHCP.Text = "IP Dinamic"; rAutoDHCP.UseVisualStyleBackColor = true; lServer.AutoSize = true; lServer.Location = new System.Drawing.Point(12, 16); lServer.Name = "lServer"; lServer.Size = new System.Drawing.Size(38, 13); lServer.TabIndex = 19; lServer.Text = "Server"; iServer.Enabled = false; iServer.Location = new System.Drawing.Point(70, 13); iServer.Name = "iServer"; iServer.Size = new System.Drawing.Size(288, 20); iServer.TabIndex = 20; iUser.Enabled = false; iUser.Location = new System.Drawing.Point(70, 41); iUser.Name = "iUser"; iUser.Size = new System.Drawing.Size(288, 20); iUser.TabIndex = 22; lUser.AutoSize = true; lUser.Location = new System.Drawing.Point(12, 44); lUser.Name = "lUser"; lUser.Size = new System.Drawing.Size(29, 13); lUser.TabIndex = 21; lUser.Text = "User"; iSelector.Enabled = false; iSelector.Location = new System.Drawing.Point(70, 69); iSelector.Name = "iSelector"; iSelector.Size = new System.Drawing.Size(288, 20); iSelector.TabIndex = 24; lSelector.AutoSize = true; lSelector.Location = new System.Drawing.Point(12, 72); lSelector.Name = "lSelector"; lSelector.Size = new System.Drawing.Size(46, 13); lSelector.TabIndex = 23; lSelector.Text = "Selector"; iValidator.Enabled = false; iValidator.Location = new System.Drawing.Point(70, 97); iValidator.Name = "iValidator"; iValidator.Size = new System.Drawing.Size(288, 20); iValidator.TabIndex = 26; lValidator.AutoSize = true; lValidator.Location = new System.Drawing.Point(12, 100); lValidator.Name = "lValidator"; lValidator.Size = new System.Drawing.Size(48, 13); lValidator.TabIndex = 25; lValidator.Text = "Validator"; iPrinter.Enabled = false; iPrinter.Location = new System.Drawing.Point(70, 125); iPrinter.Name = "iPrinter"; iPrinter.Size = new System.Drawing.Size(288, 20); iPrinter.TabIndex = 28; lPrinter.AutoSize = true; lPrinter.Location = new System.Drawing.Point(12, 128); lPrinter.Name = "lPrinter"; lPrinter.Size = new System.Drawing.Size(37, 13); lPrinter.TabIndex = 27; lPrinter.Text = "Printer"; iEthernet.Enabled = false; iEthernet.Location = new System.Drawing.Point(442, 90); iEthernet.Multiline = true; iEthernet.Name = "iEthernet"; iEthernet.Size = new System.Drawing.Size(330, 36); iEthernet.TabIndex = 31; lEthernet.AutoSize = true; lEthernet.Location = new System.Drawing.Point(376, 93); lEthernet.Name = "lEthernet"; lEthernet.Size = new System.Drawing.Size(47, 13); lEthernet.TabIndex = 32; lEthernet.Text = "Ethernet"; iCPU.Enabled = false; iCPU.Location = new System.Drawing.Point(442, 62); iCPU.Name = "iCPU"; iCPU.Size = new System.Drawing.Size(330, 20); iCPU.TabIndex = 33; lCPU.AutoSize = true; lCPU.Location = new System.Drawing.Point(376, 65); lCPU.Name = "lCPU"; lCPU.Size = new System.Drawing.Size(18, 13); lCPU.TabIndex = 34; lCPU.Text = "ID"; iBarcode.Enabled = false; iBarcode.Location = new System.Drawing.Point(70, 153); iBarcode.Name = "iBarcode"; iBarcode.Size = new System.Drawing.Size(288, 20); iBarcode.TabIndex = 36; lBarcode.AutoSize = true; lBarcode.Location = new System.Drawing.Point(12, 156); lBarcode.Name = "lBarcode"; lBarcode.Size = new System.Drawing.Size(47, 13); lBarcode.TabIndex = 35; lBarcode.Text = "Barcode"; lSystem.AutoSize = true; lSystem.Location = new System.Drawing.Point(12, 210); lSystem.Name = "lSystem"; lSystem.Size = new System.Drawing.Size(41, 13); lSystem.TabIndex = 37; lSystem.Text = "System"; iSystem.Enabled = false; iSystem.Location = new System.Drawing.Point(15, 230); iSystem.Multiline = true; iSystem.Name = "iSystem"; iSystem.Size = new System.Drawing.Size(343, 198); iSystem.TabIndex = 38; iWifi.Enabled = false; iWifi.Location = new System.Drawing.Point(442, 130); iWifi.Multiline = true; iWifi.Name = "iWifi"; iWifi.Size = new System.Drawing.Size(330, 36); iWifi.TabIndex = 39; lWifi.AutoSize = true; lWifi.Location = new System.Drawing.Point(376, 133); lWifi.Name = "lWifi"; lWifi.Size = new System.Drawing.Size(25, 13); lWifi.TabIndex = 40; lWifi.Text = "Wifi"; iVNC.Enabled = false; iVNC.Location = new System.Drawing.Point(70, 181); iVNC.Name = "iVNC"; iVNC.Size = new System.Drawing.Size(288, 20); iVNC.TabIndex = 42; lVNC.AutoSize = true; lVNC.Location = new System.Drawing.Point(12, 184); lVNC.Name = "lVNC"; lVNC.Size = new System.Drawing.Size(29, 13); lVNC.TabIndex = 41; lVNC.Text = "VNC"; base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; base.ClientSize = new System.Drawing.Size(784, 482); base.ControlBox = false; base.Controls.Add(iVNC); base.Controls.Add(lVNC); base.Controls.Add(iWifi); base.Controls.Add(lWifi); base.Controls.Add(iSystem); base.Controls.Add(lSystem); base.Controls.Add(iBarcode); base.Controls.Add(lBarcode); base.Controls.Add(iCPU); base.Controls.Add(lCPU); base.Controls.Add(iEthernet); base.Controls.Add(lEthernet); base.Controls.Add(iPrinter); base.Controls.Add(lPrinter); base.Controls.Add(iValidator); base.Controls.Add(lValidator); base.Controls.Add(iSelector); base.Controls.Add(lSelector); base.Controls.Add(iUser); base.Controls.Add(lUser); base.Controls.Add(iServer); base.Controls.Add(lServer); base.Controls.Add(tNetBIOS); base.Controls.Add(lNetBIOS); base.Controls.Add(tComputer); base.Controls.Add(lComputer); base.Controls.Add(gDNS); base.Controls.Add(gTCP); base.Controls.Add(pBOTTOM); base.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; base.Name = "DLG_Info"; base.ShowIcon = false; base.ShowInTaskbar = false; base.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; Text = " "; base.FormClosed += new System.Windows.Forms.FormClosedEventHandler(FRM_Info_FormClosed); pBOTTOM.ResumeLayout(false); gDNS.ResumeLayout(false); gDNS.PerformLayout(); gTCP.ResumeLayout(false); gTCP.PerformLayout(); ResumeLayout(false); PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(Histo_Fourn)); IDFRS = new ComboBox(); GroupBox1 = new GroupBox(); B_rechercher = new Button(); Button22 = new Button(); MonthCalendar2 = new MonthCalendar(); DATETF = new TextBox(); Label3 = new Label(); Affich = new Button(); MonthCalendar1 = new MonthCalendar(); DATET = new TextBox(); Label1 = new Label(); Button5 = new Button(); label2 = new Label(); OK = new Button(); total = new TextBox(); Label14 = new Label(); DGV2 = new DataGridView(); GroupBox1.SuspendLayout(); ((ISupportInitialize)DGV2).BeginInit(); base.SuspendLayout(); IDFRS.AutoCompleteMode = AutoCompleteMode.Suggest; IDFRS.AutoCompleteSource = AutoCompleteSource.ListItems; IDFRS.FormattingEnabled = true; IDFRS.Location = new Point(99, 31); IDFRS.Margin = new Padding(5, 4, 5, 4); IDFRS.Name = "IDFRS"; IDFRS.Size = new Size(139, 26); IDFRS.TabIndex = 55; GroupBox1.BackColor = Color.Transparent; GroupBox1.Controls.Add(B_rechercher); GroupBox1.Controls.Add(Button22); GroupBox1.Controls.Add(MonthCalendar2); GroupBox1.Controls.Add(DATETF); GroupBox1.Controls.Add(Label3); GroupBox1.Controls.Add(Affich); GroupBox1.Controls.Add(MonthCalendar1); GroupBox1.Controls.Add(DATET); GroupBox1.Controls.Add(Label1); GroupBox1.Controls.Add(Button5); GroupBox1.Controls.Add(IDFRS); GroupBox1.Controls.Add(label2); GroupBox1.Font = new Font("Arial", 12f, FontStyle.Regular, GraphicsUnit.Point, 0); GroupBox1.Location = new Point(14, 72); GroupBox1.Margin = new Padding(3, 4, 3, 4); GroupBox1.Name = "GroupBox1"; GroupBox1.Padding = new Padding(3, 4, 3, 4); GroupBox1.Size = new Size(1220, 207); GroupBox1.TabIndex = 61; GroupBox1.TabStop = false; B_rechercher.BackColor = Color.Transparent; B_rechercher.Cursor = Cursors.Hand; B_rechercher.FlatStyle = FlatStyle.Flat; B_rechercher.ForeColor = Color.Transparent; B_rechercher.Image = (Image)componentResourceManager.GetObject("B_rechercher.Image"); B_rechercher.Location = new Point(745, 153); B_rechercher.Name = "B_rechercher"; B_rechercher.Size = new Size(143, 47); B_rechercher.TabIndex = 79; B_rechercher.UseVisualStyleBackColor = false; Button22.BackColor = Color.Transparent; Button22.BackgroundImage = (Image)componentResourceManager.GetObject("Button22.BackgroundImage"); Button22.Cursor = Cursors.Hand; Button22.FlatStyle = FlatStyle.Flat; Button22.ForeColor = Color.Transparent; Button22.Location = new Point(319, 150); Button22.Name = "Button22"; Button22.Size = new Size(127, 47); Button22.TabIndex = 78; Button22.UseVisualStyleBackColor = false; MonthCalendar2.Font = new Font("Arial", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0); MonthCalendar2.Location = new Point(929, 35); MonthCalendar2.Name = "MonthCalendar2"; MonthCalendar2.TabIndex = 70; MonthCalendar2.Visible = false; DATETF.Location = new Point(811, 35); DATETF.Name = "DATETF"; DATETF.Size = new Size(120, 26); DATETF.TabIndex = 69; Label3.AutoSize = true; Label3.BackColor = Color.Transparent; Label3.ForeColor = SystemColors.ActiveCaption; Label3.Location = new Point(742, 38); Label3.Margin = new Padding(4, 0, 4, 0); Label3.Name = "Label3"; Label3.Size = new Size(62, 18); Label3.TabIndex = 68; Label3.Text = "Date fin"; Affich.BackColor = Color.CornflowerBlue; Affich.BackgroundImage = Resources.Deconnexion1; Affich.Cursor = Cursors.Hand; Affich.Font = new Font("Arial", 9.75f, FontStyle.Bold, GraphicsUnit.Point, 0); Affich.ForeColor = SystemColors.ActiveCaptionText; Affich.Location = new Point(50, 162); Affich.Margin = new Padding(3, 4, 3, 4); Affich.Name = "Affich"; Affich.Size = new Size(108, 37); Affich.TabIndex = 67; Affich.Text = "Afficher Tout"; Affich.UseVisualStyleBackColor = false; MonthCalendar1.Font = new Font("Arial", 8.25f, FontStyle.Regular, GraphicsUnit.Point, 0); MonthCalendar1.Location = new Point(487, 32); MonthCalendar1.Name = "MonthCalendar1"; MonthCalendar1.TabIndex = 66; MonthCalendar1.Visible = false; DATET.Location = new Point(367, 32); DATET.Name = "DATET"; DATET.Size = new Size(120, 26); DATET.TabIndex = 65; Label1.AutoSize = true; Label1.BackColor = Color.Transparent; Label1.ForeColor = SystemColors.ActiveCaption; Label1.Location = new Point(275, 35); Label1.Margin = new Padding(4, 0, 4, 0); Label1.Name = "Label1"; Label1.Size = new Size(85, 18); Label1.TabIndex = 64; Label1.Text = "Date début"; Button5.Location = new Point(223, 30); Button5.Margin = new Padding(3, 4, 3, 4); Button5.Name = "Button5"; Button5.Size = new Size(30, 28); Button5.TabIndex = 56; Button5.Text = "..."; Button5.UseVisualStyleBackColor = true; label2.AutoSize = true; label2.BackColor = Color.Transparent; label2.ForeColor = SystemColors.ActiveCaption; label2.Location = new Point(22, 34); label2.Margin = new Padding(5, 0, 5, 0); label2.Name = "label2"; label2.Size = new Size(47, 18); label2.TabIndex = 53; label2.Text = "Code"; OK.BackColor = Color.RoyalBlue; OK.Font = new Font("Arial", 12f, FontStyle.Bold, GraphicsUnit.Point, 0); OK.Location = new Point(569, 631); OK.Margin = new Padding(3, 5, 3, 5); OK.Name = "OK"; OK.Size = new Size(159, 43); OK.TabIndex = 60; OK.Text = "OK"; OK.UseVisualStyleBackColor = false; total.BackColor = Color.CornflowerBlue; total.Font = new Font("Arial", 14.25f, FontStyle.Regular, GraphicsUnit.Point, 0); total.Location = new Point(1003, 628); total.Margin = new Padding(3, 4, 3, 4); total.Name = "total"; total.ReadOnly = true; total.Size = new Size(186, 29); total.TabIndex = 59; total.Text = "0.00"; total.TextAlign = HorizontalAlignment.Center; Label14.BackColor = Color.Transparent; Label14.Font = new Font("Arial", 14.25f, FontStyle.Bold, GraphicsUnit.Point, 0); Label14.Location = new Point(846, 631); Label14.Name = "Label14"; Label14.Size = new Size(124, 29); Label14.TabIndex = 58; Label14.Text = "Total Achat"; DGV2.AllowUserToAddRows = false; DGV2.AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.AllCells; DGV2.BackgroundColor = Color.White; DGV2.BorderStyle = BorderStyle.Fixed3D; DGV2.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; DGV2.Location = new Point(14, 288); DGV2.Margin = new Padding(3, 5, 3, 5); DGV2.Name = "DGV2"; DGV2.ReadOnly = true; DGV2.Size = new Size(1220, 326); DGV2.TabIndex = 57; base.AutoScaleDimensions = new SizeF(7f, 16f); base.AutoScaleMode = AutoScaleMode.Font; BackgroundImage = Resources.arrière_plan_blanc_V2; base.ClientSize = new Size(1361, 728); base.Controls.Add(OK); base.Controls.Add(DGV2); base.Controls.Add(GroupBox1); base.Controls.Add(total); base.Controls.Add(Label14); base.Location = new Point(0, 0); base.Margin = new Padding(3, 5, 3, 5); base.Name = "Histo_Fourn"; Text = "Historique Fournisseur"; base.Controls.SetChildIndex(Label14, 0); base.Controls.SetChildIndex(total, 0); base.Controls.SetChildIndex(GroupBox1, 0); base.Controls.SetChildIndex(DGV2, 0); base.Controls.SetChildIndex(OK, 0); GroupBox1.ResumeLayout(false); GroupBox1.PerformLayout(); ((ISupportInitialize)DGV2).EndInit(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { groupBox1 = new GroupBox(); srtTexRename = new CheckBox(); srtModMat = new CheckBox(); textBox7 = new TextBox(); srtMatName = new TextBox(); srtTexName = new TextBox(); textBox3 = new TextBox(); textBox4 = new TextBox(); textBox6 = new TextBox(); textBox9 = new TextBox(); textBox10 = new TextBox(); textBox12 = new TextBox(); srtLoopEnable = new CheckBox(); label2 = new Label(); srtScaleX = new Label(); srtScaleY = new Label(); srtRot = new Label(); srtTransX = new Label(); srtTransY = new Label(); srtScaleSubtract = new CheckBox(); srtScaleAdd = new CheckBox(); srtScaleReplace = new CheckBox(); srtRotSubtract = new CheckBox(); srtRotAdd = new CheckBox(); srtRotReplace = new CheckBox(); srtTransSubtract = new CheckBox(); srtTransAdd = new CheckBox(); srtTransReplace = new CheckBox(); srtCopyKF = new CheckBox(); chkSrtVersion = new CheckBox(); srtVersion = new ComboBox(); srtEditLoop = new CheckBox(); groupBox1.SuspendLayout(); SuspendLayout(); // // groupBox1 // groupBox1.Controls.Add(srtTexRename); groupBox1.Controls.Add(srtModMat); groupBox1.Controls.Add(textBox7); groupBox1.Controls.Add(srtMatName); groupBox1.Controls.Add(srtTexName); groupBox1.Controls.Add(textBox3); groupBox1.Controls.Add(textBox4); groupBox1.Controls.Add(textBox6); groupBox1.Controls.Add(textBox9); groupBox1.Controls.Add(textBox10); groupBox1.Controls.Add(textBox12); groupBox1.Controls.Add(srtLoopEnable); groupBox1.Controls.Add(label2); groupBox1.Controls.Add(srtScaleX); groupBox1.Controls.Add(srtScaleY); groupBox1.Controls.Add(srtRot); groupBox1.Controls.Add(srtTransX); groupBox1.Controls.Add(srtTransY); groupBox1.Controls.Add(srtScaleSubtract); groupBox1.Controls.Add(srtScaleAdd); groupBox1.Controls.Add(srtScaleReplace); groupBox1.Controls.Add(srtRotSubtract); groupBox1.Controls.Add(srtRotAdd); groupBox1.Controls.Add(srtRotReplace); groupBox1.Controls.Add(srtTransSubtract); groupBox1.Controls.Add(srtTransAdd); groupBox1.Controls.Add(srtTransReplace); groupBox1.Controls.Add(srtCopyKF); groupBox1.Controls.Add(chkSrtVersion); groupBox1.Controls.Add(srtVersion); groupBox1.Controls.Add(srtEditLoop); groupBox1.Dock = DockStyle.Fill; groupBox1.Location = new System.Drawing.Point(0, 0); groupBox1.Name = "groupBox1"; groupBox1.Size = new System.Drawing.Size(396, 243); groupBox1.TabIndex = 86; groupBox1.TabStop = false; groupBox1.Text = "SRT0"; // // srtTexRename // srtTexRename.AutoSize = true; srtTexRename.Location = new System.Drawing.Point(201, 103); srtTexRename.Name = "srtTexRename"; srtTexRename.Size = new System.Drawing.Size(69, 17); srtTexRename.TabIndex = 112; srtTexRename.Text = "Rename:"; srtTexRename.UseVisualStyleBackColor = true; // // srtModMat // srtModMat.AutoSize = true; srtModMat.Location = new System.Drawing.Point(200, 15); srtModMat.Name = "srtModMat"; srtModMat.Size = new System.Drawing.Size(196, 17); srtModMat.TabIndex = 111; srtModMat.Text = "Only modify materials with the name:"; srtModMat.UseVisualStyleBackColor = true; // // textBox7 // textBox7.HideSelection = false; textBox7.Location = new System.Drawing.Point(200, 120); textBox7.Name = "textBox7"; textBox7.Size = new System.Drawing.Size(189, 20); textBox7.TabIndex = 110; // // srtMatName // srtMatName.HideSelection = false; srtMatName.Location = new System.Drawing.Point(200, 32); srtMatName.Name = "srtMatName"; srtMatName.Size = new System.Drawing.Size(189, 20); srtMatName.TabIndex = 108; // // srtTexName // srtTexName.HideSelection = false; srtTexName.Location = new System.Drawing.Point(7, 32); srtTexName.Name = "srtTexName"; srtTexName.Size = new System.Drawing.Size(187, 20); srtTexName.TabIndex = 82; // // textBox3 // textBox3.Enabled = false; textBox3.Location = new System.Drawing.Point(77, 80); textBox3.Name = "textBox3"; textBox3.Size = new System.Drawing.Size(119, 20); textBox3.TabIndex = 84; // // textBox4 // textBox4.Enabled = false; textBox4.Location = new System.Drawing.Point(77, 101); textBox4.Name = "textBox4"; textBox4.Size = new System.Drawing.Size(119, 20); textBox4.TabIndex = 85; // // textBox6 // textBox6.Enabled = false; textBox6.Location = new System.Drawing.Point(78, 146); textBox6.Name = "textBox6"; textBox6.Size = new System.Drawing.Size(119, 20); textBox6.TabIndex = 88; // // textBox9 // textBox9.Enabled = false; textBox9.Location = new System.Drawing.Point(77, 195); textBox9.Name = "textBox9"; textBox9.Size = new System.Drawing.Size(119, 20); textBox9.TabIndex = 89; // // textBox10 // textBox10.Enabled = false; textBox10.Location = new System.Drawing.Point(77, 216); textBox10.Name = "textBox10"; textBox10.Size = new System.Drawing.Size(119, 20); textBox10.TabIndex = 90; // // textBox12 // textBox12.Enabled = false; textBox12.Location = new System.Drawing.Point(200, 80); textBox12.Name = "textBox12"; textBox12.Size = new System.Drawing.Size(189, 20); textBox12.TabIndex = 104; // // srtLoopEnable // srtLoopEnable.AutoSize = true; srtLoopEnable.Enabled = false; srtLoopEnable.Location = new System.Drawing.Point(275, 173); srtLoopEnable.Name = "srtLoopEnable"; srtLoopEnable.Size = new System.Drawing.Size(92, 17); srtLoopEnable.TabIndex = 109; srtLoopEnable.Text = "Loop Enabled"; srtLoopEnable.UseVisualStyleBackColor = true; // // label2 // label2.AutoSize = true; label2.Location = new System.Drawing.Point(6, 16); label2.Name = "label2"; label2.Size = new System.Drawing.Size(169, 13); label2.TabIndex = 83; label2.Text = "Change all textures with the name:"; // // srtScaleX // srtScaleX.AutoSize = true; srtScaleX.Location = new System.Drawing.Point(8, 83); srtScaleX.Name = "srtScaleX"; srtScaleX.Size = new System.Drawing.Size(47, 13); srtScaleX.TabIndex = 86; srtScaleX.Text = "Scale X:"; // // srtScaleY // srtScaleY.AutoSize = true; srtScaleY.Location = new System.Drawing.Point(7, 104); srtScaleY.Name = "srtScaleY"; srtScaleY.Size = new System.Drawing.Size(47, 13); srtScaleY.TabIndex = 87; srtScaleY.Text = "Scale Y:"; // // srtRot // srtRot.AutoSize = true; srtRot.Location = new System.Drawing.Point(8, 149); srtRot.Name = "srtRot"; srtRot.Size = new System.Drawing.Size(50, 13); srtRot.TabIndex = 91; srtRot.Text = "Rotation:"; // // srtTransX // srtTransX.AutoSize = true; srtTransX.Location = new System.Drawing.Point(7, 199); srtTransX.Name = "srtTransX"; srtTransX.Size = new System.Drawing.Size(64, 13); srtTransX.TabIndex = 92; srtTransX.Text = "Translate X:"; // // srtTransY // srtTransY.AutoSize = true; srtTransY.Location = new System.Drawing.Point(7, 221); srtTransY.Name = "srtTransY"; srtTransY.Size = new System.Drawing.Size(64, 13); srtTransY.TabIndex = 93; srtTransY.Text = "Translate Y:"; // // srtScaleSubtract // srtScaleSubtract.AutoSize = true; srtScaleSubtract.Location = new System.Drawing.Point(119, 58); srtScaleSubtract.Name = "srtScaleSubtract"; srtScaleSubtract.Size = new System.Drawing.Size(66, 17); srtScaleSubtract.TabIndex = 96; srtScaleSubtract.Text = "Subtract"; srtScaleSubtract.UseVisualStyleBackColor = true; // // srtScaleAdd // srtScaleAdd.AutoSize = true; srtScaleAdd.Location = new System.Drawing.Point(73, 58); srtScaleAdd.Name = "srtScaleAdd"; srtScaleAdd.Size = new System.Drawing.Size(45, 17); srtScaleAdd.TabIndex = 95; srtScaleAdd.Text = "Add"; srtScaleAdd.UseVisualStyleBackColor = true; // // srtScaleReplace // srtScaleReplace.AutoSize = true; srtScaleReplace.Location = new System.Drawing.Point(8, 58); srtScaleReplace.Name = "srtScaleReplace"; srtScaleReplace.Size = new System.Drawing.Size(66, 17); srtScaleReplace.TabIndex = 94; srtScaleReplace.Text = "Replace"; srtScaleReplace.UseVisualStyleBackColor = true; // // srtRotSubtract // srtRotSubtract.AutoSize = true; srtRotSubtract.Location = new System.Drawing.Point(119, 125); srtRotSubtract.Name = "srtRotSubtract"; srtRotSubtract.Size = new System.Drawing.Size(66, 17); srtRotSubtract.TabIndex = 99; srtRotSubtract.Text = "Subtract"; srtRotSubtract.UseVisualStyleBackColor = true; // // srtRotAdd // srtRotAdd.AutoSize = true; srtRotAdd.Location = new System.Drawing.Point(73, 125); srtRotAdd.Name = "srtRotAdd"; srtRotAdd.Size = new System.Drawing.Size(45, 17); srtRotAdd.TabIndex = 98; srtRotAdd.Text = "Add"; srtRotAdd.UseVisualStyleBackColor = true; // // srtRotReplace // srtRotReplace.AutoSize = true; srtRotReplace.Location = new System.Drawing.Point(8, 125); srtRotReplace.Name = "srtRotReplace"; srtRotReplace.Size = new System.Drawing.Size(66, 17); srtRotReplace.TabIndex = 97; srtRotReplace.Text = "Replace"; srtRotReplace.UseVisualStyleBackColor = true; // // srtTransSubtract // srtTransSubtract.AutoSize = true; srtTransSubtract.Location = new System.Drawing.Point(119, 173); srtTransSubtract.Name = "srtTransSubtract"; srtTransSubtract.Size = new System.Drawing.Size(66, 17); srtTransSubtract.TabIndex = 102; srtTransSubtract.Text = "Subtract"; srtTransSubtract.UseVisualStyleBackColor = true; // // srtTransAdd // srtTransAdd.AutoSize = true; srtTransAdd.Location = new System.Drawing.Point(73, 173); srtTransAdd.Name = "srtTransAdd"; srtTransAdd.Size = new System.Drawing.Size(45, 17); srtTransAdd.TabIndex = 101; srtTransAdd.Text = "Add"; srtTransAdd.UseVisualStyleBackColor = true; // // srtTransReplace // srtTransReplace.AutoSize = true; srtTransReplace.Location = new System.Drawing.Point(8, 173); srtTransReplace.Name = "srtTransReplace"; srtTransReplace.Size = new System.Drawing.Size(66, 17); srtTransReplace.TabIndex = 100; srtTransReplace.Text = "Replace"; srtTransReplace.UseVisualStyleBackColor = true; // // srtCopyKF // srtCopyKF.AutoSize = true; srtCopyKF.Location = new System.Drawing.Point(201, 58); srtCopyKF.Name = "srtCopyKF"; srtCopyKF.Size = new System.Drawing.Size(127, 17); srtCopyKF.TabIndex = 103; srtCopyKF.Text = "Copy keyframes from:"; srtCopyKF.UseVisualStyleBackColor = true; // // chkSrtVersion // chkSrtVersion.AutoSize = true; chkSrtVersion.Location = new System.Drawing.Point(201, 148); chkSrtVersion.Name = "chkSrtVersion"; chkSrtVersion.Size = new System.Drawing.Size(103, 17); chkSrtVersion.TabIndex = 105; chkSrtVersion.Text = "Change version:"; chkSrtVersion.UseVisualStyleBackColor = true; // // srtVersion // srtVersion.Enabled = false; srtVersion.FormattingEnabled = true; srtVersion.Items.AddRange(new object[] { "4", "5" }); srtVersion.Location = new System.Drawing.Point(310, 146); srtVersion.Name = "srtVersion"; srtVersion.Size = new System.Drawing.Size(79, 21); srtVersion.TabIndex = 106; // // srtEditLoop // srtEditLoop.AutoSize = true; srtEditLoop.Location = new System.Drawing.Point(201, 173); srtEditLoop.Name = "srtEditLoop"; srtEditLoop.Size = new System.Drawing.Size(74, 17); srtEditLoop.TabIndex = 107; srtEditLoop.Text = "Edit Loop:"; srtEditLoop.UseVisualStyleBackColor = true; // // EditAllSRT0Editor // Controls.Add(groupBox1); Name = "EditAllSRT0Editor"; Size = new System.Drawing.Size(396, 243); groupBox1.ResumeLayout(false); groupBox1.PerformLayout(); ResumeLayout(false); }
private void InitializeComponent() { components = new Container(); getStartedBox = new GroupBox(); textBox = new TextBox(); pinNameTable = new TableLayoutPanel(); pinText = new TextBox(); addPushPinButton = new Button(); updatePushPinButton = new Button(); LockButtonTable = new TableLayoutPanel(); removePushPinButton = new Button(); removeAllPushpinsButton = new Button(); unlockTransformButton = new Button(); lockTransformButton = new Button(); pinList = new DataGridView(); pinIDcolumn = new DataGridViewTextBoxColumn(); pinNameColumn = new DataGridViewTextBoxColumn(); LocationColumn = new DataGridViewTextBoxColumn(); Error = new DataGridViewTextBoxColumn(); lockStatusText = new TextBox(); forceAffineCheckBox = new CheckBox(); toolTip = new ToolTip(components); panel1 = new Panel(); getStartedBox.SuspendLayout(); pinNameTable.SuspendLayout(); LockButtonTable.SuspendLayout(); ((ISupportInitialize)pinList).BeginInit(); panel1.SuspendLayout(); SuspendLayout(); getStartedBox.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; getStartedBox.BackColor = SystemColors.ControlLightLight; getStartedBox.Controls.Add(textBox); getStartedBox.Location = new Point(9, 61); getStartedBox.Name = "getStartedBox"; getStartedBox.Size = new Size(196, 95); getStartedBox.TabIndex = 8; getStartedBox.TabStop = false; textBox.BorderStyle = BorderStyle.None; textBox.Dock = DockStyle.Fill; textBox.Font = new Font("Microsoft Sans Serif", 11f, FontStyle.Bold, GraphicsUnit.Point, 0); textBox.ForeColor = Color.Red; textBox.Location = new Point(3, 16); textBox.Multiline = true; textBox.Name = "textBox"; textBox.Size = new Size(190, 76); textBox.TabIndex = 0; textBox.Text = "Place corresponding points under crosshairs and click Add."; pinNameTable.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; pinNameTable.ColumnCount = 4; pinNameTable.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 25f)); pinNameTable.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 25f)); pinNameTable.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 25f)); pinNameTable.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 25f)); pinNameTable.Controls.Add(pinText, 0, 0); pinNameTable.Controls.Add(addPushPinButton, 2, 0); pinNameTable.Controls.Add(updatePushPinButton, 3, 0); pinNameTable.Location = new Point(2, 3); pinNameTable.Name = "pinNameTable"; pinNameTable.RowCount = 1; pinNameTable.RowStyles.Add(new RowStyle(SizeType.Percent, 100f)); pinNameTable.Size = new Size(223, 24); pinNameTable.TabIndex = 10; pinText.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; pinNameTable.SetColumnSpan(pinText, 2); pinText.Location = new Point(0, 0); pinText.Margin = new Padding(0); pinText.Name = "pinText"; pinText.Size = new Size(110, 20); pinText.TabIndex = 2; addPushPinButton.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; addPushPinButton.Location = new Point(113, 0); addPushPinButton.Margin = new Padding(3, 0, 0, 0); addPushPinButton.Name = "addPushPinButton"; addPushPinButton.Size = new Size(52, 23); addPushPinButton.TabIndex = 0; addPushPinButton.Text = "Add"; toolTip.SetToolTip(addPushPinButton, "To create a registration point, position the crosshairs over corresponding points on both maps. Then click Add."); addPushPinButton.Click += addPushPinButton_Click; updatePushPinButton.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; updatePushPinButton.Location = new Point(168, 0); updatePushPinButton.Margin = new Padding(3, 0, 0, 0); updatePushPinButton.Name = "updatePushPinButton"; updatePushPinButton.Size = new Size(55, 23); updatePushPinButton.TabIndex = 8; updatePushPinButton.Text = "Update"; toolTip.SetToolTip(updatePushPinButton, "To move an existing point, highlight it on the list below. Then reposition the crosshairs and click update."); updatePushPinButton.Click += updatePushPinButton_Click; LockButtonTable.Anchor = AnchorStyles.Bottom | AnchorStyles.Right; LockButtonTable.ColumnCount = 2; LockButtonTable.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50f)); LockButtonTable.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50f)); LockButtonTable.Controls.Add(removePushPinButton, 0, 0); LockButtonTable.Controls.Add(removeAllPushpinsButton, 1, 0); LockButtonTable.Controls.Add(unlockTransformButton, 0, 1); LockButtonTable.Controls.Add(lockTransformButton, 1, 1); LockButtonTable.Location = new Point(69, 293); LockButtonTable.Name = "LockButtonTable"; LockButtonTable.RowCount = 2; LockButtonTable.RowStyles.Add(new RowStyle()); LockButtonTable.RowStyles.Add(new RowStyle()); LockButtonTable.Size = new Size(156, 59); LockButtonTable.TabIndex = 9; removePushPinButton.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; removePushPinButton.Enabled = false; removePushPinButton.Location = new Point(3, 3); removePushPinButton.Name = "removePushPinButton"; removePushPinButton.Size = new Size(72, 23); removePushPinButton.TabIndex = 1; removePushPinButton.Text = "Remove"; toolTip.SetToolTip(removePushPinButton, "Removes the highlighted correspondence point."); removePushPinButton.Click += removePushPinButton_Click; removeAllPushpinsButton.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; removeAllPushpinsButton.Enabled = false; removeAllPushpinsButton.Location = new Point(81, 3); removeAllPushpinsButton.Name = "removeAllPushpinsButton"; removeAllPushpinsButton.Size = new Size(72, 23); removeAllPushpinsButton.TabIndex = 4; removeAllPushpinsButton.Text = "Remove All"; toolTip.SetToolTip(removeAllPushpinsButton, "Removes all correspondence points."); removeAllPushpinsButton.Click += removeAllPushpinsButton_Click; unlockTransformButton.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; unlockTransformButton.Location = new Point(3, 32); unlockTransformButton.Name = "unlockTransformButton"; unlockTransformButton.Size = new Size(72, 24); unlockTransformButton.TabIndex = 0; unlockTransformButton.Text = "Unlock"; toolTip.SetToolTip(unlockTransformButton, "Unlocks the source map from Virtual Earth, allowing additional points to be added."); unlockTransformButton.Click += unlockTransformButton_Click; lockTransformButton.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; lockTransformButton.Location = new Point(81, 32); lockTransformButton.Name = "lockTransformButton"; lockTransformButton.Size = new Size(72, 24); lockTransformButton.TabIndex = 0; lockTransformButton.Text = "Lock"; toolTip.SetToolTip(lockTransformButton, "Warps the source map to fit Virtual Earth using the existing correspondence points."); lockTransformButton.Click += lockTransformButton_Click; pinList.AllowUserToAddRows = false; pinList.AllowUserToDeleteRows = false; pinList.AllowUserToOrderColumns = true; pinList.AllowUserToResizeRows = false; pinList.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; pinList.BackgroundColor = SystemColors.ButtonHighlight; pinList.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; pinList.Columns.AddRange(new DataGridViewColumn[] { pinIDcolumn, pinNameColumn, LocationColumn, Error }); pinList.GridColor = SystemColors.ActiveCaptionText; pinList.Location = new Point(2, 32); pinList.Margin = new Padding(2); pinList.MultiSelect = false; pinList.Name = "pinList"; pinList.RowHeadersVisible = false; pinList.RowTemplate.Height = 24; pinList.SelectionMode = DataGridViewSelectionMode.FullRowSelect; pinList.Size = new Size(224, 202); pinList.TabIndex = 7; pinList.DoubleClick += pinList_ItemActivate; pinList.SelectionChanged += pinList_SelectedIndexChanged; pinIDcolumn.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill; pinIDcolumn.HeaderText = "ID"; pinIDcolumn.MinimumWidth = 15; pinIDcolumn.Name = "pinIDcolumn"; pinIDcolumn.ReadOnly = true; pinNameColumn.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill; pinNameColumn.HeaderText = "Name"; pinNameColumn.Name = "pinNameColumn"; pinNameColumn.ReadOnly = true; LocationColumn.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill; LocationColumn.HeaderText = "Location"; LocationColumn.Name = "LocationColumn"; Error.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill; Error.HeaderText = "Error"; Error.Name = "Error"; lockStatusText.Anchor = AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; lockStatusText.BackColor = SystemColors.ControlLightLight; lockStatusText.BorderStyle = BorderStyle.None; lockStatusText.Location = new Point(3, 239); lockStatusText.Multiline = true; lockStatusText.Name = "lockStatusText"; lockStatusText.ReadOnly = true; lockStatusText.Size = new Size(223, 48); lockStatusText.TabIndex = 6; lockStatusText.TabStop = false; forceAffineCheckBox.Anchor = AnchorStyles.Bottom | AnchorStyles.Left; forceAffineCheckBox.AutoSize = true; forceAffineCheckBox.Location = new Point(9, 361); forceAffineCheckBox.Name = "forceAffineCheckBox"; forceAffineCheckBox.Size = new Size(83, 17); forceAffineCheckBox.TabIndex = 11; forceAffineCheckBox.Text = "Force Affine"; toolTip.SetToolTip(forceAffineCheckBox, "Selecting \"Affine\" forces MapCruncher to preserve straight lines in your map. This reduces position accuracy."); forceAffineCheckBox.UseMnemonic = false; forceAffineCheckBox.UseVisualStyleBackColor = true; forceAffineCheckBox.CheckedChanged += checkBox1_CheckedChanged; panel1.Controls.Add(getStartedBox); panel1.Controls.Add(lockStatusText); panel1.Controls.Add(pinNameTable); panel1.Controls.Add(forceAffineCheckBox); panel1.Controls.Add(LockButtonTable); panel1.Controls.Add(pinList); panel1.Dock = DockStyle.Fill; panel1.Location = new Point(0, 0); panel1.Name = "panel1"; panel1.Size = new Size(228, 388); panel1.TabIndex = 12; AutoScaleDimensions = new SizeF(6f, 13f); AutoScaleMode = AutoScaleMode.Font; Controls.Add(panel1); Name = "registrationControls"; Size = new Size(228, 388); getStartedBox.ResumeLayout(false); getStartedBox.PerformLayout(); pinNameTable.ResumeLayout(false); pinNameTable.PerformLayout(); LockButtonTable.ResumeLayout(false); ((ISupportInitialize)pinList).EndInit(); panel1.ResumeLayout(false); panel1.PerformLayout(); ResumeLayout(false); }
private void InitializeComponent() { splitContainer1 = new SplitContainer(); skillListBox = new ListBox(); groupBox1 = new GroupBox(); x0B_NUD = new NumericUpDown(); label11 = new Label(); label22 = new Label(); x21_NUD = new NumericUpDown(); x1E_NUD = new NumericUpDown(); label25 = new Label(); label23 = new Label(); x20_NUD = new NumericUpDown(); x1F_NUD = new NumericUpDown(); label24 = new Label(); x1D_NUD = new NumericUpDown(); x1A_NUD = new NumericUpDown(); x17_CoB = new ComboBox(); x1C_NUD = new NumericUpDown(); x19_NUD = new NumericUpDown(); x16_CoB = new ComboBox(); x1B_NUD = new NumericUpDown(); x18_NUD = new NumericUpDown(); x15_CoB = new ComboBox(); label21 = new Label(); label20 = new Label(); label19 = new Label(); x14_CoB = new ComboBox(); label18 = new Label(); x13_NUD = new NumericUpDown(); label17 = new Label(); x12_NUD = new NumericUpDown(); label16 = new Label(); x10_NUD = new NumericUpDown(); label15 = new Label(); x0F_NUD = new NumericUpDown(); label14 = new Label(); x0E_NUD = new NumericUpDown(); label13 = new Label(); x0D_NUD = new NumericUpDown(); x0C_NUD = new NumericUpDown(); label12 = new Label(); x0A_NUD = new NumericUpDown(); label10 = new Label(); x08_CoB = new ComboBox(); label9 = new Label(); x07_MAX_NUD = new NumericUpDown(); x07_MIN_NUD = new NumericUpDown(); label8 = new Label(); x06_NUD = new NumericUpDown(); label7 = new Label(); x05_NUD = new NumericUpDown(); label6 = new Label(); x04_NUD = new NumericUpDown(); label5 = new Label(); x03_NUD = new NumericUpDown(); label4 = new Label(); x02_CoB = new ComboBox(); label3 = new Label(); x01_CoB = new ComboBox(); label2 = new Label(); x00_CoB = new ComboBox(); label1 = new Label(); okButton = new Button(); cancelButton = new Button(); groupBox4 = new GroupBox(); searchButton = new Button(); searchComboBox = new ComboBox(); searchTextBox = new TextBox(); splitContainer1.Panel1.SuspendLayout(); splitContainer1.Panel2.SuspendLayout(); splitContainer1.SuspendLayout(); groupBox1.SuspendLayout(); x0B_NUD.BeginInit(); x21_NUD.BeginInit(); x1E_NUD.BeginInit(); x20_NUD.BeginInit(); x1F_NUD.BeginInit(); x1D_NUD.BeginInit(); x1A_NUD.BeginInit(); x1C_NUD.BeginInit(); x19_NUD.BeginInit(); x1B_NUD.BeginInit(); x18_NUD.BeginInit(); x13_NUD.BeginInit(); x12_NUD.BeginInit(); x10_NUD.BeginInit(); x0F_NUD.BeginInit(); x0E_NUD.BeginInit(); x0D_NUD.BeginInit(); x0C_NUD.BeginInit(); x0A_NUD.BeginInit(); x07_MAX_NUD.BeginInit(); x07_MIN_NUD.BeginInit(); x06_NUD.BeginInit(); x05_NUD.BeginInit(); x04_NUD.BeginInit(); x03_NUD.BeginInit(); groupBox4.SuspendLayout(); SuspendLayout(); splitContainer1.Dock = DockStyle.Top; splitContainer1.Location = new Point(0, 0); splitContainer1.Name = "splitContainer1"; splitContainer1.Panel1.Controls.Add(groupBox4); splitContainer1.Panel1.Controls.Add(skillListBox); splitContainer1.Panel2.Controls.Add(groupBox1); splitContainer1.Panel2.Controls.Add(x1D_NUD); splitContainer1.Panel2.Controls.Add(x1A_NUD); splitContainer1.Panel2.Controls.Add(x17_CoB); splitContainer1.Panel2.Controls.Add(x1C_NUD); splitContainer1.Panel2.Controls.Add(x19_NUD); splitContainer1.Panel2.Controls.Add(x16_CoB); splitContainer1.Panel2.Controls.Add(x1B_NUD); splitContainer1.Panel2.Controls.Add(x18_NUD); splitContainer1.Panel2.Controls.Add(x15_CoB); splitContainer1.Panel2.Controls.Add(label21); splitContainer1.Panel2.Controls.Add(label20); splitContainer1.Panel2.Controls.Add(label19); splitContainer1.Panel2.Controls.Add(x14_CoB); splitContainer1.Panel2.Controls.Add(label18); splitContainer1.Panel2.Controls.Add(x13_NUD); splitContainer1.Panel2.Controls.Add(label17); splitContainer1.Panel2.Controls.Add(x12_NUD); splitContainer1.Panel2.Controls.Add(label16); splitContainer1.Panel2.Controls.Add(x10_NUD); splitContainer1.Panel2.Controls.Add(label15); splitContainer1.Panel2.Controls.Add(x0F_NUD); splitContainer1.Panel2.Controls.Add(label14); splitContainer1.Panel2.Controls.Add(x0E_NUD); splitContainer1.Panel2.Controls.Add(label13); splitContainer1.Panel2.Controls.Add(x0D_NUD); splitContainer1.Panel2.Controls.Add(x0C_NUD); splitContainer1.Panel2.Controls.Add(label12); splitContainer1.Panel2.Controls.Add(x0A_NUD); splitContainer1.Panel2.Controls.Add(label10); splitContainer1.Panel2.Controls.Add(x08_CoB); splitContainer1.Panel2.Controls.Add(label9); splitContainer1.Panel2.Controls.Add(x07_MAX_NUD); splitContainer1.Panel2.Controls.Add(x07_MIN_NUD); splitContainer1.Panel2.Controls.Add(label8); splitContainer1.Panel2.Controls.Add(x06_NUD); splitContainer1.Panel2.Controls.Add(label7); splitContainer1.Panel2.Controls.Add(x05_NUD); splitContainer1.Panel2.Controls.Add(label6); splitContainer1.Panel2.Controls.Add(x04_NUD); splitContainer1.Panel2.Controls.Add(label5); splitContainer1.Panel2.Controls.Add(x03_NUD); splitContainer1.Panel2.Controls.Add(label4); splitContainer1.Panel2.Controls.Add(x02_CoB); splitContainer1.Panel2.Controls.Add(label3); splitContainer1.Panel2.Controls.Add(x01_CoB); splitContainer1.Panel2.Controls.Add(label2); splitContainer1.Panel2.Controls.Add(x00_CoB); splitContainer1.Panel2.Controls.Add(label1); splitContainer1.Size = new Size(0x224, 0x15f); splitContainer1.SplitterDistance = 0x85; splitContainer1.TabIndex = 0; skillListBox.Dock = DockStyle.Top; skillListBox.FormattingEnabled = true; skillListBox.ItemHeight = 12; skillListBox.Location = new Point(0, 0); skillListBox.Name = "skillListBox"; skillListBox.Size = new Size(0x85, 0x10c); skillListBox.TabIndex = 0; groupBox1.Controls.Add(x0B_NUD); groupBox1.Controls.Add(label11); groupBox1.Controls.Add(label22); groupBox1.Controls.Add(x21_NUD); groupBox1.Controls.Add(x1E_NUD); groupBox1.Controls.Add(label25); groupBox1.Controls.Add(label23); groupBox1.Controls.Add(x20_NUD); groupBox1.Controls.Add(x1F_NUD); groupBox1.Controls.Add(label24); groupBox1.Location = new Point(5, 0x11f); groupBox1.Name = "groupBox1"; groupBox1.Size = new Size(0xf2, 0x38); groupBox1.TabIndex = 0x30; groupBox1.TabStop = false; groupBox1.Text = "Unknown Bytes"; x0B_NUD.Location = new Point(8, 30); int[] bits = new int[4]; bits[0] = 0xff; x0B_NUD.Maximum = new decimal(bits); x0B_NUD.Name = "x0B_NUD"; x0B_NUD.Size = new Size(40, 0x13); x0B_NUD.TabIndex = 1; label11.AutoSize = true; label11.Location = new Point(6, 15); label11.Name = "label11"; label11.Size = new Size(0x19, 12); label11.TabIndex = 0; label11.Text = "$0B"; label22.AutoSize = true; label22.Location = new Point(0x34, 15); label22.Name = "label22"; label22.Size = new Size(0x18, 12); label22.TabIndex = 2; label22.Text = "$1E"; x21_NUD.Location = new Point(0xc0, 30); int[] numArray2 = new int[4]; numArray2[0] = 0xff; x21_NUD.Maximum = new decimal(numArray2); x21_NUD.Name = "x21_NUD"; x21_NUD.Size = new Size(40, 0x13); x21_NUD.TabIndex = 9; x1E_NUD.Location = new Point(0x36, 30); int[] numArray3 = new int[4]; numArray3[0] = 0xff; x1E_NUD.Maximum = new decimal(numArray3); x1E_NUD.Name = "x1E_NUD"; x1E_NUD.Size = new Size(40, 0x13); x1E_NUD.TabIndex = 3; label25.AutoSize = true; label25.Location = new Point(190, 15); label25.Name = "label25"; label25.Size = new Size(0x17, 12); label25.TabIndex = 8; label25.Text = "$21"; label23.AutoSize = true; label23.Location = new Point(0x62, 15); label23.Name = "label23"; label23.Size = new Size(0x18, 12); label23.TabIndex = 4; label23.Text = "$1F"; x20_NUD.Location = new Point(0x92, 30); int[] numArray4 = new int[4]; numArray4[0] = 0xff; x20_NUD.Maximum = new decimal(numArray4); x20_NUD.Name = "x20_NUD"; x20_NUD.Size = new Size(40, 0x13); x20_NUD.TabIndex = 7; x1F_NUD.Location = new Point(100, 30); int[] numArray5 = new int[4]; numArray5[0] = 0xff; x1F_NUD.Maximum = new decimal(numArray5); x1F_NUD.Name = "x1F_NUD"; x1F_NUD.Size = new Size(40, 0x13); x1F_NUD.TabIndex = 5; label24.AutoSize = true; label24.Location = new Point(0x90, 15); label24.Name = "label24"; label24.Size = new Size(0x17, 12); label24.TabIndex = 6; label24.Text = "$20"; x1D_NUD.Location = new Point(0x13c, 0xe8); x1D_NUD.Name = "x1D_NUD"; x1D_NUD.Size = new Size(40, 0x13); x1D_NUD.TabIndex = 0x2f; x1A_NUD.Location = new Point(270, 0xe8); int[] numArray6 = new int[4]; numArray6[0] = 6; x1A_NUD.Maximum = new decimal(numArray6); int[] numArray7 = new int[4]; numArray7[0] = 6; numArray7[3] = -2147483648; x1A_NUD.Minimum = new decimal(numArray7); x1A_NUD.Name = "x1A_NUD"; x1A_NUD.Size = new Size(40, 0x13); x1A_NUD.TabIndex = 0x2e; x17_CoB.DropDownStyle = ComboBoxStyle.DropDownList; x17_CoB.FormattingEnabled = true; x17_CoB.Location = new Point(0xb8, 0xe7); x17_CoB.Name = "x17_CoB"; x17_CoB.Size = new Size(80, 20); x17_CoB.TabIndex = 0x2d; x1C_NUD.Location = new Point(0x13c, 0xce); x1C_NUD.Name = "x1C_NUD"; x1C_NUD.Size = new Size(40, 0x13); x1C_NUD.TabIndex = 0x2c; x19_NUD.Location = new Point(270, 0xce); int[] numArray8 = new int[4]; numArray8[0] = 6; x19_NUD.Maximum = new decimal(numArray8); int[] numArray9 = new int[4]; numArray9[0] = 6; numArray9[3] = -2147483648; x19_NUD.Minimum = new decimal(numArray9); x19_NUD.Name = "x19_NUD"; x19_NUD.Size = new Size(40, 0x13); x19_NUD.TabIndex = 0x2b; x16_CoB.DropDownStyle = ComboBoxStyle.DropDownList; x16_CoB.FormattingEnabled = true; x16_CoB.Location = new Point(0xb8, 0xcd); x16_CoB.Name = "x16_CoB"; x16_CoB.Size = new Size(80, 20); x16_CoB.TabIndex = 0x2a; x1B_NUD.Location = new Point(0x13c, 180); x1B_NUD.Name = "x1B_NUD"; x1B_NUD.Size = new Size(40, 0x13); x1B_NUD.TabIndex = 0x29; x18_NUD.Location = new Point(270, 180); int[] numArray10 = new int[4]; numArray10[0] = 6; x18_NUD.Maximum = new decimal(numArray10); int[] numArray11 = new int[4]; numArray11[0] = 6; numArray11[3] = -2147483648; x18_NUD.Minimum = new decimal(numArray11); x18_NUD.Name = "x18_NUD"; x18_NUD.Size = new Size(40, 0x13); x18_NUD.TabIndex = 40; x15_CoB.DropDownStyle = ComboBoxStyle.DropDownList; x15_CoB.FormattingEnabled = true; x15_CoB.Location = new Point(0xb8, 0xb3); x15_CoB.Name = "x15_CoB"; x15_CoB.Size = new Size(80, 20); x15_CoB.TabIndex = 0x27; label21.AutoSize = true; label21.Location = new Point(0x13a, 0xa4); label21.Name = "label21"; label21.Size = new Size(0x1d, 12); label21.TabIndex = 0x26; label21.Text = "% Chance"; label20.AutoSize = true; label20.Location = new Point(0x10c, 0xa4); label20.Name = "label20"; label20.Size = new Size(0x29, 12); label20.TabIndex = 0x25; label20.Text = "Stages"; label19.AutoSize = true; label19.Location = new Point(0xb6, 0xa4); label19.Name = "label19"; label19.Size = new Size(0x1d, 12); label19.TabIndex = 0x24; label19.Text = "Stat"; x14_CoB.DropDownStyle = ComboBoxStyle.DropDownList; x14_CoB.FormattingEnabled = true; x14_CoB.Location = new Point(0xf1, 0x56); x14_CoB.Name = "x14_CoB"; x14_CoB.Size = new Size(0x9e, 20); x14_CoB.TabIndex = 0x1f; label18.AutoSize = true; label18.Location = new Point(0xb6, 0x59); label18.Name = "label18"; label18.Size = new Size(0x1d, 12); label18.TabIndex = 30; label18.Text = "Targeting"; x13_NUD.Location = new Point(90, 0x106); int[] numArray12 = new int[4]; numArray12[0] = 100; numArray12[3] = -2147483648; x13_NUD.Minimum = new decimal(numArray12); x13_NUD.Name = "x13_NUD"; x13_NUD.Size = new Size(50, 0x13); x13_NUD.TabIndex = 0x17; label17.AutoSize = true; label17.Location = new Point(3, 0x108); label17.Name = "label17"; label17.Size = new Size(0x4f, 12); label17.TabIndex = 0x16; label17.Text = "Quantity"; x12_NUD.Location = new Point(90, 0xed); int[] numArray13 = new int[4]; numArray13[0] = 100; numArray13[3] = -2147483648; x12_NUD.Minimum = new decimal(numArray13); x12_NUD.Name = "x12_NUD"; x12_NUD.Size = new Size(50, 0x13); x12_NUD.TabIndex = 0x15; label16.AutoSize = true; label16.Location = new Point(3, 0xef); label16.Name = "label16"; label16.Size = new Size(0x51, 12); label16.TabIndex = 20; label16.Text = "DMG Heal %"; x10_NUD.Location = new Point(90, 0xd4); int[] numArray14 = new int[4]; numArray14[0] = 0x181; x10_NUD.Maximum = new decimal(numArray14); x10_NUD.Name = "x10_NUD"; x10_NUD.Size = new Size(40, 0x13); x10_NUD.TabIndex = 0x13; label15.AutoSize = true; label15.Location = new Point(3, 0xd6); label15.Name = "label15"; label15.Size = new Size(0x38, 12); label15.TabIndex = 0x12; label15.Text = "Effect Code"; x0F_NUD.Location = new Point(90, 0xbb); x0F_NUD.Name = "x0F_NUD"; x0F_NUD.Size = new Size(40, 0x13); x0F_NUD.TabIndex = 0x11; label14.AutoSize = true; label14.Location = new Point(3, 0xbd); label14.Name = "label14"; label14.Size = new Size(0x2f, 12); label14.TabIndex = 0x10; label14.Text = "Flinch %"; x0E_NUD.Location = new Point(90, 0xa2); int[] numArray15 = new int[4]; numArray15[0] = 6; x0E_NUD.Maximum = new decimal(numArray15); x0E_NUD.Name = "x0E_NUD"; x0E_NUD.Size = new Size(40, 0x13); x0E_NUD.TabIndex = 15; label13.AutoSize = true; label13.Location = new Point(3, 0xa4); label13.Name = "label13"; label13.Size = new Size(0x29, 12); label13.TabIndex = 14; label13.Text = "+Crit Stage"; x0D_NUD.Location = new Point(0x88, 0x89); int[] numArray16 = new int[4]; numArray16[0] = 15; x0D_NUD.Maximum = new decimal(numArray16); x0D_NUD.Name = "x0D_NUD"; x0D_NUD.Size = new Size(40, 0x13); x0D_NUD.TabIndex = 13; x0C_NUD.Location = new Point(90, 0x89); int[] numArray17 = new int[4]; numArray17[0] = 15; x0C_NUD.Maximum = new decimal(numArray17); x0C_NUD.Name = "x0C_NUD"; x0C_NUD.Size = new Size(40, 0x13); x0C_NUD.TabIndex = 12; label12.AutoSize = true; label12.Location = new Point(3, 0x8b); label12.Name = "label12"; label12.Size = new Size(0x2c, 12); label12.TabIndex = 11; label12.Text = "Trap Turns"; x0A_NUD.Location = new Point(0xf1, 0x89); x0A_NUD.Name = "x0A_NUD"; x0A_NUD.Size = new Size(40, 0x13); x0A_NUD.TabIndex = 0x23; label10.AutoSize = true; label10.Location = new Point(0xb6, 0x8b); label10.Name = "label10"; label10.Size = new Size(0x35, 12); label10.TabIndex = 0x22; label10.Text = "Inflict %"; x08_CoB.DropDownStyle = ComboBoxStyle.DropDownList; x08_CoB.FormattingEnabled = true; x08_CoB.Location = new Point(0xf1, 0x6f); x08_CoB.Name = "x08_CoB"; x08_CoB.Size = new Size(0x79, 20); x08_CoB.TabIndex = 0x21; label9.AutoSize = true; label9.Location = new Point(0xb6, 0x72); label9.Name = "label9"; label9.Size = new Size(0x35, 12); label9.TabIndex = 0x20; label9.Text = "Inflict"; x07_MAX_NUD.Location = new Point(0x88, 0x70); int[] numArray18 = new int[4]; numArray18[0] = 15; x07_MAX_NUD.Maximum = new decimal(numArray18); x07_MAX_NUD.Name = "x07_MAX_NUD"; x07_MAX_NUD.Size = new Size(40, 0x13); x07_MAX_NUD.TabIndex = 10; x07_MIN_NUD.Location = new Point(90, 0x70); int[] numArray19 = new int[4]; numArray19[0] = 15; x07_MIN_NUD.Maximum = new decimal(numArray19); x07_MIN_NUD.Name = "x07_MIN_NUD"; x07_MIN_NUD.Size = new Size(40, 0x13); x07_MIN_NUD.TabIndex = 9; label8.AutoSize = true; label8.Location = new Point(3, 0x72); label8.Name = "label8"; label8.Size = new Size(0x35, 12); label8.TabIndex = 8; label8.Text = "Multihit"; x06_NUD.Location = new Point(90, 0x57); int[] numArray20 = new int[4]; numArray20[0] = 5; x06_NUD.Maximum = new decimal(numArray20); int[] numArray21 = new int[4]; numArray21[0] = 7; numArray21[3] = -2147483648; x06_NUD.Minimum = new decimal(numArray21); x06_NUD.Name = "x06_NUD"; x06_NUD.Size = new Size(40, 0x13); x06_NUD.TabIndex = 7; label7.AutoSize = true; label7.Location = new Point(3, 0x59); label7.Name = "label7"; label7.Size = new Size(0x29, 12); label7.TabIndex = 6; label7.Text = "Priority"; x05_NUD.Location = new Point(90, 0x3e); int[] numArray22 = new int[4]; numArray22[0] = 40; x05_NUD.Maximum = new decimal(numArray22); x05_NUD.Name = "x05_NUD"; x05_NUD.Size = new Size(40, 0x13); x05_NUD.TabIndex = 5; label6.AutoSize = true; label6.Location = new Point(3, 0x40); label6.Name = "label6"; label6.Size = new Size(0x13, 12); label6.TabIndex = 4; label6.Text = "PP"; x04_NUD.Location = new Point(90, 0x25); int[] numArray23 = new int[4]; numArray23[0] = 0x65; x04_NUD.Maximum = new decimal(numArray23); x04_NUD.Name = "x04_NUD"; x04_NUD.Size = new Size(40, 0x13); x04_NUD.TabIndex = 3; label5.AutoSize = true; label5.Location = new Point(3, 0x27); label5.Name = "label5"; label5.Size = new Size(0x1d, 12); label5.TabIndex = 2; label5.Text = "Accuracy"; x03_NUD.Location = new Point(90, 12); int[] numArray24 = new int[4]; numArray24[0] = 0xff; x03_NUD.Maximum = new decimal(numArray24); x03_NUD.Name = "x03_NUD"; x03_NUD.Size = new Size(40, 0x13); x03_NUD.TabIndex = 1; label4.AutoSize = true; label4.Location = new Point(3, 14); label4.Name = "label4"; label4.Size = new Size(0x1d, 12); label4.TabIndex = 0; label4.Text = "Base Power"; x02_CoB.DropDownStyle = ComboBoxStyle.DropDownList; x02_CoB.FormattingEnabled = true; x02_CoB.Location = new Point(0xf1, 0x3d); x02_CoB.Name = "x02_CoB"; x02_CoB.Size = new Size(0x9e, 20); x02_CoB.TabIndex = 0x1d; label3.AutoSize = true; label3.Location = new Point(0xb6, 0x40); label3.Name = "label3"; label3.Size = new Size(0x1d, 12); label3.TabIndex = 0x1c; label3.Text = "Class"; x01_CoB.DropDownStyle = ComboBoxStyle.DropDownList; x01_CoB.FormattingEnabled = true; x01_CoB.Location = new Point(0xf1, 0x24); x01_CoB.Name = "x01_CoB"; x01_CoB.Size = new Size(0x9e, 20); x01_CoB.TabIndex = 0x1b; label2.AutoSize = true; label2.Location = new Point(0xb6, 0x27); label2.Name = "label2"; label2.Size = new Size(0x1d, 12); label2.TabIndex = 0x1a; label2.Text = "Category"; x00_CoB.DropDownStyle = ComboBoxStyle.DropDownList; x00_CoB.FormattingEnabled = true; x00_CoB.Location = new Point(0xf1, 11); x00_CoB.Name = "x00_CoB"; x00_CoB.Size = new Size(0x9e, 20); x00_CoB.TabIndex = 0x19; label1.AutoSize = true; label1.Location = new Point(0xb6, 14); label1.Name = "label1"; label1.Size = new Size(0x9e, 12); label1.TabIndex = 0x18; label1.Text = "Type"; okButton.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; okButton.Location = new Point(380, 0x165); okButton.Name = "okButton"; okButton.Size = new Size(0x4b, 0x17); okButton.TabIndex = 1; okButton.Text = "OK"; okButton.UseVisualStyleBackColor = true; okButton.Click += okButton_Click; cancelButton.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; cancelButton.DialogResult = DialogResult.Cancel; cancelButton.Location = new Point(0x1cd, 0x165); cancelButton.Name = "cancelButton"; cancelButton.Size = new Size(0x4b, 0x17); cancelButton.TabIndex = 2; cancelButton.Text = "Cancel"; cancelButton.UseVisualStyleBackColor = true; cancelButton.Click += cancelButton_Click; groupBox4.Controls.Add(searchButton); groupBox4.Controls.Add(searchComboBox); groupBox4.Controls.Add(searchTextBox); groupBox4.Dock = DockStyle.Bottom; groupBox4.Location = new Point(0, 0x110); groupBox4.Name = "groupBox4"; groupBox4.Size = new Size(0x85, 0x4f); groupBox4.TabIndex = 5; groupBox4.TabStop = false; groupBox4.Text = "Filter"; searchButton.Location = new Point(6, 0x2c); searchButton.Name = "searchButton"; searchButton.Size = new Size(0x7c, 0x17); searchButton.TabIndex = 2; searchButton.Text = "Search"; searchButton.UseVisualStyleBackColor = true; searchButton.Click += searchButton_Click; searchComboBox.DropDownStyle = ComboBoxStyle.DropDownList; searchComboBox.FormattingEnabled = true; searchComboBox.Items.AddRange(new object[] { "Begins with", "Includes", "Ends with" }); searchComboBox.Location = new Point(0x37, 0x11); searchComboBox.Name = "searchComboBox"; searchComboBox.Size = new Size(0x4b, 20); searchComboBox.TabIndex = 1; searchTextBox.Location = new Point(6, 0x12); searchTextBox.Name = "searchTextBox"; searchTextBox.Size = new Size(0x2b, 0x13); searchTextBox.TabIndex = 0; AutoScaleDimensions = new SizeF(6f, 12f); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(0x224, 0x188); Controls.Add(cancelButton); Controls.Add(okButton); Controls.Add(splitContainer1); FormBorderStyle = FormBorderStyle.FixedSingle; MaximizeBox = false; Name = "SkillForm"; StartPosition = FormStartPosition.CenterParent; Text = "Move Editor"; splitContainer1.Panel1.ResumeLayout(false); splitContainer1.Panel2.ResumeLayout(false); splitContainer1.Panel2.PerformLayout(); splitContainer1.ResumeLayout(false); groupBox1.ResumeLayout(false); groupBox1.PerformLayout(); x0B_NUD.EndInit(); x21_NUD.EndInit(); x1E_NUD.EndInit(); x20_NUD.EndInit(); x1F_NUD.EndInit(); x1D_NUD.EndInit(); x1A_NUD.EndInit(); x1C_NUD.EndInit(); x19_NUD.EndInit(); x1B_NUD.EndInit(); x18_NUD.EndInit(); x13_NUD.EndInit(); x12_NUD.EndInit(); x10_NUD.EndInit(); x0F_NUD.EndInit(); x0E_NUD.EndInit(); x0D_NUD.EndInit(); x0C_NUD.EndInit(); x0A_NUD.EndInit(); x07_MAX_NUD.EndInit(); x07_MIN_NUD.EndInit(); x06_NUD.EndInit(); x05_NUD.EndInit(); x04_NUD.EndInit(); x03_NUD.EndInit(); groupBox4.ResumeLayout(false); groupBox4.PerformLayout(); ResumeLayout(false); }
private void InitializeComponent() { ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(Sortie_Stock)); dgv1 = new DataGridView(); GroupBox1 = new GroupBox(); btnNew = new Button(); btnDelete = new Button(); btnUpdate = new Button(); Button2 = new Button(); Label1 = new Label(); Button3 = new Button(); Label3 = new Label(); Button1 = new Button(); GroupBox2 = new GroupBox(); LIBART = new ComboBox(); Button5 = new Button(); REFART = new ComboBox(); Label5 = new Label(); B_rechercher = new Button(); Label6 = new Label(); ((ISupportInitialize)dgv1).BeginInit(); GroupBox1.SuspendLayout(); GroupBox2.SuspendLayout(); base.SuspendLayout(); dgv1.AllowUserToAddRows = false; dgv1.AllowUserToDeleteRows = false; dgv1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.AllCells; dgv1.AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.AllCells; dgv1.BackgroundColor = Color.White; dgv1.BorderStyle = BorderStyle.Fixed3D; dgv1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; dgv1.Location = new Point(144, 21); dgv1.Margin = new Padding(2, 3, 2, 3); dgv1.Name = "dgv1"; dgv1.ReadOnly = true; dgv1.Size = new Size(1070, 523); dgv1.TabIndex = 26; GroupBox1.BackColor = Color.Transparent; GroupBox1.Controls.Add(btnNew); GroupBox1.Controls.Add(btnDelete); GroupBox1.Controls.Add(btnUpdate); GroupBox1.Controls.Add(Button2); GroupBox1.Controls.Add(dgv1); GroupBox1.Location = new Point(10, 169); GroupBox1.Name = "GroupBox1"; GroupBox1.Size = new Size(1224, 550); GroupBox1.TabIndex = 35; GroupBox1.TabStop = false; GroupBox1.Text = "Sortie Stock"; btnNew.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right); btnNew.AutoSize = true; btnNew.BackColor = Color.White; btnNew.Font = new Font("Arial", 9.75f, FontStyle.Bold, GraphicsUnit.Point, 0); btnNew.Image = Resources.add_1_icon; btnNew.ImageAlign = ContentAlignment.MiddleLeft; btnNew.Location = new Point(18, 106); btnNew.Margin = new Padding(2, 3, 2, 3); btnNew.Name = "btnNew"; btnNew.Size = new Size(110, 54); btnNew.TabIndex = 35; btnNew.Text = "Ajouter"; btnNew.TextAlign = ContentAlignment.MiddleRight; btnNew.UseVisualStyleBackColor = false; btnDelete.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right); btnDelete.BackColor = Color.White; btnDelete.Font = new Font("Arial", 9.75f, FontStyle.Bold, GraphicsUnit.Point, 0); btnDelete.Image = Resources.Button_Delete_icon; btnDelete.ImageAlign = ContentAlignment.MiddleLeft; btnDelete.Location = new Point(18, 268); btnDelete.Margin = new Padding(2, 3, 2, 3); btnDelete.Name = "btnDelete"; btnDelete.Size = new Size(110, 50); btnDelete.TabIndex = 34; btnDelete.Text = "Supprimer"; btnDelete.TextAlign = ContentAlignment.MiddleRight; btnDelete.UseVisualStyleBackColor = false; btnUpdate.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right); btnUpdate.BackColor = Color.White; btnUpdate.Font = new Font("Arial", 9.75f, FontStyle.Bold, GraphicsUnit.Point, 0); btnUpdate.Image = Resources.edit_file_icon; btnUpdate.ImageAlign = ContentAlignment.MiddleLeft; btnUpdate.Location = new Point(18, 189); btnUpdate.Margin = new Padding(2, 3, 2, 3); btnUpdate.Name = "btnUpdate"; btnUpdate.Size = new Size(110, 52); btnUpdate.TabIndex = 33; btnUpdate.Text = "Modifier"; btnUpdate.TextAlign = ContentAlignment.MiddleRight; btnUpdate.UseVisualStyleBackColor = false; Button2.Anchor = (AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right); Button2.BackColor = Color.White; Button2.Font = new Font("Arial", 9.75f, FontStyle.Bold, GraphicsUnit.Point, 0); Button2.Image = Resources.Button_Refresh_icon; Button2.ImageAlign = ContentAlignment.MiddleLeft; Button2.Location = new Point(18, 33); Button2.Margin = new Padding(2, 3, 2, 3); Button2.Name = "Button2"; Button2.Size = new Size(110, 50); Button2.TabIndex = 32; Button2.Text = "Initier"; Button2.TextAlign = ContentAlignment.MiddleRight; Button2.UseVisualStyleBackColor = false; Label1.AutoSize = true; Label1.BackColor = Color.Transparent; Label1.Font = new Font("Arial", 9.75f, FontStyle.Bold, GraphicsUnit.Point, 0); Label1.Location = new Point(853, 150); Label1.Name = "Label1"; Label1.Size = new Size(87, 16); Label1.TabIndex = 37; Label1.Text = "Stock global"; Button3.BackgroundImage = (Image)componentResourceManager.GetObject("Button3.BackgroundImage"); Button3.Cursor = Cursors.Hand; Button3.Location = new Point(867, 57); Button3.Margin = new Padding(3, 4, 3, 4); Button3.Name = "Button3"; Button3.Size = new Size(73, 75); Button3.TabIndex = 36; Button3.UseVisualStyleBackColor = true; Label3.AutoSize = true; Label3.BackColor = Color.Transparent; Label3.Font = new Font("Arial", 9.75f, FontStyle.Bold, GraphicsUnit.Point, 0); Label3.Location = new Point(1022, 150); Label3.Name = "Label3"; Label3.Size = new Size(94, 16); Label3.TabIndex = 39; Label3.Text = "Entrées Stock"; Button1.BackgroundImage = (Image)componentResourceManager.GetObject("Button1.BackgroundImage"); Button1.Cursor = Cursors.Hand; Button1.Location = new Point(1034, 57); Button1.Margin = new Padding(3, 4, 3, 4); Button1.Name = "Button1"; Button1.Size = new Size(73, 75); Button1.TabIndex = 38; Button1.UseVisualStyleBackColor = true; GroupBox2.BackColor = Color.Transparent; GroupBox2.BackgroundImageLayout = ImageLayout.Stretch; GroupBox2.Controls.Add(LIBART); GroupBox2.Controls.Add(Button5); GroupBox2.Controls.Add(REFART); GroupBox2.Controls.Add(Label5); GroupBox2.Controls.Add(B_rechercher); GroupBox2.Controls.Add(Label6); GroupBox2.Font = new Font("Arial", 12f, FontStyle.Regular, GraphicsUnit.Point, 178); GroupBox2.Location = new Point(12, 65); GroupBox2.Name = "GroupBox2"; GroupBox2.Size = new Size(794, 98); GroupBox2.TabIndex = 48; GroupBox2.TabStop = false; GroupBox2.Text = "Référence"; LIBART.FormattingEnabled = true; LIBART.Location = new Point(367, 42); LIBART.Name = "LIBART"; LIBART.Size = new Size(288, 26); LIBART.Sorted = true; LIBART.TabIndex = 47; Button5.BackColor = Color.White; Button5.Cursor = Cursors.Hand; Button5.Location = new Point(250, 40); Button5.Name = "Button5"; Button5.Size = new Size(33, 28); Button5.TabIndex = 46; Button5.Text = "..."; Button5.UseVisualStyleBackColor = false; REFART.AutoCompleteMode = AutoCompleteMode.SuggestAppend; REFART.AutoCompleteSource = AutoCompleteSource.ListItems; REFART.FormattingEnabled = true; REFART.Location = new Point(59, 41); REFART.Name = "REFART"; REFART.Size = new Size(206, 26); REFART.TabIndex = 14; Label5.AutoSize = true; Label5.BackColor = Color.Transparent; Label5.ForeColor = SystemColors.ActiveCaption; Label5.Location = new Point(307, 44); Label5.Name = "Label5"; Label5.Size = new Size(54, 18); Label5.TabIndex = 3; Label5.Text = "Libelle"; B_rechercher.BackColor = Color.White; B_rechercher.Cursor = Cursors.Hand; B_rechercher.Image = Resources.Actions_document_find_icon1; B_rechercher.ImageAlign = ContentAlignment.MiddleLeft; B_rechercher.Location = new Point(661, 33); B_rechercher.Name = "B_rechercher"; B_rechercher.Size = new Size(127, 43); B_rechercher.TabIndex = 2; B_rechercher.Text = " Rechercher"; B_rechercher.TextAlign = ContentAlignment.MiddleRight; B_rechercher.UseVisualStyleBackColor = false; Label6.AutoSize = true; Label6.BackColor = Color.Transparent; Label6.ForeColor = SystemColors.ActiveCaption; Label6.Location = new Point(6, 45); Label6.Name = "Label6"; Label6.Size = new Size(47, 18); Label6.TabIndex = 0; Label6.Text = "Code"; base.AutoScaleDimensions = new SizeF(7f, 16f); base.AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; BackgroundImage = Resources.arrière_plan_blanc_V2; base.ClientSize = new Size(1361, 728); base.Controls.Add(GroupBox2); base.Controls.Add(Label3); base.Controls.Add(Button1); base.Controls.Add(Label1); base.Controls.Add(Button3); base.Controls.Add(GroupBox1); base.Location = new Point(0, 0); base.Name = "Sortie_Stock"; Text = "Sortie Stock"; base.Controls.SetChildIndex(GroupBox1, 0); base.Controls.SetChildIndex(Button3, 0); base.Controls.SetChildIndex(Label1, 0); base.Controls.SetChildIndex(Button1, 0); base.Controls.SetChildIndex(Label3, 0); base.Controls.SetChildIndex(GroupBox2, 0); ((ISupportInitialize)dgv1).EndInit(); GroupBox1.ResumeLayout(false); GroupBox1.PerformLayout(); GroupBox2.ResumeLayout(false); GroupBox2.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { RTUbutton = new System.Windows.Forms.Button(); label8 = new System.Windows.Forms.Label(); ComSelect = new System.Windows.Forms.ComboBox(); TCPButton = new System.Windows.Forms.Button(); groupBox1 = new System.Windows.Forms.GroupBox(); label4 = new System.Windows.Forms.Label(); addressSelect = new System.Windows.Forms.ComboBox(); paritySelect = new System.Windows.Forms.ComboBox(); label3 = new System.Windows.Forms.Label(); stopSelect = new System.Windows.Forms.ComboBox(); label2 = new System.Windows.Forms.Label(); label1 = new System.Windows.Forms.Label(); baudSelect = new System.Windows.Forms.ComboBox(); groupBox2 = new System.Windows.Forms.GroupBox(); PortNoTextBox = new System.Windows.Forms.TextBox(); ipTextBox1 = new iptb.IPTextBox(); label6 = new System.Windows.Forms.Label(); label7 = new System.Windows.Forms.Label(); groupBox1.SuspendLayout(); groupBox2.SuspendLayout(); SuspendLayout(); RTUbutton.Location = new System.Drawing.Point(12, 183); RTUbutton.Name = "RTUbutton"; RTUbutton.Size = new System.Drawing.Size(85, 23); RTUbutton.TabIndex = 0; RTUbutton.Text = "RTU"; RTUbutton.UseVisualStyleBackColor = true; RTUbutton.Click += new System.EventHandler(RTUbutton_Click); label8.AutoSize = true; label8.Location = new System.Drawing.Point(6, 26); label8.Name = "label8"; label8.Size = new System.Drawing.Size(30, 12); label8.TabIndex = 14; label8.Text = "COM"; ComSelect.FormattingEnabled = true; ComSelect.Location = new System.Drawing.Point(59, 23); ComSelect.Name = "ComSelect"; ComSelect.Size = new System.Drawing.Size(121, 20); ComSelect.Sorted = true; ComSelect.TabIndex = 13; TCPButton.Location = new System.Drawing.Point(226, 183); TCPButton.Name = "TCPButton"; TCPButton.Size = new System.Drawing.Size(85, 23); TCPButton.TabIndex = 16; TCPButton.Text = "TCP"; TCPButton.UseVisualStyleBackColor = true; TCPButton.Click += new System.EventHandler(TCPButton_Click); groupBox1.Controls.Add(label4); groupBox1.Controls.Add(addressSelect); groupBox1.Controls.Add(paritySelect); groupBox1.Controls.Add(label3); groupBox1.Controls.Add(stopSelect); groupBox1.Controls.Add(label2); groupBox1.Controls.Add(label1); groupBox1.Controls.Add(baudSelect); groupBox1.Controls.Add(ComSelect); groupBox1.Controls.Add(label8); groupBox1.Location = new System.Drawing.Point(11, 12); groupBox1.Name = "groupBox1"; groupBox1.Size = new System.Drawing.Size(209, 165); groupBox1.TabIndex = 17; groupBox1.TabStop = false; groupBox1.Text = "Serial"; label4.AutoSize = true; label4.Location = new System.Drawing.Point(6, 134); label4.Name = "label4"; label4.Size = new System.Drawing.Size(47, 12); label4.TabIndex = 22; label4.Text = "Address"; addressSelect.FormattingEnabled = true; addressSelect.Items.AddRange(new object[9] { "1", "2", "3", "4", "5", "6", "7", "8", "9" }); addressSelect.Location = new System.Drawing.Point(59, 131); addressSelect.Name = "addressSelect"; addressSelect.Size = new System.Drawing.Size(121, 20); addressSelect.TabIndex = 21; paritySelect.FormattingEnabled = true; paritySelect.Items.AddRange(new object[3] { "None", "Odd", "Even" }); paritySelect.Location = new System.Drawing.Point(59, 105); paritySelect.Name = "paritySelect"; paritySelect.Size = new System.Drawing.Size(121, 20); paritySelect.TabIndex = 20; label3.AutoSize = true; label3.Location = new System.Drawing.Point(6, 108); label3.Name = "label3"; label3.Size = new System.Drawing.Size(34, 12); label3.TabIndex = 19; label3.Text = "parity"; stopSelect.FormattingEnabled = true; stopSelect.Items.AddRange(new object[2] { "1 stop", "2 stop" }); stopSelect.Location = new System.Drawing.Point(59, 77); stopSelect.Name = "stopSelect"; stopSelect.Size = new System.Drawing.Size(121, 20); stopSelect.TabIndex = 18; label2.AutoSize = true; label2.Location = new System.Drawing.Point(6, 80); label2.Name = "label2"; label2.Size = new System.Drawing.Size(27, 12); label2.TabIndex = 17; label2.Text = "stop"; label1.AutoSize = true; label1.Location = new System.Drawing.Point(7, 52); label1.Name = "label1"; label1.Size = new System.Drawing.Size(29, 12); label1.TabIndex = 16; label1.Text = "baud"; baudSelect.FormattingEnabled = true; baudSelect.Items.AddRange(new object[5] { "4800", "9600", "19200", "38400", "57600" }); baudSelect.Location = new System.Drawing.Point(59, 49); baudSelect.Name = "baudSelect"; baudSelect.Size = new System.Drawing.Size(121, 20); baudSelect.TabIndex = 15; groupBox2.Controls.Add(PortNoTextBox); groupBox2.Controls.Add(ipTextBox1); groupBox2.Controls.Add(label6); groupBox2.Controls.Add(label7); groupBox2.Location = new System.Drawing.Point(226, 12); groupBox2.Name = "groupBox2"; groupBox2.Size = new System.Drawing.Size(212, 165); groupBox2.TabIndex = 18; groupBox2.TabStop = false; groupBox2.Text = "TCP"; PortNoTextBox.Location = new System.Drawing.Point(55, 47); PortNoTextBox.Name = "PortNoTextBox"; PortNoTextBox.Size = new System.Drawing.Size(59, 19); PortNoTextBox.TabIndex = 22; PortNoTextBox.Text = "502"; ipTextBox1.Location = new System.Drawing.Point(54, 23); ipTextBox1.Name = "ipTextBox1"; ipTextBox1.Size = new System.Drawing.Size(128, 18); ipTextBox1.TabIndex = 21; ipTextBox1.ToolTipText = ""; label6.AutoSize = true; label6.Location = new System.Drawing.Point(7, 52); label6.Name = "label6"; label6.Size = new System.Drawing.Size(42, 12); label6.TabIndex = 16; label6.Text = "PortNo."; label7.AutoSize = true; label7.Location = new System.Drawing.Point(6, 26); label7.Name = "label7"; label7.Size = new System.Drawing.Size(15, 12); label7.TabIndex = 14; label7.Text = "IP"; base.AutoScaleDimensions = new System.Drawing.SizeF(6f, 12f); base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; base.ClientSize = new System.Drawing.Size(452, 220); base.Controls.Add(groupBox2); base.Controls.Add(groupBox1); base.Controls.Add(TCPButton); base.Controls.Add(RTUbutton); base.Name = "TopForm"; base.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; Text = "Modbus test tool"; base.Load += new System.EventHandler(TopForm_Load); groupBox1.ResumeLayout(performLayout: false); groupBox1.PerformLayout(); groupBox2.ResumeLayout(performLayout: false); groupBox2.PerformLayout(); ResumeLayout(performLayout: false); }
private void InitializeComponent() { LanguageLabel = new Label(); LanguageValue = new TextBox(); LanguageComboBox = new ComboBox(); EnableTestEnvironment = new CheckBox(); TtsCheckBox = new CheckBox(); PersistToasts = new CheckBox(); FlashTaskbar = new CheckBox(); EnableActToast = new CheckBox(); DisableToasts = new CheckBox(); _appTabControl = new TabControl(); _mainTabPage = new TabPage(); _mainTableLayout = new TableLayoutPanel(); ClearLogButton = new Button(); TestConfigurationButton = new Button(); LoggingRichTextBox = new RichTextBox(); AppTitle = new Label(); _copyrightLink = new LinkLabel(); _settingsPage = new TabPage(); _settingsPanel = new Panel(); _settingsTableLayout = new TableLayoutPanel(); TtsSettings = new GroupBox(); TelegramSettings = new GroupBox(); TelegramChatIdLabel = new Label(); TelegramChatIdTextBox = new TextBox(); TelegramCheckBox = new CheckBox(); TelegramTokenLabel = new Label(); TelegramTokenTextBox = new TextBox(); PushBulletSettings = new GroupBox(); PushBulletCheckbox = new CheckBox(); PushBulletDeviceIdTextBox = new TextBox(); PushBulletDeviceIdlabel = new Label(); PushBulletTokenLabel = new Label(); PushBulletTokenTextBox = new TextBox(); ToastSettings = new GroupBox(); GeneralSettings = new GroupBox(); TestSettings = new GroupBox(); _appTabControl.SuspendLayout(); _mainTabPage.SuspendLayout(); _mainTableLayout.SuspendLayout(); _settingsPage.SuspendLayout(); _settingsPanel.SuspendLayout(); _settingsTableLayout.SuspendLayout(); TtsSettings.SuspendLayout(); TelegramSettings.SuspendLayout(); PushBulletSettings.SuspendLayout(); ToastSettings.SuspendLayout(); GeneralSettings.SuspendLayout(); TestSettings.SuspendLayout(); SuspendLayout(); // // LanguageLabel // LanguageLabel.AutoSize = true; LanguageLabel.Location = new Point(3, 23); LanguageLabel.Name = "LanguageLabel"; LanguageLabel.TabStop = false; LanguageLabel.Text = "Language"; // // _languageValue // LanguageValue.Visible = false; LanguageValue.Name = "LanguageValue"; LanguageValue.TabStop = false; // // _languageComboBox // LanguageComboBox.DropDownStyle = ComboBoxStyle.DropDownList; LanguageComboBox.FormattingEnabled = true; LanguageComboBox.Location = new Point(90, 23); LanguageComboBox.Name = "LanguageComboBox"; LanguageComboBox.Size = new Size(390, 25); LanguageComboBox.TabIndex = 0; // // _flashTaskbar // FlashTaskbar.AutoSize = true; FlashTaskbar.Location = new Point(6, 45); FlashTaskbar.Name = "FlashTaskbar"; FlashTaskbar.TabIndex = 1; FlashTaskbar.Text = "Flash Taskbar when a Notification is received"; FlashTaskbar.UseVisualStyleBackColor = true; // // _testConfigurationButton // TestConfigurationButton.AutoSize = true; TestConfigurationButton.Name = "TestConfigurationButton"; TestConfigurationButton.Location = new Point(6, 68); TestConfigurationButton.MinimumSize = new Size(100, 25); TestConfigurationButton.TabIndex = 2; TestConfigurationButton.Text = "Test Configuration"; TestConfigurationButton.UseVisualStyleBackColor = true; // // _disableToasts // DisableToasts.AutoSize = true; DisableToasts.Location = new Point(6, 22); DisableToasts.Name = "DisableToasts"; DisableToasts.TabIndex = 3; DisableToasts.Text = "Disable Toasts"; DisableToasts.UseVisualStyleBackColor = true; // // _persistToasts // PersistToasts.AutoSize = true; PersistToasts.Location = new Point(6, 45); PersistToasts.Name = "PersistToasts"; PersistToasts.TabIndex = 4; PersistToasts.Text = "Make Toasts Persistent"; PersistToasts.UseVisualStyleBackColor = true; // // _enableLegacyToast // EnableActToast.AutoSize = true; EnableActToast.Location = new Point(6, 68); EnableActToast.Name = "EnableActToast"; EnableActToast.TabIndex = 5; EnableActToast.Text = "Enable ACT Toasts"; EnableActToast.UseVisualStyleBackColor = true; // // _ttsCheckBox // TtsCheckBox.AutoSize = true; TtsCheckBox.Location = new Point(6, 22); TtsCheckBox.Name = "TtsCheckBox"; TtsCheckBox.TabIndex = 6; TtsCheckBox.Text = "Enable Text To Speech"; TtsCheckBox.UseVisualStyleBackColor = true; // // _telegramCheckBox // TelegramCheckBox.AutoSize = true; TelegramCheckBox.Location = new Point(6, 22); TelegramCheckBox.Name = "TelegramCheckBox"; TelegramCheckBox.TabIndex = 7; TelegramCheckBox.Size = new Size(390, 20); TelegramCheckBox.Text = "Enable Telegram Notifications"; TelegramCheckBox.UseVisualStyleBackColor = true; // // _telegramTokenLabel // TelegramTokenLabel.AutoSize = true; TelegramTokenLabel.Location = new Point(6, 45); TelegramTokenLabel.Name = "TelegramTokenLabel"; TelegramTokenLabel.Size = new Size(38, 13); TelegramTokenLabel.TabStop = false; TelegramTokenLabel.Text = "Token"; // // _telegramTokenTextBox // TelegramTokenTextBox.Location = new Point(90, 45); TelegramTokenTextBox.Name = "TelegramTokenTextBox"; TelegramTokenTextBox.Size = new Size(390, 20); TelegramTokenTextBox.TabIndex = 8; // // _telegramChatIdLabel // TelegramChatIdLabel.AutoSize = true; TelegramChatIdLabel.Location = new Point(6, 68); TelegramChatIdLabel.Name = "TelegramChatIdLabel"; TelegramChatIdLabel.Size = new Size(41, 13); TelegramChatIdLabel.TabStop = false; TelegramChatIdLabel.Text = "Chat Id"; // // _telegramChatIdTextBox // TelegramChatIdTextBox.Location = new Point(90, 68); TelegramChatIdTextBox.Name = "TelegramChatIdTextBox"; TelegramChatIdTextBox.Size = new Size(390, 20); TelegramChatIdTextBox.TabIndex = 9; // // _pushbulletCheckbox // PushBulletCheckbox.AutoSize = true; PushBulletCheckbox.Location = new Point(6, 22); PushBulletCheckbox.Name = "PushBulletCheckbox"; PushBulletCheckbox.TabIndex = 10; PushBulletCheckbox.Size = new Size(390, 20); PushBulletCheckbox.Text = "Enable Pushbullet Notifications"; PushBulletCheckbox.UseVisualStyleBackColor = true; // // _pushbulletTokenLabel // PushBulletTokenLabel.AutoSize = true; PushBulletTokenLabel.Location = new Point(6, 45); PushBulletTokenLabel.Name = "PushBulletTokenLabel"; PushBulletTokenLabel.Size = new Size(76, 13); PushBulletTokenLabel.TabStop = false; PushBulletTokenLabel.Text = "Access Token"; // // _pushbulletTokenTextBox // PushBulletTokenTextBox.Location = new Point(90, 45); PushBulletTokenTextBox.Name = "PushBulletTokenTextBox"; PushBulletTokenTextBox.Size = new Size(390, 20); PushBulletTokenTextBox.TabIndex = 11; // // _pushbulletDeviceIdlabel // PushBulletDeviceIdlabel.AutoSize = true; PushBulletDeviceIdlabel.Location = new Point(6, 68); PushBulletDeviceIdlabel.Name = "PushBulletDeviceIdlabel"; PushBulletDeviceIdlabel.Size = new Size(53, 13); PushBulletDeviceIdlabel.TabStop = false; PushBulletDeviceIdlabel.Text = "Device Id"; // // _pushbulletDeviceIdTextBox // PushBulletDeviceIdTextBox.Location = new Point(90, 68); PushBulletDeviceIdTextBox.Name = "PushBulletDeviceIdTextBox"; PushBulletDeviceIdTextBox.Size = new Size(390, 20); PushBulletDeviceIdTextBox.TabIndex = 12; // // // _enableTestEnvironment // EnableTestEnvironment.AutoSize = true; EnableTestEnvironment.Location = new Point(6, 22); EnableTestEnvironment.Name = "EnableTestEnvironment"; EnableTestEnvironment.TabIndex = 13; EnableTestEnvironment.Text = "Enable Test Environment"; EnableTestEnvironment.UseVisualStyleBackColor = true; // // _appTabControl // _appTabControl.Dock = DockStyle.Fill; _appTabControl.Controls.Add(_mainTabPage); _appTabControl.Controls.Add(_settingsPage); _appTabControl.Location = new Point(4, 4); _appTabControl.Name = "_appTabControl"; _appTabControl.SelectedIndex = 0; _appTabControl.TabStop = false; // // _mainTabPage // _mainTabPage.Dock = DockStyle.Fill; _mainTabPage.Controls.Add(_mainTableLayout); _mainTabPage.Location = new Point(4, 22); _mainTabPage.Name = "_mainTabPage"; _mainTabPage.Padding = new Padding(3); _mainTabPage.TabStop = false; _mainTabPage.Text = "Main"; _mainTabPage.ToolTipText = "Shows main info and logs"; _mainTabPage.UseVisualStyleBackColor = true; // // _mainTableLayout // _mainTableLayout.Dock = DockStyle.Fill; _mainTableLayout.ColumnCount = 3; _mainTableLayout.ColumnStyles.Add(new ColumnStyle(SizeType.AutoSize)); _mainTableLayout.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F)); _mainTableLayout.ColumnStyles.Add(new ColumnStyle(SizeType.AutoSize)); _mainTableLayout.Controls.Add(ClearLogButton, 2, 0); _mainTableLayout.Controls.Add(LoggingRichTextBox, 0, 1); _mainTableLayout.Controls.Add(AppTitle, 0, 0); _mainTableLayout.Controls.Add(_copyrightLink, 1, 0); _mainTableLayout.Location = new Point(0, 3); _mainTableLayout.Name = "_mainTableLayout"; _mainTableLayout.RowCount = 2; _mainTableLayout.RowStyles.Add(new RowStyle(SizeType.AutoSize)); _mainTableLayout.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); _mainTableLayout.TabStop = false; // // _button1 // ClearLogButton.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Bottom; ClearLogButton.Name = "ClearLogButton"; ClearLogButton.MinimumSize = new Size(100, 25); ClearLogButton.TabIndex = 0; ClearLogButton.Text = "Clear Logs"; ClearLogButton.UseVisualStyleBackColor = true; ClearLogButton.AutoSize = true; // // _richTextBox1 // LoggingRichTextBox.Dock = DockStyle.Fill; LoggingRichTextBox.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Bottom; _mainTableLayout.SetColumnSpan(LoggingRichTextBox, 3); LoggingRichTextBox.Font = new Font("Microsoft Sans Serif", 10F, FontStyle.Regular, GraphicsUnit.Point, 0); LoggingRichTextBox.Location = new Point(3, 32); LoggingRichTextBox.Name = "LoggingRichTextBox"; LoggingRichTextBox.ReadOnly = true; LoggingRichTextBox.TabIndex = 1; LoggingRichTextBox.Text = ""; // // _appTitle // AppTitle.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Bottom; AppTitle.Font = new Font("Microsoft Sans Serif", 12F, FontStyle.Bold, GraphicsUnit.Point, 0); AppTitle.Location = new Point(3, 0); AppTitle.Name = "AppTitle"; AppTitle.TabStop = false; AppTitle.Text = "DFAssist ~"; AppTitle.TextAlign = ContentAlignment.MiddleLeft; AppTitle.AutoSize = true; // // _copyrightLink // _copyrightLink.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Bottom; _copyrightLink.Font = new Font("Microsoft Sans Serif", 12F, FontStyle.Bold, GraphicsUnit.Point, 0); _copyrightLink.LinkBehavior = LinkBehavior.HoverUnderline; _copyrightLink.Location = new Point(106, 0); _copyrightLink.Name = "_copyrightLink"; _copyrightLink.TabIndex = 2; _copyrightLink.TabStop = true; _copyrightLink.Text = "© easly1989"; _copyrightLink.TextAlign = ContentAlignment.MiddleLeft; _copyrightLink.AutoSize = true; // // _settingsPage // _settingsPage.Dock = DockStyle.Fill; _settingsPage.Controls.Add(_settingsPanel); _settingsPage.Location = new Point(4, 22); _settingsPage.Name = "_settingsPage"; _settingsPage.Padding = new Padding(3); _settingsPage.TabStop = false; _settingsPage.Text = "Settings"; _settingsPage.ToolTipText = "Change Settings for DFAssist"; _settingsPage.UseVisualStyleBackColor = true; // // _settingsPanel // _settingsPanel.Dock = DockStyle.Fill; _settingsPanel.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Bottom; _settingsPanel.Controls.Add(_settingsTableLayout); _settingsPanel.Name = "_settingsPanel"; _settingsPanel.TabStop = false; _settingsPanel.AutoScroll = true; // // _settingsTableLayout // _settingsTableLayout.Dock = DockStyle.Fill; _settingsTableLayout.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; _settingsTableLayout.AutoSize = true; _settingsTableLayout.AutoSizeMode = AutoSizeMode.GrowOnly; _settingsTableLayout.ColumnCount = 1; _settingsTableLayout.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F)); _settingsTableLayout.Controls.Add(GeneralSettings, 0, 0); _settingsTableLayout.Controls.Add(ToastSettings, 0, 1); _settingsTableLayout.Controls.Add(TtsSettings, 0, 2); _settingsTableLayout.Controls.Add(TelegramSettings, 0, 2); _settingsTableLayout.Controls.Add(PushBulletSettings, 0, 2); _settingsTableLayout.Controls.Add(TestSettings, 0, 5); _settingsTableLayout.Location = new Point(0, 3); _settingsTableLayout.Name = "_settingsTableLayout"; _settingsTableLayout.RowCount = 7; _settingsTableLayout.RowStyles.Add(new RowStyle(SizeType.AutoSize)); _settingsTableLayout.RowStyles.Add(new RowStyle(SizeType.AutoSize)); _settingsTableLayout.RowStyles.Add(new RowStyle(SizeType.AutoSize)); _settingsTableLayout.RowStyles.Add(new RowStyle(SizeType.AutoSize)); _settingsTableLayout.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); _settingsTableLayout.TabStop = false; // // _generalSettings // Dock = DockStyle.Top; GeneralSettings.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; GeneralSettings.Controls.Add(LanguageLabel); GeneralSettings.Controls.Add(LanguageComboBox); GeneralSettings.Controls.Add(FlashTaskbar); GeneralSettings.Controls.Add(TestConfigurationButton); GeneralSettings.Name = "GeneralSettings"; GeneralSettings.TabStop = false; GeneralSettings.Text = "General Settings"; // // _toastSettings // Dock = DockStyle.Top; ToastSettings.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; ToastSettings.Controls.Add(DisableToasts); ToastSettings.Controls.Add(EnableActToast); ToastSettings.Controls.Add(PersistToasts); ToastSettings.Name = "ToastSettings"; ToastSettings.TabStop = false; ToastSettings.Text = "Toasts Settings"; // // _ttsSettings // Dock = DockStyle.Top; TtsSettings.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; TtsSettings.Controls.Add(TtsCheckBox); TtsSettings.Name = "TtsSettings"; TtsSettings.TabStop = false; TtsSettings.Text = "Text To Speech Settings"; // // _telegramSettings // Dock = DockStyle.Top; TelegramSettings.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; TelegramSettings.Controls.Add(TelegramCheckBox); TelegramSettings.Controls.Add(TelegramTokenLabel); TelegramSettings.Controls.Add(TelegramTokenTextBox); TelegramSettings.Controls.Add(TelegramChatIdLabel); TelegramSettings.Controls.Add(TelegramChatIdTextBox); TelegramSettings.Name = "TelegramSettings"; TelegramSettings.TabStop = false; TelegramSettings.Text = "Telegram Settings"; // // _pushBulletSettings // Dock = DockStyle.Top; PushBulletSettings.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; PushBulletSettings.Controls.Add(PushBulletDeviceIdTextBox); PushBulletSettings.Controls.Add(PushBulletDeviceIdlabel); PushBulletSettings.Controls.Add(PushBulletTokenTextBox); PushBulletSettings.Controls.Add(PushBulletTokenLabel); PushBulletSettings.Controls.Add(PushBulletCheckbox); PushBulletSettings.Name = "PushBulletSettings"; PushBulletSettings.TabStop = false; PushBulletSettings.Text = "PushBullet Settings"; // // _testSettings // Dock = DockStyle.Top; TestSettings.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; TestSettings.Controls.Add(EnableTestEnvironment); TestSettings.Name = "TestSettings"; TestSettings.TabStop = false; TestSettings.Text = "Test Settings"; // // MainControl // Dock = DockStyle.Fill; Controls.Add(_appTabControl); Name = "MainControl"; _appTabControl.ResumeLayout(false); _mainTabPage.ResumeLayout(false); _mainTableLayout.ResumeLayout(false); _mainTableLayout.PerformLayout(); _settingsPage.ResumeLayout(false); _settingsPage.PerformLayout(); _settingsPanel.ResumeLayout(false); _settingsPanel.PerformLayout(); _settingsTableLayout.ResumeLayout(false); _settingsTableLayout.PerformLayout(); TtsSettings.ResumeLayout(false); TtsSettings.PerformLayout(); ToastSettings.ResumeLayout(false); ToastSettings.PerformLayout(); GeneralSettings.ResumeLayout(false); GeneralSettings.PerformLayout(); TestSettings.ResumeLayout(false); TestSettings.PerformLayout(); ResumeLayout(false); }
private void InitializeComponent() { label1 = new Label(); texBox = new StringInputComboBox(); pltBox = new StringInputComboBox(); label2 = new Label(); grpEdit = new GroupBox(); btnPaste = new Button(); btnCopy = new Button(); btnCut = new Button(); grpEdit.SuspendLayout(); SuspendLayout(); // // label1 // label1.AutoSize = true; label1.Location = new Point(56, 23); label1.Name = "label1"; label1.Size = new Size(46, 13); label1.TabIndex = 1; label1.Text = "Texture:"; // // texBox // texBox.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; texBox.FormattingEnabled = true; texBox.Location = new Point(108, 20); texBox.Name = "texBox"; texBox.Size = new Size(288, 21); texBox.TabIndex = 2; texBox.ValueChanged += new EventHandler(TexChanged); // // pltBox // pltBox.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; pltBox.BackColor = SystemColors.Window; pltBox.FormattingEnabled = true; pltBox.Location = new Point(108, 47); pltBox.Name = "pltBox"; pltBox.Size = new Size(288, 21); pltBox.TabIndex = 4; pltBox.ValueChanged += new EventHandler(TexChanged); // // label2 // label2.AutoSize = true; label2.Location = new Point(59, 50); label2.Name = "label2"; label2.Size = new Size(43, 13); label2.TabIndex = 3; label2.Text = "Palette:"; // // grpEdit // grpEdit.Controls.Add(btnPaste); grpEdit.Controls.Add(pltBox); grpEdit.Controls.Add(btnCopy); grpEdit.Controls.Add(label1); grpEdit.Controls.Add(texBox); grpEdit.Controls.Add(btnCut); grpEdit.Controls.Add(label2); grpEdit.Dock = DockStyle.Fill; grpEdit.Location = new Point(0, 0); grpEdit.Name = "grpEdit"; grpEdit.Size = new Size(402, 77); grpEdit.TabIndex = 28; grpEdit.TabStop = false; grpEdit.Text = "Edit Frame"; // // btnPaste // btnPaste.Location = new Point(3, 54); btnPaste.Name = "btnPaste"; btnPaste.Size = new Size(50, 20); btnPaste.TabIndex = 26; btnPaste.Text = "Paste"; btnPaste.UseVisualStyleBackColor = true; btnPaste.Click += new EventHandler(btnPaste_Click); // // btnCopy // btnCopy.Location = new Point(3, 35); btnCopy.Name = "btnCopy"; btnCopy.Size = new Size(50, 20); btnCopy.TabIndex = 25; btnCopy.Text = "Copy"; btnCopy.UseVisualStyleBackColor = true; btnCopy.Click += new EventHandler(btnCopy_Click); // // btnCut // btnCut.Location = new Point(3, 16); btnCut.Name = "btnCut"; btnCut.Size = new Size(50, 20); btnCut.TabIndex = 24; btnCut.Text = "Cut"; btnCut.UseVisualStyleBackColor = true; btnCut.Click += new EventHandler(btnCut_Click); // // PAT0Editor // Controls.Add(grpEdit); MinimumSize = new Size(402, 77); Name = "PAT0Editor"; Size = new Size(402, 77); grpEdit.ResumeLayout(false); grpEdit.PerformLayout(); ResumeLayout(false); }
private void InitializeComponent() { groupBox1 = new GroupBox(); gettingStartedLabel = new GroupBox(); getStartedLabel1 = new Label(); getStartedLabel2 = new Label(); layerTreeView = new TreeView(); groupBox1.SuspendLayout(); gettingStartedLabel.SuspendLayout(); SuspendLayout(); groupBox1.Controls.Add(gettingStartedLabel); groupBox1.Controls.Add(layerTreeView); groupBox1.Dock = DockStyle.Fill; groupBox1.Location = new Point(0, 0); groupBox1.Name = "groupBox1"; groupBox1.Size = new Size(221, 237); groupBox1.TabIndex = 0; groupBox1.TabStop = false; groupBox1.Text = "Map Layers"; gettingStartedLabel.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; gettingStartedLabel.BackColor = SystemColors.ControlLightLight; gettingStartedLabel.Controls.Add(getStartedLabel1); gettingStartedLabel.Controls.Add(getStartedLabel2); gettingStartedLabel.Location = new Point(13, 23); gettingStartedLabel.Name = "gettingStartedLabel"; gettingStartedLabel.Size = new Size(196, 70); gettingStartedLabel.TabIndex = 3; gettingStartedLabel.TabStop = false; getStartedLabel1.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; getStartedLabel1.AutoSize = true; getStartedLabel1.BackColor = SystemColors.ControlLightLight; getStartedLabel1.Font = new Font("Microsoft Sans Serif", 11f, FontStyle.Regular, GraphicsUnit.Point, 0); getStartedLabel1.ForeColor = Color.Red; getStartedLabel1.Location = new Point(7, 11); getStartedLabel1.Name = "getStartedLabel1"; getStartedLabel1.Size = new Size(179, 22); getStartedLabel1.TabIndex = 1; getStartedLabel1.Text = "To get started, select"; getStartedLabel1.TextAlign = ContentAlignment.MiddleCenter; getStartedLabel2.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; getStartedLabel2.AutoSize = true; getStartedLabel2.BackColor = SystemColors.ControlLightLight; getStartedLabel2.Font = new Font("Microsoft Sans Serif", 11f, FontStyle.Regular, GraphicsUnit.Point, 0); getStartedLabel2.ForeColor = Color.Red; getStartedLabel2.Location = new Point(5, 36); getStartedLabel2.Name = "getStartedLabel2"; getStartedLabel2.Size = new Size(187, 22); getStartedLabel2.TabIndex = 2; getStartedLabel2.Text = "File | Add Source Map"; getStartedLabel2.TextAlign = ContentAlignment.MiddleCenter; layerTreeView.AllowDrop = true; layerTreeView.Dock = DockStyle.Fill; layerTreeView.HideSelection = false; layerTreeView.LabelEdit = true; layerTreeView.Location = new Point(3, 16); layerTreeView.Name = "layerTreeView"; layerTreeView.Size = new Size(215, 218); layerTreeView.TabIndex = 0; AutoScaleDimensions = new SizeF(6f, 13f); AutoScaleMode = AutoScaleMode.Font; Controls.Add(groupBox1); Name = "LayerControls"; Size = new Size(221, 237); groupBox1.ResumeLayout(false); gettingStartedLabel.ResumeLayout(false); gettingStartedLabel.PerformLayout(); ResumeLayout(false); }
protected override void InitializeComponent() { base.InitializeComponent(); SuspendLayout(); labelNumberSituation = new Label { AutoSize = true, Location = new System.Drawing.Point(12, 9), Name = "labelNumberSituation", Size = new System.Drawing.Size(93, 13), TabIndex = 0, Text = "Номер ситуации:" }; labelStartStateFFT = new Label { AutoSize = true, Location = new System.Drawing.Point(17, 65), Name = "labelStartStateFFT", Size = new System.Drawing.Size(138, 13), TabIndex = 2, Text = "По отклонению прогноза:" }; labelStartStatePUX = new Label { AutoSize = true, Location = new System.Drawing.Point(17, 26), Name = "labelStartStatePUX", Size = new System.Drawing.Size(158, 13), TabIndex = 0, Text = "По функции принадлежности:" }; labelEndStateFFT = new Label { AutoSize = true, Location = new System.Drawing.Point(17, 65), Name = "labelEndStateFFT", Size = new System.Drawing.Size(138, 13), TabIndex = 2, Text = "По отклонению прогноза:" }; labelEndStatePUX = new Label { AutoSize = true, Location = new System.Drawing.Point(17, 26), Name = "labelEndStatePUX", Size = new System.Drawing.Size(158, 13), TabIndex = 0, Text = "По функции принадлежности:" }; labelDescription = new Label { AutoSize = true, Location = new System.Drawing.Point(12, 253), Name = "labelDescription", Size = new System.Drawing.Size(60, 13), TabIndex = 4, Text = "Описание:" }; textBoxNumberSituation = new TextBox { Location = new System.Drawing.Point(111, 6), MaxLength = 3, Name = "textBoxNumberSituation", Size = new System.Drawing.Size(50, 20), TabIndex = 1, TextAlign = HorizontalAlignment.Right }; groupBoxStartState = new GroupBox { Location = new System.Drawing.Point(12, 32), Name = "groupBoxStartState", Size = new System.Drawing.Size(366, 101), TabIndex = 2, TabStop = false, Text = "Предыдущее состояние" }; groupBoxStartState.SuspendLayout(); groupBoxStartState.Controls.Add(comboBoxStartStateFT); groupBoxStartState.Controls.Add(labelStartStateFFT); groupBoxStartState.Controls.Add(comboBoxStartStateUX); groupBoxStartState.Controls.Add(labelStartStatePUX); comboBoxStartStateFT = new ComboBox { DropDownStyle = ComboBoxStyle.DropDownList, FormattingEnabled = true, Location = new System.Drawing.Point(181, 62), Name = "comboBoxStartStateFT", Size = new System.Drawing.Size(179, 21), TabIndex = 3 }; comboBoxStartStateUX = new ComboBox { DropDownStyle = ComboBoxStyle.DropDownList, FormattingEnabled = true, Location = new System.Drawing.Point(181, 23), Name = "comboBoxStartStateUX", Size = new System.Drawing.Size(179, 21), TabIndex = 1 }; groupBoxEndState = new GroupBox { Location = new System.Drawing.Point(12, 139), Name = "groupBoxEndState", Size = new System.Drawing.Size(366, 101), TabIndex = 3, TabStop = false, Text = "Текущее состояние" }; groupBoxEndState.SuspendLayout(); groupBoxEndState.Controls.Add(comboBoxEndStateFT); groupBoxEndState.Controls.Add(labelEndStateFFT); groupBoxEndState.Controls.Add(comboBoxEndStateUX); groupBoxEndState.Controls.Add(labelEndStatePUX); comboBoxEndStateFT = new ComboBox { DropDownStyle = ComboBoxStyle.DropDownList, FormattingEnabled = true, Location = new System.Drawing.Point(181, 62), Name = "comboBoxEndStateFT", Size = new System.Drawing.Size(179, 21), TabIndex = 3 }; comboBoxEndStateUX = new ComboBox { DropDownStyle = ComboBoxStyle.DropDownList, FormattingEnabled = true, Location = new System.Drawing.Point(181, 23), Name = "comboBoxEndStateUX", Size = new System.Drawing.Size(179, 21), TabIndex = 1 }; textBoxDescription = new TextBox { Location = new System.Drawing.Point(78, 250), Multiline = true, Name = "textBoxDescription", Size = new System.Drawing.Size(300, 50), TabIndex = 5 }; buttonClose.Location = new System.Drawing.Point(220, 316); buttonSave.Visible = false; ClientSize = new System.Drawing.Size(384, 352); Controls.Add(buttonClose); Controls.Add(textBoxDescription); Controls.Add(labelDescription); Controls.Add(groupBoxEndState); Controls.Add(groupBoxStartState); Controls.Add(textBoxNumberSituation); Controls.Add(labelNumberSituation); Name = "FormStatisticEntropy"; Text = "Статистика по энтропии"; groupBoxStartState.ResumeLayout(false); groupBoxStartState.PerformLayout(); groupBoxEndState.ResumeLayout(false); groupBoxEndState.PerformLayout(); ResumeLayout(false); PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(FrmStatistic)); label6 = new LabelControl(); groupBox3 = new GroupBox(); label1 = new Label(); checkEditbefore = new CheckEdit(); checkEditfrom = new CheckEdit(); dtpBefore = new DateEdit(); dtpFrom = new DateEdit(); btSearch = new SimpleButton(); btPrint = new SimpleButton(); radioGroup1 = new RadioGroup(); groupBox1 = new GroupControl(); lvObjects = new CheckedListBoxControl(); gridControl1 = new GridControl(); gridView1 = new GridView(); colDate = new GridColumn(); colObject = new GridColumn(); colDevice = new GridColumn(); colTraffic = new GridColumn(); colResult = new GridColumn(); colTime = new GridColumn(); labelControl1 = new LabelControl(); groupBox3.SuspendLayout(); checkEditbefore.Properties.BeginInit(); checkEditfrom.Properties.BeginInit(); dtpBefore.Properties.CalendarTimeProperties.BeginInit(); dtpBefore.Properties.BeginInit(); dtpFrom.Properties.CalendarTimeProperties.BeginInit(); dtpFrom.Properties.BeginInit(); radioGroup1.Properties.BeginInit(); groupBox1.BeginInit(); groupBox1.SuspendLayout(); lvObjects.BeginInit(); gridControl1.BeginInit(); gridView1.BeginInit(); SuspendLayout(); componentResourceManager.ApplyResources(label6, "label6"); label6.Appearance.Font = (Font)componentResourceManager.GetObject("label6.Appearance.Font"); label6.Name = "label6"; componentResourceManager.ApplyResources(groupBox3, "groupBox3"); groupBox3.Controls.Add(label1); groupBox3.Controls.Add(checkEditbefore); groupBox3.Controls.Add(checkEditfrom); groupBox3.Controls.Add(dtpBefore); groupBox3.Controls.Add(dtpFrom); groupBox3.Name = "groupBox3"; groupBox3.TabStop = false; componentResourceManager.ApplyResources(label1, "label1"); label1.Name = "label1"; componentResourceManager.ApplyResources(checkEditbefore, "checkEditbefore"); checkEditbefore.Name = "checkEditbefore"; checkEditbefore.Properties.Appearance.Font = (Font)componentResourceManager.GetObject("checkEditbefore.Properties.Appearance.Font"); checkEditbefore.Properties.Appearance.Options.UseFont = true; checkEditbefore.Properties.Caption = componentResourceManager.GetString("checkEditbefore.Properties.Caption"); checkEditbefore.CheckedChanged += checkEditbefore_CheckedChanged; componentResourceManager.ApplyResources(checkEditfrom, "checkEditfrom"); checkEditfrom.Name = "checkEditfrom"; checkEditfrom.Properties.Appearance.Font = (Font)componentResourceManager.GetObject("checkEditfrom.Properties.Appearance.Font"); checkEditfrom.Properties.Appearance.Options.UseFont = true; checkEditfrom.Properties.Caption = componentResourceManager.GetString("checkEditfrom.Properties.Caption"); checkEditfrom.CheckedChanged += checkEditfrom_CheckedChanged; componentResourceManager.ApplyResources(dtpBefore, "dtpBefore"); dtpBefore.Name = "dtpBefore"; dtpBefore.Properties.Appearance.Font = (Font)componentResourceManager.GetObject("dtpBefore.Properties.Appearance.Font"); dtpBefore.Properties.Appearance.Options.UseFont = true; dtpBefore.Properties.CalendarTimeProperties.Buttons.AddRange(new EditorButton[1] { new EditorButton() }); componentResourceManager.ApplyResources(dtpFrom, "dtpFrom"); dtpFrom.Name = "dtpFrom"; dtpFrom.Properties.Appearance.Font = (Font)componentResourceManager.GetObject("dtpFrom.Properties.Appearance.Font"); dtpFrom.Properties.Appearance.Options.UseFont = true; dtpFrom.Properties.CalendarTimeProperties.Buttons.AddRange(new EditorButton[1] { new EditorButton() }); componentResourceManager.ApplyResources(btSearch, "btSearch"); btSearch.Appearance.Font = (Font)componentResourceManager.GetObject("btSearch.Appearance.Font"); btSearch.Appearance.Options.UseFont = true; btSearch.Name = "btSearch"; btSearch.Click += btSearch_Click; componentResourceManager.ApplyResources(btPrint, "btPrint"); btPrint.Appearance.Font = (Font)componentResourceManager.GetObject("btPrint.Appearance.Font"); btPrint.Appearance.Options.UseFont = true; btPrint.Name = "btPrint"; btPrint.Click += btPrint_Click; componentResourceManager.ApplyResources(radioGroup1, "radioGroup1"); radioGroup1.Name = "radioGroup1"; radioGroup1.Properties.Appearance.Font = (Font)componentResourceManager.GetObject("radioGroup1.Properties.Appearance.Font"); radioGroup1.Properties.Appearance.Options.UseFont = true; radioGroup1.Properties.Items.AddRange(new RadioGroupItem[4] { new RadioGroupItem(componentResourceManager.GetObject("radioGroup1.Properties.Items"), componentResourceManager.GetString("radioGroup1.Properties.Items1")), new RadioGroupItem(componentResourceManager.GetObject("radioGroup1.Properties.Items2"), componentResourceManager.GetString("radioGroup1.Properties.Items3")), new RadioGroupItem(componentResourceManager.GetObject("radioGroup1.Properties.Items4"), componentResourceManager.GetString("radioGroup1.Properties.Items5")), new RadioGroupItem(componentResourceManager.GetObject("radioGroup1.Properties.Items6"), componentResourceManager.GetString("radioGroup1.Properties.Items7")) }); radioGroup1.SelectedIndexChanged += radioGroup1_SelectedIndexChanged; groupBox1.AppearanceCaption.Font = (Font)componentResourceManager.GetObject("groupBox1.AppearanceCaption.Font"); groupBox1.AppearanceCaption.Options.UseFont = true; groupBox1.Controls.Add(radioGroup1); componentResourceManager.ApplyResources(groupBox1, "groupBox1"); groupBox1.Name = "groupBox1"; groupBox1.ShowCaption = false; componentResourceManager.ApplyResources(lvObjects, "lvObjects"); lvObjects.Appearance.Font = (Font)componentResourceManager.GetObject("lvObjects.Appearance.Font"); lvObjects.Appearance.Options.UseFont = true; lvObjects.Name = "lvObjects"; componentResourceManager.ApplyResources(gridControl1, "gridControl1"); gridControl1.LookAndFeel.SkinName = "Office 2007 Blue"; gridControl1.MainView = gridView1; gridControl1.Name = "gridControl1"; gridControl1.ViewCollection.AddRange(new BaseView[1] { gridView1 }); gridView1.Appearance.ColumnFilterButton.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.ColumnFilterButton.BackColor"); gridView1.Appearance.ColumnFilterButton.BackColor2 = (Color)componentResourceManager.GetObject("gridView1.Appearance.ColumnFilterButton.BackColor2"); gridView1.Appearance.ColumnFilterButton.BorderColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.ColumnFilterButton.BorderColor"); gridView1.Appearance.ColumnFilterButton.ForeColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.ColumnFilterButton.ForeColor"); gridView1.Appearance.ColumnFilterButton.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.ColumnFilterButton.GradientMode"); gridView1.Appearance.ColumnFilterButton.Options.UseBackColor = true; gridView1.Appearance.ColumnFilterButton.Options.UseBorderColor = true; gridView1.Appearance.ColumnFilterButton.Options.UseForeColor = true; gridView1.Appearance.ColumnFilterButtonActive.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.ColumnFilterButtonActive.BackColor"); gridView1.Appearance.ColumnFilterButtonActive.BackColor2 = (Color)componentResourceManager.GetObject("gridView1.Appearance.ColumnFilterButtonActive.BackColor2"); gridView1.Appearance.ColumnFilterButtonActive.BorderColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.ColumnFilterButtonActive.BorderColor"); gridView1.Appearance.ColumnFilterButtonActive.ForeColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.ColumnFilterButtonActive.ForeColor"); gridView1.Appearance.ColumnFilterButtonActive.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.ColumnFilterButtonActive.GradientMode"); gridView1.Appearance.ColumnFilterButtonActive.Options.UseBackColor = true; gridView1.Appearance.ColumnFilterButtonActive.Options.UseBorderColor = true; gridView1.Appearance.ColumnFilterButtonActive.Options.UseForeColor = true; gridView1.Appearance.Empty.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.Empty.BackColor"); gridView1.Appearance.Empty.Options.UseBackColor = true; gridView1.Appearance.EvenRow.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.EvenRow.BackColor"); gridView1.Appearance.EvenRow.ForeColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.EvenRow.ForeColor"); gridView1.Appearance.EvenRow.Options.UseBackColor = true; gridView1.Appearance.EvenRow.Options.UseForeColor = true; gridView1.Appearance.FilterCloseButton.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.FilterCloseButton.BackColor"); gridView1.Appearance.FilterCloseButton.BackColor2 = (Color)componentResourceManager.GetObject("gridView1.Appearance.FilterCloseButton.BackColor2"); gridView1.Appearance.FilterCloseButton.BorderColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.FilterCloseButton.BorderColor"); gridView1.Appearance.FilterCloseButton.ForeColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.FilterCloseButton.ForeColor"); gridView1.Appearance.FilterCloseButton.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.FilterCloseButton.GradientMode"); gridView1.Appearance.FilterCloseButton.Options.UseBackColor = true; gridView1.Appearance.FilterCloseButton.Options.UseBorderColor = true; gridView1.Appearance.FilterCloseButton.Options.UseForeColor = true; gridView1.Appearance.FilterPanel.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.FilterPanel.BackColor"); gridView1.Appearance.FilterPanel.ForeColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.FilterPanel.ForeColor"); gridView1.Appearance.FilterPanel.Options.UseBackColor = true; gridView1.Appearance.FilterPanel.Options.UseForeColor = true; gridView1.Appearance.FixedLine.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.FixedLine.BackColor"); gridView1.Appearance.FixedLine.Options.UseBackColor = true; gridView1.Appearance.FocusedCell.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.FocusedCell.BackColor"); gridView1.Appearance.FocusedCell.ForeColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.FocusedCell.ForeColor"); gridView1.Appearance.FocusedCell.Options.UseBackColor = true; gridView1.Appearance.FocusedCell.Options.UseForeColor = true; gridView1.Appearance.FocusedRow.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.FocusedRow.BackColor"); gridView1.Appearance.FocusedRow.ForeColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.FocusedRow.ForeColor"); gridView1.Appearance.FocusedRow.Options.UseBackColor = true; gridView1.Appearance.FocusedRow.Options.UseForeColor = true; gridView1.Appearance.FooterPanel.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.FooterPanel.BackColor"); gridView1.Appearance.FooterPanel.BackColor2 = (Color)componentResourceManager.GetObject("gridView1.Appearance.FooterPanel.BackColor2"); gridView1.Appearance.FooterPanel.BorderColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.FooterPanel.BorderColor"); gridView1.Appearance.FooterPanel.ForeColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.FooterPanel.ForeColor"); gridView1.Appearance.FooterPanel.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.FooterPanel.GradientMode"); gridView1.Appearance.FooterPanel.Options.UseBackColor = true; gridView1.Appearance.FooterPanel.Options.UseBorderColor = true; gridView1.Appearance.FooterPanel.Options.UseForeColor = true; gridView1.Appearance.GroupButton.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.GroupButton.BackColor"); gridView1.Appearance.GroupButton.BorderColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.GroupButton.BorderColor"); gridView1.Appearance.GroupButton.ForeColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.GroupButton.ForeColor"); gridView1.Appearance.GroupButton.Options.UseBackColor = true; gridView1.Appearance.GroupButton.Options.UseBorderColor = true; gridView1.Appearance.GroupButton.Options.UseForeColor = true; gridView1.Appearance.GroupFooter.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.GroupFooter.BackColor"); gridView1.Appearance.GroupFooter.BorderColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.GroupFooter.BorderColor"); gridView1.Appearance.GroupFooter.ForeColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.GroupFooter.ForeColor"); gridView1.Appearance.GroupFooter.Options.UseBackColor = true; gridView1.Appearance.GroupFooter.Options.UseBorderColor = true; gridView1.Appearance.GroupFooter.Options.UseForeColor = true; gridView1.Appearance.GroupPanel.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.GroupPanel.BackColor"); gridView1.Appearance.GroupPanel.ForeColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.GroupPanel.ForeColor"); gridView1.Appearance.GroupPanel.Options.UseBackColor = true; gridView1.Appearance.GroupPanel.Options.UseForeColor = true; gridView1.Appearance.GroupRow.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.GroupRow.BackColor"); gridView1.Appearance.GroupRow.BorderColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.GroupRow.BorderColor"); gridView1.Appearance.GroupRow.Font = (Font)componentResourceManager.GetObject("gridView1.Appearance.GroupRow.Font"); gridView1.Appearance.GroupRow.ForeColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.GroupRow.ForeColor"); gridView1.Appearance.GroupRow.Options.UseBackColor = true; gridView1.Appearance.GroupRow.Options.UseBorderColor = true; gridView1.Appearance.GroupRow.Options.UseFont = true; gridView1.Appearance.GroupRow.Options.UseForeColor = true; gridView1.Appearance.HeaderPanel.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.HeaderPanel.BackColor"); gridView1.Appearance.HeaderPanel.BackColor2 = (Color)componentResourceManager.GetObject("gridView1.Appearance.HeaderPanel.BackColor2"); gridView1.Appearance.HeaderPanel.BorderColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.HeaderPanel.BorderColor"); gridView1.Appearance.HeaderPanel.Font = (Font)componentResourceManager.GetObject("gridView1.Appearance.HeaderPanel.Font"); gridView1.Appearance.HeaderPanel.ForeColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.HeaderPanel.ForeColor"); gridView1.Appearance.HeaderPanel.GradientMode = (LinearGradientMode)componentResourceManager.GetObject("gridView1.Appearance.HeaderPanel.GradientMode"); gridView1.Appearance.HeaderPanel.Options.UseBackColor = true; gridView1.Appearance.HeaderPanel.Options.UseBorderColor = true; gridView1.Appearance.HeaderPanel.Options.UseFont = true; gridView1.Appearance.HeaderPanel.Options.UseForeColor = true; gridView1.Appearance.HideSelectionRow.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.HideSelectionRow.BackColor"); gridView1.Appearance.HideSelectionRow.ForeColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.HideSelectionRow.ForeColor"); gridView1.Appearance.HideSelectionRow.Options.UseBackColor = true; gridView1.Appearance.HideSelectionRow.Options.UseForeColor = true; gridView1.Appearance.HorzLine.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.HorzLine.BackColor"); gridView1.Appearance.HorzLine.Options.UseBackColor = true; gridView1.Appearance.OddRow.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.OddRow.BackColor"); gridView1.Appearance.OddRow.ForeColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.OddRow.ForeColor"); gridView1.Appearance.OddRow.Options.UseBackColor = true; gridView1.Appearance.OddRow.Options.UseForeColor = true; gridView1.Appearance.Preview.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.Preview.BackColor"); gridView1.Appearance.Preview.ForeColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.Preview.ForeColor"); gridView1.Appearance.Preview.Options.UseBackColor = true; gridView1.Appearance.Preview.Options.UseForeColor = true; gridView1.Appearance.Row.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.Row.BackColor"); gridView1.Appearance.Row.ForeColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.Row.ForeColor"); gridView1.Appearance.Row.Options.UseBackColor = true; gridView1.Appearance.Row.Options.UseForeColor = true; gridView1.Appearance.RowSeparator.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.RowSeparator.BackColor"); gridView1.Appearance.RowSeparator.Options.UseBackColor = true; gridView1.Appearance.SelectedRow.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.SelectedRow.BackColor"); gridView1.Appearance.SelectedRow.ForeColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.SelectedRow.ForeColor"); gridView1.Appearance.SelectedRow.Options.UseBackColor = true; gridView1.Appearance.SelectedRow.Options.UseForeColor = true; gridView1.Appearance.VertLine.BackColor = (Color)componentResourceManager.GetObject("gridView1.Appearance.VertLine.BackColor"); gridView1.Appearance.VertLine.Options.UseBackColor = true; gridView1.Columns.AddRange(new GridColumn[6] { colDate, colObject, colDevice, colTraffic, colResult, colTime }); gridView1.GridControl = gridControl1; gridView1.Name = "gridView1"; gridView1.OptionsFind.ClearFindOnClose = false; gridView1.OptionsFind.FindDelay = 10000; gridView1.OptionsFind.FindMode = FindMode.Always; gridView1.OptionsFind.ShowCloseButton = false; gridView1.OptionsSelection.MultiSelect = true; gridView1.OptionsView.EnableAppearanceEvenRow = true; gridView1.OptionsView.EnableAppearanceOddRow = true; gridView1.OptionsView.ShowFooter = true; gridView1.OptionsView.ShowGroupPanel = false; componentResourceManager.ApplyResources(colDate, "colDate"); colDate.FieldName = "Date"; colDate.Name = "colDate"; colDate.OptionsColumn.AllowEdit = false; colDate.OptionsColumn.ReadOnly = true; componentResourceManager.ApplyResources(colObject, "colObject"); colObject.FieldName = "Object"; colObject.Name = "colObject"; colObject.OptionsColumn.AllowEdit = false; colObject.OptionsColumn.ReadOnly = true; componentResourceManager.ApplyResources(colDevice, "colDevice"); colDevice.FieldName = "Position"; colDevice.Name = "colDevice"; colDevice.OptionsColumn.AllowEdit = false; colDevice.OptionsColumn.ReadOnly = true; componentResourceManager.ApplyResources(colTraffic, "colTraffic"); colTraffic.FieldName = "Traffic"; colTraffic.Name = "colTraffic"; colTraffic.OptionsColumn.AllowEdit = false; colTraffic.Summary.AddRange(new GridSummaryItem[1] { new GridColumnSummaryItem((SummaryItemType)componentResourceManager.GetObject("colTraffic.Summary")) }); componentResourceManager.ApplyResources(colResult, "colResult"); colResult.FieldName = "Result"; colResult.Name = "colResult"; colResult.OptionsColumn.AllowEdit = false; colResult.Summary.AddRange(new GridSummaryItem[1] { new GridColumnSummaryItem((SummaryItemType)componentResourceManager.GetObject("colResult.Summary")) }); componentResourceManager.ApplyResources(colTime, "colTime"); colTime.DisplayFormat.FormatString = "HH:mm"; colTime.DisplayFormat.FormatType = FormatType.DateTime; colTime.FieldName = "Time"; colTime.Name = "colTime"; labelControl1.Appearance.Font = (Font)componentResourceManager.GetObject("labelControl1.Appearance.Font"); componentResourceManager.ApplyResources(labelControl1, "labelControl1"); labelControl1.Name = "labelControl1"; Appearance.Options.UseFont = true; AutoScaleMode = AutoScaleMode.None; componentResourceManager.ApplyResources(this, "$this"); ControlBox = false; Controls.Add(labelControl1); Controls.Add(gridControl1); Controls.Add(lvObjects); Controls.Add(groupBox3); Controls.Add(groupBox1); Controls.Add(btSearch); Controls.Add(btPrint); Controls.Add(label6); FormBorderStyle = FormBorderStyle.None; MaximizeBox = false; MinimizeBox = false; Name = "FrmStatistic"; WindowState = FormWindowState.Maximized; Load += frmStatistic_Load; Resize += frmStatistic_Resize; groupBox3.ResumeLayout(false); groupBox3.PerformLayout(); checkEditbefore.Properties.EndInit(); checkEditfrom.Properties.EndInit(); dtpBefore.Properties.CalendarTimeProperties.EndInit(); dtpBefore.Properties.EndInit(); dtpFrom.Properties.CalendarTimeProperties.EndInit(); dtpFrom.Properties.EndInit(); radioGroup1.Properties.EndInit(); groupBox1.EndInit(); groupBox1.ResumeLayout(false); lvObjects.EndInit(); gridControl1.EndInit(); gridView1.EndInit(); ResumeLayout(false); PerformLayout(); }
private void InitializeComponent() { tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); webBrowser1 = new System.Windows.Forms.WebBrowser(); tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); groupBox1 = new System.Windows.Forms.GroupBox(); textBox2 = new System.Windows.Forms.TextBox(); tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); button1 = new System.Windows.Forms.Button(); button2 = new System.Windows.Forms.Button(); groupBox2 = new System.Windows.Forms.GroupBox(); tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel(); tableLayoutPanel5 = new System.Windows.Forms.TableLayoutPanel(); label1 = new System.Windows.Forms.Label(); label2 = new System.Windows.Forms.Label(); textBox1 = new System.Windows.Forms.TextBox(); comboBox1 = new System.Windows.Forms.ComboBox(); tableLayoutPanel6 = new System.Windows.Forms.TableLayoutPanel(); button3 = new System.Windows.Forms.Button(); button4 = new System.Windows.Forms.Button(); statusStrip1 = new System.Windows.Forms.StatusStrip(); toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel(); toolStripStatusLabel2 = new System.Windows.Forms.ToolStripStatusLabel(); toolStripStatusLabel3 = new System.Windows.Forms.ToolStripStatusLabel(); toolStripStatusLabel4 = new System.Windows.Forms.ToolStripStatusLabel(); toolStripStatusLabel5 = new System.Windows.Forms.ToolStripStatusLabel(); tableLayoutPanel1.SuspendLayout(); tableLayoutPanel2.SuspendLayout(); groupBox1.SuspendLayout(); tableLayoutPanel3.SuspendLayout(); groupBox2.SuspendLayout(); tableLayoutPanel4.SuspendLayout(); tableLayoutPanel5.SuspendLayout(); tableLayoutPanel6.SuspendLayout(); statusStrip1.SuspendLayout(); SuspendLayout(); bgWorker = new System.ComponentModel.BackgroundWorker(); tableLayoutPanel1.ColumnCount = 1; tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100f)); tableLayoutPanel1.Controls.Add(webBrowser1, 0, 0); tableLayoutPanel1.Controls.Add(tableLayoutPanel2, 0, 1); tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(0); tableLayoutPanel1.Name = "tableLayoutPanel1"; tableLayoutPanel1.RowCount = 2; tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 77.77778f)); tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 22.22222f)); tableLayoutPanel1.Size = new System.Drawing.Size(800, 600); tableLayoutPanel1.TabIndex = 0; webBrowser1.Anchor = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right); webBrowser1.IsWebBrowserContextMenuEnabled = false; webBrowser1.Location = new System.Drawing.Point(0, 0); webBrowser1.Margin = new System.Windows.Forms.Padding(0); webBrowser1.MinimumSize = new System.Drawing.Size(20, 20); webBrowser1.Name = "webBrowser1"; webBrowser1.ScrollBarsEnabled = false; webBrowser1.Size = new System.Drawing.Size(800, 466); webBrowser1.TabIndex = 0; tableLayoutPanel2.ColumnCount = 3; tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 35f)); tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 15f)); tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50f)); tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20f)); tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20f)); tableLayoutPanel2.Controls.Add(groupBox1, 0, 0); tableLayoutPanel2.Controls.Add(tableLayoutPanel3, 1, 0); tableLayoutPanel2.Controls.Add(groupBox2, 2, 0); tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; tableLayoutPanel2.Location = new System.Drawing.Point(0, 476); tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(0, 10, 0, 0); tableLayoutPanel2.Name = "tableLayoutPanel2"; tableLayoutPanel2.RowCount = 1; tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100f)); tableLayoutPanel2.Size = new System.Drawing.Size(800, 124); tableLayoutPanel2.TabIndex = 1; groupBox1.Anchor = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right); groupBox1.Controls.Add(textBox2); groupBox1.ForeColor = System.Drawing.SystemColors.HotTrack; groupBox1.Location = new System.Drawing.Point(3, 3); groupBox1.Name = "groupBox1"; groupBox1.Size = new System.Drawing.Size(274, 118); groupBox1.TabIndex = 0; groupBox1.TabStop = false; groupBox1.Text = "操作日志"; groupBox1.Margin = new System.Windows.Forms.Padding(10, 0, 0, 0); textBox2.Dock = System.Windows.Forms.DockStyle.Fill; textBox2.Location = new System.Drawing.Point(3, 21); textBox2.Multiline = true; textBox2.Name = "textBox2"; textBox2.ReadOnly = true; textBox2.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; textBox2.Size = new System.Drawing.Size(268, 94); textBox2.TabIndex = 0; tableLayoutPanel3.ColumnCount = 1; tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50f)); tableLayoutPanel3.Controls.Add(button1, 0, 0); tableLayoutPanel3.Controls.Add(button2, 0, 1); tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill; tableLayoutPanel3.Location = new System.Drawing.Point(283, 3); tableLayoutPanel3.Name = "tableLayoutPanel3"; tableLayoutPanel3.RowCount = 2; tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50f)); tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50f)); tableLayoutPanel3.Size = new System.Drawing.Size(114, 118); tableLayoutPanel3.TabIndex = 1; button1.Anchor = System.Windows.Forms.AnchorStyles.None; button1.Location = new System.Drawing.Point(19, 18); button1.Name = "button1"; button1.Size = new System.Drawing.Size(75, 23); button1.TabIndex = 0; button1.Text = "修改定位"; button1.UseVisualStyleBackColor = true; button1.Click += new System.EventHandler(button1_Click); button2.Anchor = System.Windows.Forms.AnchorStyles.None; button2.Location = new System.Drawing.Point(19, 77); button2.Name = "button2"; button2.Size = new System.Drawing.Size(75, 23); button2.TabIndex = 1; button2.Text = "还原定位"; button2.UseVisualStyleBackColor = true; button2.Click += new System.EventHandler(button2_Click); groupBox2.Anchor = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right); groupBox2.Controls.Add(tableLayoutPanel4); groupBox2.ForeColor = System.Drawing.SystemColors.HotTrack; groupBox2.Location = new System.Drawing.Point(403, 3); groupBox2.Name = "groupBox2"; groupBox2.Size = new System.Drawing.Size(394, 118); groupBox2.TabIndex = 2; groupBox2.TabStop = false; groupBox2.Text = "常用位置"; tableLayoutPanel4.ColumnCount = 2; tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 70f)); tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30f)); tableLayoutPanel4.Controls.Add(tableLayoutPanel5, 0, 0); tableLayoutPanel4.Controls.Add(tableLayoutPanel6, 1, 0); tableLayoutPanel4.Dock = System.Windows.Forms.DockStyle.Fill; tableLayoutPanel4.Location = new System.Drawing.Point(3, 21); tableLayoutPanel4.Name = "tableLayoutPanel4"; tableLayoutPanel4.RowCount = 1; tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100f)); tableLayoutPanel4.Size = new System.Drawing.Size(388, 94); tableLayoutPanel4.TabIndex = 0; tableLayoutPanel5.Anchor = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right); tableLayoutPanel5.ColumnCount = 2; tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 44.15094f)); tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 55.84906f)); tableLayoutPanel5.Controls.Add(label2, 0, 0); tableLayoutPanel5.Controls.Add(label1, 0, 1); tableLayoutPanel5.Controls.Add(comboBox1, 1, 1); tableLayoutPanel5.Controls.Add(textBox1, 1, 0); tableLayoutPanel5.Location = new System.Drawing.Point(3, 3); tableLayoutPanel5.Name = "tableLayoutPanel5"; tableLayoutPanel5.RowCount = 2; tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50f)); tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50f)); tableLayoutPanel5.Size = new System.Drawing.Size(265, 88); tableLayoutPanel5.TabIndex = 0; label1.Anchor = System.Windows.Forms.AnchorStyles.None; label1.AutoSize = true; label1.ForeColor = System.Drawing.SystemColors.Desktop; label1.Location = new System.Drawing.Point(17, 14); label1.Name = "label1"; label1.Size = new System.Drawing.Size(82, 15); label1.TabIndex = 0; label1.Text = "常用位置:"; label2.Anchor = System.Windows.Forms.AnchorStyles.None; label2.AutoSize = true; label2.ForeColor = System.Drawing.SystemColors.Desktop; label2.Location = new System.Drawing.Point(17, 58); label2.Name = "label2"; label2.Size = new System.Drawing.Size(82, 15); label2.TabIndex = 1; label2.Text = "位置别名:"; textBox1.Anchor = (System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right); textBox1.Location = new System.Drawing.Point(119, 53); textBox1.Name = "textBox1"; textBox1.Size = new System.Drawing.Size(143, 25); textBox1.TabIndex = 2; comboBox1.Anchor = (System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right); comboBox1.FormattingEnabled = true; comboBox1.Location = new System.Drawing.Point(119, 10); comboBox1.Name = "comboBox1"; comboBox1.Size = new System.Drawing.Size(143, 23); comboBox1.TabIndex = 3; comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; comboBox1.DisplayMember = "Key"; comboBox1.ValueMember = "Value"; comboBox1.SelectedIndexChanged += new System.EventHandler(comboBox1_SelectedIndexChanged); tableLayoutPanel6.Anchor = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right); tableLayoutPanel6.ColumnCount = 1; tableLayoutPanel6.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50f)); tableLayoutPanel6.Controls.Add(button3, 0, 0); tableLayoutPanel6.Controls.Add(button4, 0, 1); tableLayoutPanel6.Location = new System.Drawing.Point(274, 3); tableLayoutPanel6.Name = "tableLayoutPanel6"; tableLayoutPanel6.RowCount = 2; tableLayoutPanel6.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50f)); tableLayoutPanel6.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50f)); tableLayoutPanel6.Size = new System.Drawing.Size(111, 88); tableLayoutPanel6.TabIndex = 1; button3.Anchor = (System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right); button3.ForeColor = System.Drawing.SystemColors.Desktop; button3.Location = new System.Drawing.Point(3, 10); button3.Name = "button3"; button3.Size = new System.Drawing.Size(105, 23); button3.TabIndex = 0; button3.Text = "保存常用位置"; button3.UseVisualStyleBackColor = true; button3.Click += new System.EventHandler(button3_Click); button4.Anchor = (System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right); button4.ForeColor = System.Drawing.SystemColors.Desktop; button4.Location = new System.Drawing.Point(3, 54); button4.Name = "button4"; button4.Size = new System.Drawing.Size(105, 23); button4.TabIndex = 1; button4.Text = "删除常用位置"; button4.UseVisualStyleBackColor = true; button4.Click += new System.EventHandler(button4_Click); statusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[5] { toolStripStatusLabel1, toolStripStatusLabel2, toolStripStatusLabel4, toolStripStatusLabel5, toolStripStatusLabel3 }); statusStrip1.Location = new System.Drawing.Point(0, 574); statusStrip1.Name = "statusStrip1"; statusStrip1.Size = new System.Drawing.Size(800, 36); statusStrip1.TabIndex = 1; statusStrip1.Text = "statusStrip1"; statusStrip1.SizingGrip = false; toolStripStatusLabel1.Name = "toolStripStatusLabel1"; toolStripStatusLabel1.Size = new System.Drawing.Size(84, 20); toolStripStatusLabel1.Text = "当前设备:"; toolStripStatusLabel2.Name = "toolStripStatusLabel2"; toolStripStatusLabel2.Size = new System.Drawing.Size(151, 20); toolStripStatusLabel2.Text = "未连接"; toolStripStatusLabel3.IsLink = true; toolStripStatusLabel3.Margin = new System.Windows.Forms.Padding(10, 3, 0, 2); toolStripStatusLabel3.Name = "toolStripStatusLabel3"; toolStripStatusLabel3.Size = new System.Drawing.Size(69, 20); toolStripStatusLabel3.Text = "激活卡密"; toolStripStatusLabel3.Click += new System.EventHandler(toolStripStatusLabel3_Click); toolStripStatusLabel4.Name = "toolStripStatusLabel4"; toolStripStatusLabel4.Size = new System.Drawing.Size(54, 20); toolStripStatusLabel4.Text = "到期时间:"; toolStripStatusLabel5.Name = "toolStripStatusLabel5"; toolStripStatusLabel5.Size = new System.Drawing.Size(54, 20); toolStripStatusLabel5.Text = "卡密已过期"; bgWorker.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(bgWorker_RunWorkerCompleted); base.AutoScaleDimensions = new System.Drawing.SizeF(8f, 15f); base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; int width = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width; int height = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height; base.ClientSize = new System.Drawing.Size(width / 10 * 5, height / 10 * 5); base.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; base.Icon = iFakeLocation.Properties.Resources.logo; base.Controls.Add(tableLayoutPanel1); base.Name = "MainForm"; Text = iFakeLocation.Properties.Resources.name + " v" + iFakeLocation.Properties.Resources.version; base.Controls.Add(statusStrip1); tableLayoutPanel1.ResumeLayout(false); tableLayoutPanel2.ResumeLayout(false); groupBox1.ResumeLayout(false); groupBox1.PerformLayout(); tableLayoutPanel3.ResumeLayout(false); groupBox2.ResumeLayout(false); tableLayoutPanel4.ResumeLayout(false); tableLayoutPanel5.ResumeLayout(false); tableLayoutPanel5.PerformLayout(); tableLayoutPanel6.ResumeLayout(false); statusStrip1.ResumeLayout(false); statusStrip1.PerformLayout(); ResumeLayout(false); }
private void InitializeComponent() { ComponentResourceManager resources = new ComponentResourceManager(typeof(BinaryEditor)); _byteViewer = new ByteViewer(); _buttonOK = new Button(); _buttonSave = new Button(); _groupBoxMode = new GroupBox(); _radioButtonsTableLayoutPanel = new TableLayoutPanel(); _radioUnicode = new RadioButton(); _radioAuto = new RadioButton(); _radioAnsi = new RadioButton(); _radioHex = new RadioButton(); _okSaveTableLayoutPanel = new TableLayoutPanel(); _overarchingTableLayoutPanel = new TableLayoutPanel(); _byteViewer.SuspendLayout(); _groupBoxMode.SuspendLayout(); _radioButtonsTableLayoutPanel.SuspendLayout(); _okSaveTableLayoutPanel.SuspendLayout(); _overarchingTableLayoutPanel.SuspendLayout(); SuspendLayout(); // // byteViewer // resources.ApplyResources(_byteViewer, "byteViewer"); _byteViewer.SetDisplayMode(DisplayMode.Auto); _byteViewer.Name = "byteViewer"; _byteViewer.Margin = Padding.Empty; _byteViewer.Dock = DockStyle.Fill; // // buttonOK // resources.ApplyResources(_buttonOK, "buttonOK"); _buttonOK.AutoSizeMode = AutoSizeMode.GrowAndShrink; _buttonOK.DialogResult = DialogResult.OK; _buttonOK.Margin = new Padding(0, 0, 3, 0); _buttonOK.MinimumSize = new Size(75, 23); _buttonOK.Name = "buttonOK"; _buttonOK.Padding = new Padding(10, 0, 10, 0); _buttonOK.Click += new EventHandler(ButtonOK_click); // // buttonSave // resources.ApplyResources(_buttonSave, "buttonSave"); _buttonSave.AutoSizeMode = AutoSizeMode.GrowAndShrink; _buttonSave.Margin = new Padding(3, 0, 0, 0); _buttonSave.MinimumSize = new Size(75, 23); _buttonSave.Name = "buttonSave"; _buttonSave.Padding = new Padding(10, 0, 10, 0); _buttonSave.Click += new EventHandler(ButtonSave_click); // // groupBoxMode // resources.ApplyResources(_groupBoxMode, "groupBoxMode"); _groupBoxMode.AutoSizeMode = AutoSizeMode.GrowAndShrink; _groupBoxMode.Controls.Add(_radioButtonsTableLayoutPanel); _groupBoxMode.Margin = new Padding(0, 3, 0, 3); _groupBoxMode.Name = "groupBoxMode"; _groupBoxMode.Padding = new Padding(0); _groupBoxMode.TabStop = false; // // radioButtonsTableLayoutPanel // resources.ApplyResources(_radioButtonsTableLayoutPanel, "radioButtonsTableLayoutPanel"); _radioButtonsTableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 25F)); _radioButtonsTableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 25F)); _radioButtonsTableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 25F)); _radioButtonsTableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 25F)); _radioButtonsTableLayoutPanel.Controls.Add(_radioUnicode, 3, 0); _radioButtonsTableLayoutPanel.Controls.Add(_radioAuto, 0, 0); _radioButtonsTableLayoutPanel.Controls.Add(_radioAnsi, 2, 0); _radioButtonsTableLayoutPanel.Controls.Add(_radioHex, 1, 0); _radioButtonsTableLayoutPanel.Margin = new Padding(9); _radioButtonsTableLayoutPanel.Name = "radioButtonsTableLayoutPanel"; _radioButtonsTableLayoutPanel.RowStyles.Add(new RowStyle()); // // radioUnicode // resources.ApplyResources(_radioUnicode, "radioUnicode"); _radioUnicode.Margin = new Padding(3, 0, 0, 0); _radioUnicode.Name = "radioUnicode"; _radioUnicode.CheckedChanged += new EventHandler(RadioUnicode_checkedChanged); // // radioAuto // resources.ApplyResources(_radioAuto, "radioAuto"); _radioAuto.Checked = true; _radioAuto.Margin = new Padding(0, 0, 3, 0); _radioAuto.Name = "radioAuto"; _radioAuto.CheckedChanged += new EventHandler(RadioAuto_checkedChanged); // // radioAnsi // resources.ApplyResources(_radioAnsi, "radioAnsi"); _radioAnsi.Margin = new Padding(3, 0, 3, 0); _radioAnsi.Name = "radioAnsi"; _radioAnsi.CheckedChanged += new EventHandler(RadioAnsi_checkedChanged); // // radioHex // resources.ApplyResources(_radioHex, "radioHex"); _radioHex.Margin = new Padding(3, 0, 3, 0); _radioHex.Name = "radioHex"; _radioHex.CheckedChanged += new EventHandler(RadioHex_checkedChanged); // // okSaveTableLayoutPanel // resources.ApplyResources(_okSaveTableLayoutPanel, "okSaveTableLayoutPanel"); _okSaveTableLayoutPanel.AutoSizeMode = AutoSizeMode.GrowAndShrink; _okSaveTableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); _okSaveTableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); _okSaveTableLayoutPanel.Controls.Add(_buttonOK, 0, 0); _okSaveTableLayoutPanel.Controls.Add(_buttonSave, 1, 0); _okSaveTableLayoutPanel.Margin = new Padding(0, 9, 0, 0); _okSaveTableLayoutPanel.Name = "okSaveTableLayoutPanel"; _okSaveTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 50F)); // // overarchingTableLayoutPanel // resources.ApplyResources(_overarchingTableLayoutPanel, "overarchingTableLayoutPanel"); _overarchingTableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); _overarchingTableLayoutPanel.Controls.Add(_byteViewer, 0, 0); _overarchingTableLayoutPanel.Controls.Add(_groupBoxMode, 0, 1); _overarchingTableLayoutPanel.Controls.Add(_okSaveTableLayoutPanel, 0, 2); _overarchingTableLayoutPanel.Name = "overarchingTableLayoutPanel"; _overarchingTableLayoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); _overarchingTableLayoutPanel.RowStyles.Add(new RowStyle()); _overarchingTableLayoutPanel.RowStyles.Add(new RowStyle()); // // BinaryUI // AcceptButton = _buttonOK; resources.ApplyResources(this, "$this"); AutoScaleMode = AutoScaleMode.Font; CancelButton = _buttonOK; Controls.Add(_overarchingTableLayoutPanel); FormBorderStyle = FormBorderStyle.FixedDialog; HelpButton = true; MaximizeBox = false; MinimizeBox = false; Name = "BinaryUI"; ShowIcon = false; ShowInTaskbar = false; HelpRequested += new HelpEventHandler(Form_HelpRequested); HelpButtonClicked += new CancelEventHandler(Form_HelpButtonClicked); _byteViewer.ResumeLayout(false); _byteViewer.PerformLayout(); _groupBoxMode.ResumeLayout(false); _groupBoxMode.PerformLayout(); _radioButtonsTableLayoutPanel.ResumeLayout(false); _radioButtonsTableLayoutPanel.PerformLayout(); _okSaveTableLayoutPanel.ResumeLayout(false); _okSaveTableLayoutPanel.PerformLayout(); _overarchingTableLayoutPanel.ResumeLayout(false); _overarchingTableLayoutPanel.PerformLayout(); ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { cboEquipLevel = new ComboBox(); cboEquipExt = new ComboBox(); label31 = new Label(); cboEquipName = new ComboBox(); cboEquipType = new ComboBox(); groupBox3 = new GroupBox(); button4 = new Button(); button1 = new Button(); button3 = new Button(); button2 = new Button(); chkEquipZY6 = new CheckBox(); chkEquipZY4 = new CheckBox(); chkEquipZY2 = new CheckBox(); chkEquipZY5 = new CheckBox(); chkEquipZY3 = new CheckBox(); chkEquipZY1 = new CheckBox(); chk380 = new CheckBox(); chkEquipXY = new CheckBox(); chkEquipJN = new CheckBox(); label30 = new Label(); label29 = new Label(); label28 = new Label(); label1 = new Label(); txtDurability = new TextBox(); cboPlusType = new ComboBox(); cboPlusLevel = new ComboBox(); eee = new Label(); label3 = new Label(); chkAllPart = new CheckBox(); AddNums = new TextBox(); label2 = new Label(); txtCode = new TextBox(); gbXQ = new GroupBox(); cbInlay6b = new ComboBox(); label11 = new Label(); label10 = new Label(); label9 = new Label(); label8 = new Label(); label7 = new Label(); label6 = new Label(); cbInlay5b = new ComboBox(); cbInlay4b = new ComboBox(); cbInlay3b = new ComboBox(); cbInlay2b = new ComboBox(); cbInlay1b = new ComboBox(); cbZhiye = new ComboBox(); label4 = new Label(); label5 = new Label(); cbSetVal = new ComboBox(); groupBox3.SuspendLayout(); gbXQ.SuspendLayout(); base.SuspendLayout(); cboEquipLevel.DropDownHeight = 206; cboEquipLevel.DropDownStyle = ComboBoxStyle.DropDownList; cboEquipLevel.FormattingEnabled = true; cboEquipLevel.IntegralHeight = false; cboEquipLevel.Items.AddRange(new object[] { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" }); cboEquipLevel.Location = new Point(25, 75); cboEquipLevel.Name = "cboEquipLevel"; cboEquipLevel.Size = new Size(46, 20); cboEquipLevel.TabIndex = 23; cboEquipExt.DropDownHeight = 206; cboEquipExt.DropDownStyle = ComboBoxStyle.DropDownList; cboEquipExt.FormattingEnabled = true; cboEquipExt.IntegralHeight = false; cboEquipExt.Items.AddRange(new object[] { "0", "4", "8", "12", "16", "20", "24", "28" }); cboEquipExt.Location = new Point(92, 75); cboEquipExt.Name = "cboEquipExt"; cboEquipExt.Size = new Size(50, 20); cboEquipExt.TabIndex = 22; label31.AutoSize = true; label31.Location = new Point(74, 79); label31.Name = "label31"; label31.Size = new Size(17, 12); label31.TabIndex = 21; label31.Text = "追"; cboEquipName.AutoCompleteMode = AutoCompleteMode.SuggestAppend; cboEquipName.AutoCompleteSource = AutoCompleteSource.ListItems; cboEquipName.DropDownHeight = 400; cboEquipName.FormattingEnabled = true; cboEquipName.IntegralHeight = false; cboEquipName.Location = new Point(40, 50); cboEquipName.Name = "cboEquipName"; cboEquipName.Size = new Size(115, 20); cboEquipName.TabIndex = 20; cboEquipName.SelectedIndexChanged += cboEquipName_SelectedIndexChanged; cboEquipName.KeyUp += cboEquipName_KeyUp; cboEquipType.DropDownHeight = 206; cboEquipType.DropDownStyle = ComboBoxStyle.DropDownList; cboEquipType.FormattingEnabled = true; cboEquipType.IntegralHeight = false; cboEquipType.Location = new Point(40, 25); cboEquipType.Name = "cboEquipType"; cboEquipType.Size = new Size(115, 20); cboEquipType.TabIndex = 19; cboEquipType.SelectedIndexChanged += cboEquipType_SelectedIndexChanged; groupBox3.Controls.Add(button4); groupBox3.Controls.Add(button1); groupBox3.Controls.Add(button3); groupBox3.Controls.Add(button2); groupBox3.Controls.Add(chkEquipZY6); groupBox3.Controls.Add(chkEquipZY4); groupBox3.Controls.Add(chkEquipZY2); groupBox3.Controls.Add(chkEquipZY5); groupBox3.Controls.Add(chkEquipZY3); groupBox3.Controls.Add(chkEquipZY1); groupBox3.Location = new Point(5, 149); groupBox3.Name = "groupBox3"; groupBox3.Size = new Size(207, 105); groupBox3.TabIndex = 18; groupBox3.TabStop = false; groupBox3.Text = "卓越属性"; button4.Location = new Point(156, 75); button4.Name = "button4"; button4.Size = new Size(45, 22); button4.TabIndex = 13; button4.Text = "道 具"; button4.UseVisualStyleBackColor = true; button4.Click += button4_Click; button1.Location = new Point(107, 75); button1.Name = "button1"; button1.Size = new Size(45, 22); button1.TabIndex = 12; button1.Text = "极 品"; button1.UseVisualStyleBackColor = true; button1.Click += button1_Click; button3.Location = new Point(57, 75); button3.Name = "button3"; button3.Size = new Size(45, 22); button3.TabIndex = 11; button3.Text = "清 空"; button3.UseVisualStyleBackColor = true; button3.Click += button3_Click; button2.Location = new Point(8, 75); button2.Name = "button2"; button2.Size = new Size(44, 22); button2.TabIndex = 10; button2.Text = "全 选"; button2.UseVisualStyleBackColor = true; button2.Click += button2_Click; chkEquipZY6.AutoSize = true; chkEquipZY6.Location = new Point(111, 55); chkEquipZY6.Name = "chkEquipZY6"; chkEquipZY6.Size = new Size(48, 16); chkEquipZY6.TabIndex = 9; chkEquipZY6.Text = "加红"; chkEquipZY6.UseVisualStyleBackColor = true; chkEquipZY4.AutoSize = true; chkEquipZY4.Location = new Point(111, 35); chkEquipZY4.Name = "chkEquipZY4"; chkEquipZY4.Size = new Size(48, 16); chkEquipZY4.TabIndex = 8; chkEquipZY4.Text = "减伤"; chkEquipZY4.UseVisualStyleBackColor = true; chkEquipZY2.AutoSize = true; chkEquipZY2.Location = new Point(111, 15); chkEquipZY2.Name = "chkEquipZY2"; chkEquipZY2.Size = new Size(48, 16); chkEquipZY2.TabIndex = 7; chkEquipZY2.Text = "防10"; chkEquipZY2.UseVisualStyleBackColor = true; chkEquipZY5.AutoSize = true; chkEquipZY5.Location = new Point(16, 55); chkEquipZY5.Name = "chkEquipZY5"; chkEquipZY5.Size = new Size(48, 16); chkEquipZY5.TabIndex = 6; chkEquipZY5.Text = "加蓝"; chkEquipZY5.UseVisualStyleBackColor = true; chkEquipZY3.AutoSize = true; chkEquipZY3.Location = new Point(16, 35); chkEquipZY3.Name = "chkEquipZY3"; chkEquipZY3.Size = new Size(48, 16); chkEquipZY3.TabIndex = 5; chkEquipZY3.Text = "反伤"; chkEquipZY3.UseVisualStyleBackColor = true; chkEquipZY1.AutoSize = true; chkEquipZY1.Location = new Point(16, 15); chkEquipZY1.Name = "chkEquipZY1"; chkEquipZY1.Size = new Size(72, 16); chkEquipZY1.TabIndex = 4; chkEquipZY1.Text = "金钱+40%"; chkEquipZY1.UseVisualStyleBackColor = true; chk380.AutoSize = true; chk380.Location = new Point(161, 52); chk380.Name = "chk380"; chk380.Size = new Size(54, 16); chk380.TabIndex = 29; chk380.Text = "380属"; chk380.UseVisualStyleBackColor = true; chkEquipXY.AutoSize = true; chkEquipXY.Location = new Point(69, 128); chkEquipXY.Name = "chkEquipXY"; chkEquipXY.Size = new Size(48, 16); chkEquipXY.TabIndex = 17; chkEquipXY.Text = "幸运"; chkEquipXY.UseVisualStyleBackColor = true; chkEquipJN.AutoSize = true; chkEquipJN.Location = new Point(10, 128); chkEquipJN.Name = "chkEquipJN"; chkEquipJN.Size = new Size(48, 16); chkEquipJN.TabIndex = 16; chkEquipJN.Text = "技能"; chkEquipJN.UseVisualStyleBackColor = true; label30.AutoSize = true; label30.Location = new Point(4, 78); label30.Name = "label30"; label30.Size = new Size(17, 12); label30.TabIndex = 15; label30.Text = "加"; label29.AutoSize = true; label29.Location = new Point(2, 54); label29.Name = "label29"; label29.Size = new Size(41, 12); label29.TabIndex = 14; label29.Text = "名称:"; label28.AutoSize = true; label28.Location = new Point(3, 28); label28.Name = "label28"; label28.Size = new Size(41, 12); label28.TabIndex = 13; label28.Text = "分类:"; label1.AutoSize = true; label1.Location = new Point(147, 78); label1.Name = "label1"; label1.Size = new Size(17, 12); label1.TabIndex = 24; label1.Text = "耐"; txtDurability.IsOnlyNumber = true; txtDurability.Location = new Point(166, 75); txtDurability.Name = "txtDurability"; txtDurability.Size = new Size(39, 21); txtDurability.TabIndex = 25; txtDurability.Text = "255"; txtDurability.TextAlign = HorizontalAlignment.Center; cboPlusType.DropDownHeight = 206; cboPlusType.DropDownStyle = ComboBoxStyle.DropDownList; cboPlusType.FormattingEnabled = true; cboPlusType.IntegralHeight = false; cboPlusType.Location = new Point(33, 101); cboPlusType.Name = "cboPlusType"; cboPlusType.Size = new Size(100, 20); cboPlusType.TabIndex = 30; cboPlusLevel.DropDownHeight = 206; cboPlusLevel.DropDownStyle = ComboBoxStyle.DropDownList; cboPlusLevel.FormattingEnabled = true; cboPlusLevel.IntegralHeight = false; cboPlusLevel.Items.AddRange(new object[] { "+ 0", "+ 1", "+ 2", "+ 3", "+ 4", "+ 5", "+ 6", "+ 7", "+ 8", "+ 9", "+10", "+11", "+12", "+13" }); cboPlusLevel.Location = new Point(164, 101); cboPlusLevel.Name = "cboPlusLevel"; cboPlusLevel.Size = new Size(42, 20); cboPlusLevel.TabIndex = 31; eee.AutoSize = true; eee.Location = new Point(3, 104); eee.Name = "eee"; eee.Size = new Size(29, 12); eee.TabIndex = 32; eee.Text = "强化"; label3.AutoSize = true; label3.Location = new Point(135, 104); label3.Name = "label3"; label3.Size = new Size(29, 12); label3.TabIndex = 33; label3.Text = "等级"; chkAllPart.AutoSize = true; chkAllPart.Enabled = false; chkAllPart.Location = new Point(161, 29); chkAllPart.Name = "chkAllPart"; chkAllPart.Size = new Size(48, 16); chkAllPart.TabIndex = 35; chkAllPart.Text = "配套"; chkAllPart.UseVisualStyleBackColor = true; AddNums.IsOnlyNumber = true; AddNums.Location = new Point(171, 0); AddNums.Name = "AddNums"; AddNums.Size = new Size(39, 21); AddNums.TabIndex = 38; AddNums.Text = "1"; label2.AutoSize = true; label2.Location = new Point(135, 4); label2.Name = "label2"; label2.Size = new Size(41, 12); label2.TabIndex = 37; label2.Text = "数量:"; txtCode.IsOnlyNumber = false; txtCode.Location = new Point(3, 425); txtCode.Name = "txtCode"; txtCode.ReadOnly = true; txtCode.Size = new Size(212, 21); txtCode.TabIndex = 37; gbXQ.Controls.Add(cbInlay6b); gbXQ.Controls.Add(label11); gbXQ.Controls.Add(label10); gbXQ.Controls.Add(label9); gbXQ.Controls.Add(label8); gbXQ.Controls.Add(label7); gbXQ.Controls.Add(label6); gbXQ.Controls.Add(cbInlay5b); gbXQ.Controls.Add(cbInlay4b); gbXQ.Controls.Add(cbInlay3b); gbXQ.Controls.Add(cbInlay2b); gbXQ.Controls.Add(cbInlay1b); gbXQ.Location = new Point(3, 259); gbXQ.Name = "gbXQ"; gbXQ.Size = new Size(210, 162); gbXQ.TabIndex = 38; gbXQ.TabStop = false; gbXQ.Text = "镶嵌属性"; cbInlay6b.DropDownStyle = ComboBoxStyle.DropDownList; cbInlay6b.FormattingEnabled = true; cbInlay6b.Location = new Point(56, 137); cbInlay6b.Name = "cbInlay6b"; cbInlay6b.Size = new Size(150, 20); cbInlay6b.TabIndex = 45; label11.AutoSize = true; label11.Location = new Point(3, 142); label11.Name = "label11"; label11.Size = new Size(53, 12); label11.TabIndex = 44; label11.Text = "荧光属性"; label10.AutoSize = true; label10.Location = new Point(3, 118); label10.Name = "label10"; label10.Size = new Size(23, 12); label10.TabIndex = 43; label10.Text = "孔5"; label9.AutoSize = true; label9.Location = new Point(3, 92); label9.Name = "label9"; label9.Size = new Size(23, 12); label9.TabIndex = 42; label9.Text = "孔4"; label8.AutoSize = true; label8.Location = new Point(3, 68); label8.Name = "label8"; label8.Size = new Size(23, 12); label8.TabIndex = 41; label8.Text = "孔3"; label7.AutoSize = true; label7.Location = new Point(3, 42); label7.Name = "label7"; label7.Size = new Size(23, 12); label7.TabIndex = 40; label7.Text = "孔2"; label6.AutoSize = true; label6.Location = new Point(3, 17); label6.Name = "label6"; label6.Size = new Size(23, 12); label6.TabIndex = 39; label6.Text = "孔1"; cbInlay5b.DropDownHeight = 206; cbInlay5b.DropDownStyle = ComboBoxStyle.DropDownList; cbInlay5b.FormattingEnabled = true; cbInlay5b.IntegralHeight = false; cbInlay5b.Location = new Point(26, 113); cbInlay5b.Name = "cbInlay5b"; cbInlay5b.Size = new Size(180, 20); cbInlay5b.TabIndex = 38; cbInlay4b.DropDownHeight = 206; cbInlay4b.DropDownStyle = ComboBoxStyle.DropDownList; cbInlay4b.FormattingEnabled = true; cbInlay4b.IntegralHeight = false; cbInlay4b.Location = new Point(26, 88); cbInlay4b.Name = "cbInlay4b"; cbInlay4b.Size = new Size(180, 20); cbInlay4b.TabIndex = 37; cbInlay3b.DropDownHeight = 206; cbInlay3b.DropDownStyle = ComboBoxStyle.DropDownList; cbInlay3b.FormattingEnabled = true; cbInlay3b.IntegralHeight = false; cbInlay3b.Location = new Point(26, 63); cbInlay3b.Name = "cbInlay3b"; cbInlay3b.Size = new Size(180, 20); cbInlay3b.TabIndex = 36; cbInlay2b.DropDownHeight = 206; cbInlay2b.DropDownStyle = ComboBoxStyle.DropDownList; cbInlay2b.FormattingEnabled = true; cbInlay2b.IntegralHeight = false; cbInlay2b.Location = new Point(26, 38); cbInlay2b.Name = "cbInlay2b"; cbInlay2b.Size = new Size(180, 20); cbInlay2b.TabIndex = 34; cbInlay1b.DropDownHeight = 206; cbInlay1b.DropDownStyle = ComboBoxStyle.DropDownList; cbInlay1b.FormattingEnabled = true; cbInlay1b.IntegralHeight = false; cbInlay1b.Location = new Point(26, 13); cbInlay1b.Name = "cbInlay1b"; cbInlay1b.Size = new Size(180, 20); cbInlay1b.TabIndex = 32; cbZhiye.DropDownHeight = 206; cbZhiye.DropDownStyle = ComboBoxStyle.DropDownList; cbZhiye.FormattingEnabled = true; cbZhiye.IntegralHeight = false; cbZhiye.Items.AddRange(new object[] { "全部", "魔法师", "剑士", "弓箭手", "魔剑士", "圣导师", "召唤师", "决斗士" }); cbZhiye.Location = new Point(62, 0); cbZhiye.Name = "cbZhiye"; cbZhiye.Size = new Size(67, 20); cbZhiye.TabIndex = 40; cbZhiye.SelectedIndexChanged += cboEquipType_SelectedIndexChanged; label4.AutoSize = true; label4.Location = new Point(3, 3); label4.Name = "label4"; label4.Size = new Size(65, 12); label4.TabIndex = 39; label4.Text = "职业选择:"; label5.AutoSize = true; label5.Location = new Point(125, 130); label5.Name = "label5"; label5.Size = new Size(41, 12); label5.TabIndex = 42; label5.Text = "套装值"; cbSetVal.DropDownHeight = 206; cbSetVal.DropDownStyle = ComboBoxStyle.DropDownList; cbSetVal.FormattingEnabled = true; cbSetVal.IntegralHeight = false; cbSetVal.Items.AddRange(new object[] { "0", "5", "6", "9", "10" }); cbSetVal.Location = new Point(171, 126); cbSetVal.Name = "cbSetVal"; cbSetVal.Size = new Size(35, 20); cbSetVal.TabIndex = 43; base.AutoScaleDimensions = new SizeF(6f, 12f); base.AutoScaleMode = AutoScaleMode.Font; base.Controls.Add(cbSetVal); base.Controls.Add(label5); base.Controls.Add(cbZhiye); base.Controls.Add(label4); base.Controls.Add(AddNums); base.Controls.Add(gbXQ); base.Controls.Add(label2); base.Controls.Add(txtCode); base.Controls.Add(chkAllPart); base.Controls.Add(label3); base.Controls.Add(eee); base.Controls.Add(cboPlusLevel); base.Controls.Add(cboPlusType); base.Controls.Add(txtDurability); base.Controls.Add(chk380); base.Controls.Add(label1); base.Controls.Add(cboEquipLevel); base.Controls.Add(cboEquipExt); base.Controls.Add(label31); base.Controls.Add(cboEquipName); base.Controls.Add(cboEquipType); base.Controls.Add(groupBox3); base.Controls.Add(chkEquipXY); base.Controls.Add(chkEquipJN); base.Controls.Add(label30); base.Controls.Add(label29); base.Controls.Add(label28); base.Margin = new Padding(0); base.Name = "EquipEditor"; base.Size = new Size(217, 453); base.Load += EquipEditor_Load; groupBox3.ResumeLayout(false); groupBox3.PerformLayout(); gbXQ.ResumeLayout(false); gbXQ.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(Entree_Stock)); btnNew = new Button(); btnDelete = new Button(); btnUpdate = new Button(); btnInit = new Button(); dgv1 = new DataGridView(); Label3 = new Label(); Label1 = new Label(); Button1 = new Button(); Button3 = new Button(); GroupBox1 = new GroupBox(); Button5 = new Button(); REFART = new ComboBox(); Label5 = new Label(); B_rechercher = new Button(); Label6 = new Label(); LIBART = new ComboBox(); ((ISupportInitialize)dgv1).BeginInit(); GroupBox1.SuspendLayout(); base.SuspendLayout(); btnNew.BackColor = Color.White; btnNew.BackgroundImageLayout = ImageLayout.Zoom; btnNew.Cursor = Cursors.Hand; btnNew.Font = new Font("Arial", 9.75f, FontStyle.Bold, GraphicsUnit.Point, 0); btnNew.Image = Resources.add_1_icon; btnNew.ImageAlign = ContentAlignment.MiddleLeft; btnNew.Location = new Point(0, 308); btnNew.Margin = new Padding(3, 4, 3, 4); btnNew.Name = "btnNew"; btnNew.Size = new Size(113, 54); btnNew.TabIndex = 18; btnNew.Text = "Ajouter"; btnNew.TextAlign = ContentAlignment.MiddleRight; btnNew.UseVisualStyleBackColor = false; btnDelete.BackColor = Color.White; btnDelete.Cursor = Cursors.Hand; btnDelete.Font = new Font("Arial", 9.75f, FontStyle.Bold, GraphicsUnit.Point, 0); btnDelete.Image = Resources.Button_Delete_icon; btnDelete.ImageAlign = ContentAlignment.MiddleLeft; btnDelete.Location = new Point(0, 482); btnDelete.Margin = new Padding(3, 4, 3, 4); btnDelete.Name = "btnDelete"; btnDelete.Size = new Size(113, 46); btnDelete.TabIndex = 16; btnDelete.Text = "Supprimer"; btnDelete.TextAlign = ContentAlignment.MiddleRight; btnDelete.UseVisualStyleBackColor = false; btnUpdate.BackColor = Color.White; btnUpdate.Cursor = Cursors.Hand; btnUpdate.Font = new Font("Arial", 9.75f, FontStyle.Bold, GraphicsUnit.Point, 0); btnUpdate.Image = Resources.edit_file_icon; btnUpdate.ImageAlign = ContentAlignment.MiddleLeft; btnUpdate.Location = new Point(0, 397); btnUpdate.Margin = new Padding(3, 4, 3, 4); btnUpdate.Name = "btnUpdate"; btnUpdate.Size = new Size(113, 49); btnUpdate.TabIndex = 14; btnUpdate.Text = "Modifier"; btnUpdate.TextAlign = ContentAlignment.MiddleRight; btnUpdate.UseVisualStyleBackColor = false; btnInit.BackColor = Color.White; btnInit.Cursor = Cursors.Hand; btnInit.Font = new Font("Arial", 9.75f, FontStyle.Bold, GraphicsUnit.Point, 0); btnInit.Image = Resources.Button_Refresh_icon; btnInit.ImageAlign = ContentAlignment.MiddleLeft; btnInit.Location = new Point(0, 217); btnInit.Margin = new Padding(3, 4, 3, 4); btnInit.Name = "btnInit"; btnInit.Size = new Size(113, 52); btnInit.TabIndex = 13; btnInit.Text = "Initier"; btnInit.TextAlign = ContentAlignment.MiddleRight; btnInit.UseVisualStyleBackColor = false; dgv1.AllowUserToAddRows = false; dgv1.AllowUserToDeleteRows = false; dgv1.AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.AllCells; dgv1.BackgroundColor = Color.White; dgv1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; dgv1.Location = new Point(119, 198); dgv1.Margin = new Padding(3, 4, 3, 4); dgv1.Name = "dgv1"; dgv1.ReadOnly = true; dgv1.Size = new Size(1125, 479); dgv1.TabIndex = 12; Label3.AutoSize = true; Label3.BackColor = Color.Transparent; Label3.Cursor = Cursors.Hand; Label3.Font = new Font("Arial", 9.75f, FontStyle.Bold, GraphicsUnit.Point, 0); Label3.Location = new Point(1032, 150); Label3.Name = "Label3"; Label3.Size = new Size(91, 16); Label3.TabIndex = 31; Label3.Text = "Sorties Stock"; Label1.AutoSize = true; Label1.BackColor = Color.Transparent; Label1.Cursor = Cursors.Hand; Label1.Font = new Font("Arial", 9.75f, FontStyle.Bold, GraphicsUnit.Point, 0); Label1.Location = new Point(907, 150); Label1.Name = "Label1"; Label1.Size = new Size(87, 16); Label1.TabIndex = 30; Label1.Text = "Stock global"; Button1.BackgroundImage = (Image)componentResourceManager.GetObject("Button1.BackgroundImage"); Button1.Cursor = Cursors.Hand; Button1.Location = new Point(1044, 71); Button1.Margin = new Padding(3, 4, 3, 4); Button1.Name = "Button1"; Button1.Size = new Size(70, 75); Button1.TabIndex = 29; Button1.UseVisualStyleBackColor = true; Button3.BackgroundImage = (Image)componentResourceManager.GetObject("Button3.BackgroundImage"); Button3.Cursor = Cursors.Hand; Button3.Location = new Point(910, 71); Button3.Margin = new Padding(3, 4, 3, 4); Button3.Name = "Button3"; Button3.Size = new Size(73, 75); Button3.TabIndex = 28; Button3.UseVisualStyleBackColor = true; GroupBox1.BackColor = Color.Transparent; GroupBox1.BackgroundImageLayout = ImageLayout.Stretch; GroupBox1.Controls.Add(Button5); GroupBox1.Controls.Add(REFART); GroupBox1.Controls.Add(Label5); GroupBox1.Controls.Add(B_rechercher); GroupBox1.Controls.Add(Label6); GroupBox1.Controls.Add(LIBART); GroupBox1.Font = new Font("Arial", 12f, FontStyle.Regular, GraphicsUnit.Point, 178); GroupBox1.Location = new Point(12, 71); GroupBox1.Name = "GroupBox1"; GroupBox1.Size = new Size(794, 98); GroupBox1.TabIndex = 48; GroupBox1.TabStop = false; GroupBox1.Text = "Référence"; Button5.Cursor = Cursors.Hand; Button5.Location = new Point(250, 40); Button5.Name = "Button5"; Button5.Size = new Size(33, 28); Button5.TabIndex = 46; Button5.Text = "..."; Button5.UseVisualStyleBackColor = true; REFART.AutoCompleteMode = AutoCompleteMode.SuggestAppend; REFART.AutoCompleteSource = AutoCompleteSource.ListItems; REFART.FormattingEnabled = true; REFART.Location = new Point(59, 41); REFART.Name = "REFART"; REFART.Size = new Size(206, 26); REFART.TabIndex = 14; Label5.AutoSize = true; Label5.BackColor = Color.Transparent; Label5.ForeColor = SystemColors.ActiveCaption; Label5.Location = new Point(307, 44); Label5.Name = "Label5"; Label5.Size = new Size(54, 18); Label5.TabIndex = 3; Label5.Text = "Libelle"; B_rechercher.BackColor = Color.White; B_rechercher.Cursor = Cursors.Hand; B_rechercher.Image = Resources.Actions_document_find_icon1; B_rechercher.ImageAlign = ContentAlignment.MiddleLeft; B_rechercher.Location = new Point(661, 35); B_rechercher.Name = "B_rechercher"; B_rechercher.Size = new Size(106, 37); B_rechercher.TabIndex = 2; B_rechercher.Text = "Chercher"; B_rechercher.TextAlign = ContentAlignment.MiddleRight; B_rechercher.UseVisualStyleBackColor = false; Label6.AutoSize = true; Label6.BackColor = Color.Transparent; Label6.ForeColor = SystemColors.ActiveCaption; Label6.Location = new Point(6, 45); Label6.Name = "Label6"; Label6.Size = new Size(47, 18); Label6.TabIndex = 0; Label6.Text = "Code"; LIBART.FormattingEnabled = true; LIBART.Location = new Point(367, 41); LIBART.Name = "LIBART"; LIBART.Size = new Size(288, 26); LIBART.Sorted = true; LIBART.TabIndex = 6; base.AutoScaleDimensions = new SizeF(7f, 16f); base.AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; base.ClientSize = new Size(1361, 728); base.Controls.Add(GroupBox1); base.Controls.Add(Label3); base.Controls.Add(Label1); base.Controls.Add(Button1); base.Controls.Add(Button3); base.Controls.Add(btnNew); base.Controls.Add(btnDelete); base.Controls.Add(btnUpdate); base.Controls.Add(btnInit); base.Controls.Add(dgv1); base.Location = new Point(0, 0); base.Margin = new Padding(3, 5, 3, 5); base.Name = "Entree_Stock"; Text = "Entree Stock"; base.Controls.SetChildIndex(dgv1, 0); base.Controls.SetChildIndex(btnInit, 0); base.Controls.SetChildIndex(btnUpdate, 0); base.Controls.SetChildIndex(btnDelete, 0); base.Controls.SetChildIndex(btnNew, 0); base.Controls.SetChildIndex(Button3, 0); base.Controls.SetChildIndex(Button1, 0); base.Controls.SetChildIndex(Label1, 0); base.Controls.SetChildIndex(Label3, 0); base.Controls.SetChildIndex(GroupBox1, 0); ((ISupportInitialize)dgv1).EndInit(); GroupBox1.ResumeLayout(false); GroupBox1.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { var resources = new System.ComponentModel.ComponentResourceManager(typeof(f_cekout)); _L_header = new Label(); _Panel1 = new Panel(); _Label1 = new Label(); _Label2 = new Label(); _Label3 = new Label(); _Label4 = new Label(); _C_id = new ComboBox(); _C_id.SelectedIndexChanged += new EventHandler(C_id_SelectedIndexChanged); _Label6 = new Label(); _Label7 = new Label(); _Label8 = new Label(); _Label9 = new Label(); _B_simpan = new Button(); _B_simpan.Click += new EventHandler(B_simpan_Click); _B_reset = new Button(); _B_reset.Click += new EventHandler(B_reset_Click); _Label11 = new Label(); _Label12 = new Label(); _GroupBox1 = new GroupBox(); _L_harga = new Label(); _L_tipe = new Label(); _L_lantai = new Label(); _L_kamar = new Label(); _GroupBox2 = new GroupBox(); _Label22 = new Label(); _Label23 = new Label(); _Label5 = new Label(); _Label10 = new Label(); _Label14 = new Label(); _Label15 = new Label(); _Label16 = new Label(); _Label17 = new Label(); _Label18 = new Label(); _Label19 = new Label(); _Label20 = new Label(); _Label21 = new Label(); _L_id = new Label(); _L_nama = new Label(); _L_jk = new Label(); _L_alamat = new Label(); _L_telp = new Label(); _L_durasi = new Label(); _L_total = new Label(); _Label24 = new Label(); _Label25 = new Label(); _L_cekin = new Label(); _Label26 = new Label(); _Label27 = new Label(); _L_cekout = new Label(); _Label29 = new Label(); _Label30 = new Label(); _Panel1.SuspendLayout(); _GroupBox1.SuspendLayout(); _GroupBox2.SuspendLayout(); SuspendLayout(); // // L_header // _L_header.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; _L_header.BackColor = Color.Transparent; _L_header.Font = new Font("Poppins SemiBold", 18.0F, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _L_header.ForeColor = Color.White; _L_header.Location = new Point(0, 15); _L_header.Name = "_L_header"; _L_header.Size = new Size(862, 42); _L_header.TabIndex = 0; _L_header.Text = "Check Out Tamu"; _L_header.TextAlign = ContentAlignment.MiddleCenter; // // Panel1 // _Panel1.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); _Panel1.Controls.Add(_L_header); _Panel1.Location = new Point(-2, 0); _Panel1.Name = "_Panel1"; _Panel1.Size = new Size(859, 76); _Panel1.TabIndex = 1; // // Label1 // _Label1.AutoSize = true; _Label1.BackColor = Color.Transparent; _Label1.Location = new Point(17, 38); _Label1.Name = "_Label1"; _Label1.RightToLeft = RightToLeft.Yes; _Label1.Size = new Size(67, 22); _Label1.TabIndex = 2; _Label1.Text = "ID Kamar"; // // Label2 // _Label2.AutoSize = true; _Label2.BackColor = Color.Transparent; _Label2.Location = new Point(17, 118); _Label2.Name = "_Label2"; _Label2.Size = new Size(48, 22); _Label2.TabIndex = 4; _Label2.Text = "Lantai"; // // Label3 // _Label3.AutoSize = true; _Label3.BackColor = Color.Transparent; _Label3.Location = new Point(17, 158); _Label3.Name = "_Label3"; _Label3.Size = new Size(80, 22); _Label3.TabIndex = 6; _Label3.Text = "Tipe Kamar"; // // Label4 // _Label4.AutoSize = true; _Label4.BackColor = Color.Transparent; _Label4.Location = new Point(17, 196); _Label4.Name = "_Label4"; _Label4.Size = new Size(93, 22); _Label4.TabIndex = 8; _Label4.Text = "Harga Kamar"; // // C_id // _C_id.DropDownStyle = ComboBoxStyle.DropDownList; _C_id.FormattingEnabled = true; _C_id.Items.AddRange(new object[] { "- Pilih -", "Standard", "Deluxe", "Suite" }); _C_id.Location = new Point(158, 30); _C_id.Name = "_C_id"; _C_id.Size = new Size(237, 30); _C_id.TabIndex = 12; _C_id.TabStop = false; // // Label6 // _Label6.AutoSize = true; _Label6.BackColor = Color.Transparent; _Label6.Location = new Point(139, 38); _Label6.Name = "_Label6"; _Label6.Size = new Size(13, 22); _Label6.TabIndex = 13; _Label6.Text = ":"; // // Label7 // _Label7.AutoSize = true; _Label7.BackColor = Color.Transparent; _Label7.Location = new Point(139, 117); _Label7.Name = "_Label7"; _Label7.Size = new Size(13, 22); _Label7.TabIndex = 14; _Label7.Text = ":"; // // Label8 // _Label8.AutoSize = true; _Label8.BackColor = Color.Transparent; _Label8.Location = new Point(139, 158); _Label8.Name = "_Label8"; _Label8.Size = new Size(13, 22); _Label8.TabIndex = 15; _Label8.Text = ":"; // // Label9 // _Label9.AutoSize = true; _Label9.BackColor = Color.Transparent; _Label9.Location = new Point(139, 198); _Label9.Name = "_Label9"; _Label9.Size = new Size(13, 22); _Label9.TabIndex = 16; _Label9.Text = ":"; // // B_simpan // _B_simpan.BackColor = Color.DeepSkyBlue; _B_simpan.FlatStyle = FlatStyle.Popup; _B_simpan.Font = new Font("Poppins SemiBold", 9.0F, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _B_simpan.ForeColor = Color.White; _B_simpan.ImageAlign = ContentAlignment.MiddleLeft; _B_simpan.Location = new Point(668, 429); _B_simpan.Name = "_B_simpan"; _B_simpan.Size = new Size(83, 43); _B_simpan.TabIndex = 18; _B_simpan.TabStop = false; _B_simpan.Text = "Simpan"; _B_simpan.UseVisualStyleBackColor = false; // // B_reset // _B_reset.BackColor = Color.Firebrick; _B_reset.FlatStyle = FlatStyle.Popup; _B_reset.Font = new Font("Poppins SemiBold", 9.0F, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _B_reset.ForeColor = Color.White; _B_reset.Location = new Point(758, 429); _B_reset.Name = "_B_reset"; _B_reset.Size = new Size(83, 43); _B_reset.TabIndex = 19; _B_reset.TabStop = false; _B_reset.Text = "Reset"; _B_reset.UseVisualStyleBackColor = false; // // Label11 // _Label11.AutoSize = true; _Label11.BackColor = Color.Transparent; _Label11.Location = new Point(139, 77); _Label11.Name = "_Label11"; _Label11.Size = new Size(13, 22); _Label11.TabIndex = 23; _Label11.Text = ":"; // // Label12 // _Label12.AutoSize = true; _Label12.BackColor = Color.Transparent; _Label12.Location = new Point(17, 78); _Label12.Name = "_Label12"; _Label12.Size = new Size(75, 22); _Label12.TabIndex = 21; _Label12.Text = "No. Kamar"; // // GroupBox1 // _GroupBox1.BackColor = Color.Transparent; _GroupBox1.Controls.Add(_L_total); _GroupBox1.Controls.Add(_L_id); _GroupBox1.Controls.Add(_Label24); _GroupBox1.Controls.Add(_L_harga); _GroupBox1.Controls.Add(_Label25); _GroupBox1.Controls.Add(_L_tipe); _GroupBox1.Controls.Add(_L_durasi); _GroupBox1.Controls.Add(_L_lantai); _GroupBox1.Controls.Add(_L_kamar); _GroupBox1.Controls.Add(_Label11); _GroupBox1.Controls.Add(_Label12); _GroupBox1.Controls.Add(_Label9); _GroupBox1.Controls.Add(_Label22); _GroupBox1.Controls.Add(_Label8); _GroupBox1.Controls.Add(_Label23); _GroupBox1.Controls.Add(_Label7); _GroupBox1.Controls.Add(_Label6); _GroupBox1.Controls.Add(_Label4); _GroupBox1.Controls.Add(_Label3); _GroupBox1.Controls.Add(_Label2); _GroupBox1.Controls.Add(_Label1); _GroupBox1.FlatStyle = FlatStyle.Flat; _GroupBox1.Location = new Point(14, 95); _GroupBox1.Name = "_GroupBox1"; _GroupBox1.Size = new Size(420, 319); _GroupBox1.TabIndex = 24; _GroupBox1.TabStop = false; _GroupBox1.Text = "Kamar"; // // L_harga // _L_harga.AutoSize = true; _L_harga.BackColor = Color.Transparent; _L_harga.Location = new Point(158, 198); _L_harga.Name = "_L_harga"; _L_harga.Size = new Size(93, 22); _L_harga.TabIndex = 27; _L_harga.Text = "Harga Kamar"; // // L_tipe // _L_tipe.AutoSize = true; _L_tipe.BackColor = Color.Transparent; _L_tipe.Location = new Point(158, 158); _L_tipe.Name = "_L_tipe"; _L_tipe.Size = new Size(80, 22); _L_tipe.TabIndex = 26; _L_tipe.Text = "Tipe Kamar"; // // L_lantai // _L_lantai.AutoSize = true; _L_lantai.BackColor = Color.Transparent; _L_lantai.Location = new Point(158, 118); _L_lantai.Name = "_L_lantai"; _L_lantai.Size = new Size(48, 22); _L_lantai.TabIndex = 25; _L_lantai.Text = "Lantai"; // // L_kamar // _L_kamar.AutoSize = true; _L_kamar.BackColor = Color.Transparent; _L_kamar.Location = new Point(158, 77); _L_kamar.Name = "_L_kamar"; _L_kamar.Size = new Size(75, 22); _L_kamar.TabIndex = 24; _L_kamar.Text = "No. Kamar"; // // GroupBox2 // _GroupBox2.BackColor = Color.Transparent; _GroupBox2.Controls.Add(_L_cekout); _GroupBox2.Controls.Add(_Label29); _GroupBox2.Controls.Add(_Label30); _GroupBox2.Controls.Add(_L_cekin); _GroupBox2.Controls.Add(_Label26); _GroupBox2.Controls.Add(_Label27); _GroupBox2.Controls.Add(_L_telp); _GroupBox2.Controls.Add(_L_alamat); _GroupBox2.Controls.Add(_L_jk); _GroupBox2.Controls.Add(_L_nama); _GroupBox2.Controls.Add(_Label5); _GroupBox2.Controls.Add(_Label10); _GroupBox2.Controls.Add(_Label14); _GroupBox2.Controls.Add(_Label15); _GroupBox2.Controls.Add(_Label16); _GroupBox2.Controls.Add(_Label17); _GroupBox2.Controls.Add(_Label18); _GroupBox2.Controls.Add(_C_id); _GroupBox2.Controls.Add(_Label19); _GroupBox2.Controls.Add(_Label20); _GroupBox2.Controls.Add(_Label21); _GroupBox2.FlatStyle = FlatStyle.Flat; _GroupBox2.Location = new Point(440, 95); _GroupBox2.Name = "_GroupBox2"; _GroupBox2.Size = new Size(420, 319); _GroupBox2.TabIndex = 25; _GroupBox2.TabStop = false; _GroupBox2.Text = "Tamu"; // // Label22 // _Label22.AutoSize = true; _Label22.BackColor = Color.Transparent; _Label22.Location = new Point(139, 236); _Label22.Name = "_Label22"; _Label22.Size = new Size(13, 22); _Label22.TabIndex = 26; _Label22.Text = ":"; // // Label23 // _Label23.AutoSize = true; _Label23.BackColor = Color.Transparent; _Label23.Location = new Point(17, 236); _Label23.Name = "_Label23"; _Label23.Size = new Size(79, 22); _Label23.TabIndex = 24; _Label23.Text = "Durasi Inap"; // // Label5 // _Label5.AutoSize = true; _Label5.BackColor = Color.Transparent; _Label5.Location = new Point(139, 77); _Label5.Name = "_Label5"; _Label5.Size = new Size(13, 22); _Label5.TabIndex = 23; _Label5.Text = ":"; // // Label10 // _Label10.AutoSize = true; _Label10.BackColor = Color.Transparent; _Label10.Location = new Point(17, 78); _Label10.Name = "_Label10"; _Label10.Size = new Size(103, 22); _Label10.TabIndex = 21; _Label10.Text = "Nama Lengkap"; // // Label14 // _Label14.AutoSize = true; _Label14.BackColor = Color.Transparent; _Label14.Location = new Point(139, 196); _Label14.Name = "_Label14"; _Label14.Size = new Size(13, 22); _Label14.TabIndex = 16; _Label14.Text = ":"; // // Label15 // _Label15.AutoSize = true; _Label15.BackColor = Color.Transparent; _Label15.Location = new Point(139, 156); _Label15.Name = "_Label15"; _Label15.Size = new Size(13, 22); _Label15.TabIndex = 15; _Label15.Text = ":"; // // Label16 // _Label16.AutoSize = true; _Label16.BackColor = Color.Transparent; _Label16.Location = new Point(139, 117); _Label16.Name = "_Label16"; _Label16.Size = new Size(13, 22); _Label16.TabIndex = 14; _Label16.Text = ":"; // // Label17 // _Label17.AutoSize = true; _Label17.BackColor = Color.Transparent; _Label17.Location = new Point(139, 38); _Label17.Name = "_Label17"; _Label17.Size = new Size(13, 22); _Label17.TabIndex = 13; _Label17.Text = ":"; // // Label18 // _Label18.AutoSize = true; _Label18.BackColor = Color.Transparent; _Label18.Location = new Point(17, 195); _Label18.Name = "_Label18"; _Label18.Size = new Size(58, 22); _Label18.TabIndex = 8; _Label18.Text = "No. Telp"; // // Label19 // _Label19.AutoSize = true; _Label19.BackColor = Color.Transparent; _Label19.Location = new Point(17, 156); _Label19.Name = "_Label19"; _Label19.Size = new Size(55, 22); _Label19.TabIndex = 6; _Label19.Text = "Alamat"; // // Label20 // _Label20.AutoSize = true; _Label20.BackColor = Color.Transparent; _Label20.Location = new Point(17, 118); _Label20.Name = "_Label20"; _Label20.Size = new Size(93, 22); _Label20.TabIndex = 4; _Label20.Text = "Jenis Kelamin"; // // Label21 // _Label21.AutoSize = true; _Label21.BackColor = Color.Transparent; _Label21.Location = new Point(18, 38); _Label21.Name = "_Label21"; _Label21.RightToLeft = RightToLeft.Yes; _Label21.Size = new Size(61, 22); _Label21.TabIndex = 2; _Label21.Text = "ID Tamu"; // // L_id // _L_id.AutoSize = true; _L_id.BackColor = Color.Transparent; _L_id.Location = new Point(158, 38); _L_id.Name = "_L_id"; _L_id.Size = new Size(72, 22); _L_id.TabIndex = 28; _L_id.Text = "ID_Kamar"; // // L_nama // _L_nama.AutoSize = true; _L_nama.BackColor = Color.Transparent; _L_nama.Location = new Point(158, 77); _L_nama.Name = "_L_nama"; _L_nama.Size = new Size(87, 22); _L_nama.TabIndex = 29; _L_nama.Text = "Nama Tamu"; // // L_jk // _L_jk.AutoSize = true; _L_jk.BackColor = Color.Transparent; _L_jk.Location = new Point(158, 118); _L_jk.Name = "_L_jk"; _L_jk.Size = new Size(93, 22); _L_jk.TabIndex = 30; _L_jk.Text = "Jenis Kelamin"; // // L_alamat // _L_alamat.AutoSize = true; _L_alamat.BackColor = Color.Transparent; _L_alamat.Location = new Point(158, 156); _L_alamat.Name = "_L_alamat"; _L_alamat.Size = new Size(55, 22); _L_alamat.TabIndex = 31; _L_alamat.Text = "Alamat"; // // L_telp // _L_telp.AutoSize = true; _L_telp.BackColor = Color.Transparent; _L_telp.Location = new Point(158, 195); _L_telp.Name = "_L_telp"; _L_telp.Size = new Size(58, 22); _L_telp.TabIndex = 32; _L_telp.Text = "No. Telp"; // // L_durasi // _L_durasi.AutoSize = true; _L_durasi.BackColor = Color.Transparent; _L_durasi.Location = new Point(158, 236); _L_durasi.Name = "_L_durasi"; _L_durasi.Size = new Size(79, 22); _L_durasi.TabIndex = 33; _L_durasi.Text = "Durasi Inap"; // // L_total // _L_total.AutoSize = true; _L_total.BackColor = Color.Transparent; _L_total.Location = new Point(158, 277); _L_total.Name = "_L_total"; _L_total.Size = new Size(80, 22); _L_total.TabIndex = 36; _L_total.Text = "Total Bayar"; // // Label24 // _Label24.AutoSize = true; _Label24.BackColor = Color.Transparent; _Label24.Location = new Point(139, 277); _Label24.Name = "_Label24"; _Label24.Size = new Size(13, 22); _Label24.TabIndex = 35; _Label24.Text = ":"; // // Label25 // _Label25.AutoSize = true; _Label25.BackColor = Color.Transparent; _Label25.Location = new Point(17, 277); _Label25.Name = "_Label25"; _Label25.Size = new Size(80, 22); _Label25.TabIndex = 34; _Label25.Text = "Total Bayar"; // // L_cekin // _L_cekin.AutoSize = true; _L_cekin.BackColor = Color.Transparent; _L_cekin.Location = new Point(158, 235); _L_cekin.Name = "_L_cekin"; _L_cekin.Size = new Size(67, 22); _L_cekin.TabIndex = 35; _L_cekin.Text = "Check_In"; // // Label26 // _Label26.AutoSize = true; _Label26.BackColor = Color.Transparent; _Label26.Location = new Point(139, 236); _Label26.Name = "_Label26"; _Label26.Size = new Size(13, 22); _Label26.TabIndex = 34; _Label26.Text = ":"; // // Label27 // _Label27.AutoSize = true; _Label27.BackColor = Color.Transparent; _Label27.Location = new Point(17, 235); _Label27.Name = "_Label27"; _Label27.Size = new Size(67, 22); _Label27.TabIndex = 33; _Label27.Text = "Check_In"; // // L_cekout // _L_cekout.AutoSize = true; _L_cekout.BackColor = Color.Transparent; _L_cekout.Location = new Point(158, 275); _L_cekout.Name = "_L_cekout"; _L_cekout.Size = new Size(78, 22); _L_cekout.TabIndex = 38; _L_cekout.Text = "Check_Out"; // // Label29 // _Label29.AutoSize = true; _Label29.BackColor = Color.Transparent; _Label29.Location = new Point(139, 275); _Label29.Name = "_Label29"; _Label29.Size = new Size(13, 22); _Label29.TabIndex = 37; _Label29.Text = ":"; // // Label30 // _Label30.AutoSize = true; _Label30.BackColor = Color.Transparent; _Label30.Location = new Point(17, 274); _Label30.Name = "_Label30"; _Label30.Size = new Size(78, 22); _Label30.TabIndex = 36; _Label30.Text = "Check_Out"; // // f_cekout // AutoScaleDimensions = new SizeF(7.0F, 22.0F); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.Silver; BackgroundImage = (Image)resources.GetObject("$this.BackgroundImage"); BackgroundImageLayout = ImageLayout.Stretch; ClientSize = new Size(853, 484); Controls.Add(_GroupBox2); Controls.Add(_GroupBox1); Controls.Add(_B_reset); Controls.Add(_B_simpan); Controls.Add(_Panel1); Font = new Font("Poppins SemiBold", 9.0F, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); FormBorderStyle = FormBorderStyle.Fixed3D; Icon = (Icon)resources.GetObject("$this.Icon"); Margin = new Padding(3, 5, 3, 5); MaximizeBox = false; Name = "f_cekout"; StartPosition = FormStartPosition.CenterScreen; Text = "Check Out Tamu"; _Panel1.ResumeLayout(false); _GroupBox1.ResumeLayout(false); _GroupBox1.PerformLayout(); _GroupBox2.ResumeLayout(false); _GroupBox2.PerformLayout(); Load += new EventHandler(f_cekout_Load); ResumeLayout(false); }
private void InitializeComponent() { ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(FrmDbSearch)); repositoryItemPictureEdit1 = new RepositoryItemPictureEdit(); repositoryItemDateEdit1 = new RepositoryItemDateEdit(); groupBox1 = new GroupBox(); labelControl6 = new LabelControl(); cbSex = new ComboBoxEdit(); labelControl3 = new LabelControl(); labelControl1 = new LabelControl(); spinEdit1 = new SpinEdit(); lbDate = new LabelControl(); tbScore = new TextEdit(); lbInfo = new Label(); btSearch = new SimpleButton(); btLoadPicture = new SimpleButton(); pictureEdit1 = new PictureEdit(); gbDate = new GroupBox(); labelControl5 = new LabelControl(); labelControl4 = new LabelControl(); dtBefore = new DateEdit(); dtFrom = new DateEdit(); gridControl1 = new GridControl(); gridView1 = new GridView(); colFaceID = new GridColumn(); colPicture = new GridColumn(); colName = new GridColumn(); colScore = new GridColumn(); colBirthday = new GridColumn(); colCategory = new GridColumn(); colPosition = new GridColumn(); btPrint = new SimpleButton(); labelControl2 = new LabelControl(); marqueeProgressBarControl1 = new MarqueeProgressBarControl(); btClearResults = new SimpleButton(); repositoryItemPictureEdit1.BeginInit(); repositoryItemDateEdit1.BeginInit(); repositoryItemDateEdit1.VistaTimeProperties.BeginInit(); groupBox1.SuspendLayout(); cbSex.Properties.BeginInit(); spinEdit1.Properties.BeginInit(); tbScore.Properties.BeginInit(); pictureEdit1.Properties.BeginInit(); gbDate.SuspendLayout(); dtBefore.Properties.VistaTimeProperties.BeginInit(); dtBefore.Properties.BeginInit(); dtFrom.Properties.VistaTimeProperties.BeginInit(); dtFrom.Properties.BeginInit(); gridControl1.BeginInit(); gridView1.BeginInit(); marqueeProgressBarControl1.Properties.BeginInit(); SuspendLayout(); repositoryItemPictureEdit1.Name = "repositoryItemPictureEdit1"; repositoryItemPictureEdit1.PictureStoreMode = PictureStoreMode.ByteArray; repositoryItemPictureEdit1.SizeMode = PictureSizeMode.Zoom; componentResourceManager.ApplyResources(repositoryItemDateEdit1, "repositoryItemDateEdit1"); repositoryItemDateEdit1.Buttons.AddRange(new EditorButton[1] { new EditorButton((ButtonPredefines)componentResourceManager.GetObject("repositoryItemDateEdit1.Buttons")) }); repositoryItemDateEdit1.Name = "repositoryItemDateEdit1"; repositoryItemDateEdit1.VistaTimeProperties.Buttons.AddRange(new EditorButton[1] { new EditorButton() }); groupBox1.Controls.Add(labelControl6); groupBox1.Controls.Add(cbSex); groupBox1.Controls.Add(labelControl3); groupBox1.Controls.Add(labelControl1); groupBox1.Controls.Add(spinEdit1); groupBox1.Controls.Add(lbDate); groupBox1.Controls.Add(tbScore); groupBox1.Controls.Add(lbInfo); groupBox1.Controls.Add(btSearch); groupBox1.Controls.Add(btLoadPicture); groupBox1.Controls.Add(pictureEdit1); groupBox1.Controls.Add(gbDate); componentResourceManager.ApplyResources(groupBox1, "groupBox1"); groupBox1.Name = "groupBox1"; groupBox1.TabStop = false; groupBox1.Enter += groupBox1_Enter; labelControl6.Appearance.Font = (Font)componentResourceManager.GetObject("labelControl6.Appearance.Font"); componentResourceManager.ApplyResources(labelControl6, "labelControl6"); labelControl6.Name = "labelControl6"; componentResourceManager.ApplyResources(cbSex, "cbSex"); cbSex.Name = "cbSex"; cbSex.Properties.AutoHeight = (bool)componentResourceManager.GetObject("cbSex.Properties.AutoHeight"); cbSex.Properties.Buttons.AddRange(new EditorButton[1] { new EditorButton((ButtonPredefines)componentResourceManager.GetObject("cbSex.Properties.Buttons")) }); cbSex.Properties.Items.AddRange(new object[2] { componentResourceManager.GetString("cbSex.Properties.Items"), componentResourceManager.GetString("cbSex.Properties.Items1") }); labelControl3.Appearance.Font = (Font)componentResourceManager.GetObject("labelControl3.Appearance.Font"); componentResourceManager.ApplyResources(labelControl3, "labelControl3"); labelControl3.Name = "labelControl3"; labelControl1.Appearance.Font = (Font)componentResourceManager.GetObject("labelControl1.Appearance.Font"); componentResourceManager.ApplyResources(labelControl1, "labelControl1"); labelControl1.Name = "labelControl1"; componentResourceManager.ApplyResources(spinEdit1, "spinEdit1"); spinEdit1.Name = "spinEdit1"; spinEdit1.Properties.AutoHeight = (bool)componentResourceManager.GetObject("spinEdit1.Properties.AutoHeight"); spinEdit1.Properties.Buttons.AddRange(new EditorButton[1] { new EditorButton() }); lbDate.Appearance.Font = (Font)componentResourceManager.GetObject("lbDate.Appearance.Font"); componentResourceManager.ApplyResources(lbDate, "lbDate"); lbDate.Name = "lbDate"; componentResourceManager.ApplyResources(tbScore, "tbScore"); tbScore.Name = "tbScore"; tbScore.Properties.Appearance.Font = (Font)componentResourceManager.GetObject("tbScore.Properties.Appearance.Font"); tbScore.Properties.Appearance.Options.UseFont = true; tbScore.TextChanged += tbScore_TextChanged; tbScore.Validating += tbScore_Validating; componentResourceManager.ApplyResources(lbInfo, "lbInfo"); lbInfo.Name = "lbInfo"; btSearch.Appearance.Font = (Font)componentResourceManager.GetObject("btSearch.Appearance.Font"); btSearch.Appearance.Options.UseFont = true; componentResourceManager.ApplyResources(btSearch, "btSearch"); btSearch.Name = "btSearch"; btSearch.Click += simpleButton2_Click; btLoadPicture.Appearance.Font = (Font)componentResourceManager.GetObject("btLoadPicture.Appearance.Font"); btLoadPicture.Appearance.Options.UseFont = true; componentResourceManager.ApplyResources(btLoadPicture, "btLoadPicture"); btLoadPicture.Name = "btLoadPicture"; btLoadPicture.Click += btLoadPicture_Click; componentResourceManager.ApplyResources(pictureEdit1, "pictureEdit1"); pictureEdit1.Name = "pictureEdit1"; pictureEdit1.Properties.SizeMode = PictureSizeMode.Zoom; gbDate.Controls.Add(labelControl5); gbDate.Controls.Add(labelControl4); gbDate.Controls.Add(dtBefore); gbDate.Controls.Add(dtFrom); componentResourceManager.ApplyResources(gbDate, "gbDate"); gbDate.Name = "gbDate"; gbDate.TabStop = false; labelControl5.Appearance.Font = (Font)componentResourceManager.GetObject("labelControl5.Appearance.Font"); componentResourceManager.ApplyResources(labelControl5, "labelControl5"); labelControl5.Name = "labelControl5"; labelControl4.Appearance.Font = (Font)componentResourceManager.GetObject("labelControl4.Appearance.Font"); componentResourceManager.ApplyResources(labelControl4, "labelControl4"); labelControl4.Name = "labelControl4"; componentResourceManager.ApplyResources(dtBefore, "dtBefore"); dtBefore.Name = "dtBefore"; dtBefore.Properties.Buttons.AddRange(new EditorButton[1] { new EditorButton((ButtonPredefines)componentResourceManager.GetObject("dtBefore.Properties.Buttons")) }); dtBefore.Properties.VistaTimeProperties.Buttons.AddRange(new EditorButton[1] { new EditorButton() }); componentResourceManager.ApplyResources(dtFrom, "dtFrom"); dtFrom.Name = "dtFrom"; dtFrom.Properties.Buttons.AddRange(new EditorButton[1] { new EditorButton((ButtonPredefines)componentResourceManager.GetObject("dtFrom.Properties.Buttons")) }); dtFrom.Properties.VistaTimeProperties.Buttons.AddRange(new EditorButton[1] { new EditorButton() }); componentResourceManager.ApplyResources(gridControl1, "gridControl1"); gridControl1.LookAndFeel.SkinName = "Office 2007 Blue"; gridControl1.MainView = gridView1; gridControl1.Name = "gridControl1"; gridControl1.ViewCollection.AddRange(new BaseView[1] { gridView1 }); gridView1.ColumnPanelRowHeight = 50; gridView1.Columns.AddRange(new GridColumn[7] { colFaceID, colPicture, colName, colScore, colBirthday, colCategory, colPosition }); gridView1.GridControl = gridControl1; gridView1.IndicatorWidth = 60; gridView1.Name = "gridView1"; gridView1.OptionsBehavior.Editable = false; gridView1.OptionsCustomization.AllowFilter = false; gridView1.OptionsFind.ClearFindOnClose = false; gridView1.OptionsFind.FindDelay = 10000; gridView1.OptionsFind.FindMode = FindMode.Always; gridView1.OptionsFind.ShowCloseButton = false; gridView1.OptionsSelection.MultiSelect = true; gridView1.OptionsView.RowAutoHeight = true; gridView1.OptionsView.ShowGroupPanel = false; gridView1.SortInfo.AddRange(new GridColumnSortInfo[1] { new GridColumnSortInfo(colScore, ColumnSortOrder.Descending) }); gridView1.CustomDrawRowIndicator += gridView1_CustomDrawRowIndicator; colFaceID.AppearanceCell.Font = (Font)componentResourceManager.GetObject("colFaceID.AppearanceCell.Font"); colFaceID.AppearanceCell.Options.UseFont = true; colFaceID.AppearanceHeader.Font = (Font)componentResourceManager.GetObject("colFaceID.AppearanceHeader.Font"); colFaceID.AppearanceHeader.Options.UseFont = true; colFaceID.AppearanceHeader.Options.UseTextOptions = true; colFaceID.AppearanceHeader.TextOptions.HAlignment = HorzAlignment.Center; componentResourceManager.ApplyResources(colFaceID, "colFaceID"); colFaceID.FieldName = "FaceID"; colFaceID.Name = "colFaceID"; colFaceID.OptionsColumn.AllowEdit = false; colFaceID.OptionsColumn.ReadOnly = true; colPicture.AppearanceCell.Font = (Font)componentResourceManager.GetObject("colPicture.AppearanceCell.Font"); colPicture.AppearanceCell.Options.UseFont = true; colPicture.AppearanceHeader.Font = (Font)componentResourceManager.GetObject("colPicture.AppearanceHeader.Font"); colPicture.AppearanceHeader.Options.UseFont = true; colPicture.AppearanceHeader.Options.UseTextOptions = true; colPicture.AppearanceHeader.TextOptions.HAlignment = HorzAlignment.Center; componentResourceManager.ApplyResources(colPicture, "colPicture"); colPicture.ColumnEdit = repositoryItemPictureEdit1; colPicture.FieldName = "Image"; colPicture.Name = "colPicture"; colPicture.OptionsColumn.AllowEdit = false; colPicture.OptionsColumn.AllowSort = DefaultBoolean.False; colPicture.OptionsColumn.ReadOnly = true; colName.AppearanceCell.Font = (Font)componentResourceManager.GetObject("colName.AppearanceCell.Font"); colName.AppearanceCell.Options.UseFont = true; colName.AppearanceHeader.Font = (Font)componentResourceManager.GetObject("colName.AppearanceHeader.Font"); colName.AppearanceHeader.Options.UseFont = true; colName.AppearanceHeader.Options.UseTextOptions = true; colName.AppearanceHeader.TextOptions.HAlignment = HorzAlignment.Center; componentResourceManager.ApplyResources(colName, "colName"); colName.FieldName = "Name"; colName.Name = "colName"; colName.OptionsColumn.AllowEdit = false; colName.OptionsColumn.ReadOnly = true; colScore.AppearanceCell.Font = (Font)componentResourceManager.GetObject("colScore.AppearanceCell.Font"); colScore.AppearanceCell.Options.UseFont = true; colScore.AppearanceHeader.Font = (Font)componentResourceManager.GetObject("colScore.AppearanceHeader.Font"); colScore.AppearanceHeader.Options.UseFont = true; colScore.AppearanceHeader.Options.UseTextOptions = true; colScore.AppearanceHeader.TextOptions.HAlignment = HorzAlignment.Center; colScore.AppearanceHeader.TextOptions.WordWrap = WordWrap.Wrap; componentResourceManager.ApplyResources(colScore, "colScore"); colScore.FieldName = "Score"; colScore.Name = "colScore"; colScore.OptionsColumn.AllowEdit = false; colScore.OptionsColumn.FixedWidth = true; colScore.OptionsColumn.ReadOnly = true; colBirthday.AppearanceCell.Font = (Font)componentResourceManager.GetObject("colBirthday.AppearanceCell.Font"); colBirthday.AppearanceCell.Options.UseFont = true; colBirthday.AppearanceHeader.Font = (Font)componentResourceManager.GetObject("colBirthday.AppearanceHeader.Font"); colBirthday.AppearanceHeader.Options.UseFont = true; colBirthday.AppearanceHeader.Options.UseTextOptions = true; colBirthday.AppearanceHeader.TextOptions.HAlignment = HorzAlignment.Center; colBirthday.AppearanceHeader.TextOptions.WordWrap = WordWrap.Wrap; componentResourceManager.ApplyResources(colBirthday, "colBirthday"); colBirthday.ColumnEdit = repositoryItemDateEdit1; colBirthday.DisplayFormat.FormatString = "dd.MM.yyyy HH:mm:ss"; colBirthday.DisplayFormat.FormatType = FormatType.DateTime; colBirthday.FieldName = "Birthday"; colBirthday.Name = "colBirthday"; colBirthday.OptionsColumn.AllowEdit = false; colBirthday.OptionsColumn.ReadOnly = true; colCategory.AppearanceCell.Font = (Font)componentResourceManager.GetObject("colCategory.AppearanceCell.Font"); colCategory.AppearanceCell.Options.UseFont = true; colCategory.AppearanceHeader.Font = (Font)componentResourceManager.GetObject("colCategory.AppearanceHeader.Font"); colCategory.AppearanceHeader.Options.UseFont = true; colCategory.AppearanceHeader.Options.UseTextOptions = true; colCategory.AppearanceHeader.TextOptions.HAlignment = HorzAlignment.Center; componentResourceManager.ApplyResources(colCategory, "colCategory"); colCategory.FieldName = "Category"; colCategory.Name = "colCategory"; colCategory.OptionsColumn.ReadOnly = true; colPosition.AppearanceCell.Font = (Font)componentResourceManager.GetObject("colPosition.AppearanceCell.Font"); colPosition.AppearanceCell.Options.UseFont = true; colPosition.AppearanceHeader.Font = (Font)componentResourceManager.GetObject("colPosition.AppearanceHeader.Font"); colPosition.AppearanceHeader.Options.UseFont = true; colPosition.AppearanceHeader.Options.UseTextOptions = true; colPosition.AppearanceHeader.TextOptions.HAlignment = HorzAlignment.Center; colPosition.AppearanceHeader.TextOptions.WordWrap = WordWrap.Wrap; componentResourceManager.ApplyResources(colPosition, "colPosition"); colPosition.FieldName = "Comment"; colPosition.Name = "colPosition"; colPosition.OptionsColumn.AllowEdit = false; colPosition.OptionsColumn.ReadOnly = true; componentResourceManager.ApplyResources(btPrint, "btPrint"); btPrint.Appearance.Font = (Font)componentResourceManager.GetObject("btPrint.Appearance.Font"); btPrint.Appearance.Options.UseFont = true; btPrint.Name = "btPrint"; btPrint.Click += btPrint_Click; labelControl2.Appearance.Font = (Font)componentResourceManager.GetObject("labelControl2.Appearance.Font"); componentResourceManager.ApplyResources(labelControl2, "labelControl2"); labelControl2.Name = "labelControl2"; componentResourceManager.ApplyResources(marqueeProgressBarControl1, "marqueeProgressBarControl1"); marqueeProgressBarControl1.Name = "marqueeProgressBarControl1"; marqueeProgressBarControl1.EditValueChanged += marqueeProgressBarControl1_EditValueChanged; componentResourceManager.ApplyResources(btClearResults, "btClearResults"); btClearResults.Appearance.Font = (Font)componentResourceManager.GetObject("btClearResults.Appearance.Font"); btClearResults.Appearance.Options.UseFont = true; btClearResults.Name = "btClearResults"; btClearResults.Click += btClearResults_Click; Appearance.Font = (Font)componentResourceManager.GetObject("frmDBSearch.Appearance.Font"); Appearance.Options.UseFont = true; AutoScaleMode = AutoScaleMode.None; componentResourceManager.ApplyResources(this, "$this"); Controls.Add(btClearResults); Controls.Add(labelControl2); Controls.Add(marqueeProgressBarControl1); Controls.Add(groupBox1); Controls.Add(btPrint); Controls.Add(gridControl1); FormBorderStyle = FormBorderStyle.None; Name = "FrmDbSearch"; ShowIcon = false; WindowState = FormWindowState.Maximized; FormClosing += frmLogSearch_FormClosing; Load += frmDBSearch_Load; Resize += frmDBSearch_Resize; repositoryItemPictureEdit1.EndInit(); repositoryItemDateEdit1.VistaTimeProperties.EndInit(); repositoryItemDateEdit1.EndInit(); groupBox1.ResumeLayout(false); groupBox1.PerformLayout(); cbSex.Properties.EndInit(); spinEdit1.Properties.EndInit(); tbScore.Properties.EndInit(); pictureEdit1.Properties.EndInit(); gbDate.ResumeLayout(false); gbDate.PerformLayout(); dtBefore.Properties.VistaTimeProperties.EndInit(); dtBefore.Properties.EndInit(); dtFrom.Properties.VistaTimeProperties.EndInit(); dtFrom.Properties.EndInit(); gridControl1.EndInit(); gridView1.EndInit(); marqueeProgressBarControl1.Properties.EndInit(); ResumeLayout(false); PerformLayout(); }
private void InitializeComponent() { var resources = new System.ComponentModel.ComponentResourceManager(typeof(HabitatEditor)); GroupBox1 = new GroupBox(); _ListBox1 = new ListBox(); _ListBox1.SelectedIndexChanged += new EventHandler(ListBox1_SelectedIndexChanged); GroupBox2 = new GroupBox(); _Button2 = new Button(); _Button2.Click += new EventHandler(Button2_Click); _Button1 = new Button(); _Button1.Click += new EventHandler(Button1_Click); _ListBox2 = new ListBox(); _ListBox2.SelectedIndexChanged += new EventHandler(ListBox2_SelectedIndexChanged); TextBox2 = new TextBox(); Label2 = new Label(); TextBox1 = new TextBox(); Label1 = new Label(); GroupBox3 = new GroupBox(); _Button5 = new Button(); _Button5.Click += new EventHandler(Button5_Click); _Button4 = new Button(); _Button4.Click += new EventHandler(Button4_Click); FrntPic = new PictureBox(); _Button3 = new Button(); _Button3.Click += new EventHandler(Button3_Click); _ComboBox1 = new ComboBox(); _ComboBox1.SelectedIndexChanged += new EventHandler(ComboBox1_SelectedIndexChanged); _ListBox3 = new ListBox(); _ListBox3.SelectedIndexChanged += new EventHandler(ListBox3_SelectedIndexChanged); TextBox3 = new TextBox(); Label3 = new Label(); TextBox4 = new TextBox(); Label4 = new Label(); GroupBox1.SuspendLayout(); GroupBox2.SuspendLayout(); GroupBox3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)FrntPic).BeginInit(); SuspendLayout(); // // GroupBox1 // GroupBox1.Controls.Add(_ListBox1); GroupBox1.Location = new Point(12, 12); GroupBox1.Name = "GroupBox1"; GroupBox1.Size = new Size(200, 112); GroupBox1.TabIndex = 0; GroupBox1.TabStop = false; GroupBox1.Text = "Habitats"; // // ListBox1 // _ListBox1.FormattingEnabled = true; _ListBox1.Location = new Point(9, 22); _ListBox1.Name = "_ListBox1"; _ListBox1.Size = new Size(178, 82); _ListBox1.TabIndex = 0; // // GroupBox2 // GroupBox2.Controls.Add(_Button2); GroupBox2.Controls.Add(_Button1); GroupBox2.Controls.Add(_ListBox2); GroupBox2.Controls.Add(TextBox2); GroupBox2.Controls.Add(Label2); GroupBox2.Controls.Add(TextBox1); GroupBox2.Controls.Add(Label1); GroupBox2.Location = new Point(12, 130); GroupBox2.Name = "GroupBox2"; GroupBox2.Size = new Size(240, 275); GroupBox2.TabIndex = 1; GroupBox2.TabStop = false; GroupBox2.Text = "Pages"; // // Button2 // _Button2.Location = new Point(107, 107); _Button2.Name = "_Button2"; _Button2.Size = new Size(100, 23); _Button2.TabIndex = 6; _Button2.Text = "Repoint"; _Button2.UseVisualStyleBackColor = true; // // Button1 // _Button1.Location = new Point(107, 52); _Button1.Name = "_Button1"; _Button1.Size = new Size(100, 23); _Button1.TabIndex = 5; _Button1.Text = "Save"; _Button1.UseVisualStyleBackColor = true; // // ListBox2 // _ListBox2.FormattingEnabled = true; _ListBox2.Location = new Point(12, 140); _ListBox2.Name = "_ListBox2"; _ListBox2.Size = new Size(195, 121); _ListBox2.TabIndex = 4; // // TextBox2 // TextBox2.Location = new Point(107, 81); TextBox2.Name = "TextBox2"; TextBox2.Size = new Size(100, 20); TextBox2.TabIndex = 3; // // Label2 // Label2.AutoSize = true; Label2.Location = new Point(9, 84); Label2.Name = "Label2"; Label2.Size = new Size(76, 13); Label2.TabIndex = 2; Label2.Text = "Pages Pointer:"; // // TextBox1 // TextBox1.Location = new Point(107, 26); TextBox1.Name = "TextBox1"; TextBox1.Size = new Size(49, 20); TextBox1.TabIndex = 1; // // Label1 // Label1.AutoSize = true; Label1.Location = new Point(9, 30); Label1.Name = "Label1"; Label1.Size = new Size(92, 13); Label1.TabIndex = 0; Label1.Text = "Number of Pages:"; // // GroupBox3 // GroupBox3.Controls.Add(_Button5); GroupBox3.Controls.Add(_Button4); GroupBox3.Controls.Add(FrntPic); GroupBox3.Controls.Add(_Button3); GroupBox3.Controls.Add(_ComboBox1); GroupBox3.Controls.Add(_ListBox3); GroupBox3.Controls.Add(TextBox3); GroupBox3.Controls.Add(Label3); GroupBox3.Controls.Add(TextBox4); GroupBox3.Controls.Add(Label4); GroupBox3.Location = new Point(258, 12); GroupBox3.Name = "GroupBox3"; GroupBox3.Size = new Size(240, 393); GroupBox3.TabIndex = 2; GroupBox3.TabStop = false; GroupBox3.Text = "Pokemon"; // // Button5 // _Button5.Location = new Point(122, 106); _Button5.Name = "_Button5"; _Button5.Size = new Size(100, 23); _Button5.TabIndex = 13; _Button5.Text = "Repoint"; _Button5.UseVisualStyleBackColor = true; // // Button4 // _Button4.Location = new Point(122, 52); _Button4.Name = "_Button4"; _Button4.Size = new Size(100, 23); _Button4.TabIndex = 12; _Button4.Text = "Save"; _Button4.UseVisualStyleBackColor = true; // // FrntPic // FrntPic.Location = new Point(36, 292); FrntPic.Name = "FrntPic"; FrntPic.Size = new Size(64, 64); FrntPic.TabIndex = 11; FrntPic.TabStop = false; // // Button3 // _Button3.Location = new Point(132, 265); _Button3.Name = "_Button3"; _Button3.Size = new Size(75, 23); _Button3.TabIndex = 6; _Button3.Text = "Change"; _Button3.UseVisualStyleBackColor = true; // // ComboBox1 // _ComboBox1.AutoCompleteSource = AutoCompleteSource.ListItems; _ComboBox1.FormattingEnabled = true; _ComboBox1.Location = new Point(12, 265); _ComboBox1.Name = "_ComboBox1"; _ComboBox1.Size = new Size(114, 21); _ComboBox1.TabIndex = 5; // // ListBox3 // _ListBox3.FormattingEnabled = true; _ListBox3.Location = new Point(12, 138); _ListBox3.Name = "_ListBox3"; _ListBox3.Size = new Size(195, 121); _ListBox3.TabIndex = 4; // // TextBox3 // TextBox3.Location = new Point(122, 80); TextBox3.Name = "TextBox3"; TextBox3.Size = new Size(85, 20); TextBox3.TabIndex = 3; // // Label3 // Label3.AutoSize = true; Label3.Location = new Point(9, 83); Label3.Name = "Label3"; Label3.Size = new Size(91, 13); Label3.TabIndex = 2; Label3.Text = "Pokemon Pointer:"; // // TextBox4 // TextBox4.Location = new Point(122, 26); TextBox4.Name = "TextBox4"; TextBox4.Size = new Size(49, 20); TextBox4.TabIndex = 1; // // Label4 // Label4.AutoSize = true; Label4.Location = new Point(9, 30); Label4.Name = "Label4"; Label4.Size = new Size(107, 13); Label4.TabIndex = 0; Label4.Text = "Number of Pokemon:"; // // HabitatEditor // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(513, 409); Controls.Add(GroupBox3); Controls.Add(GroupBox2); Controls.Add(GroupBox1); FormBorderStyle = FormBorderStyle.FixedSingle; Icon = (Icon)resources.GetObject("$this.Icon"); MaximizeBox = false; Name = "HabitatEditor"; StartPosition = FormStartPosition.CenterScreen; Text = "Habitat Editor"; GroupBox1.ResumeLayout(false); GroupBox2.ResumeLayout(false); GroupBox2.PerformLayout(); GroupBox3.ResumeLayout(false); GroupBox3.PerformLayout(); ((System.ComponentModel.ISupportInitialize)FrntPic).EndInit(); Load += new EventHandler(HabitatEditor_Load); ResumeLayout(false); }
private void InitializeComponent() { _Button1 = new Button(); _Button1.Click += new EventHandler(Button1_Click); selectEmpoyeeListView = new ListView(); ColumnHeader1 = new ColumnHeader(); ColumnHeader2 = new ColumnHeader(); ColumnHeader3 = new ColumnHeader(); idColumnHeader = new ColumnHeader(); Label1 = new Label(); payMethodComboBox = new ComboBox(); Label2 = new Label(); GroupBox1 = new GroupBox(); _TouchButton3 = new YardTabletControls.TouchButton(); _TouchButton3.ButtonClick += new YardTabletControls.TouchButton.ButtonClickEventHandler(TouchButton3_Load); jobDescriptionComboBox = new ComboBox(); Label5 = new Label(); yardComboBox = new ComboBox(); Label4 = new Label(); typeComboBox = new ComboBox(); Label3 = new Label(); Label7 = new Label(); _selectAllCheckBox = new CheckBox(); _selectAllCheckBox.CheckedChanged += new EventHandler(CheckBox1_CheckedChanged); GroupBox2 = new GroupBox(); testLabel = new Label(); Label6 = new Label(); GroupBox3 = new GroupBox(); Label11 = new Label(); ComboBox1 = new ComboBox(); ComboBox6 = new ComboBox(); Label9 = new Label(); TabControl1 = new TabControl(); TabPage0 = new TabPage(); _scheduleEmployeesTouchButton = new YardTabletControls.TouchButton(); _scheduleEmployeesTouchButton.ButtonClick += new YardTabletControls.TouchButton.ButtonClickEventHandler(scheduleEmployeesTouchButton_Load); TabPage1 = new TabPage(); TouchButton2 = new YardTabletControls.TouchButton(); ListView2 = new ListView(); ColumnHeader5 = new ColumnHeader(); ColumnHeader6 = new ColumnHeader(); ColumnHeader8 = new ColumnHeader(); Label10 = new Label(); TouchButton1 = new YardTabletControls.TouchButton(); GroupBox1.SuspendLayout(); GroupBox2.SuspendLayout(); GroupBox3.SuspendLayout(); TabControl1.SuspendLayout(); TabPage0.SuspendLayout(); TabPage1.SuspendLayout(); SuspendLayout(); // // Button1 // _Button1.Anchor = AnchorStyles.Top | AnchorStyles.Right; _Button1.BackColor = Color.Firebrick; _Button1.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _Button1.ForeColor = Color.White; _Button1.Location = new Point(1291, 14); _Button1.Name = "_Button1"; _Button1.Size = new Size(37, 37); _Button1.TabIndex = 1; _Button1.Text = "X"; _Button1.UseVisualStyleBackColor = false; // // selectEmpoyeeListView // selectEmpoyeeListView.BackColor = Color.WhiteSmoke; selectEmpoyeeListView.CheckBoxes = true; selectEmpoyeeListView.Columns.AddRange(new ColumnHeader[] { ColumnHeader1, ColumnHeader2, ColumnHeader3, idColumnHeader }); selectEmpoyeeListView.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); selectEmpoyeeListView.FullRowSelect = true; selectEmpoyeeListView.HideSelection = false; selectEmpoyeeListView.Location = new Point(13, 58); selectEmpoyeeListView.Name = "selectEmpoyeeListView"; selectEmpoyeeListView.Size = new Size(567, 347); selectEmpoyeeListView.TabIndex = 2; selectEmpoyeeListView.UseCompatibleStateImageBehavior = false; selectEmpoyeeListView.View = View.Details; // // ColumnHeader1 // ColumnHeader1.Text = " Alias"; ColumnHeader1.Width = 165; // // ColumnHeader2 // ColumnHeader2.Text = "First Name"; ColumnHeader2.Width = 182; // // ColumnHeader3 // ColumnHeader3.Text = "Last Name"; ColumnHeader3.Width = 184; // // idColumnHeader // idColumnHeader.Text = ""; idColumnHeader.Width = 7; // // Label1 // Label1.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label1.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label1.ForeColor = Color.White; Label1.Location = new Point(13, 29); Label1.Name = "Label1"; Label1.Size = new Size(567, 37); Label1.TabIndex = 3; Label1.Text = "Select Employees"; Label1.TextAlign = ContentAlignment.TopCenter; // // payMethodComboBox // payMethodComboBox.DropDownStyle = ComboBoxStyle.DropDownList; payMethodComboBox.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); payMethodComboBox.FormattingEnabled = true; payMethodComboBox.Items.AddRange(new object[] { "All", "Hourly", "Salary", "Piece Work/Hour" }); payMethodComboBox.Location = new Point(365, 27); payMethodComboBox.Name = "payMethodComboBox"; payMethodComboBox.Size = new Size(194, 32); payMethodComboBox.TabIndex = 4; // // Label2 // Label2.AutoSize = true; Label2.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label2.ForeColor = Color.Black; Label2.Location = new Point(262, 33); Label2.Name = "Label2"; Label2.Size = new Size(97, 20); Label2.TabIndex = 5; Label2.Text = "Pay Method:"; // // GroupBox1 // GroupBox1.Controls.Add(_TouchButton3); GroupBox1.Controls.Add(jobDescriptionComboBox); GroupBox1.Controls.Add(Label5); GroupBox1.Controls.Add(yardComboBox); GroupBox1.Controls.Add(Label4); GroupBox1.Controls.Add(typeComboBox); GroupBox1.Controls.Add(Label3); GroupBox1.Controls.Add(payMethodComboBox); GroupBox1.Controls.Add(Label2); GroupBox1.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); GroupBox1.ForeColor = Color.Black; GroupBox1.Location = new Point(81, 97); GroupBox1.Name = "GroupBox1"; GroupBox1.Size = new Size(796, 108); GroupBox1.TabIndex = 6; GroupBox1.TabStop = false; GroupBox1.Text = "1 - Filter employees"; // // TouchButton3 // _TouchButton3.AutoSizeMode = AutoSizeMode.GrowAndShrink; _TouchButton3.BevelWidth = Conversions.ToShort(2); _TouchButton3.ButtonEnabled = true; _TouchButton3.ButtonFontSize = Conversions.ToShort(18); _TouchButton3.ButtonStyle = YardTabletControls.TouchButton.StyleOFButton.HorizantalStyle; _TouchButton3.Caption = "Update Search"; _TouchButton3.Font = new Font("Arial Black", 8.142858f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _TouchButton3.Location = new Point(645, 56); _TouchButton3.Margin = new Padding(4, 3, 4, 3); _TouchButton3.Name = "_TouchButton3"; _TouchButton3.Size = new Size(144, 43); _TouchButton3.StickyMode = YardTabletControls.TouchButton.ModeOfSticky.StickyOff; _TouchButton3.TabIndex = 14; _TouchButton3.TextColour = Color.White; _TouchButton3.TouchButtonColour = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); _TouchButton3.Value = false; // // jobDescriptionComboBox // jobDescriptionComboBox.Anchor = AnchorStyles.Left; jobDescriptionComboBox.AutoCompleteCustomSource.AddRange(new string[] { "Accounting Manager", "Bag/Bagger Labourer", "Bulk Labourer/Yard Hand ", "IT Junior", "IT Manager", "Logistics Coordinator", "Logistics Manager", "Machine Operator", "Mechanic", "Operations Manager", "Vice President", "Yard Manager" }); jobDescriptionComboBox.DropDownStyle = ComboBoxStyle.DropDownList; jobDescriptionComboBox.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); jobDescriptionComboBox.FormattingEnabled = true; jobDescriptionComboBox.ItemHeight = 24; jobDescriptionComboBox.Items.AddRange(new object[] { "Accounting Assistant", "Accounting Manager", "Bag Labourer", "Bag/Bagger Labourer", "Bagger Labourer", "Bagger Labourer/Yard Hand", "Bulk Labourer", "Bulk Labourer/Yard Hand", "Container Manager", "Forwarding Manager", "IT Junior", "IT Manager", "Logistics Coordinator", "Logistics Manager", "Machine Operator", "Mechanic", "President", "Safety and Risk Manager", "Vice President", "Yard Hand", "Warehouse Labourer", "All" }); jobDescriptionComboBox.Location = new Point(365, 67); jobDescriptionComboBox.Margin = new Padding(2); jobDescriptionComboBox.Name = "jobDescriptionComboBox"; jobDescriptionComboBox.Size = new Size(228, 32); jobDescriptionComboBox.TabIndex = 15; // // Label5 // Label5.AutoSize = true; Label5.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label5.ForeColor = Color.Black; Label5.Location = new Point(237, 74); Label5.Name = "Label5"; Label5.Size = new Size(123, 20); Label5.TabIndex = 11; Label5.Text = "Job Description:"; // // yardComboBox // yardComboBox.DropDownStyle = ComboBoxStyle.DropDownList; yardComboBox.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); yardComboBox.FormattingEnabled = true; yardComboBox.Items.AddRange(new object[] { "Both", "Ewen", "Lindsey", "All" }); yardComboBox.Location = new Point(92, 67); yardComboBox.Name = "yardComboBox"; yardComboBox.Size = new Size(121, 32); yardComboBox.TabIndex = 8; // // Label4 // Label4.AutoSize = true; Label4.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label4.ForeColor = Color.Black; Label4.Location = new Point(39, 73); Label4.Name = "Label4"; Label4.Size = new Size(47, 20); Label4.TabIndex = 9; Label4.Text = "Yard:"; // // typeComboBox // typeComboBox.DropDownStyle = ComboBoxStyle.DropDownList; typeComboBox.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); typeComboBox.FormattingEnabled = true; typeComboBox.Items.AddRange(new object[] { "All", "Crew", "Office" }); typeComboBox.Location = new Point(92, 27); typeComboBox.Name = "typeComboBox"; typeComboBox.Size = new Size(121, 32); typeComboBox.TabIndex = 6; // // Label3 // Label3.AutoSize = true; Label3.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label3.ForeColor = Color.Black; Label3.Location = new Point(39, 33); Label3.Name = "Label3"; Label3.Size = new Size(47, 20); Label3.TabIndex = 7; Label3.Text = "Type:"; // Label7 // Label7.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label7.Dock = DockStyle.Top; Label7.Font = new Font("Microsoft Sans Serif", 20.25f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label7.ForeColor = Color.White; Label7.Location = new Point(3, 3); Label7.Name = "Label7"; Label7.Size = new Size(1336, 74); Label7.TabIndex = 9; Label7.Text = "Shift Scheduling"; Label7.TextAlign = ContentAlignment.MiddleCenter; // // selectAllCheckBox // _selectAllCheckBox.AutoSize = true; _selectAllCheckBox.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); _selectAllCheckBox.Location = new Point(18, 64); _selectAllCheckBox.Name = "_selectAllCheckBox"; _selectAllCheckBox.Size = new Size(15, 14); _selectAllCheckBox.TabIndex = 10; _selectAllCheckBox.UseVisualStyleBackColor = true; // // GroupBox2 // GroupBox2.Controls.Add(testLabel); GroupBox2.Controls.Add(_selectAllCheckBox); GroupBox2.Controls.Add(selectEmpoyeeListView); GroupBox2.Controls.Add(Label1); GroupBox2.Controls.Add(Label6); GroupBox2.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Bold); GroupBox2.ForeColor = Color.Black; GroupBox2.Location = new Point(81, 224); GroupBox2.Name = "GroupBox2"; GroupBox2.Size = new Size(1193, 419); GroupBox2.TabIndex = 11; GroupBox2.TabStop = false; GroupBox2.Text = "2 - Select employees and assign dates"; // // testLabel // testLabel.Font = new Font("Microsoft Sans Serif", 9.75f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); testLabel.Location = new Point(753, 312); testLabel.Name = "testLabel"; testLabel.Size = new Size(339, 93); testLabel.TabIndex = 12; // // Label6 // Label6.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label6.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label6.ForeColor = Color.White; Label6.Location = new Point(740, 29); Label6.Name = "Label6"; Label6.Size = new Size(359, 37); Label6.TabIndex = 11; Label6.Text = "Select Dates"; Label6.TextAlign = ContentAlignment.TopCenter; // // GroupBox3 // GroupBox3.Controls.Add(Label11); GroupBox3.Controls.Add(ComboBox1); GroupBox3.Controls.Add(ComboBox6); GroupBox3.Controls.Add(Label9); GroupBox3.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Bold); GroupBox3.ForeColor = Color.Black; GroupBox3.Location = new Point(81, 658); GroupBox3.Name = "GroupBox3"; GroupBox3.Size = new Size(497, 125); GroupBox3.TabIndex = 12; GroupBox3.TabStop = false; GroupBox3.Text = "3 - Select shift type and location"; // // Label11 // Label11.AutoSize = true; Label11.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label11.ForeColor = Color.Black; Label11.Location = new Point(48, 42); Label11.Name = "Label11"; Label11.Size = new Size(80, 20); Label11.TabIndex = 14; Label11.Text = "Shift type:"; // // ComboBox1 // ComboBox1.DropDownStyle = ComboBoxStyle.DropDownList; ComboBox1.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); ComboBox1.FormattingEnabled = true; ComboBox1.Items.AddRange(new object[] { "Hourly", "Piece Work/Hour" }); ComboBox1.Location = new Point(134, 36); ComboBox1.Name = "ComboBox1"; ComboBox1.Size = new Size(194, 32); ComboBox1.TabIndex = 12; // // ComboBox6 // ComboBox6.DropDownStyle = ComboBoxStyle.DropDownList; ComboBox6.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); ComboBox6.FormattingEnabled = true; ComboBox6.Items.AddRange(new object[] { "Ewen", "Lindsey" }); ComboBox6.Location = new Point(134, 74); ComboBox6.Name = "ComboBox6"; ComboBox6.Size = new Size(121, 32); ComboBox6.TabIndex = 8; // // Label9 // Label9.AutoSize = true; Label9.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); Label9.ForeColor = Color.Black; Label9.Location = new Point(71, 80); Label9.Name = "Label9"; Label9.Size = new Size(57, 20); Label9.TabIndex = 9; Label9.Text = "* Yard:"; // // TabControl1 // TabControl1.Alignment = TabAlignment.Left; TabControl1.Controls.Add(TabPage0); TabControl1.Controls.Add(TabPage1); TabControl1.Dock = DockStyle.Fill; TabControl1.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); TabControl1.ItemSize = new Size(115, 35); TabControl1.Location = new Point(0, 0); TabControl1.Multiline = true; TabControl1.Name = "TabControl1"; TabControl1.Padding = new Point(15, 3); TabControl1.SelectedIndex = 0; TabControl1.Size = new Size(1385, 818); TabControl1.TabIndex = 14; // // TabPage0 // TabPage0.Controls.Add(_scheduleEmployeesTouchButton); TabPage0.Controls.Add(_Button1); TabPage0.Controls.Add(Label7); TabPage0.Controls.Add(GroupBox1); TabPage0.Controls.Add(GroupBox3); TabPage0.Controls.Add(GroupBox2); TabPage0.Location = new Point(39, 4); TabPage0.Name = "TabPage0"; TabPage0.Padding = new Padding(3); TabPage0.Size = new Size(1342, 810); TabPage0.TabIndex = 1; TabPage0.Text = "Add Shifts"; TabPage0.UseVisualStyleBackColor = true; // // scheduleEmployeesTouchButton // _scheduleEmployeesTouchButton.AutoSizeMode = AutoSizeMode.GrowAndShrink; _scheduleEmployeesTouchButton.BevelWidth = Conversions.ToShort(2); _scheduleEmployeesTouchButton.ButtonEnabled = true; _scheduleEmployeesTouchButton.ButtonFontSize = Conversions.ToShort(24); _scheduleEmployeesTouchButton.ButtonStyle = YardTabletControls.TouchButton.StyleOFButton.HorizantalStyle; _scheduleEmployeesTouchButton.Caption = "Schedule Employees"; _scheduleEmployeesTouchButton.Font = new Font("Arial Black", 8.142858f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); _scheduleEmployeesTouchButton.Location = new Point(1008, 717); _scheduleEmployeesTouchButton.Margin = new Padding(4, 3, 4, 3); _scheduleEmployeesTouchButton.Name = "_scheduleEmployeesTouchButton"; _scheduleEmployeesTouchButton.Size = new Size(266, 56); _scheduleEmployeesTouchButton.StickyMode = YardTabletControls.TouchButton.ModeOfSticky.StickyOff; _scheduleEmployeesTouchButton.TabIndex = 16; _scheduleEmployeesTouchButton.TextColour = Color.White; _scheduleEmployeesTouchButton.TouchButtonColour = Color.Olive; _scheduleEmployeesTouchButton.Value = false; // // TabPage1 // TabPage1.Controls.Add(TouchButton2); TabPage1.Controls.Add(ListView2); TabPage1.Controls.Add(Label10); TabPage1.Controls.Add(TouchButton1); TabPage1.ForeColor = Color.Green; TabPage1.Location = new Point(39, 4); TabPage1.Name = "TabPage1"; TabPage1.Padding = new Padding(3); TabPage1.Size = new Size(1342, 810); TabPage1.TabIndex = 0; TabPage1.Text = "Schedule"; TabPage1.UseVisualStyleBackColor = true; // // TouchButton2 // TouchButton2.AutoSizeMode = AutoSizeMode.GrowAndShrink; TouchButton2.BevelWidth = Conversions.ToShort(2); TouchButton2.ButtonEnabled = true; TouchButton2.ButtonFontSize = Conversions.ToShort(28); TouchButton2.ButtonStyle = YardTabletControls.TouchButton.StyleOFButton.HorizantalStyle; TouchButton2.Caption = ">"; TouchButton2.Font = new Font("Arial Black", 8.142858f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); TouchButton2.Location = new Point(816, 154); TouchButton2.Margin = new Padding(4, 3, 4, 3); TouchButton2.Name = "TouchButton2"; TouchButton2.Size = new Size(39, 37); TouchButton2.StickyMode = YardTabletControls.TouchButton.ModeOfSticky.StickyOff; TouchButton2.TabIndex = 7; TouchButton2.TextColour = Color.White; TouchButton2.TouchButtonColour = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); TouchButton2.Value = false; // // ListView2 // ListView2.BackColor = Color.WhiteSmoke; ListView2.CheckBoxes = true; ListView2.Columns.AddRange(new ColumnHeader[] { ColumnHeader5, ColumnHeader6, ColumnHeader8 }); ListView2.Font = new Font("Microsoft Sans Serif", 12.0f, FontStyle.Regular, GraphicsUnit.Point, Conversions.ToByte(0)); ListView2.FullRowSelect = true; ListView2.HideSelection = false; ListView2.Location = new Point(70, 222); ListView2.Name = "ListView2"; ListView2.Size = new Size(785, 416); ListView2.TabIndex = 4; ListView2.UseCompatibleStateImageBehavior = false; ListView2.View = View.Details; // // ColumnHeader5 // ColumnHeader5.Text = ""; ColumnHeader5.TextAlign = HorizontalAlignment.Center; ColumnHeader5.Width = 25; // // ColumnHeader6 // ColumnHeader6.Text = "Alias"; ColumnHeader6.Width = 150; // // ColumnHeader8 // ColumnHeader8.Text = "Last Name"; ColumnHeader8.Width = 150; // // Label10 // Label10.BackColor = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(0)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(64))); Label10.Font = new Font("Microsoft Sans Serif", 14.25f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); Label10.ForeColor = Color.White; Label10.Location = new Point(70, 194); Label10.Name = "Label10"; Label10.Size = new Size(785, 56); Label10.TabIndex = 5; Label10.Text = "Schedule for Sep 15, 2019"; Label10.TextAlign = ContentAlignment.TopCenter; // // TouchButton1 // TouchButton1.AutoSizeMode = AutoSizeMode.GrowAndShrink; TouchButton1.BevelWidth = Conversions.ToShort(2); TouchButton1.ButtonEnabled = true; TouchButton1.ButtonFontSize = Conversions.ToShort(28); TouchButton1.ButtonStyle = YardTabletControls.TouchButton.StyleOFButton.HorizantalStyle; TouchButton1.Caption = "<"; TouchButton1.Font = new Font("Arial Black", 8.142858f, FontStyle.Bold, GraphicsUnit.Point, Conversions.ToByte(0)); TouchButton1.Location = new Point(769, 154); TouchButton1.Margin = new Padding(4, 3, 4, 3); TouchButton1.Name = "TouchButton1"; TouchButton1.Size = new Size(39, 37); TouchButton1.StickyMode = YardTabletControls.TouchButton.ModeOfSticky.StickyOff; TouchButton1.TabIndex = 6; TouchButton1.TextColour = Color.White; TouchButton1.TouchButtonColour = Color.FromArgb(Conversions.ToInteger(Conversions.ToByte(192)), Conversions.ToInteger(Conversions.ToByte(64)), Conversions.ToInteger(Conversions.ToByte(0))); TouchButton1.Value = false; // // FrmShiftScheduling // AutoScaleDimensions = new SizeF(6.0f, 13.0f); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.Snow; ClientSize = new Size(1385, 818); ControlBox = false; Controls.Add(TabControl1); FormBorderStyle = FormBorderStyle.FixedSingle; Margin = new Padding(2); Name = "FrmShiftScheduling"; StartPosition = FormStartPosition.CenterScreen; GroupBox1.ResumeLayout(false); GroupBox1.PerformLayout(); GroupBox2.ResumeLayout(false); GroupBox2.PerformLayout(); GroupBox3.ResumeLayout(false); GroupBox3.PerformLayout(); TabControl1.ResumeLayout(false); TabPage0.ResumeLayout(false); TabPage1.ResumeLayout(false); Load += new EventHandler(FrmShiftScheduling_Load); ResumeLayout(false); }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SSHTransferWindow)); grpFiles = new GroupBox(); lblLocalFile = new Label(); txtLocalFile = new TextBox(); txtRemoteFile = new TextBox(); lblRemoteFile = new Label(); btnBrowse = new Button(); grpConnection = new GroupBox(); radProtSFTP = new RadioButton(); radProtSCP = new RadioButton(); lblProtocol = new Label(); lblPassword = new Label(); lblUser = new Label(); lblPort = new Label(); lblHost = new Label(); txtPort = new TextBox(); txtHost = new TextBox(); txtPassword = new TextBox(); txtUser = new TextBox(); btnTransfer = new Button(); pbStatus = new ProgressBar(); grpFiles.SuspendLayout(); grpConnection.SuspendLayout(); SuspendLayout(); // // grpFiles // grpFiles.Anchor = (((AnchorStyles.Top | AnchorStyles.Bottom) | AnchorStyles.Left) | AnchorStyles.Right); grpFiles.Controls.Add(lblLocalFile); grpFiles.Controls.Add(txtLocalFile); grpFiles.Controls.Add(txtRemoteFile); grpFiles.Controls.Add(lblRemoteFile); grpFiles.Controls.Add(btnBrowse); grpFiles.FlatStyle = FlatStyle.Flat; grpFiles.Location = new System.Drawing.Point(12, 153); grpFiles.Name = "grpFiles"; grpFiles.Size = new System.Drawing.Size(668, 194); grpFiles.TabIndex = 2000; grpFiles.TabStop = false; grpFiles.Text = "Files"; // // lblLocalFile // lblLocalFile.AutoSize = true; lblLocalFile.Location = new System.Drawing.Point(20, 25); lblLocalFile.Name = "lblLocalFile"; lblLocalFile.Size = new System.Drawing.Size(55, 13); lblLocalFile.TabIndex = 10; lblLocalFile.Text = "Local file:"; // // txtLocalFile // txtLocalFile.Anchor = ((AnchorStyles.Top | AnchorStyles.Left) | AnchorStyles.Right); txtLocalFile.BorderStyle = BorderStyle.FixedSingle; txtLocalFile.Location = new System.Drawing.Point(105, 23); txtLocalFile.Name = "txtLocalFile"; txtLocalFile.Size = new System.Drawing.Size(455, 22); txtLocalFile.TabIndex = 20; // // txtRemoteFile // txtRemoteFile.Anchor = ((AnchorStyles.Top | AnchorStyles.Left) | AnchorStyles.Right); txtRemoteFile.BorderStyle = BorderStyle.FixedSingle; txtRemoteFile.Location = new System.Drawing.Point(105, 49); txtRemoteFile.Name = "txtRemoteFile"; txtRemoteFile.Size = new System.Drawing.Size(542, 22); txtRemoteFile.TabIndex = 50; // // lblRemoteFile // lblRemoteFile.AutoSize = true; lblRemoteFile.Location = new System.Drawing.Point(20, 51); lblRemoteFile.Name = "lblRemoteFile"; lblRemoteFile.Size = new System.Drawing.Size(68, 13); lblRemoteFile.TabIndex = 40; lblRemoteFile.Text = "Remote file:"; // // btnBrowse // btnBrowse.Anchor = (AnchorStyles.Top | AnchorStyles.Right); btnBrowse.FlatStyle = FlatStyle.Flat; btnBrowse.Location = new System.Drawing.Point(566, 21); btnBrowse.Name = "btnBrowse"; btnBrowse.Size = new System.Drawing.Size(81, 23); btnBrowse.TabIndex = 30; btnBrowse.Text = "Browse"; btnBrowse.UseVisualStyleBackColor = true; btnBrowse.Click += new EventHandler(btnBrowse_Click); // // grpConnection // grpConnection.Anchor = ((AnchorStyles.Top | AnchorStyles.Left) | AnchorStyles.Right); grpConnection.Controls.Add(radProtSFTP); grpConnection.Controls.Add(radProtSCP); grpConnection.Controls.Add(lblProtocol); grpConnection.Controls.Add(lblPassword); grpConnection.Controls.Add(lblUser); grpConnection.Controls.Add(lblPort); grpConnection.Controls.Add(lblHost); grpConnection.Controls.Add(txtPort); grpConnection.Controls.Add(txtHost); grpConnection.Controls.Add(txtPassword); grpConnection.Controls.Add(txtUser); grpConnection.FlatStyle = FlatStyle.Flat; grpConnection.Location = new System.Drawing.Point(12, 12); grpConnection.Name = "grpConnection"; grpConnection.Size = new System.Drawing.Size(668, 135); grpConnection.TabIndex = 1000; grpConnection.TabStop = false; grpConnection.Text = "Connection"; // // radProtSFTP // radProtSFTP.AutoSize = true; radProtSFTP.FlatStyle = FlatStyle.Flat; radProtSFTP.Location = new System.Drawing.Point(153, 103); radProtSFTP.Name = "radProtSFTP"; radProtSFTP.Size = new System.Drawing.Size(47, 17); radProtSFTP.TabIndex = 110; radProtSFTP.Text = "SFTP"; radProtSFTP.UseVisualStyleBackColor = true; // // radProtSCP // radProtSCP.AutoSize = true; radProtSCP.Checked = true; radProtSCP.FlatStyle = FlatStyle.Flat; radProtSCP.Location = new System.Drawing.Point(92, 103); radProtSCP.Name = "radProtSCP"; radProtSCP.Size = new System.Drawing.Size(43, 17); radProtSCP.TabIndex = 100; radProtSCP.TabStop = true; radProtSCP.Text = "SCP"; radProtSCP.UseVisualStyleBackColor = true; // // lblProtocol // lblProtocol.AutoSize = true; lblProtocol.Location = new System.Drawing.Point(20, 105); lblProtocol.Name = "lblProtocol"; lblProtocol.Size = new System.Drawing.Size(53, 13); lblProtocol.TabIndex = 90; lblProtocol.Text = "Protocol:"; // // lblPassword // lblPassword.AutoSize = true; lblPassword.Location = new System.Drawing.Point(20, 79); lblPassword.Name = "lblPassword"; lblPassword.Size = new System.Drawing.Size(59, 13); lblPassword.TabIndex = 70; lblPassword.Text = "Password:"******"lblUser"; lblUser.Size = new System.Drawing.Size(33, 13); lblUser.TabIndex = 50; lblUser.Text = "User:"******"lblPort"; lblPort.Size = new System.Drawing.Size(31, 13); lblPort.TabIndex = 30; lblPort.Text = "Port:"; // // lblHost // lblHost.AutoSize = true; lblHost.Location = new System.Drawing.Point(20, 27); lblHost.Name = "lblHost"; lblHost.Size = new System.Drawing.Size(34, 13); lblHost.TabIndex = 10; lblHost.Text = "Host:"; // // txtPort // txtPort.Anchor = (AnchorStyles.Top | AnchorStyles.Right); txtPort.BorderStyle = BorderStyle.FixedSingle; txtPort.Location = new System.Drawing.Point(617, 25); txtPort.Name = "txtPort"; txtPort.Size = new System.Drawing.Size(30, 22); txtPort.TabIndex = 40; // // txtHost // txtHost.Anchor = ((AnchorStyles.Top | AnchorStyles.Left) | AnchorStyles.Right); txtHost.BorderStyle = BorderStyle.FixedSingle; txtHost.Location = new System.Drawing.Point(105, 25); txtHost.Name = "txtHost"; txtHost.Size = new System.Drawing.Size(471, 22); txtHost.TabIndex = 20; // // txtPassword // txtPassword.Anchor = ((AnchorStyles.Top | AnchorStyles.Left) | AnchorStyles.Right); txtPassword.BorderStyle = BorderStyle.FixedSingle; txtPassword.Location = new System.Drawing.Point(105, 77); txtPassword.Name = "txtPassword"; txtPassword.Size = new System.Drawing.Size(471, 22); txtPassword.TabIndex = 80; txtPassword.UseSystemPasswordChar = true; // // txtUser // txtUser.Anchor = ((AnchorStyles.Top | AnchorStyles.Left) | AnchorStyles.Right); txtUser.BorderStyle = BorderStyle.FixedSingle; txtUser.Location = new System.Drawing.Point(105, 51); txtUser.Name = "txtUser"; txtUser.Size = new System.Drawing.Size(471, 22); txtUser.TabIndex = 60; // // btnTransfer // btnTransfer.Anchor = (AnchorStyles.Bottom | AnchorStyles.Right); btnTransfer.FlatStyle = FlatStyle.Flat; btnTransfer.Image = Resources.SSHTransfer; btnTransfer.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; btnTransfer.Location = new System.Drawing.Point(597, 382); btnTransfer.Name = "btnTransfer"; btnTransfer.Size = new System.Drawing.Size(83, 29); btnTransfer.TabIndex = 10000; btnTransfer.Text = "Transfer"; btnTransfer.TextAlign = System.Drawing.ContentAlignment.MiddleRight; btnTransfer.UseVisualStyleBackColor = true; btnTransfer.Click += new EventHandler(btnTransfer_Click); // // pbStatus // pbStatus.Anchor = ((AnchorStyles.Bottom | AnchorStyles.Left) | AnchorStyles.Right); pbStatus.Location = new System.Drawing.Point(12, 353); pbStatus.Name = "pbStatus"; pbStatus.Size = new System.Drawing.Size(668, 23); pbStatus.TabIndex = 3000; // // SSHTransferWindow // ClientSize = new System.Drawing.Size(692, 423); Controls.Add(grpFiles); Controls.Add(grpConnection); Controls.Add(btnTransfer); Controls.Add(pbStatus); Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0); Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); Name = "SSHTransferWindow"; TabText = "SSH File Transfer"; Text = "SSH File Transfer"; Load += new EventHandler(SSHTransfer_Load); grpFiles.ResumeLayout(false); grpFiles.PerformLayout(); grpConnection.ResumeLayout(false); grpConnection.PerformLayout(); ResumeLayout(false); }