/// <summary> /// Reloads items in the <c>DomainUpDown</c> control. If items are /// not sorted, selection is kept. /// </summary> /// <param name="listBox"> /// <c>DomainUpDown</c> to localize. /// </param> /// <param name="resources"> /// <c>ResourceManager</c> object. /// </param> private void ReloadUpDownItems(System.Windows.Forms.DomainUpDown domainUpDown, System.Resources.ResourceManager resources) { if (domainUpDown.Items.Count > 0) { int selectedIndex = domainUpDown.SelectedIndex; ReloadItems(domainUpDown.Name, domainUpDown.Items, domainUpDown.Items.Count, resources); domainUpDown.SelectedIndex = selectedIndex; } }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.domainUpDown1 = new System.Windows.Forms.DomainUpDown(); this.numericUpDown1 = new System.Windows.Forms.NumericUpDown(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit(); this.SuspendLayout(); // // domainUpDown1 // this.domainUpDown1.Items.Add("Windows"); this.domainUpDown1.Items.Add("OS/2"); this.domainUpDown1.Items.Add("Unix"); this.domainUpDown1.Items.Add("Linux"); this.domainUpDown1.Items.Add("Macintosh"); this.domainUpDown1.Location = new System.Drawing.Point(56, 64); this.domainUpDown1.Name = "domainUpDown1"; this.domainUpDown1.TabIndex = 0; this.domainUpDown1.Text = "domainUpDown1"; // // numericUpDown1 // this.numericUpDown1.Location = new System.Drawing.Point(56, 24); this.numericUpDown1.Maximum = new System.Decimal(new int[] { 9, 0, 0, 0 }); this.numericUpDown1.Minimum = new System.Decimal(new int[] { 1, 0, 0, 0 }); this.numericUpDown1.Name = "numericUpDown1"; this.numericUpDown1.TabIndex = 1; this.numericUpDown1.Value = new System.Decimal(new int[] { 1, 0, 0, 0 }); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(240, 117); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.numericUpDown1, this.domainUpDown1 }); this.Name = "Form1"; this.Text = "Form1"; ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit(); this.ResumeLayout(false); }
public void BasicPropertiesTest () { DomainUpDown domainUpDown = new DomainUpDown (); IRawElementProviderSimple provider = ProviderFactory.GetProvider (domainUpDown); TestProperty (provider, AutomationElementIdentifiers.ControlTypeProperty, ControlType.Spinner.Id); TestProperty (provider, AutomationElementIdentifiers.LocalizedControlTypeProperty, "spinner"); }
public void ProviderPatternTest () { DomainUpDown domainUpDown = new DomainUpDown (); IRawElementProviderSimple provider = ProviderFactory.GetProvider (domainUpDown); object valueProvider = provider.GetPatternProvider (ValuePatternIdentifiers.Pattern.Id); Assert.IsNotNull (valueProvider, "Not returning ValuePatternIdentifiers."); Assert.IsTrue (valueProvider is IValueProvider, "Not returning ValuePatternIdentifiers."); object selectionProvider = provider.GetPatternProvider (SelectionPatternIdentifiers.Pattern.Id); Assert.IsNotNull (selectionProvider, "Not returning SelectionPatternIdentifiers."); Assert.IsTrue (selectionProvider is ISelectionProvider, "Not returning SelectionPatternIdentifiers."); }
private void PersonalTasksInitialize() { domainUpDownsPersonalList = new List <DomainUpDown>(); //readFile.Close(); int x = 100; int y = 50; for (int i = 1; i <= 10; i++) { labelBox = new System.Windows.Forms.Label(); labelBox.Location = new System.Drawing.Point(30, y); labelBox.Text = i.ToString(); labelBox.Size = new System.Drawing.Size(40, 20); domainUpDown = new System.Windows.Forms.DomainUpDown(); domainUpDown.Location = new System.Drawing.Point(x, y); domainUpDown.Name = "domainUpDown" + i; domainUpDown.MinimumSize = new System.Drawing.Size(500, 100); //domainUpDown.Size = new System.Drawing.Size(500, 100); domainUpDown.AllowDrop = true; //domainUpDown.AutoSize = true; domainUpDown.TabIndex = i; domainUpDown.Text = ""; domainUpDownsPersonalList.Add(domainUpDown); if (personalTasks != null) { domainUpDown.Items.AddRange(personalTasks); } checkBox = new System.Windows.Forms.CheckBox(); checkBox.Location = new System.Drawing.Point(650, y); checkBox.Checked = false; checkBox.Size = new System.Drawing.Size(20, 20); y += 50; personalTabPage.Controls.Add(labelBox); personalTabPage.Controls.Add(domainUpDown); personalTabPage.Controls.Add(checkBox); } }
public void ISelectionPatternTest () { DomainUpDown domainUpDown = new DomainUpDown (); domainUpDown.Items.Add ("First"); domainUpDown.Items.Add ("Second"); domainUpDown.Items.Add ("Third"); domainUpDown.Items.Add ("Fourth"); Form.Controls.Add (domainUpDown); IRawElementProviderSimple provider = ProviderFactory.GetProvider (domainUpDown); ISelectionProvider prov = (ISelectionProvider)provider.GetPatternProvider ( SelectionPatternIdentifiers.Pattern.Id); Assert.IsNotNull (prov); IRawElementProviderSimple[] items; // Test initial no selection Assert.AreEqual (-1, domainUpDown.SelectedIndex); items = prov.GetSelection (); Assert.IsNotNull (items, "Should never return null"); Assert.AreEqual (0, items.Length, "Too many items returned"); // Test first item selection domainUpDown.SelectedIndex = 0; Assert.AreEqual (0, domainUpDown.SelectedIndex); items = prov.GetSelection (); Assert.IsNotNull (items, "Should never return null"); Assert.AreEqual (1, items.Length, "Too many or too few items returned"); IValueProvider item_val_prov = (IValueProvider)items[0].GetPatternProvider ( ValuePatternIdentifiers.Pattern.Id); Assert.AreEqual ("First", item_val_prov.Value); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.knownColorUpDown = new System.Windows.Forms.DomainUpDown(); this.SuspendLayout(); // // knownColorUpDown // this.knownColorUpDown.Location = new System.Drawing.Point(112, 56); this.knownColorUpDown.Name = "knownColorUpDown"; this.knownColorUpDown.Size = new System.Drawing.Size(152, 20); this.knownColorUpDown.TabIndex = 0; this.knownColorUpDown.SelectedItemChanged += new System.EventHandler(this.knownColorUpDown_SelectedItemChanged); // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(376, 150); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.knownColorUpDown }); this.Name = "MainForm"; this.Text = "ColorUpDown Example"; this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.knownColorUpDown = new System.Windows.Forms.DomainUpDown(); this.SuspendLayout(); // // knownColorUpDown // this.knownColorUpDown.Location = new System.Drawing.Point(112, 56); this.knownColorUpDown.Name = "knownColorUpDown"; this.knownColorUpDown.Size = new System.Drawing.Size(152, 20); this.knownColorUpDown.TabIndex = 0; this.knownColorUpDown.SelectedItemChanged += new System.EventHandler(this.knownColorUpDown_SelectedItemChanged); // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(376, 150); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.knownColorUpDown}); this.Name = "MainForm"; this.Text = "ColorUpDown Example"; this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.optionPagesListView = new System.Windows.Forms.ListView(); this.okButton = new System.Windows.Forms.Button(); this.cancelButton = new System.Windows.Forms.Button(); this.messageBrowsingPanel = new System.Windows.Forms.Panel(); this.selectedDisplayPropertiesLabel = new System.Windows.Forms.Label(); this.messageBrowsingColumnsSelectedListView = new System.Windows.Forms.ListView(); this.availablePropertiesLabel = new System.Windows.Forms.Label(); this.messageBrowsingColumnsAvailableListView = new System.Windows.Forms.ListView(); this.messageBrowsingDownButton = new System.Windows.Forms.Button(); this.messageBrowsingUpButton = new System.Windows.Forms.Button(); this.generalPanel = new System.Windows.Forms.Panel(); this.recentlyUsedFileListLabel2 = new System.Windows.Forms.Label(); this.recentlyUsedFileListUpDown = new System.Windows.Forms.DomainUpDown(); this.recentlyUsedFileListLabel1 = new System.Windows.Forms.Label(); this.messageBrowsingPanel.SuspendLayout(); this.generalPanel.SuspendLayout(); this.SuspendLayout(); // // optionPagesListView // this.optionPagesListView.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.optionPagesListView.Location = new System.Drawing.Point(8, 8); this.optionPagesListView.Name = "optionPagesListView"; this.optionPagesListView.Size = new System.Drawing.Size(164, 500); this.optionPagesListView.TabIndex = 0; this.optionPagesListView.View = System.Windows.Forms.View.List; this.optionPagesListView.SelectedIndexChanged += new System.EventHandler(this.optionPagesListView_SelectedIndexChanged); // // okButton // this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.okButton.FlatStyle = System.Windows.Forms.FlatStyle.System; this.okButton.Location = new System.Drawing.Point(408, 524); this.okButton.Name = "okButton"; this.okButton.TabIndex = 1; this.okButton.Text = "&OK"; this.okButton.Click += new System.EventHandler(this.okButton_Click); // // cancelButton // this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancelButton.FlatStyle = System.Windows.Forms.FlatStyle.System; this.cancelButton.Location = new System.Drawing.Point(488, 524); this.cancelButton.Name = "cancelButton"; this.cancelButton.TabIndex = 2; this.cancelButton.Text = "&Cancel"; // // messageBrowsingPanel // this.messageBrowsingPanel.Controls.Add(this.selectedDisplayPropertiesLabel); this.messageBrowsingPanel.Controls.Add(this.messageBrowsingColumnsSelectedListView); this.messageBrowsingPanel.Controls.Add(this.availablePropertiesLabel); this.messageBrowsingPanel.Controls.Add(this.messageBrowsingColumnsAvailableListView); this.messageBrowsingPanel.Controls.Add(this.messageBrowsingDownButton); this.messageBrowsingPanel.Controls.Add(this.messageBrowsingUpButton); this.messageBrowsingPanel.Location = new System.Drawing.Point(180, 8); this.messageBrowsingPanel.Name = "messageBrowsingPanel"; this.messageBrowsingPanel.Size = new System.Drawing.Size(384, 314); this.messageBrowsingPanel.TabIndex = 4; this.messageBrowsingPanel.Tag = ""; // // selectedDisplayPropertiesLabel // this.selectedDisplayPropertiesLabel.Location = new System.Drawing.Point(4, 4); this.selectedDisplayPropertiesLabel.Name = "selectedDisplayPropertiesLabel"; this.selectedDisplayPropertiesLabel.Size = new System.Drawing.Size(180, 16); this.selectedDisplayPropertiesLabel.TabIndex = 11; this.selectedDisplayPropertiesLabel.Text = "Selected Display Properties:"; // // messageBrowsingColumnsSelectedListView // this.messageBrowsingColumnsSelectedListView.Location = new System.Drawing.Point(4, 20); this.messageBrowsingColumnsSelectedListView.Name = "messageBrowsingColumnsSelectedListView"; this.messageBrowsingColumnsSelectedListView.Size = new System.Drawing.Size(348, 136); this.messageBrowsingColumnsSelectedListView.TabIndex = 10; this.messageBrowsingColumnsSelectedListView.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.messageBrowsingColumnsSelectedListView_ItemCheck); // // availablePropertiesLabel // this.availablePropertiesLabel.Location = new System.Drawing.Point(8, 164); this.availablePropertiesLabel.Name = "availablePropertiesLabel"; this.availablePropertiesLabel.Size = new System.Drawing.Size(160, 16); this.availablePropertiesLabel.TabIndex = 9; this.availablePropertiesLabel.Text = "Available Properties:"; // // messageBrowsingColumnsAvailableListView // this.messageBrowsingColumnsAvailableListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.messageBrowsingColumnsAvailableListView.Location = new System.Drawing.Point(4, 180); this.messageBrowsingColumnsAvailableListView.Name = "messageBrowsingColumnsAvailableListView"; this.messageBrowsingColumnsAvailableListView.Size = new System.Drawing.Size(376, 132); this.messageBrowsingColumnsAvailableListView.TabIndex = 8; this.messageBrowsingColumnsAvailableListView.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.messageBrowsingColumnsAvailableListView_ItemCheck); // // messageBrowsingDownButton // this.messageBrowsingDownButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.messageBrowsingDownButton.FlatStyle = System.Windows.Forms.FlatStyle.System; this.messageBrowsingDownButton.Font = new System.Drawing.Font("Arial", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.messageBrowsingDownButton.Location = new System.Drawing.Point(356, 51); this.messageBrowsingDownButton.Name = "messageBrowsingDownButton"; this.messageBrowsingDownButton.Size = new System.Drawing.Size(20, 17); this.messageBrowsingDownButton.TabIndex = 5; this.messageBrowsingDownButton.Text = "▼"; this.messageBrowsingDownButton.Click += new System.EventHandler(this.messageBrowsingUpDownButton_Click); // // messageBrowsingUpButton // this.messageBrowsingUpButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.messageBrowsingUpButton.FlatStyle = System.Windows.Forms.FlatStyle.System; this.messageBrowsingUpButton.Font = new System.Drawing.Font("Arial", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.messageBrowsingUpButton.ForeColor = System.Drawing.SystemColors.ControlDark; this.messageBrowsingUpButton.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.messageBrowsingUpButton.Location = new System.Drawing.Point(356, 36); this.messageBrowsingUpButton.Name = "messageBrowsingUpButton"; this.messageBrowsingUpButton.Size = new System.Drawing.Size(20, 16); this.messageBrowsingUpButton.TabIndex = 6; this.messageBrowsingUpButton.Text = "▲"; this.messageBrowsingUpButton.Click += new System.EventHandler(this.messageBrowsingUpDownButton_Click); // // generalPanel // this.generalPanel.Controls.Add(this.recentlyUsedFileListLabel2); this.generalPanel.Controls.Add(this.recentlyUsedFileListUpDown); this.generalPanel.Controls.Add(this.recentlyUsedFileListLabel1); this.generalPanel.Location = new System.Drawing.Point(16, 352); this.generalPanel.Name = "generalPanel"; this.generalPanel.Size = new System.Drawing.Size(384, 314); this.generalPanel.TabIndex = 5; this.generalPanel.Tag = ""; // // recentlyUsedFileListLabel2 // this.recentlyUsedFileListLabel2.Location = new System.Drawing.Point(160, 16); this.recentlyUsedFileListLabel2.Name = "recentlyUsedFileListLabel2"; this.recentlyUsedFileListLabel2.Size = new System.Drawing.Size(52, 16); this.recentlyUsedFileListLabel2.TabIndex = 2; this.recentlyUsedFileListLabel2.Text = "entries"; // // recentlyUsedFileListUpDown // this.recentlyUsedFileListUpDown.Location = new System.Drawing.Point(120, 12); this.recentlyUsedFileListUpDown.Name = "recentlyUsedFileListUpDown"; this.recentlyUsedFileListUpDown.Size = new System.Drawing.Size(36, 21); this.recentlyUsedFileListUpDown.TabIndex = 1; this.recentlyUsedFileListUpDown.Text = "4"; this.recentlyUsedFileListUpDown.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.recentlyUsedFileListUpDown_KeyPress); this.recentlyUsedFileListUpDown.Validating += new System.ComponentModel.CancelEventHandler(this.recentlyUsedFileListUpDown_Validating); // // recentlyUsedFileListLabel1 // this.recentlyUsedFileListLabel1.Location = new System.Drawing.Point(8, 16); this.recentlyUsedFileListLabel1.Name = "recentlyUsedFileListLabel1"; this.recentlyUsedFileListLabel1.Size = new System.Drawing.Size(116, 16); this.recentlyUsedFileListLabel1.TabIndex = 0; this.recentlyUsedFileListLabel1.Text = "Recently used file list:"; // // OptionsDialog // this.AutoScaleBaseSize = new System.Drawing.Size(5, 14); this.ClientSize = new System.Drawing.Size(570, 555); this.Controls.Add(this.generalPanel); this.Controls.Add(this.messageBrowsingPanel); this.Controls.Add(this.cancelButton); this.Controls.Add(this.okButton); this.Controls.Add(this.optionPagesListView); this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "OptionsDialog"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Options"; this.Load += new System.EventHandler(this.OptionsDialog_Load); this.messageBrowsingPanel.ResumeLayout(false); this.generalPanel.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.groupBoxX = new System.Windows.Forms.GroupBox(); this.textBoxXMax = new System.Windows.Forms.TextBox(); this.labelXMin = new System.Windows.Forms.Label(); this.labelXMax = new System.Windows.Forms.Label(); this.textBoxXMin = new System.Windows.Forms.TextBox(); this.groupBoxY = new System.Windows.Forms.GroupBox(); this.textBoxYMax = new System.Windows.Forms.TextBox(); this.labelYMin = new System.Windows.Forms.Label(); this.labelYMax = new System.Windows.Forms.Label(); this.textBoxYMin = new System.Windows.Forms.TextBox(); this.checkBoxDetails = new System.Windows.Forms.CheckBox(); this.groupBoxParam = new System.Windows.Forms.GroupBox(); this.domainUpDownParamValues = new System.Windows.Forms.DomainUpDown(); this.labelParameterValues = new System.Windows.Forms.Label(); this.textBoxParamMax = new System.Windows.Forms.TextBox(); this.labelParamMin = new System.Windows.Forms.Label(); this.labelParamMax = new System.Windows.Forms.Label(); this.textBoxParamMin = new System.Windows.Forms.TextBox(); this.groupBoxX.SuspendLayout(); this.groupBoxY.SuspendLayout(); this.groupBoxParam.SuspendLayout(); this.SuspendLayout(); // // groupBoxX // this.groupBoxX.Controls.Add(this.textBoxXMax); this.groupBoxX.Controls.Add(this.labelXMin); this.groupBoxX.Controls.Add(this.labelXMax); this.groupBoxX.Controls.Add(this.textBoxXMin); this.groupBoxX.Location = new System.Drawing.Point(4, 4); this.groupBoxX.Name = "groupBoxX"; this.groupBoxX.Size = new System.Drawing.Size(128, 60); this.groupBoxX.TabIndex = 3; this.groupBoxX.TabStop = false; this.groupBoxX.Text = "X Variable"; // // textBoxXMax // this.textBoxXMax.Location = new System.Drawing.Point(44, 36); this.textBoxXMax.Name = "textBoxXMax"; this.textBoxXMax.Size = new System.Drawing.Size(80, 20); this.textBoxXMax.TabIndex = 3; this.textBoxXMax.Text = ""; this.textBoxXMax.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxXMax.Validating += new System.ComponentModel.CancelEventHandler(this.textBoxXMax_Validating); this.textBoxXMax.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // labelXMin // this.labelXMin.Location = new System.Drawing.Point(8, 16); this.labelXMin.Name = "labelXMin"; this.labelXMin.Size = new System.Drawing.Size(32, 20); this.labelXMin.TabIndex = 5; this.labelXMin.Text = "Min:"; this.labelXMin.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // labelXMax // this.labelXMax.Location = new System.Drawing.Point(8, 36); this.labelXMax.Name = "labelXMax"; this.labelXMax.Size = new System.Drawing.Size(32, 20); this.labelXMax.TabIndex = 6; this.labelXMax.Text = "Max:"; this.labelXMax.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // textBoxXMin // this.textBoxXMin.Location = new System.Drawing.Point(44, 16); this.textBoxXMin.Name = "textBoxXMin"; this.textBoxXMin.Size = new System.Drawing.Size(80, 20); this.textBoxXMin.TabIndex = 2; this.textBoxXMin.Text = ""; this.textBoxXMin.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxXMin.Validating += new System.ComponentModel.CancelEventHandler(this.textBoxXMin_Validating); this.textBoxXMin.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // groupBoxY // this.groupBoxY.Controls.Add(this.textBoxYMax); this.groupBoxY.Controls.Add(this.labelYMin); this.groupBoxY.Controls.Add(this.labelYMax); this.groupBoxY.Controls.Add(this.textBoxYMin); this.groupBoxY.Location = new System.Drawing.Point(4, 68); this.groupBoxY.Name = "groupBoxY"; this.groupBoxY.Size = new System.Drawing.Size(128, 60); this.groupBoxY.TabIndex = 4; this.groupBoxY.TabStop = false; this.groupBoxY.Text = "Y Variable"; // // textBoxYMax // this.textBoxYMax.Location = new System.Drawing.Point(44, 36); this.textBoxYMax.Name = "textBoxYMax"; this.textBoxYMax.Size = new System.Drawing.Size(80, 20); this.textBoxYMax.TabIndex = 6; this.textBoxYMax.Text = ""; this.textBoxYMax.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxYMax.Validating += new System.ComponentModel.CancelEventHandler(this.textBoxYMax_Validating); this.textBoxYMax.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // labelYMin // this.labelYMin.Location = new System.Drawing.Point(8, 16); this.labelYMin.Name = "labelYMin"; this.labelYMin.Size = new System.Drawing.Size(32, 20); this.labelYMin.TabIndex = 5; this.labelYMin.Text = "Min:"; this.labelYMin.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // labelYMax // this.labelYMax.Location = new System.Drawing.Point(8, 36); this.labelYMax.Name = "labelYMax"; this.labelYMax.Size = new System.Drawing.Size(32, 20); this.labelYMax.TabIndex = 6; this.labelYMax.Text = "Max:"; this.labelYMax.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // textBoxYMin // this.textBoxYMin.Location = new System.Drawing.Point(44, 16); this.textBoxYMin.Name = "textBoxYMin"; this.textBoxYMin.Size = new System.Drawing.Size(80, 20); this.textBoxYMin.TabIndex = 5; this.textBoxYMin.Text = ""; this.textBoxYMin.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxYMin.Validating += new System.ComponentModel.CancelEventHandler(this.textBoxYMin_Validating); this.textBoxYMin.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // checkBoxDetails // this.checkBoxDetails.Location = new System.Drawing.Point(4, 224); this.checkBoxDetails.Name = "checkBoxDetails"; this.checkBoxDetails.Size = new System.Drawing.Size(92, 20); this.checkBoxDetails.TabIndex = 7; this.checkBoxDetails.Text = "Show Details"; // // groupBoxParam // this.groupBoxParam.Controls.Add(this.domainUpDownParamValues); this.groupBoxParam.Controls.Add(this.labelParameterValues); this.groupBoxParam.Controls.Add(this.textBoxParamMax); this.groupBoxParam.Controls.Add(this.labelParamMin); this.groupBoxParam.Controls.Add(this.labelParamMax); this.groupBoxParam.Controls.Add(this.textBoxParamMin); this.groupBoxParam.Location = new System.Drawing.Point(4, 132); this.groupBoxParam.Name = "groupBoxParam"; this.groupBoxParam.Size = new System.Drawing.Size(128, 84); this.groupBoxParam.TabIndex = 8; this.groupBoxParam.TabStop = false; this.groupBoxParam.Text = "Parameter"; // // domainUpDownParamValues // this.domainUpDownParamValues.BackColor = System.Drawing.Color.White; this.domainUpDownParamValues.Items.Add("20"); this.domainUpDownParamValues.Items.Add("19"); this.domainUpDownParamValues.Items.Add("18"); this.domainUpDownParamValues.Items.Add("17"); this.domainUpDownParamValues.Items.Add("16"); this.domainUpDownParamValues.Items.Add("15"); this.domainUpDownParamValues.Items.Add("14"); this.domainUpDownParamValues.Items.Add("13"); this.domainUpDownParamValues.Items.Add("12"); this.domainUpDownParamValues.Items.Add("11"); this.domainUpDownParamValues.Items.Add("10"); this.domainUpDownParamValues.Items.Add("9"); this.domainUpDownParamValues.Items.Add("8"); this.domainUpDownParamValues.Items.Add("7"); this.domainUpDownParamValues.Items.Add("6"); this.domainUpDownParamValues.Items.Add("5"); this.domainUpDownParamValues.Items.Add("4"); this.domainUpDownParamValues.Items.Add("3"); this.domainUpDownParamValues.Items.Add("2"); this.domainUpDownParamValues.Items.Add("1"); this.domainUpDownParamValues.Location = new System.Drawing.Point(86, 60); this.domainUpDownParamValues.Name = "domainUpDownParamValues"; this.domainUpDownParamValues.ReadOnly = true; this.domainUpDownParamValues.Size = new System.Drawing.Size(40, 20); this.domainUpDownParamValues.TabIndex = 9; this.domainUpDownParamValues.SelectedItemChanged += new System.EventHandler(this.domainUpDownParamValues_SelectedItemChanged); // // labelParameterValues // this.labelParameterValues.Location = new System.Drawing.Point(8, 62); this.labelParameterValues.Name = "labelParameterValues"; this.labelParameterValues.Size = new System.Drawing.Size(76, 16); this.labelParameterValues.TabIndex = 7; this.labelParameterValues.Text = "No.of Values:"; this.labelParameterValues.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // textBoxParamMax // this.textBoxParamMax.Location = new System.Drawing.Point(44, 36); this.textBoxParamMax.Name = "textBoxParamMax"; this.textBoxParamMax.Size = new System.Drawing.Size(80, 20); this.textBoxParamMax.TabIndex = 3; this.textBoxParamMax.Text = ""; this.textBoxParamMax.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxParamMax.Validating += new System.ComponentModel.CancelEventHandler(this.textBoxParamMax_Validating); this.textBoxParamMax.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // labelParamMin // this.labelParamMin.Location = new System.Drawing.Point(8, 16); this.labelParamMin.Name = "labelParamMin"; this.labelParamMin.Size = new System.Drawing.Size(32, 20); this.labelParamMin.TabIndex = 5; this.labelParamMin.Text = "Min:"; this.labelParamMin.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // labelParamMax // this.labelParamMax.Location = new System.Drawing.Point(8, 36); this.labelParamMax.Name = "labelParamMax"; this.labelParamMax.Size = new System.Drawing.Size(32, 20); this.labelParamMax.TabIndex = 6; this.labelParamMax.Text = "Max:"; this.labelParamMax.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // textBoxParamMin // this.textBoxParamMin.Location = new System.Drawing.Point(44, 16); this.textBoxParamMin.Name = "textBoxParamMin"; this.textBoxParamMin.Size = new System.Drawing.Size(80, 20); this.textBoxParamMin.TabIndex = 2; this.textBoxParamMin.Text = ""; this.textBoxParamMin.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.textBoxParamMin.Validating += new System.ComponentModel.CancelEventHandler(this.textBoxParamMin_Validating); this.textBoxParamMin.KeyUp += new System.Windows.Forms.KeyEventHandler(this.KeyUpHandler); // // Plot2DControl // this.Controls.Add(this.groupBoxParam); this.Controls.Add(this.checkBoxDetails); this.Controls.Add(this.groupBoxY); this.Controls.Add(this.groupBoxX); this.Name = "Plot2DControl"; this.Size = new System.Drawing.Size(132, 244); this.groupBoxX.ResumeLayout(false); this.groupBoxY.ResumeLayout(false); this.groupBoxParam.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.numericUpDown1 = new System.Windows.Forms.NumericUpDown(); this.domainUpDown1 = new System.Windows.Forms.DomainUpDown(); this.trackBar1 = new System.Windows.Forms.TrackBar(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit(); this.SuspendLayout(); // // numericUpDown1 // this.numericUpDown1.Increment = new System.Decimal(new int[] { 2, 0, 0, 0 }); this.numericUpDown1.Location = new System.Drawing.Point(16, 24); this.numericUpDown1.Name = "numericUpDown1"; this.numericUpDown1.Size = new System.Drawing.Size(48, 20); this.numericUpDown1.TabIndex = 0; this.numericUpDown1.Value = new System.Decimal(new int[] { 100, 0, 0, 0 }); this.numericUpDown1.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged); // // domainUpDown1 // this.domainUpDown1.Items.Add("Full 100%"); this.domainUpDown1.Items.Add("Half 50%"); this.domainUpDown1.Items.Add("Empry 10%"); this.domainUpDown1.Location = new System.Drawing.Point(88, 24); this.domainUpDown1.Name = "domainUpDown1"; this.domainUpDown1.Size = new System.Drawing.Size(96, 20); this.domainUpDown1.TabIndex = 1; this.domainUpDown1.SelectedItemChanged += new System.EventHandler(this.domainUpDown1_SelectedItemChanged); // // trackBar1 // this.trackBar1.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(128))); this.trackBar1.Location = new System.Drawing.Point(208, 24); this.trackBar1.Maximum = 50; this.trackBar1.Name = "trackBar1"; this.trackBar1.Orientation = System.Windows.Forms.Orientation.Vertical; this.trackBar1.Size = new System.Drawing.Size(42, 232); this.trackBar1.TabIndex = 2; this.trackBar1.Value = 50; this.trackBar1.Scroll += new System.EventHandler(this.trackBar1_Scroll); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.BackColor = System.Drawing.SystemColors.HotTrack; this.ClientSize = new System.Drawing.Size(280, 273); this.Controls.Add(this.trackBar1); this.Controls.Add(this.domainUpDown1); this.Controls.Add(this.numericUpDown1); this.Name = "Form1"; this.Text = "Form1"; ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this._flex = new C1.Win.C1FlexGrid.C1FlexGrid(); this.textBox1 = new System.Windows.Forms.TextBox(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.comboBox1 = new System.Windows.Forms.ComboBox(); this._btnBorders = new System.Windows.Forms.Button(); this.domainUpDown1 = new System.Windows.Forms.DomainUpDown(); this.numericUpDown1 = new System.Windows.Forms.NumericUpDown(); this._chkSetHandled = new System.Windows.Forms.CheckBox(); this._rtfHelp = new System.Windows.Forms.RichTextBox(); this._chkShowButtons = new System.Windows.Forms.CheckBox(); ((System.ComponentModel.ISupportInitialize)(this._flex)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit(); this.SuspendLayout(); // // _flex // this._flex.AllowFreezing = C1.Win.C1FlexGrid.AllowFreezingEnum.Both; this._flex.ColumnInfo = "10,1,0,0,0,105,Columns:"; this._flex.Dock = System.Windows.Forms.DockStyle.Fill; this._flex.Location = new System.Drawing.Point(0, 85); this._flex.Name = "_flex"; this._flex.Rows.DefaultSize = 21; this._flex.Size = new System.Drawing.Size(656, 320); this._flex.StyleInfo = resources.GetString("_flex.StyleInfo"); this._flex.TabIndex = 11; this._flex.VisualStyle = C1.Win.C1FlexGrid.VisualStyle.Office2007Black; this._flex.ComboCloseUp += new C1.Win.C1FlexGrid.RowColEventHandler(this._flex_ComboCloseUp); this._flex.ChangeEdit += new System.EventHandler(this._flex_ChangeEdit); this._flex.KeyPressEdit += new C1.Win.C1FlexGrid.KeyPressEditEventHandler(this._flex_KeyPressEdit); this._flex.ComboDropDown += new C1.Win.C1FlexGrid.RowColEventHandler(this._flex_ComboDropDown); this._flex.StartEdit += new C1.Win.C1FlexGrid.RowColEventHandler(this._flex_StartEdit); this._flex.AfterEdit += new C1.Win.C1FlexGrid.RowColEventHandler(this._flex_AfterEdit); this._flex.KeyDown += new System.Windows.Forms.KeyEventHandler(this._flex_KeyDown); this._flex.CellButtonClick += new C1.Win.C1FlexGrid.RowColEventHandler(this._flex_CellButtonClick); this._flex.OwnerDrawCell += new C1.Win.C1FlexGrid.OwnerDrawCellEventHandler(this._flex_OwnerDrawCell); this._flex.SelChange += new System.EventHandler(this._flex_SelChange); this._flex.KeyDownEdit += new C1.Win.C1FlexGrid.KeyEditEventHandler(this._flex_KeyDownEdit); this._flex.SetupEditor += new C1.Win.C1FlexGrid.RowColEventHandler(this._flex_SetupEditor); this._flex.KeyUpEdit += new C1.Win.C1FlexGrid.KeyEditEventHandler(this._flex_KeyUpEdit); this._flex.BeforeEdit += new C1.Win.C1FlexGrid.RowColEventHandler(this._flex_BeforeEdit); this._flex.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this._flex_KeyPress); this._flex.KeyUp += new System.Windows.Forms.KeyEventHandler(this._flex_KeyUp); // // textBox1 // this.textBox1.AcceptsReturn = true; this.textBox1.AcceptsTab = true; this.textBox1.BackColor = System.Drawing.Color.MistyRose; this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.None; this.textBox1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.textBox1.Location = new System.Drawing.Point(11, 146); this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(101, 17); this.textBox1.TabIndex = 1; this.textBox1.Text = "textBox1"; this.textBox1.Visible = false; this.textBox1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox1_KeyPress); // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Red; this.imageList1.Images.SetKeyName(0, ""); this.imageList1.Images.SetKeyName(1, ""); this.imageList1.Images.SetKeyName(2, ""); this.imageList1.Images.SetKeyName(3, ""); this.imageList1.Images.SetKeyName(4, ""); this.imageList1.Images.SetKeyName(5, ""); this.imageList1.Images.SetKeyName(6, ""); this.imageList1.Images.SetKeyName(7, ""); this.imageList1.Images.SetKeyName(8, ""); this.imageList1.Images.SetKeyName(9, ""); // // comboBox1 // this.comboBox1.BackColor = System.Drawing.Color.MistyRose; this.comboBox1.DropDownWidth = 160; this.comboBox1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.comboBox1.ForeColor = System.Drawing.Color.DarkBlue; this.comboBox1.IntegralHeight = false; this.comboBox1.ItemHeight = 17; this.comboBox1.Items.AddRange(new object[] { "Hello", "There", "How", "Are", "You", "This", "Is", "A", "Regular ComboBox" }); this.comboBox1.Location = new System.Drawing.Point(11, 117); this.comboBox1.MaxDropDownItems = 55; this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(101, 25); this.comboBox1.TabIndex = 3; this.comboBox1.Text = "comboBox1"; this.comboBox1.Visible = false; this.comboBox1.Validating += new System.ComponentModel.CancelEventHandler(this.comboBox1_Validating); this.comboBox1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox1_KeyPress); this.comboBox1.Validated += new System.EventHandler(this.comboBox1_Validated); // // _btnBorders // this._btnBorders.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this._btnBorders.FlatStyle = System.Windows.Forms.FlatStyle.System; this._btnBorders.Location = new System.Drawing.Point(496, 8); this._btnBorders.Name = "_btnBorders"; this._btnBorders.Size = new System.Drawing.Size(145, 29); this._btnBorders.TabIndex = 4; this._btnBorders.Text = "Borders"; this._btnBorders.Click += new System.EventHandler(this._btnBorders_Click); // // domainUpDown1 // this.domainUpDown1.BackColor = System.Drawing.Color.MistyRose; this.domainUpDown1.BorderStyle = System.Windows.Forms.BorderStyle.None; this.domainUpDown1.Items.Add("Please"); this.domainUpDown1.Items.Add("Select"); this.domainUpDown1.Items.Add("An"); this.domainUpDown1.Items.Add("Item"); this.domainUpDown1.Items.Add("From"); this.domainUpDown1.Items.Add("This"); this.domainUpDown1.Items.Add("DomainUpDown"); this.domainUpDown1.Items.Add("Control."); this.domainUpDown1.Location = new System.Drawing.Point(11, 175); this.domainUpDown1.Name = "domainUpDown1"; this.domainUpDown1.Size = new System.Drawing.Size(101, 20); this.domainUpDown1.TabIndex = 6; this.domainUpDown1.Text = "domainUpDown1"; this.domainUpDown1.Visible = false; // // numericUpDown1 // this.numericUpDown1.BackColor = System.Drawing.Color.MistyRose; this.numericUpDown1.BorderStyle = System.Windows.Forms.BorderStyle.None; this.numericUpDown1.Location = new System.Drawing.Point(11, 204); this.numericUpDown1.Name = "numericUpDown1"; this.numericUpDown1.Size = new System.Drawing.Size(101, 20); this.numericUpDown1.TabIndex = 7; this.numericUpDown1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.numericUpDown1.Visible = false; // // _chkSetHandled // this._chkSetHandled.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this._chkSetHandled.Location = new System.Drawing.Point(496, 37); this._chkSetHandled.Name = "_chkSetHandled"; this._chkSetHandled.Size = new System.Drawing.Size(145, 23); this._chkSetHandled.TabIndex = 8; this._chkSetHandled.Text = "e.Handled"; // // _rtfHelp // this._rtfHelp.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this._rtfHelp.Location = new System.Drawing.Point(7, 8); this._rtfHelp.Name = "_rtfHelp"; this._rtfHelp.ReadOnly = true; this._rtfHelp.Size = new System.Drawing.Size(477, 71); this._rtfHelp.TabIndex = 9; this._rtfHelp.Text = "richTextBox1"; // // _chkShowButtons // this._chkShowButtons.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this._chkShowButtons.Location = new System.Drawing.Point(496, 57); this._chkShowButtons.Name = "_chkShowButtons"; this._chkShowButtons.Size = new System.Drawing.Size(145, 24); this._chkShowButtons.TabIndex = 10; this._chkShowButtons.Text = "ShowButtons"; this._chkShowButtons.CheckedChanged += new System.EventHandler(this._chkShowButtons_CheckedChanged); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(7, 17); this.ClientSize = new System.Drawing.Size(656, 405); this.Controls.Add(this._chkShowButtons); this.Controls.Add(this._rtfHelp); this.Controls.Add(this._chkSetHandled); this.Controls.Add(this.numericUpDown1); this.Controls.Add(this.domainUpDown1); this.Controls.Add(this._btnBorders); this.Controls.Add(this.comboBox1); this.Controls.Add(this.textBox1); this.Controls.Add(this._flex); this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Name = "Form1"; this.Padding = new System.Windows.Forms.Padding(0, 85, 0, 0); this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "C1FlexGrid: Custom Editors"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this._flex)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
public void IValueProviderSetValueTest () { DomainUpDown domainUpDown = new DomainUpDown (); IRawElementProviderSimple provider = ProviderFactory.GetProvider (domainUpDown); IValueProvider valueProvider = (IValueProvider) provider.GetPatternProvider (ValuePatternIdentifiers.Pattern.Id); Assert.IsNotNull (valueProvider, "Not returning ValuePatternIdentifiers."); try { domainUpDown.Enabled = false; valueProvider.SetValue ("NEW Item"); Assert.Fail ("ElementNotEnabledException not thrown."); } catch (ElementNotEnabledException) { } domainUpDown.Enabled = true; try { domainUpDown.ReadOnly = true; valueProvider.SetValue ("NEW Item"); Assert.Fail ("ElementNotEnabledException not thrown."); } catch (ElementNotEnabledException) { } domainUpDown.ReadOnly = false; string value = "NEW Item"; valueProvider.SetValue (value); domainUpDown.DownButton (); Assert.AreEqual(value, valueProvider.Value, "SetValue value"); }
/// <summary> /// デザイナ サポートに必要なメソッドです。このメソッドの内容を /// コード エディタで変更しないでください。 /// </summary> private void InitializeComponent() { this.btnCancel = new System.Windows.Forms.Button(); this.btnOK = new System.Windows.Forms.Button(); this.btnRest = new System.Windows.Forms.Button(); this.btnApply = new System.Windows.Forms.Button(); this.btnDefault = new System.Windows.Forms.Button(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.textBox1 = new System.Windows.Forms.TextBox(); this.radioButton1 = new System.Windows.Forms.RadioButton(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.numericUpDown1 = new System.Windows.Forms.NumericUpDown(); this.domainUpDown1 = new System.Windows.Forms.DomainUpDown(); this.monthCalendar1 = new System.Windows.Forms.MonthCalendar(); this.checkedListBox1 = new System.Windows.Forms.CheckedListBox(); this.trackBar1 = new System.Windows.Forms.TrackBar(); this.hScrollBar1 = new System.Windows.Forms.HScrollBar(); this.vScrollBar1 = new System.Windows.Forms.VScrollBar(); this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker(); this.mainMenu1 = new System.Windows.Forms.MainMenu(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.menuItem2 = new System.Windows.Forms.MenuItem(); this.menuItem3 = new System.Windows.Forms.MenuItem(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit(); this.SuspendLayout(); // // btnCancel // this.btnCancel.Location = new System.Drawing.Point(8, 136); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(96, 24); this.btnCancel.TabIndex = 0; this.btnCancel.Text = "キャンセル(&C)"; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // btnOK // this.btnOK.Location = new System.Drawing.Point(8, 8); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(96, 24); this.btnOK.TabIndex = 1; this.btnOK.Text = "&OK"; this.btnOK.Click += new System.EventHandler(this.btnOK_Click); // // btnRest // this.btnRest.Location = new System.Drawing.Point(8, 72); this.btnRest.Name = "btnRest"; this.btnRest.Size = new System.Drawing.Size(96, 24); this.btnRest.TabIndex = 2; this.btnRest.Text = "現在の設定(&R)"; // // btnApply // this.btnApply.Location = new System.Drawing.Point(8, 40); this.btnApply.Name = "btnApply"; this.btnApply.Size = new System.Drawing.Size(96, 24); this.btnApply.TabIndex = 3; this.btnApply.Text = "適用(&A)"; // // btnDefault // this.btnDefault.Location = new System.Drawing.Point(8, 104); this.btnDefault.Name = "btnDefault"; this.btnDefault.Size = new System.Drawing.Size(96, 24); this.btnDefault.TabIndex = 4; this.btnDefault.Text = "既定値(&D)"; // // checkBox1 // this.checkBox1.Location = new System.Drawing.Point(120, 8); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(112, 16); this.checkBox1.TabIndex = 5; this.checkBox1.Text = "実験結果を観察"; // // textBox1 // this.textBox1.Location = new System.Drawing.Point(120, 32); this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(136, 19); this.textBox1.TabIndex = 7; this.textBox1.Text = "設定項目です"; // // radioButton1 // this.radioButton1.Location = new System.Drawing.Point(120, 56); this.radioButton1.Name = "radioButton1"; this.radioButton1.Size = new System.Drawing.Size(72, 16); this.radioButton1.TabIndex = 8; this.radioButton1.Text = "設定項目"; // // comboBox1 // this.comboBox1.Items.AddRange(new object[] { "Setting", "設定", "Configuration", "オプション" }); this.comboBox1.Location = new System.Drawing.Point(120, 80); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(136, 20); this.comboBox1.TabIndex = 9; this.comboBox1.Text = "Setting"; // // numericUpDown1 // this.numericUpDown1.Location = new System.Drawing.Point(120, 104); this.numericUpDown1.Name = "numericUpDown1"; this.numericUpDown1.Size = new System.Drawing.Size(136, 19); this.numericUpDown1.TabIndex = 10; // // domainUpDown1 // this.domainUpDown1.Items.Add("Setting"); this.domainUpDown1.Items.Add("設定"); this.domainUpDown1.Items.Add("Configuration"); this.domainUpDown1.Items.Add("オプション"); this.domainUpDown1.Location = new System.Drawing.Point(120, 128); this.domainUpDown1.Name = "domainUpDown1"; this.domainUpDown1.Size = new System.Drawing.Size(136, 19); this.domainUpDown1.TabIndex = 11; this.domainUpDown1.Text = "Setting"; // // monthCalendar1 // this.monthCalendar1.Location = new System.Drawing.Point(120, 152); this.monthCalendar1.Name = "monthCalendar1"; this.monthCalendar1.TabIndex = 12; // // checkedListBox1 // this.checkedListBox1.Items.AddRange(new object[] { "Setting", "設定", "Configuration", "オプション" }); this.checkedListBox1.Location = new System.Drawing.Point(288, 152); this.checkedListBox1.Name = "checkedListBox1"; this.checkedListBox1.Size = new System.Drawing.Size(128, 144); this.checkedListBox1.TabIndex = 13; // // trackBar1 // this.trackBar1.Location = new System.Drawing.Point(288, 8); this.trackBar1.Name = "trackBar1"; this.trackBar1.Size = new System.Drawing.Size(128, 42); this.trackBar1.TabIndex = 14; // // hScrollBar1 // this.hScrollBar1.Location = new System.Drawing.Point(288, 56); this.hScrollBar1.Name = "hScrollBar1"; this.hScrollBar1.Size = new System.Drawing.Size(128, 16); this.hScrollBar1.TabIndex = 15; // // vScrollBar1 // this.vScrollBar1.Location = new System.Drawing.Point(264, 8); this.vScrollBar1.Name = "vScrollBar1"; this.vScrollBar1.Size = new System.Drawing.Size(16, 136); this.vScrollBar1.TabIndex = 16; // // dateTimePicker1 // this.dateTimePicker1.Location = new System.Drawing.Point(288, 80); this.dateTimePicker1.Name = "dateTimePicker1"; this.dateTimePicker1.Size = new System.Drawing.Size(128, 19); this.dateTimePicker1.TabIndex = 17; // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem1 }); // // menuItem1 // this.menuItem1.Index = 0; this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem2, this.menuItem3 }); this.menuItem1.Text = "項目"; // // menuItem2 // this.menuItem2.Index = 0; this.menuItem2.Text = "Menu1"; // // menuItem3 // this.menuItem3.Index = 1; this.menuItem3.Text = "Menu2"; // // TestSettingForm // this.AcceptButton = this.btnOK; this.AutoScaleBaseSize = new System.Drawing.Size(5, 12); this.ClientSize = new System.Drawing.Size(424, 301); this.Controls.Add(this.dateTimePicker1); this.Controls.Add(this.vScrollBar1); this.Controls.Add(this.hScrollBar1); this.Controls.Add(this.trackBar1); this.Controls.Add(this.checkedListBox1); this.Controls.Add(this.monthCalendar1); this.Controls.Add(this.domainUpDown1); this.Controls.Add(this.numericUpDown1); this.Controls.Add(this.comboBox1); this.Controls.Add(this.radioButton1); this.Controls.Add(this.textBox1); this.Controls.Add(this.checkBox1); this.Controls.Add(this.btnDefault); this.Controls.Add(this.btnApply); this.Controls.Add(this.btnRest); this.Controls.Add(this.btnOK); this.Controls.Add(this.btnCancel); this.MaximizeBox = false; this.Menu = this.mainMenu1; this.MinimizeBox = false; this.Name = "TestSettingForm"; this.Text = "自動設定項目初期化実験"; ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.knownColorUpDown = new System.Windows.Forms.DomainUpDown(); this.opacityUpDown = new System.Windows.Forms.NumericUpDown(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.opacityUpDown)).BeginInit(); this.SuspendLayout(); // // knownColorUpDown // this.knownColorUpDown.Items.Add("Zelena"); this.knownColorUpDown.Items.Add("Plava"); this.knownColorUpDown.Items.Add("Crvena"); this.knownColorUpDown.Location = new System.Drawing.Point(112, 56); this.knownColorUpDown.Name = "knownColorUpDown"; this.knownColorUpDown.Size = new System.Drawing.Size(152, 20); this.knownColorUpDown.TabIndex = 0; this.knownColorUpDown.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.knownColorUpDown.UpDownAlign = System.Windows.Forms.LeftRightAlignment.Left; this.knownColorUpDown.SelectedItemChanged += new System.EventHandler(this.knownColorUpDown_SelectedItemChanged); // // opacityUpDown // this.opacityUpDown.DecimalPlaces = 2; this.opacityUpDown.Increment = new System.Decimal(new int[] { 10, 0, 0, 131072 }); this.opacityUpDown.Location = new System.Drawing.Point(112, 96); this.opacityUpDown.Maximum = new System.Decimal(new int[] { 1, 0, 0, 0 }); this.opacityUpDown.Name = "opacityUpDown"; this.opacityUpDown.Size = new System.Drawing.Size(152, 20); this.opacityUpDown.TabIndex = 1; this.opacityUpDown.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.opacityUpDown.ThousandsSeparator = true; this.opacityUpDown.Value = new System.Decimal(new int[] { 1, 0, 0, 0 }); this.opacityUpDown.ValueChanged += new System.EventHandler(this.opacityUpDown_ValueChanged); // // label1 // this.label1.Location = new System.Drawing.Point(48, 56); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(56, 16); this.label1.TabIndex = 2; this.label1.Text = "Color"; this.label1.Click += new System.EventHandler(this.label1_Click); // // label2 // this.label2.Location = new System.Drawing.Point(48, 96); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(56, 16); this.label2.TabIndex = 3; this.label2.Text = "Opacity"; // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(376, 150); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.opacityUpDown); this.Controls.Add(this.knownColorUpDown); this.Name = "MainForm"; this.Text = "ColorUpDown Example"; ((System.ComponentModel.ISupportInitialize)(this.opacityUpDown)).EndInit(); this.ResumeLayout(false); }
private void AddUpDownTest(Control c) { upDown1 = new DomainUpDown(); upDown1.Location = new Point(10, 10); // upDown1.Size = new Size(80, 30); upDown2 = new DomainUpDown(); upDown2.Location = new Point(10, 50); // upDown2.Size = new Size(80, 30); upDown2.UpDownAlign = LeftRightAlignment.Left; upDown3 = new NumericUpDown(); upDown3.Location = new Point(10, 90); upDown4 = new NumericUpDown(); upDown4.Location = new Point(10, 130); upDown4.UpDownAlign = LeftRightAlignment.Left; upDown1ro = new DomainUpDown(); upDown1ro.Location = new Point(150, 10); upDown1ro.ReadOnly = true; upDown2ro = new DomainUpDown(); upDown2ro.Location = new Point(150, 50); upDown2ro.UpDownAlign = LeftRightAlignment.Left; upDown2ro.ReadOnly = true; upDown3ro = new NumericUpDown(); upDown3ro.Location = new Point(150, 90); upDown3ro.ReadOnly = true; upDown4ro = new NumericUpDown(); upDown4ro.Location = new Point(150, 130); upDown4ro.UpDownAlign = LeftRightAlignment.Left; upDown4ro.ReadOnly = true; c.Controls.AddRange(new Control[] {upDown1, upDown1ro, upDown2, upDown2ro , upDown3, upDown3ro, upDown4, upDown4ro}); upDown1.Items.Add(upDownString1); upDown1.Items.Add(upDownString2); upDown1.Items.Add(upDownString3); upDown1.Items.Add(upDownString4); upDown2.Items.Add(upDownString1); upDown2.Items.Add(upDownString2); upDown2.Items.Add(upDownString3); upDown2.Items.Add(upDownString4); upDown1ro.Items.Add(upDownString1); upDown1ro.Items.Add(upDownString2); upDown1ro.Items.Add(upDownString3); upDown1ro.Items.Add(upDownString4); upDown2ro.Items.Add(upDownString1); upDown2ro.Items.Add(upDownString2); upDown2ro.Items.Add(upDownString3); upDown2ro.Items.Add(upDownString4); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.lstVwColunas = new System.Windows.Forms.ListView(); this.columnHeader1 = new System.Windows.Forms.ColumnHeader(); this.btnAdd = new System.Windows.Forms.Button(); this.btnRemove = new System.Windows.Forms.Button(); this.btnAddAll = new System.Windows.Forms.Button(); this.btnRemoveAll = new System.Windows.Forms.Button(); this.lstVwOrdenacao = new System.Windows.Forms.ListView(); this.columnHeader2 = new System.Windows.Forms.ColumnHeader(); this.columnHeader3 = new System.Windows.Forms.ColumnHeader(); this.columnHeader4 = new System.Windows.Forms.ColumnHeader(); this.btnOk = new System.Windows.Forms.Button(); this.btnCancel = new System.Windows.Forms.Button(); this.domainSort = new System.Windows.Forms.DomainUpDown(); this.numOrder = new System.Windows.Forms.NumericUpDown(); ((System.ComponentModel.ISupportInitialize)(this.numOrder)).BeginInit(); this.SuspendLayout(); // // lstVwColunas // this.lstVwColunas.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1 }); this.lstVwColunas.FullRowSelect = true; this.lstVwColunas.HideSelection = false; this.lstVwColunas.Location = new System.Drawing.Point(16, 16); this.lstVwColunas.Name = "lstVwColunas"; this.lstVwColunas.Size = new System.Drawing.Size(136, 208); this.lstVwColunas.TabIndex = 0; this.lstVwColunas.View = System.Windows.Forms.View.Details; this.lstVwColunas.SelectedIndexChanged += new System.EventHandler(this.lstVwColunas_SelectedIndexChanged); // // columnHeader1 // this.columnHeader1.Text = "Colunas"; this.columnHeader1.Width = 130; // // btnAdd // this.btnAdd.Location = new System.Drawing.Point(168, 40); this.btnAdd.Name = "btnAdd"; this.btnAdd.Size = new System.Drawing.Size(32, 24); this.btnAdd.TabIndex = 1; this.btnAdd.Text = "->"; this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click); // // btnRemove // this.btnRemove.Location = new System.Drawing.Point(168, 80); this.btnRemove.Name = "btnRemove"; this.btnRemove.Size = new System.Drawing.Size(32, 24); this.btnRemove.TabIndex = 2; this.btnRemove.Text = "<-"; this.btnRemove.Click += new System.EventHandler(this.btnRemove_Click); // // btnAddAll // this.btnAddAll.Location = new System.Drawing.Point(168, 120); this.btnAddAll.Name = "btnAddAll"; this.btnAddAll.Size = new System.Drawing.Size(32, 24); this.btnAddAll.TabIndex = 3; this.btnAddAll.Text = ">>"; this.btnAddAll.Click += new System.EventHandler(this.btnAddAll_Click); // // btnRemoveAll // this.btnRemoveAll.Location = new System.Drawing.Point(168, 160); this.btnRemoveAll.Name = "btnRemoveAll"; this.btnRemoveAll.Size = new System.Drawing.Size(32, 24); this.btnRemoveAll.TabIndex = 4; this.btnRemoveAll.Text = "<<"; this.btnRemoveAll.Click += new System.EventHandler(this.btnRemoveAll_Click); // // lstVwOrdenacao // this.lstVwOrdenacao.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader2, this.columnHeader3, this.columnHeader4 }); this.lstVwOrdenacao.FullRowSelect = true; this.lstVwOrdenacao.HideSelection = false; this.lstVwOrdenacao.Location = new System.Drawing.Point(224, 16); this.lstVwOrdenacao.Name = "lstVwOrdenacao"; this.lstVwOrdenacao.Size = new System.Drawing.Size(248, 208); this.lstVwOrdenacao.TabIndex = 5; this.lstVwOrdenacao.View = System.Windows.Forms.View.Details; this.lstVwOrdenacao.SelectedIndexChanged += new System.EventHandler(this.lstVwOrdenacao_SelectedIndexChanged); // // columnHeader2 // this.columnHeader2.Text = ""; this.columnHeader2.Width = 20; // // columnHeader3 // this.columnHeader3.Text = "Colunas"; this.columnHeader3.Width = 148; // // columnHeader4 // this.columnHeader4.Text = "Ordenação"; this.columnHeader4.Width = 72; // // btnOk // this.btnOk.DialogResult = System.Windows.Forms.DialogResult.OK; this.btnOk.Location = new System.Drawing.Point(477, 192); this.btnOk.Name = "btnOk"; this.btnOk.Size = new System.Drawing.Size(40, 24); this.btnOk.TabIndex = 6; this.btnOk.Text = "Ok"; // // btnCancel // this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.Location = new System.Drawing.Point(528, 192); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(64, 24); this.btnCancel.TabIndex = 7; this.btnCancel.Text = "Cancelar"; // // domainSort // this.domainSort.Items.Add("Asc"); this.domainSort.Items.Add("Desc"); this.domainSort.Location = new System.Drawing.Point(488, 80); this.domainSort.Name = "domainSort"; this.domainSort.ReadOnly = true; this.domainSort.Size = new System.Drawing.Size(56, 20); this.domainSort.TabIndex = 8; this.domainSort.Tag = ""; this.domainSort.Click += new System.EventHandler(this.domainSort_Click); // // numOrder // this.numOrder.Location = new System.Drawing.Point(488, 48); this.numOrder.Minimum = new System.Decimal(new int[] { 1, 0, 0, 0 }); this.numOrder.Name = "numOrder"; this.numOrder.Size = new System.Drawing.Size(56, 20); this.numOrder.TabIndex = 9; this.numOrder.Value = new System.Decimal(new int[] { 1, 0, 0, 0 }); this.numOrder.ValueChanged += new EventHandler(numOrder_ValueChanged); // // ControloEdicaoOrdenacao // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(600, 232); this.ControlBox = false; this.Controls.Add(this.numOrder); this.Controls.Add(this.domainSort); this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnOk); this.Controls.Add(this.lstVwOrdenacao); this.Controls.Add(this.btnRemoveAll); this.Controls.Add(this.btnAddAll); this.Controls.Add(this.btnRemove); this.Controls.Add(this.btnAdd); this.Controls.Add(this.lstVwColunas); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Name = "ControloEdicaoOrdenacao"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Edição dos critérios de ordenação"; ((System.ComponentModel.ISupportInitialize)(this.numOrder)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(SingScreamAttributes)); this.FrequencyUpDown = new System.Windows.Forms.DomainUpDown(); this.FrequencyLable = new System.Windows.Forms.Label(); this.ColorPanel = new System.Windows.Forms.Panel(); this.ChangeColorButton = new System.Windows.Forms.Button(); this.AmplitudeUpDown1 = new System.Windows.Forms.NumericUpDown(); this.AmplitudeLabel1 = new System.Windows.Forms.Label(); this.OKButton = new System.Windows.Forms.Button(); this.CancelButton = new System.Windows.Forms.Button(); this.WidthNumericUpDown = new System.Windows.Forms.NumericUpDown(); this.label1 = new System.Windows.Forms.Label(); this.PhaseNumericUpDown = new System.Windows.Forms.NumericUpDown(); this.label2 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.AmplitudeUpDown1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.WidthNumericUpDown)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.PhaseNumericUpDown)).BeginInit(); this.SuspendLayout(); // // FrequencyUpDown // this.FrequencyUpDown.Items.Add("High "); this.FrequencyUpDown.Items.Add("Mid "); this.FrequencyUpDown.Items.Add("Low"); this.FrequencyUpDown.Location = new System.Drawing.Point(64, 48); this.FrequencyUpDown.Name = "FrequencyUpDown"; this.FrequencyUpDown.TabIndex = 1; // // FrequencyLable // this.FrequencyLable.Location = new System.Drawing.Point(64, 16); this.FrequencyLable.Name = "FrequencyLable"; this.FrequencyLable.TabIndex = 2; this.FrequencyLable.Text = "Frequency"; // // ColorPanel // this.ColorPanel.Location = new System.Drawing.Point(192, 160); this.ColorPanel.Name = "ColorPanel"; this.ColorPanel.Size = new System.Drawing.Size(24, 24); this.ColorPanel.TabIndex = 3; // // ChangeColorButton // this.ChangeColorButton.Location = new System.Drawing.Point(72, 160); this.ChangeColorButton.Name = "ChangeColorButton"; this.ChangeColorButton.Size = new System.Drawing.Size(112, 23); this.ChangeColorButton.TabIndex = 4; this.ChangeColorButton.Text = "Change color"; this.ChangeColorButton.Click += new System.EventHandler(this.ChangeColorButton_Click); // // AmplitudeUpDown1 // this.AmplitudeUpDown1.Location = new System.Drawing.Point(64, 112); this.AmplitudeUpDown1.Name = "AmplitudeUpDown1"; this.AmplitudeUpDown1.TabIndex = 5; this.AmplitudeUpDown1.Value = new System.Decimal(new int[] { 4, 0, 0, 0 }); this.AmplitudeUpDown1.ValueChanged += new System.EventHandler(this.AmplitudeUpDown1_ValueChanged); // // AmplitudeLabel1 // this.AmplitudeLabel1.Location = new System.Drawing.Point(64, 80); this.AmplitudeLabel1.Name = "AmplitudeLabel1"; this.AmplitudeLabel1.TabIndex = 6; this.AmplitudeLabel1.Text = "Amplitude"; // // OKButton // this.OKButton.DialogResult = System.Windows.Forms.DialogResult.OK; this.OKButton.Location = new System.Drawing.Point(296, 208); this.OKButton.Name = "OKButton"; this.OKButton.TabIndex = 7; this.OKButton.Text = "OK"; this.OKButton.Click += new System.EventHandler(this.OKButton_Click); // // CancelButton // this.CancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.CancelButton.Location = new System.Drawing.Point(184, 208); this.CancelButton.Name = "CancelButton"; this.CancelButton.TabIndex = 8; this.CancelButton.Text = "Cancel"; // // WidthNumericUpDown // this.WidthNumericUpDown.Location = new System.Drawing.Point(240, 112); this.WidthNumericUpDown.Name = "WidthNumericUpDown"; this.WidthNumericUpDown.TabIndex = 9; this.WidthNumericUpDown.Value = new System.Decimal(new int[] { 1, 0, 0, 0 }); // // label1 // this.label1.Location = new System.Drawing.Point(248, 80); this.label1.Name = "label1"; this.label1.TabIndex = 10; this.label1.Text = "Width"; // // PhaseNumericUpDown // this.PhaseNumericUpDown.Location = new System.Drawing.Point(240, 48); this.PhaseNumericUpDown.Maximum = new System.Decimal(new int[] { 1, 0, 0, 0 }); this.PhaseNumericUpDown.Name = "PhaseNumericUpDown"; this.PhaseNumericUpDown.TabIndex = 11; this.PhaseNumericUpDown.Value = new System.Decimal(new int[] { 1, 0, 0, 0 }); // // label2 // this.label2.Location = new System.Drawing.Point(232, 16); this.label2.Name = "label2"; this.label2.TabIndex = 12; this.label2.Text = "Phase"; // // SingScreamAttributes // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(424, 262); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.label2, this.PhaseNumericUpDown, this.label1, this.WidthNumericUpDown, this.CancelButton, this.OKButton, this.AmplitudeLabel1, this.AmplitudeUpDown1, this.ChangeColorButton, this.ColorPanel, this.FrequencyLable, this.FrequencyUpDown }); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "SingScreamAttributes"; this.Text = "SingScreamAttributes"; ((System.ComponentModel.ISupportInitialize)(this.AmplitudeUpDown1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.WidthNumericUpDown)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.PhaseNumericUpDown)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.numericUpDown = new System.Windows.Forms.NumericUpDown(); this.domainUpDown = new System.Windows.Forms.DomainUpDown(); this.btnGetSelections = new System.Windows.Forms.Button(); this.lblCurrSel = new System.Windows.Forms.Label(); numericUpDown.BeginInit(); //@this.TrayHeight = 0; //@this.TrayLargeIcon = false; //@this.TrayAutoArrange = true; label1.Location = new System.Drawing.Point(8, 24); label1.Text = "Domain UpDown Control"; label1.Size = new System.Drawing.Size(224, 32); label1.Font = new System.Drawing.Font("Verdana", 12); label1.TabIndex = 2; label2.Location = new System.Drawing.Point(8, 80); label2.Text = "Numeric UpDown Control"; label2.Size = new System.Drawing.Size(232, 32); label2.Font = new System.Drawing.Font("Verdana", 12); label2.TabIndex = 3; numericUpDown.Location = new System.Drawing.Point(264, 80); numericUpDown.Maximum = new decimal(5000); numericUpDown.Size = new System.Drawing.Size(168, 20); numericUpDown.ThousandsSeparator = true; numericUpDown.TabIndex = 1; numericUpDown.UpDownAlign = System.Windows.Forms.LeftRightAlignment.Left; numericUpDown.ValueChanged += new System.EventHandler(this.numericUpDown_ValueChanged); domainUpDown.Location = new System.Drawing.Point(264, 24); domainUpDown.Text = "domainUpDown1"; domainUpDown.Size = new System.Drawing.Size(168, 20); domainUpDown.TabIndex = 0; domainUpDown.Sorted = true; domainUpDown.Wrap = true; domainUpDown.SelectedItemChanged += new System.EventHandler(this.domainUpDown_SelectedItemChanged); domainUpDown.Items.AddRange(new object[4] { "Another Boring String named B", "Boring String A", "BORING String C", "Final Boring string (D)" }); btnGetSelections.Location = new System.Drawing.Point(16, 136); btnGetSelections.Size = new System.Drawing.Size(136, 24); btnGetSelections.TabIndex = 4; btnGetSelections.Text = "Get Current Selections"; btnGetSelections.Click += new System.EventHandler(this.btnGetSelections_Click); lblCurrSel.Location = new System.Drawing.Point(176, 120); lblCurrSel.Size = new System.Drawing.Size(256, 48); lblCurrSel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; lblCurrSel.TabIndex = 5; lblCurrSel.BackColor = System.Drawing.Color.Linen; this.Text = "Spin Controls"; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(448, 181); this.Controls.Add(this.lblCurrSel); this.Controls.Add(this.btnGetSelections); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.numericUpDown); this.Controls.Add(this.domainUpDown); numericUpDown.EndInit(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormScreenEdit)); this.comboGradeLevel = new System.Windows.Forms.ComboBox(); this.label35 = new System.Windows.Forms.Label(); this.label15 = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.textComments = new System.Windows.Forms.TextBox(); this.listUrgency = new System.Windows.Forms.ListBox(); this.checkHasCaries = new System.Windows.Forms.CheckBox(); this.checkNeedsSealants = new System.Windows.Forms.CheckBox(); this.updownAgeArrows = new System.Windows.Forms.DomainUpDown(); this.radioM = new System.Windows.Forms.RadioButton(); this.radioF = new System.Windows.Forms.RadioButton(); this.radioUnknown = new System.Windows.Forms.RadioButton(); this.checkExistingSealants = new System.Windows.Forms.CheckBox(); this.checkCariesExperience = new System.Windows.Forms.CheckBox(); this.checkEarlyChildCaries = new System.Windows.Forms.CheckBox(); this.checkMissingAllTeeth = new System.Windows.Forms.CheckBox(); this.label5 = new System.Windows.Forms.Label(); this.textBirthdate = new System.Windows.Forms.TextBox(); this.textAge = new System.Windows.Forms.TextBox(); this.listRace = new System.Windows.Forms.ListBox(); this.textScreenGroupOrder = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.butDelete = new OpenDental.UI.Button(); this.butCancel = new OpenDental.UI.Button(); this.butOK = new OpenDental.UI.Button(); this.SuspendLayout(); // // comboGradeLevel // this.comboGradeLevel.BackColor = System.Drawing.SystemColors.Window; this.comboGradeLevel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboGradeLevel.Location = new System.Drawing.Point(111, 36); this.comboGradeLevel.MaxDropDownItems = 25; this.comboGradeLevel.Name = "comboGradeLevel"; this.comboGradeLevel.Size = new System.Drawing.Size(149, 21); this.comboGradeLevel.TabIndex = 6; // // label35 // this.label35.Location = new System.Drawing.Point(23, 331); this.label35.Name = "label35"; this.label35.Size = new System.Drawing.Size(89, 14); this.label35.TabIndex = 16; this.label35.Text = "Urgency"; this.label35.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label15 // this.label15.Location = new System.Drawing.Point(37, 37); this.label15.Name = "label15"; this.label15.Size = new System.Drawing.Size(75, 17); this.label15.TabIndex = 13; this.label15.Text = "Grade Level"; this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label10 // this.label10.Location = new System.Drawing.Point(-1, 193); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(113, 17); this.label10.TabIndex = 10; this.label10.Text = "Race/Ethnicity"; this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label4 // this.label4.Location = new System.Drawing.Point(47, 59); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(65, 14); this.label4.TabIndex = 108; this.label4.Text = "Age"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label8 // this.label8.Location = new System.Drawing.Point(35, 388); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(77, 16); this.label8.TabIndex = 115; this.label8.Text = "Comments"; this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // textComments // this.textComments.Location = new System.Drawing.Point(111, 387); this.textComments.MaxLength = 255; this.textComments.Name = "textComments"; this.textComments.Size = new System.Drawing.Size(171, 20); this.textComments.TabIndex = 20; // // listUrgency // this.listUrgency.Location = new System.Drawing.Point(111, 331); this.listUrgency.Name = "listUrgency"; this.listUrgency.Size = new System.Drawing.Size(97, 56); this.listUrgency.TabIndex = 9; // // checkHasCaries // this.checkHasCaries.AutoCheck = false; this.checkHasCaries.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; this.checkHasCaries.Checked = true; this.checkHasCaries.CheckState = System.Windows.Forms.CheckState.Indeterminate; this.checkHasCaries.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkHasCaries.Location = new System.Drawing.Point(8, 97); this.checkHasCaries.Name = "checkHasCaries"; this.checkHasCaries.Size = new System.Drawing.Size(116, 16); this.checkHasCaries.TabIndex = 14; this.checkHasCaries.Text = "Has Caries"; this.checkHasCaries.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.checkHasCaries.ThreeState = true; this.checkHasCaries.Click += new System.EventHandler(this.checkBox_Click); // // checkNeedsSealants // this.checkNeedsSealants.AutoCheck = false; this.checkNeedsSealants.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; this.checkNeedsSealants.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkNeedsSealants.Location = new System.Drawing.Point(4, 161); this.checkNeedsSealants.Name = "checkNeedsSealants"; this.checkNeedsSealants.Size = new System.Drawing.Size(120, 16); this.checkNeedsSealants.TabIndex = 18; this.checkNeedsSealants.Text = "Needs Sealants"; this.checkNeedsSealants.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.checkNeedsSealants.ThreeState = true; this.checkNeedsSealants.Click += new System.EventHandler(this.checkBox_Click); // // updownAgeArrows // this.updownAgeArrows.InterceptArrowKeys = false; this.updownAgeArrows.Location = new System.Drawing.Point(146, 57); this.updownAgeArrows.Name = "updownAgeArrows"; this.updownAgeArrows.Size = new System.Drawing.Size(20, 20); this.updownAgeArrows.TabIndex = 7; this.updownAgeArrows.MouseDown += new System.Windows.Forms.MouseEventHandler(this.updownAgeArrows_MouseDown); // // radioM // this.radioM.FlatStyle = System.Windows.Forms.FlatStyle.System; this.radioM.Location = new System.Drawing.Point(111, 314); this.radioM.Name = "radioM"; this.radioM.Size = new System.Drawing.Size(33, 17); this.radioM.TabIndex = 11; this.radioM.Text = "M"; // // radioF // this.radioF.FlatStyle = System.Windows.Forms.FlatStyle.System; this.radioF.Location = new System.Drawing.Point(144, 314); this.radioF.Name = "radioF"; this.radioF.Size = new System.Drawing.Size(33, 17); this.radioF.TabIndex = 12; this.radioF.Text = "F"; // // radioUnknown // this.radioUnknown.Checked = true; this.radioUnknown.FlatStyle = System.Windows.Forms.FlatStyle.System; this.radioUnknown.Location = new System.Drawing.Point(177, 314); this.radioUnknown.Name = "radioUnknown"; this.radioUnknown.Size = new System.Drawing.Size(33, 17); this.radioUnknown.TabIndex = 13; this.radioUnknown.TabStop = true; this.radioUnknown.Text = "?"; // // checkExistingSealants // this.checkExistingSealants.AutoCheck = false; this.checkExistingSealants.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; this.checkExistingSealants.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkExistingSealants.Location = new System.Drawing.Point(-3, 145); this.checkExistingSealants.Name = "checkExistingSealants"; this.checkExistingSealants.Size = new System.Drawing.Size(127, 16); this.checkExistingSealants.TabIndex = 17; this.checkExistingSealants.Text = "Existing Sealants"; this.checkExistingSealants.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.checkExistingSealants.ThreeState = true; this.checkExistingSealants.Click += new System.EventHandler(this.checkBox_Click); // // checkCariesExperience // this.checkCariesExperience.AutoCheck = false; this.checkCariesExperience.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; this.checkCariesExperience.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkCariesExperience.Location = new System.Drawing.Point(-1, 129); this.checkCariesExperience.Name = "checkCariesExperience"; this.checkCariesExperience.Size = new System.Drawing.Size(125, 16); this.checkCariesExperience.TabIndex = 16; this.checkCariesExperience.Text = "Caries Experience"; this.checkCariesExperience.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.checkCariesExperience.ThreeState = true; this.checkCariesExperience.Click += new System.EventHandler(this.checkBox_Click); // // checkEarlyChildCaries // this.checkEarlyChildCaries.AutoCheck = false; this.checkEarlyChildCaries.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; this.checkEarlyChildCaries.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkEarlyChildCaries.Location = new System.Drawing.Point(-1, 113); this.checkEarlyChildCaries.Name = "checkEarlyChildCaries"; this.checkEarlyChildCaries.Size = new System.Drawing.Size(125, 16); this.checkEarlyChildCaries.TabIndex = 15; this.checkEarlyChildCaries.Text = "Early Child. Caries"; this.checkEarlyChildCaries.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.checkEarlyChildCaries.ThreeState = true; this.checkEarlyChildCaries.Click += new System.EventHandler(this.checkBox_Click); // // checkMissingAllTeeth // this.checkMissingAllTeeth.AutoCheck = false; this.checkMissingAllTeeth.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; this.checkMissingAllTeeth.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkMissingAllTeeth.Location = new System.Drawing.Point(-1, 177); this.checkMissingAllTeeth.Name = "checkMissingAllTeeth"; this.checkMissingAllTeeth.Size = new System.Drawing.Size(125, 16); this.checkMissingAllTeeth.TabIndex = 19; this.checkMissingAllTeeth.Text = "Missing All Teeth"; this.checkMissingAllTeeth.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.checkMissingAllTeeth.ThreeState = true; this.checkMissingAllTeeth.Click += new System.EventHandler(this.checkBox_Click); // // label5 // this.label5.Location = new System.Drawing.Point(32, 78); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(80, 17); this.label5.TabIndex = 139; this.label5.Text = "Birthdate"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // textBirthdate // this.textBirthdate.AcceptsReturn = true; this.textBirthdate.Location = new System.Drawing.Point(111, 77); this.textBirthdate.Multiline = true; this.textBirthdate.Name = "textBirthdate"; this.textBirthdate.Size = new System.Drawing.Size(81, 20); this.textBirthdate.TabIndex = 8; this.textBirthdate.Validating += new System.ComponentModel.CancelEventHandler(this.textBirthdate_Validating); // // textAge // this.textAge.Location = new System.Drawing.Point(111, 57); this.textAge.Name = "textAge"; this.textAge.Size = new System.Drawing.Size(35, 20); this.textAge.TabIndex = 141; this.textAge.Validating += new System.ComponentModel.CancelEventHandler(this.textAge_Validating); // // listRace // this.listRace.Location = new System.Drawing.Point(111, 193); this.listRace.Name = "listRace"; this.listRace.Size = new System.Drawing.Size(113, 121); this.listRace.TabIndex = 142; // // textScreenGroupOrder // this.textScreenGroupOrder.Location = new System.Drawing.Point(111, 16); this.textScreenGroupOrder.Name = "textScreenGroupOrder"; this.textScreenGroupOrder.Size = new System.Drawing.Size(35, 20); this.textScreenGroupOrder.TabIndex = 144; this.textScreenGroupOrder.Validating += new System.ComponentModel.CancelEventHandler(this.textScreenGroupOrder_Validating); // // label1 // this.label1.Location = new System.Drawing.Point(73, 18); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(39, 14); this.label1.TabIndex = 143; this.label1.Text = "Row"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label2 // this.label2.Location = new System.Drawing.Point(-1, 314); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(113, 17); this.label2.TabIndex = 10; this.label2.Text = "Gender"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // butDelete // this.butDelete.AdjustImageLocation = new System.Drawing.Point(0, 0); this.butDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.butDelete.Autosize = true; this.butDelete.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.butDelete.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.butDelete.CornerRadius = 4F; this.butDelete.Image = global::OpenDental.Properties.Resources.deleteX; this.butDelete.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.butDelete.Location = new System.Drawing.Point(12, 452); this.butDelete.Name = "butDelete"; this.butDelete.Size = new System.Drawing.Size(75, 24); this.butDelete.TabIndex = 24; this.butDelete.Text = "Delete"; this.butDelete.Click += new System.EventHandler(this.butDelete_Click); // // butCancel // this.butCancel.AdjustImageLocation = new System.Drawing.Point(0, 0); this.butCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.butCancel.Autosize = true; this.butCancel.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.butCancel.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.butCancel.CornerRadius = 4F; this.butCancel.Location = new System.Drawing.Point(224, 452); this.butCancel.Name = "butCancel"; this.butCancel.Size = new System.Drawing.Size(75, 24); this.butCancel.TabIndex = 24; this.butCancel.Text = "Cancel"; this.butCancel.Click += new System.EventHandler(this.butCancel_Click); // // butOK // this.butOK.AdjustImageLocation = new System.Drawing.Point(0, 0); this.butOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.butOK.Autosize = true; this.butOK.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.butOK.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.butOK.CornerRadius = 4F; this.butOK.Location = new System.Drawing.Point(224, 422); this.butOK.Name = "butOK"; this.butOK.Size = new System.Drawing.Size(75, 24); this.butOK.TabIndex = 24; this.butOK.Text = "OK"; this.butOK.Click += new System.EventHandler(this.butOK_Click); // // FormScreenEdit // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(311, 488); this.Controls.Add(this.textComments); this.Controls.Add(this.listUrgency); this.Controls.Add(this.textScreenGroupOrder); this.Controls.Add(this.label1); this.Controls.Add(this.listRace); this.Controls.Add(this.textAge); this.Controls.Add(this.checkNeedsSealants); this.Controls.Add(this.comboGradeLevel); this.Controls.Add(this.updownAgeArrows); this.Controls.Add(this.label4); this.Controls.Add(this.textBirthdate); this.Controls.Add(this.label5); this.Controls.Add(this.checkMissingAllTeeth); this.Controls.Add(this.checkEarlyChildCaries); this.Controls.Add(this.checkCariesExperience); this.Controls.Add(this.checkExistingSealants); this.Controls.Add(this.radioUnknown); this.Controls.Add(this.radioF); this.Controls.Add(this.radioM); this.Controls.Add(this.butDelete); this.Controls.Add(this.butCancel); this.Controls.Add(this.butOK); this.Controls.Add(this.checkHasCaries); this.Controls.Add(this.label8); this.Controls.Add(this.label35); this.Controls.Add(this.label15); this.Controls.Add(this.label2); this.Controls.Add(this.label10); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "FormScreenEdit"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Edit Screening"; this.Load += new System.EventHandler(this.FormScreenEdit_Load); this.ResumeLayout(false); this.PerformLayout(); }
private void InitializeComponent() { this.lblMushrooms = new System.Windows.Forms.Label(); this.updSpiders = new System.Windows.Forms.NumericUpDown(); this.updNetterpillars = new System.Windows.Forms.NumericUpDown(); this.updGameField = new System.Windows.Forms.DomainUpDown(); this.lblNetterpillars = new System.Windows.Forms.Label(); this.lblSpiders = new System.Windows.Forms.Label(); this.cmdCancel = new System.Windows.Forms.Button(); this.lblGameField = new System.Windows.Forms.Label(); this.cmdOK = new System.Windows.Forms.Button(); this.updMushrooms = new System.Windows.Forms.DomainUpDown(); ((System.ComponentModel.ISupportInitialize)(this.updSpiders)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.updNetterpillars)).BeginInit(); this.SuspendLayout(); // // lblMushrooms // this.lblMushrooms.Location = new System.Drawing.Point(8, 48); this.lblMushrooms.Name = "lblMushrooms"; this.lblMushrooms.Size = new System.Drawing.Size(128, 32); this.lblMushrooms.TabIndex = 2; this.lblMushrooms.Text = "Mushrooms"; // // updSpiders // this.updSpiders.Location = new System.Drawing.Point(144, 128); this.updSpiders.Maximum = new System.Decimal(new int[] { 5, 0, 0, 0 }); this.updSpiders.Minimum = new System.Decimal(new int[] { 1, 0, 0, 0 }); this.updSpiders.Name = "updSpiders"; this.updSpiders.Size = new System.Drawing.Size(48, 34); this.updSpiders.TabIndex = 2; this.updSpiders.Value = new System.Decimal(new int[] { 1, 0, 0, 0 }); // // updNetterpillars // this.updNetterpillars.Location = new System.Drawing.Point(144, 8); this.updNetterpillars.Maximum = new System.Decimal(new int[] { 4, 0, 0, 0 }); this.updNetterpillars.Minimum = new System.Decimal(new int[] { 1, 0, 0, 0 }); this.updNetterpillars.Name = "updNetterpillars"; this.updNetterpillars.Size = new System.Drawing.Size(48, 34); this.updNetterpillars.TabIndex = 1; this.updNetterpillars.Value = new System.Decimal(new int[] { 1, 0, 0, 0 }); // // updGameField // this.updGameField.Items.Add("Big"); this.updGameField.Items.Add("Medium"); this.updGameField.Items.Add("Small"); this.updGameField.Location = new System.Drawing.Point(144, 88); this.updGameField.Name = "updGameField"; this.updGameField.TabIndex = 4; this.updGameField.Text = "Medium"; // // lblNetterpillars // this.lblNetterpillars.Location = new System.Drawing.Point(8, 8); this.lblNetterpillars.Name = "lblNetterpillars"; this.lblNetterpillars.Size = new System.Drawing.Size(144, 32); this.lblNetterpillars.TabIndex = 2; this.lblNetterpillars.Text = "Netterpillars"; // // lblSpiders // this.lblSpiders.Location = new System.Drawing.Point(8, 128); this.lblSpiders.Name = "lblSpiders"; this.lblSpiders.Size = new System.Drawing.Size(120, 29); this.lblSpiders.TabIndex = 3; this.lblSpiders.Text = "Spiders"; // // cmdCancel // this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cmdCancel.Location = new System.Drawing.Point(272, 48); this.cmdCancel.Name = "cmdCancel"; this.cmdCancel.Size = new System.Drawing.Size(80, 32); this.cmdCancel.TabIndex = 7; this.cmdCancel.Text = "Cancel"; // // lblGameField // this.lblGameField.Location = new System.Drawing.Point(8, 88); this.lblGameField.Name = "lblGameField"; this.lblGameField.Size = new System.Drawing.Size(128, 29); this.lblGameField.TabIndex = 3; this.lblGameField.Text = "Game Field"; // // cmdOK // this.cmdOK.DialogResult = System.Windows.Forms.DialogResult.OK; this.cmdOK.Location = new System.Drawing.Point(272, 8); this.cmdOK.Name = "cmdOK"; this.cmdOK.Size = new System.Drawing.Size(80, 32); this.cmdOK.TabIndex = 6; this.cmdOK.Text = "OK"; this.cmdOK.Click += new System.EventHandler(this.cmdOK_Click); // // updMushrooms // this.updMushrooms.Items.Add("Many"); this.updMushrooms.Items.Add("Just Right"); this.updMushrooms.Items.Add("Few"); this.updMushrooms.Location = new System.Drawing.Point(144, 48); this.updMushrooms.Name = "updMushrooms"; this.updMushrooms.TabIndex = 8; this.updMushrooms.Text = "Just Right"; // // Config // this.AutoScaleBaseSize = new System.Drawing.Size(10, 27); this.ClientSize = new System.Drawing.Size(368, 128); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.updMushrooms, this.updGameField, this.updSpiders, this.updNetterpillars, this.lblMushrooms, this.lblGameField, this.lblSpiders, this.lblNetterpillars, this.cmdCancel, this.cmdOK }); this.Font = new System.Drawing.Font("Comic Sans MS", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.Name = "Config"; this.Text = "Game Configuration"; this.Load += new System.EventHandler(this.Config_Load); ((System.ComponentModel.ISupportInitialize)(this.updSpiders)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.updNetterpillars)).EndInit(); this.ResumeLayout(false); }
public void fillBoxes(DomainUpDown box_red, DomainUpDown box_green, DomainUpDown box_blue, DomainUpDown box_alpha, string format) { double[] rgba = (double[])RGBA.value; box_red.Text = Red.ToString(format); box_green.Text = Green.ToString(format); box_blue.Text = Blue.ToString(format); box_alpha.Text = Alpha.ToString(format); }
/// <summary> /// Returns an observable sequence wrapping the SelectedItemChanged event on the DomainUpDown instance. /// </summary> /// <param name="instance">The DomainUpDown instance to observe.</param> /// <returns>An observable sequence wrapping the SelectedItemChanged event on the DomainUpDown instance.</returns> public static IObservable <EventPattern <EventArgs> > SelectedItemChangedObservable(this DomainUpDown instance) { return(Observable.FromEventPattern <EventHandler, EventArgs>( handler => instance.SelectedItemChanged += handler, handler => instance.SelectedItemChanged -= handler)); }
public Gentemp() { InitializeComponent(); string item = ""; string name = ""; int locx = 0; int locy = 0; int sizeh = 0; int sizew = 0; string text = ""; string tooltip = ""; string parent = ""; string type = ""; XmlTextReader scriptXmlReader = new XmlTextReader("APM_config_screen.xml"); scriptXmlReader.WhitespaceHandling = WhitespaceHandling.None; while (scriptXmlReader.Read()) { switch (scriptXmlReader.NodeType) { case XmlNodeType.Element: item = scriptXmlReader.Name; break; case XmlNodeType.Text: switch (item) { case "Name": name = scriptXmlReader.Value; break; case "Location.X": locx = int.Parse(scriptXmlReader.Value); break; case "Location.Y": locy = int.Parse(scriptXmlReader.Value); break; case "Size.Width": sizew = int.Parse(scriptXmlReader.Value); break; case "Size.Height": sizeh = int.Parse(scriptXmlReader.Value); break; case "Text": text = scriptXmlReader.Value; break; case "ToolTip": tooltip = scriptXmlReader.Value; break; case "Parent": parent = scriptXmlReader.Value; break; case "Type": type = scriptXmlReader.Value; break; } break; case XmlNodeType.EndElement: item = scriptXmlReader.Name; if (item == "Object") { switch (type) { case "System.Windows.Forms.Button": Button but = new Button(); but.Parent = FindControlByName(parent); but.Name = name; but.Text = text; but.Size = new Size(sizew,sizeh); but.Location = new Point(locx,locy); but.Parent.Controls.Add(but); break; case "System.Windows.Forms.Label": Label lbl = new Label(); lbl.Parent = FindControlByName(parent); lbl.Name = name; lbl.Text = text; lbl.Size = new Size(sizew, sizeh); lbl.Location = new Point(locx, locy); lbl.Parent.Controls.Add(lbl); break; case "System.Windows.Forms.GroupBox": GroupBox Grp = new GroupBox(); Grp.Parent = FindControlByName(parent); Grp.Name = name; Grp.Text = text; Grp.Size = new Size(sizew, sizeh); Grp.Location = new Point(locx, locy); Grp.Parent.Controls.Add(Grp); break; case "System.Windows.Forms.TextBox": TextBox TXT = new TextBox(); TXT.Parent = FindControlByName(parent); TXT.Name = name; TXT.Text = text; TXT.Size = new Size(sizew, sizeh); TXT.Location = new Point(locx, locy); TXT.Parent.Controls.Add(TXT); break; case "System.Windows.Forms.CheckBox": CheckBox CHK = new CheckBox(); CHK.Parent = FindControlByName(parent); CHK.Name = name; CHK.Text = text; CHK.Size = new Size(sizew, sizeh); CHK.Location = new Point(locx, locy); CHK.Parent.Controls.Add(CHK); break; case "System.Windows.Forms.DomainUpDown": DomainUpDown DUD = new DomainUpDown(); DUD.Parent = FindControlByName(parent); DUD.Name = name; DUD.Text = text; DUD.Size = new Size(sizew, sizeh); DUD.Location = new Point(locx, locy); DUD.Parent.Controls.Add(DUD); break; case "System.Windows.Forms.ComboBox": ComboBox CMB = new ComboBox(); CMB.Parent = FindControlByName(parent); CMB.Name = name; CMB.Text = text; CMB.Size = new Size(sizew, sizeh); CMB.Location = new Point(locx, locy); CMB.Parent.Controls.Add(CMB); break; } } break; default: break; } } }
protected override Control GetControl() { DomainUpDown domainUpDown = new DomainUpDown(); domainUpDown.Name = "I'm a happy SWF domainUpDown :)"; return domainUpDown; }
internal DomainUpDownItemCollection(DomainUpDown owner) : base() { this.owner = owner; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.lstVwColunas = new System.Windows.Forms.ListView(); this.columnHeader1 = new System.Windows.Forms.ColumnHeader(); this.btnAdd = new System.Windows.Forms.Button(); this.btnRemove = new System.Windows.Forms.Button(); this.btnAddAll = new System.Windows.Forms.Button(); this.btnRemoveAll = new System.Windows.Forms.Button(); this.lstVwOrdenacao = new System.Windows.Forms.ListView(); this.columnHeader2 = new System.Windows.Forms.ColumnHeader(); this.columnHeader3 = new System.Windows.Forms.ColumnHeader(); this.columnHeader4 = new System.Windows.Forms.ColumnHeader(); this.btnOk = new System.Windows.Forms.Button(); this.btnCancel = new System.Windows.Forms.Button(); this.domainSort = new System.Windows.Forms.DomainUpDown(); this.numOrder = new System.Windows.Forms.NumericUpDown(); ((System.ComponentModel.ISupportInitialize)(this.numOrder)).BeginInit(); this.SuspendLayout(); // // lstVwColunas // this.lstVwColunas.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1}); this.lstVwColunas.FullRowSelect = true; this.lstVwColunas.HideSelection = false; this.lstVwColunas.Location = new System.Drawing.Point(16, 16); this.lstVwColunas.Name = "lstVwColunas"; this.lstVwColunas.Size = new System.Drawing.Size(136, 208); this.lstVwColunas.TabIndex = 0; this.lstVwColunas.View = System.Windows.Forms.View.Details; this.lstVwColunas.SelectedIndexChanged += new System.EventHandler(this.lstVwColunas_SelectedIndexChanged); // // columnHeader1 // this.columnHeader1.Text = "Colunas"; this.columnHeader1.Width = 130; // // btnAdd // this.btnAdd.Location = new System.Drawing.Point(168, 40); this.btnAdd.Name = "btnAdd"; this.btnAdd.Size = new System.Drawing.Size(32, 24); this.btnAdd.TabIndex = 1; this.btnAdd.Text = "->"; this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click); // // btnRemove // this.btnRemove.Location = new System.Drawing.Point(168, 80); this.btnRemove.Name = "btnRemove"; this.btnRemove.Size = new System.Drawing.Size(32, 24); this.btnRemove.TabIndex = 2; this.btnRemove.Text = "<-"; this.btnRemove.Click += new System.EventHandler(this.btnRemove_Click); // // btnAddAll // this.btnAddAll.Location = new System.Drawing.Point(168, 120); this.btnAddAll.Name = "btnAddAll"; this.btnAddAll.Size = new System.Drawing.Size(32, 24); this.btnAddAll.TabIndex = 3; this.btnAddAll.Text = ">>"; this.btnAddAll.Click += new System.EventHandler(this.btnAddAll_Click); // // btnRemoveAll // this.btnRemoveAll.Location = new System.Drawing.Point(168, 160); this.btnRemoveAll.Name = "btnRemoveAll"; this.btnRemoveAll.Size = new System.Drawing.Size(32, 24); this.btnRemoveAll.TabIndex = 4; this.btnRemoveAll.Text = "<<"; this.btnRemoveAll.Click += new System.EventHandler(this.btnRemoveAll_Click); // // lstVwOrdenacao // this.lstVwOrdenacao.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader2, this.columnHeader3, this.columnHeader4}); this.lstVwOrdenacao.FullRowSelect = true; this.lstVwOrdenacao.HideSelection = false; this.lstVwOrdenacao.Location = new System.Drawing.Point(224, 16); this.lstVwOrdenacao.Name = "lstVwOrdenacao"; this.lstVwOrdenacao.Size = new System.Drawing.Size(248, 208); this.lstVwOrdenacao.TabIndex = 5; this.lstVwOrdenacao.View = System.Windows.Forms.View.Details; this.lstVwOrdenacao.SelectedIndexChanged += new System.EventHandler(this.lstVwOrdenacao_SelectedIndexChanged); // // columnHeader2 // this.columnHeader2.Text = ""; this.columnHeader2.Width = 20; // // columnHeader3 // this.columnHeader3.Text = "Colunas"; this.columnHeader3.Width = 148; // // columnHeader4 // this.columnHeader4.Text = "Ordenação"; this.columnHeader4.Width = 72; // // btnOk // this.btnOk.DialogResult = System.Windows.Forms.DialogResult.OK; this.btnOk.Location = new System.Drawing.Point(477, 192); this.btnOk.Name = "btnOk"; this.btnOk.Size = new System.Drawing.Size(40, 24); this.btnOk.TabIndex = 6; this.btnOk.Text = "Ok"; // // btnCancel // this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.Location = new System.Drawing.Point(528, 192); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(64, 24); this.btnCancel.TabIndex = 7; this.btnCancel.Text = "Cancelar"; // // domainSort // this.domainSort.Items.Add("Asc"); this.domainSort.Items.Add("Desc"); this.domainSort.Location = new System.Drawing.Point(488, 80); this.domainSort.Name = "domainSort"; this.domainSort.ReadOnly = true; this.domainSort.Size = new System.Drawing.Size(56, 20); this.domainSort.TabIndex = 8; this.domainSort.Tag = ""; this.domainSort.Click += new System.EventHandler(this.domainSort_Click); // // numOrder // this.numOrder.Location = new System.Drawing.Point(488, 48); this.numOrder.Minimum = new System.Decimal(new int[] { 1, 0, 0, 0}); this.numOrder.Name = "numOrder"; this.numOrder.Size = new System.Drawing.Size(56, 20); this.numOrder.TabIndex = 9; this.numOrder.Value = new System.Decimal(new int[] { 1, 0, 0, 0}); this.numOrder.ValueChanged += new EventHandler(numOrder_ValueChanged); // // ControloEdicaoOrdenacao // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(600, 232); this.ControlBox = false; this.Controls.Add(this.numOrder); this.Controls.Add(this.domainSort); this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnOk); this.Controls.Add(this.lstVwOrdenacao); this.Controls.Add(this.btnRemoveAll); this.Controls.Add(this.btnAddAll); this.Controls.Add(this.btnRemove); this.Controls.Add(this.btnAdd); this.Controls.Add(this.lstVwColunas); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Name = "ControloEdicaoOrdenacao"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Edição dos critérios de ordenação"; ((System.ComponentModel.ISupportInitialize)(this.numOrder)).EndInit(); this.ResumeLayout(false); }
public void IValueProviderValueTest () { DomainUpDown domainUpDown = new DomainUpDown (); IRawElementProviderSimple provider = ProviderFactory.GetProvider (domainUpDown); IValueProvider valueProvider = (IValueProvider) provider.GetPatternProvider (ValuePatternIdentifiers.Pattern.Id); Assert.IsNotNull (valueProvider, "Not returning ValuePatternIdentifiers."); string value = "Item"; domainUpDown.Items.Add (value); domainUpDown.DownButton (); Assert.AreEqual (value, valueProvider.Value, "Value value"); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.dudSortColorsWeb = new System.Windows.Forms.DomainUpDown(); this.cbEnableCustom = new System.Windows.Forms.CheckBox(); this.dudSortColorsPanel = new System.Windows.Forms.DomainUpDown(); this.labelCustomColor = new System.Windows.Forms.Label(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.cbEnableSystemColors = new System.Windows.Forms.CheckBox(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.labelWeb = new System.Windows.Forms.Label(); this.cbShowPickColor = new System.Windows.Forms.CheckBox(); this.label9 = new System.Windows.Forms.Label(); this.dudZ = new System.Windows.Forms.DomainUpDown(); this.colorPicker = new PJLControls.ColorPicker(); this.customColorPanel1 = new PJLControls.CustomColorPanel(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.label2 = new System.Windows.Forms.Label(); this.dudColorSetPanel = new System.Windows.Forms.DomainUpDown(); this.cbEnablePanel = new System.Windows.Forms.CheckBox(); this.label8 = new System.Windows.Forms.Label(); this.labelPanel = new System.Windows.Forms.Label(); this.colorPanel = new PJLControls.ColorPanel(); this.tabPage3 = new System.Windows.Forms.TabPage(); this.chkContinuous = new System.Windows.Forms.CheckBox(); this.labelCustomName = new System.Windows.Forms.Label(); this.customColorPicker = new PJLControls.CustomColorPicker(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.dudColorSetOther = new System.Windows.Forms.DomainUpDown(); this.labelSystem = new System.Windows.Forms.Label(); this.colorPickerWeb = new PJLControls.ColorPicker(); this.colorPickerSystem = new PJLControls.ColorPicker(); this.cbShowColorName = new System.Windows.Forms.CheckBox(); this.label1 = new System.Windows.Forms.Label(); this.tabPage4 = new System.Windows.Forms.TabPage(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.tabPage2.SuspendLayout(); this.tabPage3.SuspendLayout(); this.tabPage1.SuspendLayout(); this.tabPage4.SuspendLayout(); this.tabControl1.SuspendLayout(); this.SuspendLayout(); // // dudSortColorsWeb // this.dudSortColorsWeb.Location = new System.Drawing.Point(200, 80); this.dudSortColorsWeb.Name = "dudSortColorsWeb"; this.dudSortColorsWeb.ReadOnly = true; this.dudSortColorsWeb.TabIndex = 7; this.dudSortColorsWeb.SelectedItemChanged += new System.EventHandler(this.dudSortColorsWeb_SelectedItemChanged); // // cbEnableCustom // this.cbEnableCustom.Checked = true; this.cbEnableCustom.CheckState = System.Windows.Forms.CheckState.Checked; this.cbEnableCustom.Location = new System.Drawing.Point(296, 312); this.cbEnableCustom.Name = "cbEnableCustom"; this.cbEnableCustom.TabIndex = 4; this.cbEnableCustom.Text = "Enable"; this.cbEnableCustom.CheckedChanged += new System.EventHandler(this.cbEnableCustom_CheckedChanged); // // dudSortColorsPanel // this.dudSortColorsPanel.Location = new System.Drawing.Point(272, 56); this.dudSortColorsPanel.Name = "dudSortColorsPanel"; this.dudSortColorsPanel.ReadOnly = true; this.dudSortColorsPanel.TabIndex = 19; this.dudSortColorsPanel.SelectedItemChanged += new System.EventHandler(this.dudSortColorsPanel_SelectedItemChanged); // // labelCustomColor // this.labelCustomColor.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.labelCustomColor.Location = new System.Drawing.Point(16, 288); this.labelCustomColor.Name = "labelCustomColor"; this.labelCustomColor.Size = new System.Drawing.Size(256, 32); this.labelCustomColor.TabIndex = 1; this.labelCustomColor.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // groupBox1 // this.groupBox1.Controls.AddRange(new System.Windows.Forms.Control[] { this.cbEnableSystemColors }); this.groupBox1.Location = new System.Drawing.Point(8, 136); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(336, 104); this.groupBox1.TabIndex = 8; this.groupBox1.TabStop = false; this.groupBox1.Text = "System Colors"; // // cbEnableSystemColors // this.cbEnableSystemColors.Location = new System.Drawing.Point(256, 24); this.cbEnableSystemColors.Name = "cbEnableSystemColors"; this.cbEnableSystemColors.Size = new System.Drawing.Size(72, 24); this.cbEnableSystemColors.TabIndex = 10; this.cbEnableSystemColors.Text = "Enable"; this.cbEnableSystemColors.CheckedChanged += new System.EventHandler(this.cbEnableSystemColors_CheckedChanged); // // groupBox2 // this.groupBox2.Controls.AddRange(new System.Windows.Forms.Control[] { this.dudSortColorsWeb, this.labelWeb, this.cbShowPickColor, this.label9 }); this.groupBox2.Location = new System.Drawing.Point(8, 16); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(336, 112); this.groupBox2.TabIndex = 7; this.groupBox2.TabStop = false; this.groupBox2.Text = "Web Colors"; // // labelWeb // this.labelWeb.Location = new System.Drawing.Point(8, 48); this.labelWeb.Name = "labelWeb"; this.labelWeb.Size = new System.Drawing.Size(184, 56); this.labelWeb.TabIndex = 6; this.labelWeb.Text = "labelWeb"; this.labelWeb.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // cbShowPickColor // this.cbShowPickColor.Checked = true; this.cbShowPickColor.CheckState = System.Windows.Forms.CheckState.Checked; this.cbShowPickColor.Location = new System.Drawing.Point(200, 16); this.cbShowPickColor.Name = "cbShowPickColor"; this.cbShowPickColor.Size = new System.Drawing.Size(128, 24); this.cbShowPickColor.TabIndex = 2; this.cbShowPickColor.Text = "Show Pick Color"; this.cbShowPickColor.CheckedChanged += new System.EventHandler(this.cbShowPickColor_CheckedChanged); // // label9 // this.label9.Location = new System.Drawing.Point(200, 64); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(96, 16); this.label9.TabIndex = 4; this.label9.Text = "Sort Colors By"; // // dudZ // this.dudZ.Anchor = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right); this.dudZ.Location = new System.Drawing.Point(312, 32); this.dudZ.Name = "dudZ"; this.dudZ.ReadOnly = true; this.dudZ.TabIndex = 2; this.dudZ.SelectedItemChanged += new System.EventHandler(this.dudZ_SelectedItemChanged); // // colorPicker // this.colorPicker._Text = "Pick another color"; this.colorPicker.AutoSize = false; this.colorPicker.ColorSortOrder = PJLControls.ColorSortOrder.Brightness; this.colorPicker.ColorWellSize = new System.Drawing.Size(24, 12); this.colorPicker.CustomColors = new System.Drawing.Color[] { System.Drawing.Color.Tomato, System.Drawing.Color.Firebrick, System.Drawing.Color.LightCoral, System.Drawing.Color.Maroon, System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(64)), ((System.Byte)(0))), System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(128)), ((System.Byte)(0))), System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(192)), ((System.Byte)(128))), System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(224)), ((System.Byte)(192))), System.Drawing.Color.DarkRed, System.Drawing.Color.DarkSalmon, System.Drawing.Color.Coral, System.Drawing.Color.OrangeRed }; this.colorPicker.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.colorPicker.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(128)), ((System.Byte)(128)), ((System.Byte)(255))); this.colorPicker.Location = new System.Drawing.Point(8, 248); this.colorPicker.Name = "colorPicker"; this.colorPicker.Size = new System.Drawing.Size(232, 40); this.colorPicker.TabIndex = 12; // // customColorPanel1 // this.customColorPanel1.Anchor = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right); this.customColorPanel1.AutoSize = true; this.customColorPanel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.customColorPanel1.Color = System.Drawing.Color.Empty; this.customColorPanel1.Isotropic = true; this.customColorPanel1.Location = new System.Drawing.Point(16, 32); this.customColorPanel1.Name = "customColorPanel1"; this.customColorPanel1.Size = new System.Drawing.Size(280, 244); this.customColorPanel1.TabIndex = 0; this.customColorPanel1.ZAxis = PJLControls.ZAxis.red; // // tabPage2 // this.tabPage2.Controls.AddRange(new System.Windows.Forms.Control[] { this.label2, this.dudColorSetPanel, this.dudSortColorsPanel, this.cbEnablePanel, this.label8, this.labelPanel, this.colorPanel }); this.tabPage2.Location = new System.Drawing.Point(4, 4); this.tabPage2.Name = "tabPage2"; this.tabPage2.Size = new System.Drawing.Size(464, 357); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "Panel"; // // label2 // this.label2.Location = new System.Drawing.Point(176, 88); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(72, 23); this.label2.TabIndex = 21; this.label2.Text = "Color Set"; // // dudColorSetPanel // this.dudColorSetPanel.Location = new System.Drawing.Point(272, 88); this.dudColorSetPanel.Name = "dudColorSetPanel"; this.dudColorSetPanel.ReadOnly = true; this.dudColorSetPanel.TabIndex = 20; this.dudColorSetPanel.SelectedItemChanged += new System.EventHandler(this.dudColorSetPanel_SelectedItemChanged); // // cbEnablePanel // this.cbEnablePanel.Location = new System.Drawing.Point(176, 16); this.cbEnablePanel.Name = "cbEnablePanel"; this.cbEnablePanel.TabIndex = 15; this.cbEnablePanel.Text = "Enable Panel"; this.cbEnablePanel.CheckedChanged += new System.EventHandler(this.cbEnablePanel_CheckedChanged); // // label8 // this.label8.Location = new System.Drawing.Point(176, 56); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(96, 16); this.label8.TabIndex = 16; this.label8.Text = "Sort Colors By"; // // labelPanel // this.labelPanel.Location = new System.Drawing.Point(176, 144); this.labelPanel.Name = "labelPanel"; this.labelPanel.Size = new System.Drawing.Size(216, 88); this.labelPanel.TabIndex = 18; this.labelPanel.Text = "label1"; this.labelPanel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // colorPanel // this.colorPanel.ColorSortOrder = PJLControls.ColorSortOrder.Brightness; this.colorPanel.CustomColors = new System.Drawing.Color[] { System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(192)), ((System.Byte)(192))), System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(128)), ((System.Byte)(128))), System.Drawing.Color.Red, System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(0)), ((System.Byte)(0))), System.Drawing.Color.Maroon, System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(255)), ((System.Byte)(255))), System.Drawing.Color.FromArgb(((System.Byte)(128)), ((System.Byte)(255)), ((System.Byte)(255))), System.Drawing.Color.Aqua, System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(192)), ((System.Byte)(192))), System.Drawing.Color.Teal, System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(192)), ((System.Byte)(255))), System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(128)), ((System.Byte)(255))), System.Drawing.Color.Magenta, System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(0)), ((System.Byte)(192))), System.Drawing.Color.Purple, System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192))), System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(128))), System.Drawing.Color.Yellow, System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(0))), System.Drawing.Color.Olive }; this.colorPanel.Location = new System.Drawing.Point(0, 8); this.colorPanel.Name = "colorPanel"; this.colorPanel.Size = new System.Drawing.Size(148, 260); this.colorPanel.TabIndex = 13; this.colorPanel.ColorChanged += new PJLControls.ColorChangedEventHandler(this.colorPanel_ColorChanged); // // tabPage3 // this.tabPage3.Controls.AddRange(new System.Windows.Forms.Control[] { this.cbEnableCustom, this.chkContinuous, this.labelCustomName, this.labelCustomColor, this.customColorPicker }); this.tabPage3.Location = new System.Drawing.Point(4, 22); this.tabPage3.Name = "tabPage3"; this.tabPage3.Size = new System.Drawing.Size(464, 339); this.tabPage3.TabIndex = 2; this.tabPage3.Text = "Custom"; // // chkContinuous // this.chkContinuous.Checked = true; this.chkContinuous.CheckState = System.Windows.Forms.CheckState.Checked; this.chkContinuous.Location = new System.Drawing.Point(296, 288); this.chkContinuous.Name = "chkContinuous"; this.chkContinuous.Size = new System.Drawing.Size(144, 24); this.chkContinuous.TabIndex = 3; this.chkContinuous.Text = "Continous Scroll Z Axis"; this.chkContinuous.CheckedChanged += new System.EventHandler(this.chkContinuous_CheckedChanged); // // labelCustomName // this.labelCustomName.BackColor = System.Drawing.Color.White; this.labelCustomName.Location = new System.Drawing.Point(108, 296); this.labelCustomName.Name = "labelCustomName"; this.labelCustomName.Size = new System.Drawing.Size(72, 16); this.labelCustomName.TabIndex = 2; this.labelCustomName.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // customColorPicker // this.customColorPicker.Color = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(192)), ((System.Byte)(128))); this.customColorPicker.Location = new System.Drawing.Point(8, 8); this.customColorPicker.Name = "customColorPicker"; this.customColorPicker.Size = new System.Drawing.Size(448, 280); this.customColorPicker.TabIndex = 19; this.customColorPicker.ColorChanged += new PJLControls.ColorChangedEventHandler(this.customColorPicker_ColorChanged); // // tabPage1 // this.tabPage1.Controls.AddRange(new System.Windows.Forms.Control[] { this.dudColorSetOther, this.colorPicker, this.labelSystem, this.colorPickerWeb, this.colorPickerSystem, this.cbShowColorName, this.groupBox1, this.groupBox2 }); this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Size = new System.Drawing.Size(464, 339); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "Dropdown"; // // dudColorSetOther // this.dudColorSetOther.Location = new System.Drawing.Point(248, 248); this.dudColorSetOther.Name = "dudColorSetOther"; this.dudColorSetOther.ReadOnly = true; this.dudColorSetOther.Size = new System.Drawing.Size(96, 20); this.dudColorSetOther.TabIndex = 13; this.dudColorSetOther.SelectedItemChanged += new System.EventHandler(this.dudColorSetOther_SelectedItemChanged); // // labelSystem // this.labelSystem.Location = new System.Drawing.Point(16, 192); this.labelSystem.Name = "labelSystem"; this.labelSystem.Size = new System.Drawing.Size(320, 40); this.labelSystem.TabIndex = 11; this.labelSystem.Text = "label5"; this.labelSystem.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // colorPickerWeb // this.colorPickerWeb._Text = "Pick a web color."; this.colorPickerWeb.BackColor = System.Drawing.SystemColors.Control; this.colorPickerWeb.Color = System.Drawing.Color.Yellow; this.colorPickerWeb.ColorSortOrder = PJLControls.ColorSortOrder.Saturation; this.colorPickerWeb.Columns = 14; this.colorPickerWeb.Location = new System.Drawing.Point(16, 32); this.colorPickerWeb.Name = "colorPickerWeb"; this.colorPickerWeb.Size = new System.Drawing.Size(176, 19); this.colorPickerWeb.TabIndex = 1; this.colorPickerWeb.ColorChanged += new PJLControls.ColorChangedEventHandler(this.colorPickerWeb_ColorChanged); // // colorPickerSystem // this.colorPickerSystem._Text = "Pick a system color"; this.colorPickerSystem.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.colorPickerSystem.Color = System.Drawing.SystemColors.Desktop; this.colorPickerSystem.ColorSet = PJLControls.ColorSet.System; this.colorPickerSystem.ColorSortOrder = PJLControls.ColorSortOrder.Brightness; this.colorPickerSystem.ColorWellSize = new System.Drawing.Size(36, 36); this.colorPickerSystem.CustomColors = new System.Drawing.Color[] { System.Drawing.Color.White }; this.colorPickerSystem.Enabled = false; this.colorPickerSystem.Location = new System.Drawing.Point(16, 160); this.colorPickerSystem.Name = "colorPickerSystem"; this.colorPickerSystem.PanelBorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.colorPickerSystem.Size = new System.Drawing.Size(240, 21); this.colorPickerSystem.TabIndex = 9; this.colorPickerSystem.ColorChanged += new PJLControls.ColorChangedEventHandler(this.colorPickerSystem_ColorChanged); // // cbShowColorName // this.cbShowColorName.Location = new System.Drawing.Point(208, 56); this.cbShowColorName.Name = "cbShowColorName"; this.cbShowColorName.Size = new System.Drawing.Size(128, 24); this.cbShowColorName.TabIndex = 3; this.cbShowColorName.Text = "Show Color Name"; this.cbShowColorName.CheckedChanged += new System.EventHandler(this.cbShowColorName_CheckedChanged); // // label1 // this.label1.Location = new System.Drawing.Point(16, 8); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(288, 23); this.label1.TabIndex = 1; this.label1.Text = "This will demo the custom color panel when it\'s done."; // // tabPage4 // this.tabPage4.Controls.AddRange(new System.Windows.Forms.Control[] { this.dudZ, this.label1, this.customColorPanel1 }); this.tabPage4.Location = new System.Drawing.Point(4, 4); this.tabPage4.Name = "tabPage4"; this.tabPage4.Size = new System.Drawing.Size(464, 357); this.tabPage4.TabIndex = 3; this.tabPage4.Text = "Custom Panel"; // // tabControl1 // this.tabControl1.Controls.AddRange(new System.Windows.Forms.Control[] { this.tabPage1, this.tabPage2, this.tabPage3, this.tabPage4 }); this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(472, 365); this.tabControl1.TabIndex = 8; // // DemoForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(472, 365); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.tabControl1 }); this.Name = "DemoForm"; this.Text = "Color Picker Demo"; this.Load += new System.EventHandler(this.Form1_Load); this.groupBox1.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.tabPage2.ResumeLayout(false); this.tabPage3.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.tabPage4.ResumeLayout(false); this.tabControl1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem(new string[] { "", "", "", "Hejsa" }, -1); System.Windows.Forms.ListViewItem listViewItem2 = new System.Windows.Forms.ListViewItem(new string[] { "", "", "", "Bent!" }, -1); System.Windows.Forms.ListViewItem listViewItem3 = new System.Windows.Forms.ListViewItem(new string[] { "", "", "", "Går det godt?" }, -1); System.Windows.Forms.ListViewItem listViewItem4 = new System.Windows.Forms.ListViewItem(new string[] { "Række 0", "42", "Hugo", "True", "True", "08-06-2004", "33", "No1" }, -1); System.Windows.Forms.ListViewItem listViewItem5 = new System.Windows.Forms.ListViewItem(new string[] { "endnu en række", "87", "Ingen som binder mig", "False", "False", "22-07-1971", "515", "No2" }, -1); System.Windows.Forms.ListViewItem listViewItem6 = new System.Windows.Forms.ListViewItem(new string[] { "Bla bla bla", "112", "#%&/", "False", "True", "25-05-1969", "255", "No3" }, -1); System.Windows.Forms.ListViewItem listViewItem7 = new System.Windows.Forms.ListViewItem(new string[] { "Sov sødt", "12345678", "ÆØÅæøÅ", "True", "False", "26-06-2004", "567", "No4" }, -1); this.label1 = new System.Windows.Forms.Label(); this.linkLabel1 = new System.Windows.Forms.LinkLabel(); this.button1 = new System.Windows.Forms.Button(); this.textBox1 = new System.Windows.Forms.TextBox(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.guidText = new System.Windows.Forms.TextBox(); this.multiTextBox2 = new HOBBindingTest.MultiTextBox(); this.pageListView = new System.Windows.Forms.ListView(); this.columnHeader1 = new System.Windows.Forms.ColumnHeader(); this.columnHeader4 = new System.Windows.Forms.ColumnHeader(); this.columnHeader2 = new System.Windows.Forms.ColumnHeader(); this.columnHeader3 = new System.Windows.Forms.ColumnHeader(); this.pageDateTimeEdit = new dk.hob.Windows.Forms.DateTimeEdit(); this.pageCheckBox = new System.Windows.Forms.CheckBox(); this.pageRadioButtonGroup = new dk.hob.Windows.Forms.RadiobuttonGroup(); this.pageTextBox = new System.Windows.Forms.TextBox(); this.paging1 = new dk.hob.Windows.Forms.Paging(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.panel1 = new System.Windows.Forms.Panel(); this.dataGrid1 = new System.Windows.Forms.DataGrid(); this.listBox1 = new System.Windows.Forms.ListBox(); this.checkedListBox1 = new System.Windows.Forms.CheckedListBox(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.listView1 = new System.Windows.Forms.ListView(); this.String = new System.Windows.Forms.ColumnHeader(); this.Integer = new System.Windows.Forms.ColumnHeader(); this.NoBinding = new System.Windows.Forms.ColumnHeader(); this.Bool = new System.Windows.Forms.ColumnHeader(); this.InvertedBool = new System.Windows.Forms.ColumnHeader(); this.DateTime = new System.Windows.Forms.ColumnHeader(); this.Bitmask = new System.Windows.Forms.ColumnHeader(); this.ValueChange = new System.Windows.Forms.ColumnHeader(); this.treeView1 = new System.Windows.Forms.TreeView(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker(); this.hScrollBar1 = new System.Windows.Forms.HScrollBar(); this.vScrollBar1 = new System.Windows.Forms.VScrollBar(); this.domainUpDown1 = new System.Windows.Forms.DomainUpDown(); this.numericUpDown1 = new System.Windows.Forms.NumericUpDown(); this.trackBar1 = new System.Windows.Forms.TrackBar(); this.progressBar1 = new System.Windows.Forms.ProgressBar(); this.richTextBox1 = new System.Windows.Forms.RichTextBox(); this.button2 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); this.checkBox2 = new System.Windows.Forms.CheckBox(); this.hobBindingComponent1 = new dk.hob.Data.Binding.HOBBindingComponent(this.components); this.multiList = new dk.hob.Data.Binding.HOBValueChangeList(this.components); this.bitmaskList = new dk.hob.Data.Binding.HOBValueChangeList(this.components); this.domainList = new dk.hob.Data.Binding.HOBValueChangeList(this.components); this.checkBox3 = new System.Windows.Forms.CheckBox(); this.specielList = new dk.hob.Data.Binding.HOBValueChangeList(this.components); this.radiobuttonGroup1 = new dk.hob.Windows.Forms.RadiobuttonGroup(); this.radioList = new dk.hob.Data.Binding.HOBValueChangeList(this.components); this.textBox2 = new System.Windows.Forms.TextBox(); this.multiTextBox1 = new HOBBindingTest.MultiTextBox(); this.groupBox1.SuspendLayout(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.hobBindingComponent1)).BeginInit(); this.SuspendLayout(); // // label1 // this.label1.Location = new System.Drawing.Point(8, 8); this.label1.Name = "label1"; this.label1.TabIndex = 0; this.label1.Text = "label1"; // // linkLabel1 // this.linkLabel1.Location = new System.Drawing.Point(8, 32); this.linkLabel1.Name = "linkLabel1"; this.linkLabel1.TabIndex = 1; this.linkLabel1.TabStop = true; this.linkLabel1.Text = "linkLabel1"; // // button1 // this.button1.Location = new System.Drawing.Point(120, 8); this.button1.Name = "button1"; this.button1.TabIndex = 5; this.button1.Text = "button1"; // // textBox1 // this.textBox1.Location = new System.Drawing.Point(8, 64); this.textBox1.Name = "textBox1"; this.hobBindingComponent1.SetSimpleBindings(this.textBox1, new dk.hob.Data.Binding.HOBSimpleBinding[] { new dk.hob.Data.Binding.HOBSimpleBinding("Text", "Info.textBox", dk.hob.Data.Binding.HOBBindingType.String, true, null, ((short)(2))) }); this.textBox1.TabIndex = 6; this.textBox1.Text = "textBox1"; // // checkBox1 // this.checkBox1.Location = new System.Drawing.Point(8, 96); this.checkBox1.Name = "checkBox1"; this.hobBindingComponent1.SetSimpleBindings(this.checkBox1, new dk.hob.Data.Binding.HOBSimpleBinding[] { new dk.hob.Data.Binding.HOBSimpleBinding("Checked", "Info.checkBoxNormal", dk.hob.Data.Binding.HOBBindingType.Boolean, false, null, ((short)(0))) }); this.checkBox1.Size = new System.Drawing.Size(64, 24); this.checkBox1.TabIndex = 7; this.checkBox1.Text = "Normal"; // // groupBox1 // this.groupBox1.Controls.Add(this.guidText); this.groupBox1.Controls.Add(this.multiTextBox2); this.groupBox1.Controls.Add(this.pageListView); this.groupBox1.Controls.Add(this.pageDateTimeEdit); this.groupBox1.Controls.Add(this.pageCheckBox); this.groupBox1.Controls.Add(this.pageRadioButtonGroup); this.groupBox1.Controls.Add(this.pageTextBox); this.groupBox1.Controls.Add(this.paging1); this.groupBox1.Location = new System.Drawing.Point(8, 240); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(744, 248); this.groupBox1.TabIndex = 13; this.groupBox1.TabStop = false; this.groupBox1.Text = "groupBox1"; // // guidText // this.guidText.Location = new System.Drawing.Point(56, 128); this.guidText.Name = "guidText"; this.hobBindingComponent1.SetPageControlLink(this.guidText, this.paging1); this.guidText.ReadOnly = true; this.hobBindingComponent1.SetSimpleBindings(this.guidText, new dk.hob.Data.Binding.HOBSimpleBinding[] { new dk.hob.Data.Binding.HOBSimpleBinding("Text", "Paging.uiRowID", dk.hob.Data.Binding.HOBBindingType.Guid, false, null, ((short)(0))) }); this.guidText.Size = new System.Drawing.Size(184, 20); this.guidText.TabIndex = 36; this.guidText.Text = ""; // // multiTextBox2 // this.multiTextBox2.Location = new System.Drawing.Point(296, 136); this.multiTextBox2.Name = "multiTextBox2"; this.hobBindingComponent1.SetPageControlLink(this.multiTextBox2, this.paging1); this.multiTextBox2.Size = new System.Drawing.Size(440, 104); this.multiTextBox2.TabIndex = 35; this.hobBindingComponent1.SetTableBindings(this.multiTextBox2, new dk.hob.Data.Binding.HOBTableBinding[] { new dk.hob.Data.Binding.HOBTableBinding("PagingMulti_ListView", "ListView", "uiRowID", "uiSkemaID", new dk.hob.Data.Binding.HOBColumnBindingCollection(new dk.hob.Data.Binding.HOBColumnBinding[] { new dk.hob.Data.Binding.HOBColumnBinding("txLine", dk.hob.Data.Binding.HOBBindingType.ValueChange, false, this.multiList), new dk.hob.Data.Binding.HOBColumnBinding("iTal", dk.hob.Data.Binding.HOBBindingType.Integer, false, null) }), ((short)(0))), new dk.hob.Data.Binding.HOBTableBinding("PagingMulti_TextBox", "TextBox", "", "", new dk.hob.Data.Binding.HOBColumnBindingCollection(new dk.hob.Data.Binding.HOBColumnBinding[] { new dk.hob.Data.Binding.HOBColumnBinding("txLine", dk.hob.Data.Binding.HOBBindingType.String, false, null) }), ((short)(0))) }); // // pageListView // this.pageListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1, this.columnHeader4, this.columnHeader2, this.columnHeader3 }); this.pageListView.Items.AddRange(new System.Windows.Forms.ListViewItem[] { listViewItem1, listViewItem2, listViewItem3 }); this.hobBindingComponent1.SetListViewBinding(this.pageListView, new dk.hob.Data.Binding.HOBListViewBinding("PagingListView", "uiRowID", "", new dk.hob.Data.Binding.HOBColumnBindingCollection(new dk.hob.Data.Binding.HOBColumnBinding[] { new dk.hob.Data.Binding.HOBColumnBinding("uiRowID", dk.hob.Data.Binding.HOBBindingType.Guid, false, null), new dk.hob.Data.Binding.HOBColumnBinding("uiParentID", dk.hob.Data.Binding.HOBBindingType.Guid, false, null), new dk.hob.Data.Binding.HOBColumnBinding("uiSkemaID", dk.hob.Data.Binding.HOBBindingType.Guid, false, null), new dk.hob.Data.Binding.HOBColumnBinding("txTekst", dk.hob.Data.Binding.HOBBindingType.String, false, null) }), ((short)(0)))); this.pageListView.Location = new System.Drawing.Point(328, 16); this.pageListView.Name = "pageListView"; this.hobBindingComponent1.SetPageControlLink(this.pageListView, this.paging1); this.pageListView.Size = new System.Drawing.Size(408, 112); this.pageListView.TabIndex = 34; this.pageListView.View = System.Windows.Forms.View.Details; // // columnHeader1 // this.columnHeader1.Text = "RowID"; this.columnHeader1.Width = 78; // // columnHeader4 // this.columnHeader4.Text = "ParentID"; this.columnHeader4.Width = 84; // // columnHeader2 // this.columnHeader2.Text = "SkemaID"; this.columnHeader2.Width = 98; // // columnHeader3 // this.columnHeader3.Text = "Tekst"; this.columnHeader3.Width = 140; // // pageDateTimeEdit // this.pageDateTimeEdit.AutomaticInsert = false; this.pageDateTimeEdit.ErrorInvalid = false; this.pageDateTimeEdit.InputChar = '_'; this.pageDateTimeEdit.InputMask = "00/00-0000"; this.pageDateTimeEdit.IsBlankDateAllowed = true; this.pageDateTimeEdit.IsTimeAndDateControl = false; this.pageDateTimeEdit.Location = new System.Drawing.Point(216, 48); this.pageDateTimeEdit.LowerDateTimeLimit = new System.DateTime(((long)(0))); this.pageDateTimeEdit.MaxLength = 10; this.pageDateTimeEdit.Name = "pageDateTimeEdit"; this.hobBindingComponent1.SetPageControlLink(this.pageDateTimeEdit, this.paging1); this.pageDateTimeEdit.ShowHelper = true; this.hobBindingComponent1.SetSimpleBindings(this.pageDateTimeEdit, new dk.hob.Data.Binding.HOBSimpleBinding[] { new dk.hob.Data.Binding.HOBSimpleBinding("Value", "Paging.dtDato", dk.hob.Data.Binding.HOBBindingType.Date, false, null, ((short)(0))) }); this.pageDateTimeEdit.StdInputMask = dk.hob.Windows.Forms.InputMaskType.Custom; this.pageDateTimeEdit.TabIndex = 33; this.pageDateTimeEdit.UpperDateTimeLimit = new System.DateTime(9999, 12, 31, 23, 59, 59, 999); this.pageDateTimeEdit.Value = new System.DateTime(((long)(0))); // // pageCheckBox // this.pageCheckBox.Location = new System.Drawing.Point(96, 48); this.pageCheckBox.Name = "pageCheckBox"; this.hobBindingComponent1.SetPageControlLink(this.pageCheckBox, this.paging1); this.hobBindingComponent1.SetSimpleBindings(this.pageCheckBox, new dk.hob.Data.Binding.HOBSimpleBinding[] { new dk.hob.Data.Binding.HOBSimpleBinding("Checked", "Paging.bFlag", dk.hob.Data.Binding.HOBBindingType.Boolean, false, null, ((short)(0))) }); this.pageCheckBox.TabIndex = 32; this.pageCheckBox.Text = "Sjov i gaden"; // // pageRadioButtonGroup // this.pageRadioButtonGroup.ExtraPaddingSpace = new int[0]; this.pageRadioButtonGroup.Items = new string[] { "Bil", "Bus", "Tog" }; this.pageRadioButtonGroup.Location = new System.Drawing.Point(16, 24); this.pageRadioButtonGroup.Name = "pageRadioButtonGroup"; this.hobBindingComponent1.SetPageControlLink(this.pageRadioButtonGroup, this.paging1); this.hobBindingComponent1.SetSimpleBindings(this.pageRadioButtonGroup, new dk.hob.Data.Binding.HOBSimpleBinding[] { new dk.hob.Data.Binding.HOBSimpleBinding("SelectedIndex", "Paging.iTransport", dk.hob.Data.Binding.HOBBindingType.Index, false, null, ((short)(0))) }); this.pageRadioButtonGroup.Size = new System.Drawing.Size(72, 80); this.pageRadioButtonGroup.TabIndex = 31; // // pageTextBox // this.pageTextBox.Location = new System.Drawing.Point(96, 16); this.pageTextBox.Name = "pageTextBox"; this.hobBindingComponent1.SetPageControlLink(this.pageTextBox, this.paging1); this.hobBindingComponent1.SetSimpleBindings(this.pageTextBox, new dk.hob.Data.Binding.HOBSimpleBinding[] { new dk.hob.Data.Binding.HOBSimpleBinding("Text", "Paging.txTekst", dk.hob.Data.Binding.HOBBindingType.String, false, null, ((short)(0))) }); this.pageTextBox.Size = new System.Drawing.Size(224, 20); this.pageTextBox.TabIndex = 30; this.pageTextBox.Text = "textBox3"; // // paging1 // this.paging1.BackColor = System.Drawing.SystemColors.Control; this.paging1.CurrentPage = 0; this.paging1.Location = new System.Drawing.Point(8, 224); this.paging1.Name = "paging1"; this.paging1.NumPages = 0; this.hobBindingComponent1.SetPagingBindings(this.paging1, new dk.hob.Data.Binding.HOBPagingBinding[] { new dk.hob.Data.Binding.HOBPagingBinding("Paging", "uiRowID", "uiSkemaID"), new dk.hob.Data.Binding.HOBPagingBinding("PagingListView", "uiParentID", "uiSkemaID"), new dk.hob.Data.Binding.HOBPagingBinding("PagingMulti_TextBox", "uiParentID", ""), new dk.hob.Data.Binding.HOBPagingBinding("PagingMulti_ListView", "uiParentID", "") }); this.paging1.Size = new System.Drawing.Size(224, 17); this.paging1.TabIndex = 29; // // pictureBox1 // this.pictureBox1.Location = new System.Drawing.Point(24, 16); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(56, 40); this.pictureBox1.TabIndex = 0; this.pictureBox1.TabStop = false; // // panel1 // this.panel1.Controls.Add(this.pictureBox1); this.panel1.Location = new System.Drawing.Point(8, 128); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(112, 64); this.panel1.TabIndex = 14; // // dataGrid1 // this.dataGrid1.DataMember = ""; this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGrid1.Location = new System.Drawing.Point(264, 8); this.dataGrid1.Name = "dataGrid1"; this.dataGrid1.Size = new System.Drawing.Size(130, 96); this.dataGrid1.TabIndex = 2; // // listBox1 // this.listBox1.Items.AddRange(new object[] { "ghgh", "gfhgf", "gfhgf", "tytu" }); this.listBox1.Location = new System.Drawing.Point(400, 8); this.listBox1.Name = "listBox1"; this.listBox1.Size = new System.Drawing.Size(120, 95); this.listBox1.TabIndex = 10; // // checkedListBox1 // this.checkedListBox1.Items.AddRange(new object[] { "ttrhgf", "ghtyd", "sdfssd", "f", "ghbgf" }); this.checkedListBox1.Location = new System.Drawing.Point(528, 8); this.checkedListBox1.Name = "checkedListBox1"; this.checkedListBox1.Size = new System.Drawing.Size(120, 94); this.checkedListBox1.TabIndex = 11; // // comboBox1 // this.comboBox1.Items.AddRange(new object[] { "Valg nummer 1", "Uha uha!", "Gumsebent" }); this.comboBox1.Location = new System.Drawing.Point(224, 112); this.comboBox1.Name = "comboBox1"; this.hobBindingComponent1.SetSimpleBindings(this.comboBox1, new dk.hob.Data.Binding.HOBSimpleBinding[] { new dk.hob.Data.Binding.HOBSimpleBinding("SelectedIndex", "Info.comboBox", dk.hob.Data.Binding.HOBBindingType.Index, false, null, ((short)(0))) }); this.comboBox1.Size = new System.Drawing.Size(121, 21); this.comboBox1.TabIndex = 16; this.comboBox1.Text = "comboBox1"; // // listView1 // this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.String, this.Integer, this.NoBinding, this.Bool, this.InvertedBool, this.DateTime, this.Bitmask, this.ValueChange }); this.listView1.Items.AddRange(new System.Windows.Forms.ListViewItem[] { listViewItem4, listViewItem5, listViewItem6, listViewItem7 }); this.hobBindingComponent1.SetListViewBinding(this.listView1, new dk.hob.Data.Binding.HOBListViewBinding("ListView", "uiRowID", "uiSkemaID", new dk.hob.Data.Binding.HOBColumnBindingCollection(new dk.hob.Data.Binding.HOBColumnBinding[] { new dk.hob.Data.Binding.HOBColumnBinding("txString", dk.hob.Data.Binding.HOBBindingType.String, false, null), new dk.hob.Data.Binding.HOBColumnBinding("iInteger", dk.hob.Data.Binding.HOBBindingType.Integer, false, null), new dk.hob.Data.Binding.HOBColumnBinding("", dk.hob.Data.Binding.HOBBindingType.NoBinding, false, null), new dk.hob.Data.Binding.HOBColumnBinding("bFlag", dk.hob.Data.Binding.HOBBindingType.Boolean, false, null), new dk.hob.Data.Binding.HOBColumnBinding("bInverted", dk.hob.Data.Binding.HOBBindingType.InvertedBoolean, false, null), new dk.hob.Data.Binding.HOBColumnBinding("dtDate", dk.hob.Data.Binding.HOBBindingType.DateString, false, null), new dk.hob.Data.Binding.HOBColumnBinding("txBitmask", dk.hob.Data.Binding.HOBBindingType.Bitmask, false, this.bitmaskList), new dk.hob.Data.Binding.HOBColumnBinding("txValueChange", dk.hob.Data.Binding.HOBBindingType.ValueChange, false, this.domainList) }), ((short)(1)))); this.listView1.Location = new System.Drawing.Point(8, 496); this.listView1.Name = "listView1"; this.listView1.Size = new System.Drawing.Size(624, 97); this.listView1.TabIndex = 26; this.listView1.View = System.Windows.Forms.View.Details; // // String // this.String.Text = "String"; this.String.Width = 92; // // Integer // this.Integer.Text = "Integer"; this.Integer.Width = 64; // // NoBinding // this.NoBinding.Text = "No Binding"; this.NoBinding.Width = 117; // // Bool // this.Bool.Text = "Bool"; this.Bool.Width = 42; // // InvertedBool // this.InvertedBool.Text = "Inverted Bool"; this.InvertedBool.Width = 77; // // DateTime // this.DateTime.Text = "Date"; this.DateTime.Width = 71; // // Bitmask // this.Bitmask.Text = "Bitmask"; this.Bitmask.Width = 64; // // ValueChange // this.ValueChange.Text = "Value Change"; this.ValueChange.Width = 89; // // treeView1 // this.treeView1.ImageIndex = -1; this.treeView1.Location = new System.Drawing.Point(352, 112); this.treeView1.Name = "treeView1"; this.treeView1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] { new System.Windows.Forms.TreeNode("Node0", new System.Windows.Forms.TreeNode[] { new System.Windows.Forms.TreeNode("Node1", new System.Windows.Forms.TreeNode[] { new System.Windows.Forms.TreeNode("Node2") }) }), new System.Windows.Forms.TreeNode("Node3") }); this.treeView1.SelectedImageIndex = -1; this.treeView1.TabIndex = 21; // // tabControl1 // this.tabControl1.Location = new System.Drawing.Point(128, 128); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(88, 64); this.tabControl1.TabIndex = 15; // // dateTimePicker1 // this.dateTimePicker1.Location = new System.Drawing.Point(352, 216); this.dateTimePicker1.Name = "dateTimePicker1"; this.hobBindingComponent1.SetSimpleBindings(this.dateTimePicker1, new dk.hob.Data.Binding.HOBSimpleBinding[] { new dk.hob.Data.Binding.HOBSimpleBinding("Value", "Info.dateTimePicker", dk.hob.Data.Binding.HOBBindingType.Date, false, null, ((short)(0))) }); this.dateTimePicker1.TabIndex = 22; // // hScrollBar1 // this.hScrollBar1.Location = new System.Drawing.Point(480, 192); this.hScrollBar1.Name = "hScrollBar1"; this.hobBindingComponent1.SetSimpleBindings(this.hScrollBar1, new dk.hob.Data.Binding.HOBSimpleBinding[] { new dk.hob.Data.Binding.HOBSimpleBinding("Value", "Info.hScrollBar", dk.hob.Data.Binding.HOBBindingType.Integer, false, null, ((short)(0))) }); this.hScrollBar1.TabIndex = 25; // // vScrollBar1 // this.vScrollBar1.Location = new System.Drawing.Point(480, 112); this.vScrollBar1.Name = "vScrollBar1"; this.hobBindingComponent1.SetSimpleBindings(this.vScrollBar1, new dk.hob.Data.Binding.HOBSimpleBinding[] { new dk.hob.Data.Binding.HOBSimpleBinding("Value", "Info.vScrollBar", dk.hob.Data.Binding.HOBBindingType.Integer, false, null, ((short)(0))) }); this.vScrollBar1.TabIndex = 24; // // domainUpDown1 // this.domainUpDown1.Items.Add("No1"); this.domainUpDown1.Items.Add("No2"); this.domainUpDown1.Items.Add("No3"); this.domainUpDown1.Items.Add("No4"); this.domainUpDown1.Location = new System.Drawing.Point(224, 144); this.domainUpDown1.Name = "domainUpDown1"; this.hobBindingComponent1.SetSimpleBindings(this.domainUpDown1, new dk.hob.Data.Binding.HOBSimpleBinding[] { new dk.hob.Data.Binding.HOBSimpleBinding("Text", "Info.domainUpDown", dk.hob.Data.Binding.HOBBindingType.ValueChange, false, this.domainList, ((short)(0))) }); this.domainUpDown1.TabIndex = 17; this.domainUpDown1.Text = "domainUpDown1"; // // numericUpDown1 // this.numericUpDown1.Location = new System.Drawing.Point(224, 176); this.numericUpDown1.Name = "numericUpDown1"; this.hobBindingComponent1.SetSimpleBindings(this.numericUpDown1, new dk.hob.Data.Binding.HOBSimpleBinding[] { new dk.hob.Data.Binding.HOBSimpleBinding("Value", "Info.numericUpDown", dk.hob.Data.Binding.HOBBindingType.Integer, false, null, ((short)(0))) }); this.numericUpDown1.TabIndex = 18; this.numericUpDown1.Value = new System.Decimal(new int[] { 4, 0, 0, 0 }); // // trackBar1 // this.trackBar1.Location = new System.Drawing.Point(568, 192); this.trackBar1.Name = "trackBar1"; this.hobBindingComponent1.SetSimpleBindings(this.trackBar1, new dk.hob.Data.Binding.HOBSimpleBinding[] { new dk.hob.Data.Binding.HOBSimpleBinding("Value", "Info.trackBar", dk.hob.Data.Binding.HOBBindingType.Integer, false, null, ((short)(0))) }); this.trackBar1.TabIndex = 19; this.trackBar1.Value = 3; // // progressBar1 // this.progressBar1.Location = new System.Drawing.Point(120, 40); this.progressBar1.Name = "progressBar1"; this.hobBindingComponent1.SetSimpleBindings(this.progressBar1, new dk.hob.Data.Binding.HOBSimpleBinding[] { new dk.hob.Data.Binding.HOBSimpleBinding("Value", "Info.progressBar", dk.hob.Data.Binding.HOBBindingType.Integer, false, null, ((short)(0))) }); this.progressBar1.TabIndex = 20; this.progressBar1.Value = 42; // // richTextBox1 // this.richTextBox1.Location = new System.Drawing.Point(656, 72); this.richTextBox1.Name = "richTextBox1"; this.hobBindingComponent1.SetSimpleBindings(this.richTextBox1, new dk.hob.Data.Binding.HOBSimpleBinding[] { new dk.hob.Data.Binding.HOBSimpleBinding("Text", "Info.richTextBox", dk.hob.Data.Binding.HOBBindingType.String, false, null, ((short)(1))) }); this.richTextBox1.TabIndex = 12; this.richTextBox1.Text = "Hej dit svin!\nDette er en rich text box"; // // button2 // this.button2.Location = new System.Drawing.Point(656, 8); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(96, 23); this.button2.TabIndex = 3; this.button2.Text = "Prop->DataSet"; this.button2.Click += new System.EventHandler(this.PropDataSet_Click); // // button3 // this.button3.Location = new System.Drawing.Point(656, 40); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(96, 23); this.button3.TabIndex = 4; this.button3.Text = "DataSet->Prop"; this.button3.Click += new System.EventHandler(this.DataSetProp_Click); // // checkBox2 // this.checkBox2.Location = new System.Drawing.Point(72, 96); this.checkBox2.Name = "checkBox2"; this.hobBindingComponent1.SetSimpleBindings(this.checkBox2, new dk.hob.Data.Binding.HOBSimpleBinding[] { new dk.hob.Data.Binding.HOBSimpleBinding("Checked", "Info.checkBoxInverted", dk.hob.Data.Binding.HOBBindingType.InvertedBoolean, false, null, ((short)(0))) }); this.checkBox2.Size = new System.Drawing.Size(64, 24); this.checkBox2.TabIndex = 8; this.checkBox2.Text = "Inverted"; // // hobBindingComponent1 // this.hobBindingComponent1.HostingControl = this; // // multiList // this.multiList.List.AddRange(new dk.hob.Data.Binding.HOBValueChange[] { new dk.hob.Data.Binding.HOBValueChange("1111", "AAAA") }); // // bitmaskList // this.bitmaskList.List.AddRange(new dk.hob.Data.Binding.HOBValueChange[] { new dk.hob.Data.Binding.HOBValueChange("0", "AA01"), new dk.hob.Data.Binding.HOBValueChange("1", "AA02"), new dk.hob.Data.Binding.HOBValueChange("2", "AA04"), new dk.hob.Data.Binding.HOBValueChange("3", "AA08"), new dk.hob.Data.Binding.HOBValueChange("4", "AA10"), new dk.hob.Data.Binding.HOBValueChange("5", "AA20"), new dk.hob.Data.Binding.HOBValueChange("6", "AA40"), new dk.hob.Data.Binding.HOBValueChange("7", "AA80") }); // // domainList // this.domainList.List.AddRange(new dk.hob.Data.Binding.HOBValueChange[] { new dk.hob.Data.Binding.HOBValueChange("No1", "Uno"), new dk.hob.Data.Binding.HOBValueChange("No2", "QWER"), new dk.hob.Data.Binding.HOBValueChange("No4", "Hugobuko") }); // // checkBox3 // this.checkBox3.Location = new System.Drawing.Point(144, 96); this.checkBox3.Name = "checkBox3"; this.hobBindingComponent1.SetSimpleBindings(this.checkBox3, new dk.hob.Data.Binding.HOBSimpleBinding[] { new dk.hob.Data.Binding.HOBSimpleBinding("Checked", "Info.checkBoxSpeciel", dk.hob.Data.Binding.HOBBindingType.ValueChange, false, this.specielList, ((short)(0))) }); this.checkBox3.Size = new System.Drawing.Size(64, 24); this.checkBox3.TabIndex = 9; this.checkBox3.Text = "Speciel"; // // specielList // this.specielList.List.AddRange(new dk.hob.Data.Binding.HOBValueChange[] { new dk.hob.Data.Binding.HOBValueChange("True", "47"), new dk.hob.Data.Binding.HOBValueChange("False", "2") }); // // radiobuttonGroup1 // this.radiobuttonGroup1.ExtraPaddingSpace = new int[0]; this.radiobuttonGroup1.Items = new string[] { "Lagkage", "Is", "Flødeskum" }; this.radiobuttonGroup1.Location = new System.Drawing.Point(568, 112); this.radiobuttonGroup1.Name = "radiobuttonGroup1"; this.hobBindingComponent1.SetSimpleBindings(this.radiobuttonGroup1, new dk.hob.Data.Binding.HOBSimpleBinding[] { new dk.hob.Data.Binding.HOBSimpleBinding("SelectedIndex", "Info.radioButtonIndex", dk.hob.Data.Binding.HOBBindingType.Index, false, null, ((short)(-1))), new dk.hob.Data.Binding.HOBSimpleBinding("SelectedIndex", "Info.radioButtonText", dk.hob.Data.Binding.HOBBindingType.ValueChange, false, this.radioList, ((short)(3))) }); this.radiobuttonGroup1.Size = new System.Drawing.Size(80, 80); this.radiobuttonGroup1.TabIndex = 23; // // radioList // this.radioList.List.AddRange(new dk.hob.Data.Binding.HOBValueChange[] { new dk.hob.Data.Binding.HOBValueChange("-1", ""), new dk.hob.Data.Binding.HOBValueChange("0", "Lagkage"), new dk.hob.Data.Binding.HOBValueChange("1", "Is"), new dk.hob.Data.Binding.HOBValueChange("2", "Flødeskum") }); // // textBox2 // this.textBox2.Location = new System.Drawing.Point(120, 64); this.textBox2.Name = "textBox2"; this.hobBindingComponent1.SetSimpleBindings(this.textBox2, new dk.hob.Data.Binding.HOBSimpleBinding[] { new dk.hob.Data.Binding.HOBSimpleBinding("Text", "Info.bitmask", dk.hob.Data.Binding.HOBBindingType.Bitmask, false, this.bitmaskList, ((short)(2))) }); this.textBox2.TabIndex = 27; this.textBox2.Text = "42"; // // multiTextBox1 // this.multiTextBox1.Location = new System.Drawing.Point(8, 600); this.multiTextBox1.Name = "multiTextBox1"; this.multiTextBox1.Size = new System.Drawing.Size(440, 150); this.multiTextBox1.TabIndex = 28; this.hobBindingComponent1.SetTableBindings(this.multiTextBox1, new dk.hob.Data.Binding.HOBTableBinding[] { new dk.hob.Data.Binding.HOBTableBinding("MultiControl_TextBox", "TextBox", "", "", new dk.hob.Data.Binding.HOBColumnBindingCollection(new dk.hob.Data.Binding.HOBColumnBinding[] { new dk.hob.Data.Binding.HOBColumnBinding("txLine", dk.hob.Data.Binding.HOBBindingType.String, false, null) }), ((short)(0))), new dk.hob.Data.Binding.HOBTableBinding("MultiControl_ListView", "ListView", "uiRowID", "uiSkemaID", new dk.hob.Data.Binding.HOBColumnBindingCollection(new dk.hob.Data.Binding.HOBColumnBinding[] { new dk.hob.Data.Binding.HOBColumnBinding("txLine", dk.hob.Data.Binding.HOBBindingType.ValueChange, false, this.multiList), new dk.hob.Data.Binding.HOBColumnBinding("iTal", dk.hob.Data.Binding.HOBBindingType.Integer, false, null) }), ((short)(0))) }); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(760, 757); this.Controls.Add(this.multiTextBox1); this.Controls.Add(this.textBox2); this.Controls.Add(this.textBox1); this.Controls.Add(this.radiobuttonGroup1); this.Controls.Add(this.checkBox3); this.Controls.Add(this.checkBox2); this.Controls.Add(this.button3); this.Controls.Add(this.button2); this.Controls.Add(this.richTextBox1); this.Controls.Add(this.progressBar1); this.Controls.Add(this.trackBar1); this.Controls.Add(this.numericUpDown1); this.Controls.Add(this.domainUpDown1); this.Controls.Add(this.vScrollBar1); this.Controls.Add(this.hScrollBar1); this.Controls.Add(this.dateTimePicker1); this.Controls.Add(this.tabControl1); this.Controls.Add(this.treeView1); this.Controls.Add(this.listView1); this.Controls.Add(this.comboBox1); this.Controls.Add(this.checkedListBox1); this.Controls.Add(this.listBox1); this.Controls.Add(this.dataGrid1); this.Controls.Add(this.panel1); this.Controls.Add(this.groupBox1); this.Controls.Add(this.checkBox1); this.Controls.Add(this.button1); this.Controls.Add(this.linkLabel1); this.Controls.Add(this.label1); this.Name = "Form1"; this.Text = "Form1"; this.groupBox1.ResumeLayout(false); this.panel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.hobBindingComponent1)).EndInit(); this.ResumeLayout(false); }
private void calcularValor(DomainUpDown udCaract, int indice, ProgressBar pbCaract) { int valorprevio = 0; int valor = 0; for(int i=0; i<listaValoresCaract.Length; i++) //sumamos todos los valores de las caracteristicas menos del que ha llamado al metodo { if(i!=indice) valorprevio = valorprevio + listaValoresCaract[i]; } if(valorprevio + Int32.Parse(udCaract.Text) <= MAX_PUNTOS_CONT)//si el valor previo + el nuevo numero <= maximo de puntos, seguira, sino no le dejara { listaValoresCaract[indice] = Int32.Parse(udCaract.Text);//le pasa a la lista que guarda los puntos de cada caracteristica por separado el valor for (int i = 0; i < listaValoresCaract.Length; i++) // saca la suma, pero ya con el valor introducido { valor = valor + listaValoresCaract[i]; } tvContadorPuntos.Text = "" + (MAX_PUNTOS_CONT - valor); //Se le resta al contador principal(5000) la suma de los 4 caract pbCaract.Value = listaValoresCaract[indice]; //se mueve la progressbar } else { udCaract.SelectedItem = listaValoresCaract[indice]; //si el valor nuevo + los anteriores sobrepasan 5000, vuelve al valor anterior } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.tabControlPrefs = new System.Windows.Forms.TabControl(); this.tabPageTypes = new System.Windows.Forms.TabPage(); this.textBoxDryingMaterial = new System.Windows.Forms.TextBox(); this.labelDryingMaterial = new System.Windows.Forms.Label(); this.textBoxDryingGas = new System.Windows.Forms.TextBox(); this.labelDryingGas = new System.Windows.Forms.Label(); this.groupBoxTeeMixerValveStreamsType = new System.Windows.Forms.GroupBox(); this.groupBoxTeeStreamsType = new System.Windows.Forms.GroupBox(); this.radioButtonTeeStreamsTypeMaterial = new System.Windows.Forms.RadioButton(); this.radioButtonTeeStreamsTypeGas = new System.Windows.Forms.RadioButton(); this.groupBoxMixerStreamsType = new System.Windows.Forms.GroupBox(); this.radioButtonMixerStreamsTypeMaterial = new System.Windows.Forms.RadioButton(); this.radioButtonMixerStreamsTypeGas = new System.Windows.Forms.RadioButton(); this.groupBoxValveStreamsType = new System.Windows.Forms.GroupBox(); this.radioButtonValveStreamsTypeMaterial = new System.Windows.Forms.RadioButton(); this.radioButtonValveStreamsTypeGas = new System.Windows.Forms.RadioButton(); this.groupBoxHeatExchangerInletType = new System.Windows.Forms.GroupBox(); this.groupBoxHeatExchangerHotSide = new System.Windows.Forms.GroupBox(); this.radioButtonHeatExchangerHotSideMaterial = new System.Windows.Forms.RadioButton(); this.radioButtonHeatExchangerHotSideGas = new System.Windows.Forms.RadioButton(); this.groupBoxHeatExchangerColdSide = new System.Windows.Forms.GroupBox(); this.radioButtonHeatExchangerColdSideMaterial = new System.Windows.Forms.RadioButton(); this.radioButtonHeatExchangerColdSideGas = new System.Windows.Forms.RadioButton(); this.groupBoxUnitOpCreation = new System.Windows.Forms.GroupBox(); this.radioButtonUnitOpWithInput = new System.Windows.Forms.RadioButton(); this.radioButtonUnitOpWithInputAndOutput = new System.Windows.Forms.RadioButton(); this.radioButtonUnitOpWithoutInputAndOutput = new System.Windows.Forms.RadioButton(); this.tabPageUnits = new System.Windows.Forms.TabPage(); this.groupBoxCurrentUnitSystem = new System.Windows.Forms.GroupBox(); this.buttonCurrentUnitSys = new System.Windows.Forms.Button(); this.labelCurrent = new System.Windows.Forms.Label(); this.tabPageEditor = new System.Windows.Forms.TabPage(); this.tabPageNumberFormat = new System.Windows.Forms.TabPage(); this.radioButtonScientific = new System.Windows.Forms.RadioButton(); this.radioButtonFixedPoint = new System.Windows.Forms.RadioButton(); this.domainUpDownDecPlaces = new System.Windows.Forms.DomainUpDown(); this.labelDecimalPlaces = new System.Windows.Forms.Label(); this.mainMenu1 = new System.Windows.Forms.MainMenu(); this.menuItemClose = new System.Windows.Forms.MenuItem(); this.panel = new System.Windows.Forms.Panel(); this.tabControlPrefs.SuspendLayout(); this.tabPageTypes.SuspendLayout(); this.groupBoxTeeMixerValveStreamsType.SuspendLayout(); this.groupBoxTeeStreamsType.SuspendLayout(); this.groupBoxMixerStreamsType.SuspendLayout(); this.groupBoxValveStreamsType.SuspendLayout(); this.groupBoxHeatExchangerInletType.SuspendLayout(); this.groupBoxHeatExchangerHotSide.SuspendLayout(); this.groupBoxHeatExchangerColdSide.SuspendLayout(); this.groupBoxUnitOpCreation.SuspendLayout(); this.tabPageUnits.SuspendLayout(); this.groupBoxCurrentUnitSystem.SuspendLayout(); this.tabPageNumberFormat.SuspendLayout(); this.panel.SuspendLayout(); this.SuspendLayout(); // // tabControlPrefs // this.tabControlPrefs.Controls.Add(this.tabPageTypes); this.tabControlPrefs.Controls.Add(this.tabPageUnits); this.tabControlPrefs.Controls.Add(this.tabPageEditor); this.tabControlPrefs.Controls.Add(this.tabPageNumberFormat); this.tabControlPrefs.Dock = System.Windows.Forms.DockStyle.Fill; this.tabControlPrefs.Location = new System.Drawing.Point(0, 0); this.tabControlPrefs.Name = "tabControlPrefs"; this.tabControlPrefs.SelectedIndex = 0; this.tabControlPrefs.Size = new System.Drawing.Size(414, 415); this.tabControlPrefs.TabIndex = 4; // // tabPageTypes // this.tabPageTypes.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.tabPageTypes.Controls.Add(this.textBoxDryingMaterial); this.tabPageTypes.Controls.Add(this.labelDryingMaterial); this.tabPageTypes.Controls.Add(this.textBoxDryingGas); this.tabPageTypes.Controls.Add(this.labelDryingGas); this.tabPageTypes.Controls.Add(this.groupBoxTeeMixerValveStreamsType); this.tabPageTypes.Controls.Add(this.groupBoxHeatExchangerInletType); this.tabPageTypes.Controls.Add(this.groupBoxUnitOpCreation); this.tabPageTypes.Location = new System.Drawing.Point(4, 22); this.tabPageTypes.Name = "tabPageTypes"; this.tabPageTypes.Size = new System.Drawing.Size(406, 389); this.tabPageTypes.TabIndex = 0; this.tabPageTypes.Text = "Stream Types"; // // textBoxDryingMaterial // this.textBoxDryingMaterial.BackColor = System.Drawing.Color.White; this.textBoxDryingMaterial.Location = new System.Drawing.Point(100, 36); this.textBoxDryingMaterial.Name = "textBoxDryingMaterial"; this.textBoxDryingMaterial.ReadOnly = true; this.textBoxDryingMaterial.TabIndex = 12; this.textBoxDryingMaterial.Text = ""; // // labelDryingMaterial // this.labelDryingMaterial.Location = new System.Drawing.Point(12, 40); this.labelDryingMaterial.Name = "labelDryingMaterial"; this.labelDryingMaterial.Size = new System.Drawing.Size(84, 16); this.labelDryingMaterial.TabIndex = 11; this.labelDryingMaterial.Text = "Drying Material:"; this.labelDryingMaterial.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // textBoxDryingGas // this.textBoxDryingGas.BackColor = System.Drawing.Color.White; this.textBoxDryingGas.Location = new System.Drawing.Point(100, 8); this.textBoxDryingGas.Name = "textBoxDryingGas"; this.textBoxDryingGas.ReadOnly = true; this.textBoxDryingGas.TabIndex = 10; this.textBoxDryingGas.Text = ""; // // labelDryingGas // this.labelDryingGas.Location = new System.Drawing.Point(12, 12); this.labelDryingGas.Name = "labelDryingGas"; this.labelDryingGas.Size = new System.Drawing.Size(84, 16); this.labelDryingGas.TabIndex = 9; this.labelDryingGas.Text = "Drying Gas:"; this.labelDryingGas.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // groupBoxTeeMixerValveStreamsType // this.groupBoxTeeMixerValveStreamsType.Controls.Add(this.groupBoxTeeStreamsType); this.groupBoxTeeMixerValveStreamsType.Controls.Add(this.groupBoxMixerStreamsType); this.groupBoxTeeMixerValveStreamsType.Controls.Add(this.groupBoxValveStreamsType); this.groupBoxTeeMixerValveStreamsType.Location = new System.Drawing.Point(16, 276); this.groupBoxTeeMixerValveStreamsType.Name = "groupBoxTeeMixerValveStreamsType"; this.groupBoxTeeMixerValveStreamsType.Size = new System.Drawing.Size(264, 88); this.groupBoxTeeMixerValveStreamsType.TabIndex = 8; this.groupBoxTeeMixerValveStreamsType.TabStop = false; this.groupBoxTeeMixerValveStreamsType.Text = "Streams Type"; // // groupBoxTeeStreamsType // this.groupBoxTeeStreamsType.Controls.Add(this.radioButtonTeeStreamsTypeMaterial); this.groupBoxTeeStreamsType.Controls.Add(this.radioButtonTeeStreamsTypeGas); this.groupBoxTeeStreamsType.Location = new System.Drawing.Point(8, 20); this.groupBoxTeeStreamsType.Name = "groupBoxTeeStreamsType"; this.groupBoxTeeStreamsType.Size = new System.Drawing.Size(80, 60); this.groupBoxTeeStreamsType.TabIndex = 5; this.groupBoxTeeStreamsType.TabStop = false; this.groupBoxTeeStreamsType.Text = "Tee"; // // radioButtonTeeStreamsTypeMaterial // this.radioButtonTeeStreamsTypeMaterial.Location = new System.Drawing.Point(8, 40); this.radioButtonTeeStreamsTypeMaterial.Name = "radioButtonTeeStreamsTypeMaterial"; this.radioButtonTeeStreamsTypeMaterial.Size = new System.Drawing.Size(68, 16); this.radioButtonTeeStreamsTypeMaterial.TabIndex = 1; this.radioButtonTeeStreamsTypeMaterial.Text = "Material"; this.radioButtonTeeStreamsTypeMaterial.CheckedChanged += new System.EventHandler(this.TeeStreamsTypeHandler); // // radioButtonTeeStreamsTypeGas // this.radioButtonTeeStreamsTypeGas.Location = new System.Drawing.Point(8, 20); this.radioButtonTeeStreamsTypeGas.Name = "radioButtonTeeStreamsTypeGas"; this.radioButtonTeeStreamsTypeGas.Size = new System.Drawing.Size(68, 16); this.radioButtonTeeStreamsTypeGas.TabIndex = 0; this.radioButtonTeeStreamsTypeGas.Text = "Gas"; this.radioButtonTeeStreamsTypeGas.CheckedChanged += new System.EventHandler(this.TeeStreamsTypeHandler); // // groupBoxMixerStreamsType // this.groupBoxMixerStreamsType.Controls.Add(this.radioButtonMixerStreamsTypeMaterial); this.groupBoxMixerStreamsType.Controls.Add(this.radioButtonMixerStreamsTypeGas); this.groupBoxMixerStreamsType.Location = new System.Drawing.Point(92, 20); this.groupBoxMixerStreamsType.Name = "groupBoxMixerStreamsType"; this.groupBoxMixerStreamsType.Size = new System.Drawing.Size(80, 60); this.groupBoxMixerStreamsType.TabIndex = 6; this.groupBoxMixerStreamsType.TabStop = false; this.groupBoxMixerStreamsType.Text = "Mixer"; // // radioButtonMixerStreamsTypeMaterial // this.radioButtonMixerStreamsTypeMaterial.Location = new System.Drawing.Point(8, 40); this.radioButtonMixerStreamsTypeMaterial.Name = "radioButtonMixerStreamsTypeMaterial"; this.radioButtonMixerStreamsTypeMaterial.Size = new System.Drawing.Size(68, 16); this.radioButtonMixerStreamsTypeMaterial.TabIndex = 1; this.radioButtonMixerStreamsTypeMaterial.Text = "Material"; this.radioButtonMixerStreamsTypeMaterial.CheckedChanged += new System.EventHandler(this.MixerStreamsTypeHandler); // // radioButtonMixerStreamsTypeGas // this.radioButtonMixerStreamsTypeGas.Location = new System.Drawing.Point(8, 20); this.radioButtonMixerStreamsTypeGas.Name = "radioButtonMixerStreamsTypeGas"; this.radioButtonMixerStreamsTypeGas.Size = new System.Drawing.Size(68, 16); this.radioButtonMixerStreamsTypeGas.TabIndex = 0; this.radioButtonMixerStreamsTypeGas.Text = "Gas"; this.radioButtonMixerStreamsTypeGas.CheckedChanged += new System.EventHandler(this.MixerStreamsTypeHandler); // // groupBoxValveStreamsType // this.groupBoxValveStreamsType.Controls.Add(this.radioButtonValveStreamsTypeMaterial); this.groupBoxValveStreamsType.Controls.Add(this.radioButtonValveStreamsTypeGas); this.groupBoxValveStreamsType.Location = new System.Drawing.Point(176, 20); this.groupBoxValveStreamsType.Name = "groupBoxValveStreamsType"; this.groupBoxValveStreamsType.Size = new System.Drawing.Size(80, 60); this.groupBoxValveStreamsType.TabIndex = 7; this.groupBoxValveStreamsType.TabStop = false; this.groupBoxValveStreamsType.Text = "Valve"; // // radioButtonValveStreamsTypeMaterial // this.radioButtonValveStreamsTypeMaterial.Location = new System.Drawing.Point(8, 40); this.radioButtonValveStreamsTypeMaterial.Name = "radioButtonValveStreamsTypeMaterial"; this.radioButtonValveStreamsTypeMaterial.Size = new System.Drawing.Size(68, 16); this.radioButtonValveStreamsTypeMaterial.TabIndex = 1; this.radioButtonValveStreamsTypeMaterial.Text = "Material"; this.radioButtonValveStreamsTypeMaterial.CheckedChanged += new System.EventHandler(this.ValveStreamsTypeHandler); // // radioButtonValveStreamsTypeGas // this.radioButtonValveStreamsTypeGas.Location = new System.Drawing.Point(8, 20); this.radioButtonValveStreamsTypeGas.Name = "radioButtonValveStreamsTypeGas"; this.radioButtonValveStreamsTypeGas.Size = new System.Drawing.Size(68, 16); this.radioButtonValveStreamsTypeGas.TabIndex = 0; this.radioButtonValveStreamsTypeGas.Text = "Gas"; this.radioButtonValveStreamsTypeGas.CheckedChanged += new System.EventHandler(this.ValveStreamsTypeHandler); // // groupBoxHeatExchangerInletType // this.groupBoxHeatExchangerInletType.Controls.Add(this.groupBoxHeatExchangerHotSide); this.groupBoxHeatExchangerInletType.Controls.Add(this.groupBoxHeatExchangerColdSide); this.groupBoxHeatExchangerInletType.Location = new System.Drawing.Point(16, 176); this.groupBoxHeatExchangerInletType.Name = "groupBoxHeatExchangerInletType"; this.groupBoxHeatExchangerInletType.Size = new System.Drawing.Size(180, 88); this.groupBoxHeatExchangerInletType.TabIndex = 4; this.groupBoxHeatExchangerInletType.TabStop = false; this.groupBoxHeatExchangerInletType.Text = "Heat Exchanger Inlet Type"; // // groupBoxHeatExchangerHotSide // this.groupBoxHeatExchangerHotSide.Controls.Add(this.radioButtonHeatExchangerHotSideMaterial); this.groupBoxHeatExchangerHotSide.Controls.Add(this.radioButtonHeatExchangerHotSideGas); this.groupBoxHeatExchangerHotSide.Location = new System.Drawing.Point(92, 20); this.groupBoxHeatExchangerHotSide.Name = "groupBoxHeatExchangerHotSide"; this.groupBoxHeatExchangerHotSide.Size = new System.Drawing.Size(80, 60); this.groupBoxHeatExchangerHotSide.TabIndex = 3; this.groupBoxHeatExchangerHotSide.TabStop = false; this.groupBoxHeatExchangerHotSide.Text = "Hot Side"; // // radioButtonHeatExchangerHotSideMaterial // this.radioButtonHeatExchangerHotSideMaterial.Location = new System.Drawing.Point(8, 40); this.radioButtonHeatExchangerHotSideMaterial.Name = "radioButtonHeatExchangerHotSideMaterial"; this.radioButtonHeatExchangerHotSideMaterial.Size = new System.Drawing.Size(68, 16); this.radioButtonHeatExchangerHotSideMaterial.TabIndex = 1; this.radioButtonHeatExchangerHotSideMaterial.Text = "Material"; this.radioButtonHeatExchangerHotSideMaterial.CheckedChanged += new System.EventHandler(this.HeatExchangerHotInletHandler); // // radioButtonHeatExchangerHotSideGas // this.radioButtonHeatExchangerHotSideGas.Location = new System.Drawing.Point(8, 20); this.radioButtonHeatExchangerHotSideGas.Name = "radioButtonHeatExchangerHotSideGas"; this.radioButtonHeatExchangerHotSideGas.Size = new System.Drawing.Size(68, 16); this.radioButtonHeatExchangerHotSideGas.TabIndex = 0; this.radioButtonHeatExchangerHotSideGas.Text = "Gas"; this.radioButtonHeatExchangerHotSideGas.CheckedChanged += new System.EventHandler(this.HeatExchangerHotInletHandler); // // groupBoxHeatExchangerColdSide // this.groupBoxHeatExchangerColdSide.Controls.Add(this.radioButtonHeatExchangerColdSideMaterial); this.groupBoxHeatExchangerColdSide.Controls.Add(this.radioButtonHeatExchangerColdSideGas); this.groupBoxHeatExchangerColdSide.Location = new System.Drawing.Point(8, 20); this.groupBoxHeatExchangerColdSide.Name = "groupBoxHeatExchangerColdSide"; this.groupBoxHeatExchangerColdSide.Size = new System.Drawing.Size(80, 60); this.groupBoxHeatExchangerColdSide.TabIndex = 2; this.groupBoxHeatExchangerColdSide.TabStop = false; this.groupBoxHeatExchangerColdSide.Text = "Cold Side"; // // radioButtonHeatExchangerColdSideMaterial // this.radioButtonHeatExchangerColdSideMaterial.Location = new System.Drawing.Point(8, 40); this.radioButtonHeatExchangerColdSideMaterial.Name = "radioButtonHeatExchangerColdSideMaterial"; this.radioButtonHeatExchangerColdSideMaterial.Size = new System.Drawing.Size(68, 16); this.radioButtonHeatExchangerColdSideMaterial.TabIndex = 1; this.radioButtonHeatExchangerColdSideMaterial.Text = "Material"; this.radioButtonHeatExchangerColdSideMaterial.CheckedChanged += new System.EventHandler(this.HeatExchangerColdInletHandler); // // radioButtonHeatExchangerColdSideGas // this.radioButtonHeatExchangerColdSideGas.Location = new System.Drawing.Point(8, 20); this.radioButtonHeatExchangerColdSideGas.Name = "radioButtonHeatExchangerColdSideGas"; this.radioButtonHeatExchangerColdSideGas.Size = new System.Drawing.Size(68, 16); this.radioButtonHeatExchangerColdSideGas.TabIndex = 0; this.radioButtonHeatExchangerColdSideGas.Text = "Gas"; this.radioButtonHeatExchangerColdSideGas.CheckedChanged += new System.EventHandler(this.HeatExchangerColdInletHandler); // // groupBoxUnitOpCreation // this.groupBoxUnitOpCreation.Controls.Add(this.radioButtonUnitOpWithInput); this.groupBoxUnitOpCreation.Controls.Add(this.radioButtonUnitOpWithInputAndOutput); this.groupBoxUnitOpCreation.Controls.Add(this.radioButtonUnitOpWithoutInputAndOutput); this.groupBoxUnitOpCreation.Location = new System.Drawing.Point(16, 84); this.groupBoxUnitOpCreation.Name = "groupBoxUnitOpCreation"; this.groupBoxUnitOpCreation.Size = new System.Drawing.Size(180, 80); this.groupBoxUnitOpCreation.TabIndex = 3; this.groupBoxUnitOpCreation.TabStop = false; this.groupBoxUnitOpCreation.Text = "Unit Operation Creation"; // // radioButtonUnitOpWithInput // this.radioButtonUnitOpWithInput.Location = new System.Drawing.Point(8, 40); this.radioButtonUnitOpWithInput.Name = "radioButtonUnitOpWithInput"; this.radioButtonUnitOpWithInput.Size = new System.Drawing.Size(152, 16); this.radioButtonUnitOpWithInput.TabIndex = 2; this.radioButtonUnitOpWithInput.Text = "With Input Only"; this.radioButtonUnitOpWithInput.CheckedChanged += new System.EventHandler(this.UnitOperationCreationHandler); // // radioButtonUnitOpWithInputAndOutput // this.radioButtonUnitOpWithInputAndOutput.Location = new System.Drawing.Point(8, 20); this.radioButtonUnitOpWithInputAndOutput.Name = "radioButtonUnitOpWithInputAndOutput"; this.radioButtonUnitOpWithInputAndOutput.Size = new System.Drawing.Size(152, 16); this.radioButtonUnitOpWithInputAndOutput.TabIndex = 1; this.radioButtonUnitOpWithInputAndOutput.Text = "With Input and Output"; this.radioButtonUnitOpWithInputAndOutput.CheckedChanged += new System.EventHandler(this.UnitOperationCreationHandler); // // radioButtonUnitOpWithoutInputAndOutput // this.radioButtonUnitOpWithoutInputAndOutput.Location = new System.Drawing.Point(8, 60); this.radioButtonUnitOpWithoutInputAndOutput.Name = "radioButtonUnitOpWithoutInputAndOutput"; this.radioButtonUnitOpWithoutInputAndOutput.Size = new System.Drawing.Size(152, 16); this.radioButtonUnitOpWithoutInputAndOutput.TabIndex = 0; this.radioButtonUnitOpWithoutInputAndOutput.Text = "Without Input and Output"; this.radioButtonUnitOpWithoutInputAndOutput.CheckedChanged += new System.EventHandler(this.UnitOperationCreationHandler); // // tabPageUnits // this.tabPageUnits.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.tabPageUnits.Controls.Add(this.groupBoxCurrentUnitSystem); this.tabPageUnits.Location = new System.Drawing.Point(4, 22); this.tabPageUnits.Name = "tabPageUnits"; this.tabPageUnits.Size = new System.Drawing.Size(406, 389); this.tabPageUnits.TabIndex = 1; this.tabPageUnits.Text = "Unit Systems"; // // groupBoxCurrentUnitSystem // this.groupBoxCurrentUnitSystem.Controls.Add(this.buttonCurrentUnitSys); this.groupBoxCurrentUnitSystem.Controls.Add(this.labelCurrent); this.groupBoxCurrentUnitSystem.Location = new System.Drawing.Point(4, 340); this.groupBoxCurrentUnitSystem.Name = "groupBoxCurrentUnitSystem"; this.groupBoxCurrentUnitSystem.Size = new System.Drawing.Size(396, 40); this.groupBoxCurrentUnitSystem.TabIndex = 7; this.groupBoxCurrentUnitSystem.TabStop = false; this.groupBoxCurrentUnitSystem.Text = "Current Unit System"; // // buttonCurrentUnitSys // this.buttonCurrentUnitSys.Location = new System.Drawing.Point(308, 12); this.buttonCurrentUnitSys.Name = "buttonCurrentUnitSys"; this.buttonCurrentUnitSys.TabIndex = 5; this.buttonCurrentUnitSys.Text = "Set Current"; this.buttonCurrentUnitSys.Click += new System.EventHandler(this.buttonCurrentUnitSys_Click); // // labelCurrent // this.labelCurrent.Location = new System.Drawing.Point(128, 12); this.labelCurrent.Name = "labelCurrent"; this.labelCurrent.Size = new System.Drawing.Size(168, 23); this.labelCurrent.TabIndex = 6; this.labelCurrent.Text = "Current Unit System:"; this.labelCurrent.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // tabPageEditor // this.tabPageEditor.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.tabPageEditor.Location = new System.Drawing.Point(4, 22); this.tabPageEditor.Name = "tabPageEditor"; this.tabPageEditor.Size = new System.Drawing.Size(406, 389); this.tabPageEditor.TabIndex = 2; this.tabPageEditor.Text = "Editor Prefs."; // // tabPageNumberFormat // this.tabPageNumberFormat.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.tabPageNumberFormat.Controls.Add(this.radioButtonScientific); this.tabPageNumberFormat.Controls.Add(this.radioButtonFixedPoint); this.tabPageNumberFormat.Controls.Add(this.domainUpDownDecPlaces); this.tabPageNumberFormat.Controls.Add(this.labelDecimalPlaces); this.tabPageNumberFormat.Location = new System.Drawing.Point(4, 22); this.tabPageNumberFormat.Name = "tabPageNumberFormat"; this.tabPageNumberFormat.Size = new System.Drawing.Size(406, 389); this.tabPageNumberFormat.TabIndex = 3; this.tabPageNumberFormat.Text = "Numeric Format"; // // radioButtonScientific // this.radioButtonScientific.Location = new System.Drawing.Point(24, 52); this.radioButtonScientific.Name = "radioButtonScientific"; this.radioButtonScientific.TabIndex = 3; this.radioButtonScientific.Text = "Scientific"; this.radioButtonScientific.CheckedChanged += new System.EventHandler(this.radioButtonScientific_CheckedChanged); // // radioButtonFixedPoint // this.radioButtonFixedPoint.Checked = true; this.radioButtonFixedPoint.Location = new System.Drawing.Point(24, 24); this.radioButtonFixedPoint.Name = "radioButtonFixedPoint"; this.radioButtonFixedPoint.TabIndex = 2; this.radioButtonFixedPoint.TabStop = true; this.radioButtonFixedPoint.Text = "Fixed Point"; this.radioButtonFixedPoint.CheckedChanged += new System.EventHandler(this.radioButtonFixedPoint_CheckedChanged); // // domainUpDownDecPlaces // this.domainUpDownDecPlaces.BackColor = System.Drawing.Color.White; this.domainUpDownDecPlaces.Items.Add("20"); this.domainUpDownDecPlaces.Items.Add("19"); this.domainUpDownDecPlaces.Items.Add("18"); this.domainUpDownDecPlaces.Items.Add("17"); this.domainUpDownDecPlaces.Items.Add("16"); this.domainUpDownDecPlaces.Items.Add("15"); this.domainUpDownDecPlaces.Items.Add("14"); this.domainUpDownDecPlaces.Items.Add("13"); this.domainUpDownDecPlaces.Items.Add("12"); this.domainUpDownDecPlaces.Items.Add("11"); this.domainUpDownDecPlaces.Items.Add("10"); this.domainUpDownDecPlaces.Items.Add("9"); this.domainUpDownDecPlaces.Items.Add("8"); this.domainUpDownDecPlaces.Items.Add("7"); this.domainUpDownDecPlaces.Items.Add("6"); this.domainUpDownDecPlaces.Items.Add("5"); this.domainUpDownDecPlaces.Items.Add("4"); this.domainUpDownDecPlaces.Items.Add("3"); this.domainUpDownDecPlaces.Items.Add("2"); this.domainUpDownDecPlaces.Items.Add("1"); this.domainUpDownDecPlaces.Location = new System.Drawing.Point(252, 24); this.domainUpDownDecPlaces.Name = "domainUpDownDecPlaces"; this.domainUpDownDecPlaces.ReadOnly = true; this.domainUpDownDecPlaces.Size = new System.Drawing.Size(48, 20); this.domainUpDownDecPlaces.TabIndex = 1; this.domainUpDownDecPlaces.SelectedItemChanged += new System.EventHandler(this.domainUpDownDecPlaces_SelectedItemChanged); // // labelDecimalPlaces // this.labelDecimalPlaces.Location = new System.Drawing.Point(148, 24); this.labelDecimalPlaces.Name = "labelDecimalPlaces"; this.labelDecimalPlaces.TabIndex = 0; this.labelDecimalPlaces.Text = "Decimal Places:"; this.labelDecimalPlaces.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItemClose }); // // menuItemClose // this.menuItemClose.Index = 0; this.menuItemClose.Text = "Close"; this.menuItemClose.Click += new System.EventHandler(this.menuItemClose_Click); // // panel // this.panel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel.Controls.Add(this.tabControlPrefs); this.panel.Dock = System.Windows.Forms.DockStyle.Fill; this.panel.Location = new System.Drawing.Point(0, 0); this.panel.Name = "panel"; this.panel.Size = new System.Drawing.Size(418, 419); this.panel.TabIndex = 5; // // FlowsheetPreferencesForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(418, 419); this.Controls.Add(this.panel); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.Menu = this.mainMenu1; this.MinimizeBox = false; this.Name = "FlowsheetPreferencesForm"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Flowsheet Preferences"; this.Closing += new System.ComponentModel.CancelEventHandler(this.FlowsheetPreferencesForm_Closing); this.tabControlPrefs.ResumeLayout(false); this.tabPageTypes.ResumeLayout(false); this.groupBoxTeeMixerValveStreamsType.ResumeLayout(false); this.groupBoxTeeStreamsType.ResumeLayout(false); this.groupBoxMixerStreamsType.ResumeLayout(false); this.groupBoxValveStreamsType.ResumeLayout(false); this.groupBoxHeatExchangerInletType.ResumeLayout(false); this.groupBoxHeatExchangerHotSide.ResumeLayout(false); this.groupBoxHeatExchangerColdSide.ResumeLayout(false); this.groupBoxUnitOpCreation.ResumeLayout(false); this.tabPageUnits.ResumeLayout(false); this.groupBoxCurrentUnitSystem.ResumeLayout(false); this.tabPageNumberFormat.ResumeLayout(false); this.panel.ResumeLayout(false); this.ResumeLayout(false); }
private void SetEmailType(ref Email email, ref DomainUpDown type) { EmailTypes emailTypes = email.Types & ~(EmailTypes.work | EmailTypes.personal | EmailTypes.other); switch (type.SelectedIndex) { case 0: email.Types = emailTypes | EmailTypes.work; break; case 1: email.Types = emailTypes | EmailTypes.personal; break; default: email.Types = emailTypes | EmailTypes.other; break; } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SingScreamAttributes)); this.FrequencyUpDown = new System.Windows.Forms.DomainUpDown(); this.FrequencyLable = new System.Windows.Forms.Label(); this.ColorPanel = new System.Windows.Forms.Panel(); this.ChangeColorButton = new System.Windows.Forms.Button(); this.AmplitudeUpDown1 = new System.Windows.Forms.NumericUpDown(); this.AmplitudeLabel1 = new System.Windows.Forms.Label(); this.OKButton = new System.Windows.Forms.Button(); this.WidthNumericUpDown = new System.Windows.Forms.NumericUpDown(); this.label1 = new System.Windows.Forms.Label(); this.PhaseNumericUpDown = new System.Windows.Forms.NumericUpDown(); this.label2 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.AmplitudeUpDown1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.WidthNumericUpDown)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.PhaseNumericUpDown)).BeginInit(); this.SuspendLayout(); // // FrequencyUpDown // this.FrequencyUpDown.Items.Add("High "); this.FrequencyUpDown.Items.Add("Mid "); this.FrequencyUpDown.Items.Add("Low"); this.FrequencyUpDown.Location = new System.Drawing.Point(15, 32); this.FrequencyUpDown.Name = "FrequencyUpDown"; this.FrequencyUpDown.Size = new System.Drawing.Size(83, 20); this.FrequencyUpDown.TabIndex = 1; // // FrequencyLable // this.FrequencyLable.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(177))); this.FrequencyLable.Location = new System.Drawing.Point(14, 14); this.FrequencyLable.Name = "FrequencyLable"; this.FrequencyLable.Size = new System.Drawing.Size(100, 23); this.FrequencyLable.TabIndex = 2; this.FrequencyLable.Text = "Frequency"; // // ColorPanel // this.ColorPanel.Location = new System.Drawing.Point(154, 267); this.ColorPanel.Name = "ColorPanel"; this.ColorPanel.Size = new System.Drawing.Size(55, 24); this.ColorPanel.TabIndex = 3; // // ChangeColorButton // this.ChangeColorButton.Location = new System.Drawing.Point(15, 267); this.ChangeColorButton.Name = "ChangeColorButton"; this.ChangeColorButton.Size = new System.Drawing.Size(133, 23); this.ChangeColorButton.TabIndex = 4; this.ChangeColorButton.Text = "Change color"; this.ChangeColorButton.Click += new System.EventHandler(this.ChangeColorButton_Click); // // AmplitudeUpDown1 // this.AmplitudeUpDown1.Location = new System.Drawing.Point(17, 152); this.AmplitudeUpDown1.Name = "AmplitudeUpDown1"; this.AmplitudeUpDown1.Size = new System.Drawing.Size(83, 20); this.AmplitudeUpDown1.TabIndex = 5; this.AmplitudeUpDown1.Value = new decimal(new int[] { 4, 0, 0, 0 }); this.AmplitudeUpDown1.ValueChanged += new System.EventHandler(this.AmplitudeUpDown1_ValueChanged); // // AmplitudeLabel1 // this.AmplitudeLabel1.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(177))); this.AmplitudeLabel1.Location = new System.Drawing.Point(16, 133); this.AmplitudeLabel1.Name = "AmplitudeLabel1"; this.AmplitudeLabel1.Size = new System.Drawing.Size(100, 23); this.AmplitudeLabel1.TabIndex = 6; this.AmplitudeLabel1.Text = "Amplitude"; // // OKButton // this.OKButton.DialogResult = System.Windows.Forms.DialogResult.OK; this.OKButton.Location = new System.Drawing.Point(134, 29); this.OKButton.Name = "OKButton"; this.OKButton.Size = new System.Drawing.Size(75, 23); this.OKButton.TabIndex = 7; this.OKButton.Text = "OK"; this.OKButton.Click += new System.EventHandler(this.OKButton_Click); // // WidthNumericUpDown // this.WidthNumericUpDown.Location = new System.Drawing.Point(17, 90); this.WidthNumericUpDown.Name = "WidthNumericUpDown"; this.WidthNumericUpDown.Size = new System.Drawing.Size(83, 20); this.WidthNumericUpDown.TabIndex = 9; this.WidthNumericUpDown.Value = new decimal(new int[] { 1, 0, 0, 0 }); // // label1 // this.label1.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(177))); this.label1.Location = new System.Drawing.Point(14, 71); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(100, 23); this.label1.TabIndex = 10; this.label1.Text = "Width"; // // PhaseNumericUpDown // this.PhaseNumericUpDown.Location = new System.Drawing.Point(15, 219); this.PhaseNumericUpDown.Maximum = new decimal(new int[] { 1, 0, 0, 0 }); this.PhaseNumericUpDown.Name = "PhaseNumericUpDown"; this.PhaseNumericUpDown.Size = new System.Drawing.Size(85, 20); this.PhaseNumericUpDown.TabIndex = 11; this.PhaseNumericUpDown.Value = new decimal(new int[] { 1, 0, 0, 0 }); // // label2 // this.label2.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(177))); this.label2.Location = new System.Drawing.Point(12, 201); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(100, 23); this.label2.TabIndex = 12; this.label2.Text = "Phase"; // // SingScreamAttributes // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(225, 316); this.Controls.Add(this.FrequencyUpDown); this.Controls.Add(this.AmplitudeUpDown1); this.Controls.Add(this.PhaseNumericUpDown); this.Controls.Add(this.label2); this.Controls.Add(this.WidthNumericUpDown); this.Controls.Add(this.OKButton); this.Controls.Add(this.AmplitudeLabel1); this.Controls.Add(this.ChangeColorButton); this.Controls.Add(this.ColorPanel); this.Controls.Add(this.FrequencyLable); this.Controls.Add(this.label1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "SingScreamAttributes"; this.Text = "Sing/scream attributes"; ((System.ComponentModel.ISupportInitialize)(this.AmplitudeUpDown1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.WidthNumericUpDown)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.PhaseNumericUpDown)).EndInit(); this.ResumeLayout(false); }
private void SetTelephoneType(ref Telephone telephone, ref DomainUpDown type) { PhoneTypes phoneTypes = telephone.Types & PhoneTypes.preferred; switch (type.SelectedIndex) { case 0: telephone.Types = phoneTypes | PhoneTypes.work | PhoneTypes.voice; break; case 1: telephone.Types = phoneTypes | PhoneTypes.work | PhoneTypes.fax; break; case 2: telephone.Types = phoneTypes | PhoneTypes.home | PhoneTypes.voice; break; case 3: telephone.Types = phoneTypes | PhoneTypes.cell; break; default: telephone.Types = phoneTypes | PhoneTypes.pager; break; } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem("Item 1"); System.Windows.Forms.ListViewItem listViewItem2 = new System.Windows.Forms.ListViewItem("Item 2"); System.Windows.Forms.ListViewItem listViewItem3 = new System.Windows.Forms.ListViewItem("Item 3"); System.Windows.Forms.ListViewItem listViewItem4 = new System.Windows.Forms.ListViewItem("Item 4"); System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("Node2"); System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("Node3"); System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("Node4"); System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("Node1", new System.Windows.Forms.TreeNode[] { treeNode1, treeNode2, treeNode3 }); System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("Node5"); System.Windows.Forms.TreeNode treeNode6 = new System.Windows.Forms.TreeNode("Node0", new System.Windows.Forms.TreeNode[] { treeNode4, treeNode5 }); this.sbMessage = new EWSoftware.StatusBarText.StatusBarTextProvider(this.components); this.textBox1 = new System.Windows.Forms.TextBox(); this.richTextBox1 = new System.Windows.Forms.RichTextBox(); this.numericUpDown1 = new System.Windows.Forms.NumericUpDown(); this.lvListView = new System.Windows.Forms.ListView(); this.lbListBox = new System.Windows.Forms.ListBox(); this.lnkLabel = new System.Windows.Forms.LinkLabel(); this.dtpDateTime = new System.Windows.Forms.DateTimePicker(); this.dataGrid1 = new System.Windows.Forms.DataGrid(); this.cboComboBox = new System.Windows.Forms.ComboBox(); this.lbCheckedLB = new System.Windows.Forms.CheckedListBox(); this.chkTest = new System.Windows.Forms.CheckBox(); this.udDomain = new System.Windows.Forms.DomainUpDown(); this.btnClose = new System.Windows.Forms.Button(); this.propertyGrid1 = new System.Windows.Forms.PropertyGrid(); this.monthCalendar1 = new System.Windows.Forms.MonthCalendar(); this.radioButton1 = new System.Windows.Forms.RadioButton(); this.radioButton2 = new System.Windows.Forms.RadioButton(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.label5 = new System.Windows.Forms.Label(); this.rb2 = new System.Windows.Forms.RadioButton(); this.rb1 = new System.Windows.Forms.RadioButton(); this.trackBar1 = new System.Windows.Forms.TrackBar(); this.chkUseDialog = new System.Windows.Forms.CheckBox(); this.demoUserControl1 = new StatusBarTextTest.DemoUserControl(); this.panel2 = new System.Windows.Forms.Panel(); this.textBox2 = new System.Windows.Forms.TextBox(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.label9 = new System.Windows.Forms.Label(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.panel1 = new System.Windows.Forms.Panel(); this.tabPage3 = new System.Windows.Forms.TabPage(); this.label7 = new System.Windows.Forms.Label(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.label6 = new System.Windows.Forms.Label(); this.tvTree = new System.Windows.Forms.TreeView(); this.tabPage4 = new System.Windows.Forms.TabPage(); this.ucDemo = new StatusBarTextTest.UserControlWithProvider(); this.label8 = new System.Windows.Forms.Label(); this.tabDemo = new System.Windows.Forms.TabControl(); this.btnProgress = new System.Windows.Forms.Button(); this.sbDialog = new System.Windows.Forms.StatusBar(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit(); this.panel2.SuspendLayout(); this.tabPage1.SuspendLayout(); this.tabPage2.SuspendLayout(); this.panel1.SuspendLayout(); this.tabPage3.SuspendLayout(); this.groupBox2.SuspendLayout(); this.tabPage4.SuspendLayout(); this.tabDemo.SuspendLayout(); this.SuspendLayout(); // // sbMessage // this.sbMessage.InstanceDefaultText = null; this.sbMessage.InstanceDisplayPanel = 0; this.sbMessage.InstanceStatusBar = null; // // textBox1 // this.textBox1.Location = new System.Drawing.Point(248, 304); this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(168, 22); this.sbMessage.SetStatusBarText(this.textBox1, "A standard text box control"); this.textBox1.TabIndex = 15; this.textBox1.Text = "Standard text box"; // // richTextBox1 // this.richTextBox1.Location = new System.Drawing.Point(440, 240); this.richTextBox1.Name = "richTextBox1"; this.richTextBox1.Size = new System.Drawing.Size(100, 96); this.sbMessage.SetStatusBarText(this.richTextBox1, "A rich text box control"); this.richTextBox1.TabIndex = 14; this.richTextBox1.Text = "A rich text box"; // // numericUpDown1 // this.numericUpDown1.Location = new System.Drawing.Point(144, 56); this.numericUpDown1.Name = "numericUpDown1"; this.numericUpDown1.Size = new System.Drawing.Size(72, 22); this.sbMessage.SetStatusBarText(this.numericUpDown1, "A numeric up/down control"); this.numericUpDown1.TabIndex = 5; // // lvListView // this.lvListView.Items.AddRange(new System.Windows.Forms.ListViewItem[] { listViewItem1, listViewItem2, listViewItem3, listViewItem4 }); this.lvListView.Location = new System.Drawing.Point(16, 240); this.lvListView.Name = "lvListView"; this.lvListView.Size = new System.Drawing.Size(184, 80); this.sbMessage.SetStatusBarText(this.lvListView, "A list view control"); this.lvListView.TabIndex = 11; this.lvListView.UseCompatibleStateImageBehavior = false; this.lvListView.View = System.Windows.Forms.View.List; // // lbListBox // this.lbListBox.ItemHeight = 16; this.lbListBox.Items.AddRange(new object[] { "Item 1", "Item 2", "Item 3", "Item 4" }); this.lbListBox.Location = new System.Drawing.Point(24, 96); this.lbListBox.Name = "lbListBox"; this.lbListBox.Size = new System.Drawing.Size(128, 84); this.sbMessage.SetStatusBarText(this.lbListBox, "A list box control"); this.lbListBox.TabIndex = 8; // // lnkLabel // this.lnkLabel.Location = new System.Drawing.Point(328, 256); this.lnkLabel.Name = "lnkLabel"; this.lnkLabel.Size = new System.Drawing.Size(88, 16); this.sbMessage.SetStatusBarText(this.lnkLabel, "A link label"); this.lnkLabel.TabIndex = 13; this.lnkLabel.TabStop = true; this.lnkLabel.Text = "A Link Label"; // // dtpDateTime // this.dtpDateTime.Format = System.Windows.Forms.DateTimePickerFormat.Short; this.dtpDateTime.Location = new System.Drawing.Point(376, 56); this.dtpDateTime.Name = "dtpDateTime"; this.dtpDateTime.Size = new System.Drawing.Size(104, 22); this.sbMessage.SetStatusBarText(this.dtpDateTime, "A date/time picker"); this.dtpDateTime.TabIndex = 7; // // dataGrid1 // this.dataGrid1.CaptionText = "DataGrid"; this.dataGrid1.DataMember = ""; this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGrid1.Location = new System.Drawing.Point(376, 96); this.dataGrid1.Name = "dataGrid1"; this.dataGrid1.Size = new System.Drawing.Size(208, 136); this.sbMessage.SetStatusBarText(this.dataGrid1, "A data grid control"); this.dataGrid1.TabIndex = 10; // // cboComboBox // this.cboComboBox.Items.AddRange(new object[] { "Item 1", "Item 2", "Item 3", "Item 4" }); this.cboComboBox.Location = new System.Drawing.Point(104, 16); this.cboComboBox.Name = "cboComboBox"; this.cboComboBox.Size = new System.Drawing.Size(136, 24); this.sbMessage.SetStatusBarText(this.cboComboBox, "A combo box control"); this.cboComboBox.TabIndex = 1; // // lbCheckedLB // this.lbCheckedLB.Items.AddRange(new object[] { "Item 1", "Item 2", "Item 3", "Item 4" }); this.lbCheckedLB.Location = new System.Drawing.Point(240, 96); this.lbCheckedLB.Name = "lbCheckedLB"; this.lbCheckedLB.Size = new System.Drawing.Size(120, 89); this.sbMessage.SetStatusBarText(this.lbCheckedLB, "A checked list box control"); this.lbCheckedLB.TabIndex = 9; // // chkTest // this.chkTest.Location = new System.Drawing.Point(216, 256); this.chkTest.Name = "chkTest"; this.chkTest.Size = new System.Drawing.Size(104, 24); this.sbMessage.SetStatusBarText(this.chkTest, "A checkbox control"); this.chkTest.TabIndex = 12; this.chkTest.Text = "Checkbox"; // // udDomain // this.udDomain.Items.Add("Item 1"); this.udDomain.Items.Add("Item 2"); this.udDomain.Items.Add("Item 3"); this.udDomain.Items.Add("Item 4"); this.udDomain.Location = new System.Drawing.Point(376, 16); this.udDomain.Name = "udDomain"; this.udDomain.Size = new System.Drawing.Size(120, 22); this.sbMessage.SetStatusBarText(this.udDomain, "A domain up/down control"); this.udDomain.TabIndex = 3; // // btnClose // this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnClose.Location = new System.Drawing.Point(528, 408); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(96, 32); this.sbMessage.SetStatusBarText(this.btnClose, "Close this dialog box"); this.btnClose.TabIndex = 3; this.btnClose.Text = "&Close"; this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // // propertyGrid1 // this.propertyGrid1.HelpVisible = false; this.propertyGrid1.LineColor = System.Drawing.SystemColors.ScrollBar; this.propertyGrid1.Location = new System.Drawing.Point(20, 232); this.propertyGrid1.Name = "propertyGrid1"; this.propertyGrid1.SelectedObject = this; this.propertyGrid1.Size = new System.Drawing.Size(568, 120); this.sbMessage.SetStatusBarText(this.propertyGrid1, "A property grid control"); this.propertyGrid1.TabIndex = 1; this.propertyGrid1.ToolbarVisible = false; // // monthCalendar1 // this.monthCalendar1.Location = new System.Drawing.Point(165, 15); this.monthCalendar1.Name = "monthCalendar1"; this.sbMessage.SetStatusBarText(this.monthCalendar1, "A month calendar control in a panel"); this.monthCalendar1.TabIndex = 0; // // radioButton1 // this.radioButton1.Location = new System.Drawing.Point(16, 56); this.radioButton1.Name = "radioButton1"; this.radioButton1.Size = new System.Drawing.Size(128, 24); this.sbMessage.SetStatusBarText(this.radioButton1, "Radio button 2 status bar text"); this.radioButton1.TabIndex = 1; this.radioButton1.Text = "Radio Button 2"; // // radioButton2 // this.radioButton2.Location = new System.Drawing.Point(16, 24); this.radioButton2.Name = "radioButton2"; this.radioButton2.Size = new System.Drawing.Size(128, 24); this.sbMessage.SetStatusBarText(this.radioButton2, "Radio button 1 status bar text"); this.radioButton2.TabIndex = 0; this.radioButton2.TabStop = true; this.radioButton2.Text = "Radio Button 1"; // // groupBox1 // this.groupBox1.Controls.Add(this.label5); this.groupBox1.Controls.Add(this.rb2); this.groupBox1.Controls.Add(this.rb1); this.groupBox1.Location = new System.Drawing.Point(336, 8); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(248, 160); this.sbMessage.SetStatusBarText(this.groupBox1, "A group box control"); this.groupBox1.TabIndex = 3; this.groupBox1.TabStop = false; this.groupBox1.Text = "A Group Box"; // // label5 // this.label5.Location = new System.Drawing.Point(8, 88); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(224, 64); this.label5.TabIndex = 2; this.label5.Text = "The radio buttons in this group box have no status bar text so the group box\'s st" + "atus bar text is shown instead."; // // rb2 // this.rb2.Location = new System.Drawing.Point(16, 56); this.rb2.Name = "rb2"; this.rb2.Size = new System.Drawing.Size(128, 24); this.rb2.TabIndex = 1; this.rb2.Text = "Radio Button 2"; // // rb1 // this.rb1.Location = new System.Drawing.Point(16, 24); this.rb1.Name = "rb1"; this.rb1.Size = new System.Drawing.Size(128, 24); this.rb1.TabIndex = 0; this.rb1.TabStop = true; this.rb1.Text = "Radio Button 1"; // // trackBar1 // this.trackBar1.Location = new System.Drawing.Point(52, 16); this.trackBar1.Name = "trackBar1"; this.trackBar1.Size = new System.Drawing.Size(256, 53); this.sbMessage.SetStatusBarText(this.trackBar1, "A track bar control"); this.trackBar1.TabIndex = 0; // // chkUseDialog // this.chkUseDialog.Location = new System.Drawing.Point(32, 408); this.chkUseDialog.Name = "chkUseDialog"; this.chkUseDialog.Size = new System.Drawing.Size(192, 24); this.sbMessage.SetStatusBarText(this.chkUseDialog, "Switch between the application status bar and the dialog\'s status bar"); this.chkUseDialog.TabIndex = 1; this.chkUseDialog.Text = "&Use the dialog\'s status bar"; this.chkUseDialog.CheckedChanged += new System.EventHandler(this.chkUseDialog_CheckedChanged); // // demoUserControl1 // this.demoUserControl1.Location = new System.Drawing.Point(32, 200); this.demoUserControl1.Name = "demoUserControl1"; this.demoUserControl1.Size = new System.Drawing.Size(136, 32); this.sbMessage.SetStatusBarText(this.demoUserControl1, "A custom user control"); this.demoUserControl1.TabIndex = 2; // // panel2 // this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel2.Controls.Add(this.textBox2); this.panel2.Controls.Add(this.checkBox1); this.panel2.Controls.Add(this.label9); this.panel2.Location = new System.Drawing.Point(24, 16); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(424, 120); this.sbMessage.SetStatusBarText(this.panel2, "A panel control"); this.panel2.TabIndex = 0; // // textBox2 // this.textBox2.Location = new System.Drawing.Point(184, 72); this.textBox2.Name = "textBox2"; this.textBox2.Size = new System.Drawing.Size(88, 22); this.textBox2.TabIndex = 2; // // checkBox1 // this.checkBox1.Location = new System.Drawing.Point(24, 72); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(104, 24); this.checkBox1.TabIndex = 1; this.checkBox1.Text = "checkBox1"; // // label9 // this.label9.Location = new System.Drawing.Point(16, 16); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(392, 40); this.label9.TabIndex = 0; this.label9.Text = "Like the group box, if controls in a panel do not have status bar text, the text " + "for the panel is displayed."; // // tabPage1 // this.tabPage1.Controls.Add(this.textBox1); this.tabPage1.Controls.Add(this.richTextBox1); this.tabPage1.Controls.Add(this.numericUpDown1); this.tabPage1.Controls.Add(this.label4); this.tabPage1.Controls.Add(this.lvListView); this.tabPage1.Controls.Add(this.lbListBox); this.tabPage1.Controls.Add(this.lnkLabel); this.tabPage1.Controls.Add(this.label3); this.tabPage1.Controls.Add(this.dtpDateTime); this.tabPage1.Controls.Add(this.dataGrid1); this.tabPage1.Controls.Add(this.label2); this.tabPage1.Controls.Add(this.cboComboBox); this.tabPage1.Controls.Add(this.lbCheckedLB); this.tabPage1.Controls.Add(this.chkTest); this.tabPage1.Controls.Add(this.label1); this.tabPage1.Controls.Add(this.udDomain); this.tabPage1.Location = new System.Drawing.Point(4, 25); this.tabPage1.Name = "tabPage1"; this.tabPage1.Size = new System.Drawing.Size(608, 363); this.sbMessage.SetStatusBarText(this.tabPage1, "Tab page #1"); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "Tab 1"; // // label4 // this.label4.Location = new System.Drawing.Point(16, 56); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(120, 22); this.label4.TabIndex = 4; this.label4.Text = "Numeric Up/Down"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label3 // this.label3.Location = new System.Drawing.Point(248, 56); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(120, 22); this.label3.TabIndex = 6; this.label3.Text = "Date/Time Picker"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label2 // this.label2.Location = new System.Drawing.Point(8, 16); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(88, 22); this.label2.TabIndex = 0; this.label2.Text = "Combo Box"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label1 // this.label1.Location = new System.Drawing.Point(248, 16); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(120, 22); this.label1.TabIndex = 2; this.label1.Text = "Domain Up/Down"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // tabPage2 // this.tabPage2.Controls.Add(this.propertyGrid1); this.tabPage2.Controls.Add(this.panel1); this.tabPage2.Location = new System.Drawing.Point(4, 25); this.tabPage2.Name = "tabPage2"; this.tabPage2.Size = new System.Drawing.Size(608, 363); this.sbMessage.SetStatusBarText(this.tabPage2, "Tab page #2"); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "Tab 2"; // // panel1 // this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel1.Controls.Add(this.monthCalendar1); this.panel1.Location = new System.Drawing.Point(28, 8); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(552, 216); this.panel1.TabIndex = 0; // // tabPage3 // this.tabPage3.Controls.Add(this.label7); this.tabPage3.Controls.Add(this.groupBox2); this.tabPage3.Controls.Add(this.groupBox1); this.tabPage3.Controls.Add(this.tvTree); this.tabPage3.Controls.Add(this.trackBar1); this.tabPage3.Location = new System.Drawing.Point(4, 25); this.tabPage3.Name = "tabPage3"; this.tabPage3.Size = new System.Drawing.Size(608, 363); this.sbMessage.SetStatusBarText(this.tabPage3, "Tab page #3"); this.tabPage3.TabIndex = 2; this.tabPage3.Text = "Tab 3"; // // label7 // this.label7.Location = new System.Drawing.Point(52, 80); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(264, 56); this.label7.TabIndex = 1; this.label7.Text = "The tree view uses an AfterSelect event to update its status bar text as each nod" + "e is selected."; // // groupBox2 // this.groupBox2.Controls.Add(this.label6); this.groupBox2.Controls.Add(this.radioButton1); this.groupBox2.Controls.Add(this.radioButton2); this.groupBox2.Location = new System.Drawing.Point(336, 192); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(248, 152); this.groupBox2.TabIndex = 4; this.groupBox2.TabStop = false; this.groupBox2.Text = "A Group Box"; // // label6 // this.label6.Location = new System.Drawing.Point(16, 88); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(224, 40); this.label6.TabIndex = 2; this.label6.Text = "The radio buttons in this group box do have status bar text."; // // tvTree // this.tvTree.Location = new System.Drawing.Point(52, 136); this.tvTree.Name = "tvTree"; treeNode1.Name = ""; treeNode1.Text = "Node2"; treeNode2.Name = ""; treeNode2.Text = "Node3"; treeNode3.Name = ""; treeNode3.Text = "Node4"; treeNode4.Name = ""; treeNode4.Text = "Node1"; treeNode5.Name = ""; treeNode5.Text = "Node5"; treeNode6.Name = ""; treeNode6.Text = "Node0"; this.tvTree.Nodes.AddRange(new System.Windows.Forms.TreeNode[] { treeNode6 }); this.tvTree.Size = new System.Drawing.Size(248, 208); this.tvTree.TabIndex = 2; this.tvTree.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvTree_AfterSelect); // // tabPage4 // this.tabPage4.Controls.Add(this.ucDemo); this.tabPage4.Controls.Add(this.panel2); this.tabPage4.Controls.Add(this.label8); this.tabPage4.Controls.Add(this.demoUserControl1); this.tabPage4.Location = new System.Drawing.Point(4, 25); this.tabPage4.Name = "tabPage4"; this.tabPage4.Size = new System.Drawing.Size(608, 363); this.sbMessage.SetStatusBarText(this.tabPage4, "Tab page #4"); this.tabPage4.TabIndex = 3; this.tabPage4.Text = "Tab 4"; // // ucDemo // this.ucDemo.Location = new System.Drawing.Point(24, 248); this.ucDemo.Name = "ucDemo"; this.ucDemo.Size = new System.Drawing.Size(336, 96); this.ucDemo.TabIndex = 3; // // label8 // this.label8.Location = new System.Drawing.Point(32, 152); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(360, 40); this.label8.TabIndex = 1; this.label8.Text = "This is a custom user control with status bar text defined by this form"; // // tabDemo // this.tabDemo.Controls.Add(this.tabPage1); this.tabDemo.Controls.Add(this.tabPage2); this.tabDemo.Controls.Add(this.tabPage3); this.tabDemo.Controls.Add(this.tabPage4); this.tabDemo.Location = new System.Drawing.Point(8, 8); this.tabDemo.Name = "tabDemo"; this.tabDemo.SelectedIndex = 0; this.sbMessage.SetShowAsBlank(this.tabDemo, true); this.tabDemo.Size = new System.Drawing.Size(616, 392); this.tabDemo.TabIndex = 0; // // btnProgress // this.btnProgress.Location = new System.Drawing.Point(322, 408); this.btnProgress.Name = "btnProgress"; this.btnProgress.Size = new System.Drawing.Size(96, 32); this.sbMessage.SetStatusBarText(this.btnProgress, "Utilize the status strip progress bar"); this.btnProgress.TabIndex = 2; this.btnProgress.Text = "&Progress"; this.btnProgress.Click += new System.EventHandler(this.btnProgress_Click); // // sbDialog // this.sbDialog.Location = new System.Drawing.Point(0, 456); this.sbDialog.Name = "sbDialog"; this.sbDialog.Size = new System.Drawing.Size(632, 22); this.sbDialog.SizingGrip = false; this.sbDialog.TabIndex = 4; this.sbDialog.Text = "Dialog status bar"; // // Form2 // this.AutoScaleBaseSize = new System.Drawing.Size(6, 15); this.CancelButton = this.btnClose; this.ClientSize = new System.Drawing.Size(632, 478); this.Controls.Add(this.btnProgress); this.Controls.Add(this.chkUseDialog); this.Controls.Add(this.sbDialog); this.Controls.Add(this.btnClose); this.Controls.Add(this.tabDemo); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "Form2"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Control Demo"; ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit(); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).EndInit(); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); this.tabPage1.ResumeLayout(false); this.tabPage1.PerformLayout(); this.tabPage2.ResumeLayout(false); this.panel1.ResumeLayout(false); this.tabPage3.ResumeLayout(false); this.tabPage3.PerformLayout(); this.groupBox2.ResumeLayout(false); this.tabPage4.ResumeLayout(false); this.tabDemo.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.im3Location = new System.Windows.Forms.DomainUpDown(); this.label7 = new System.Windows.Forms.Label(); this.im3 = new System.Windows.Forms.TextBox(); this.imLabel3 = new System.Windows.Forms.DomainUpDown(); this.im2Location = new System.Windows.Forms.DomainUpDown(); this.label6 = new System.Windows.Forms.Label(); this.im2 = new System.Windows.Forms.TextBox(); this.imLabel2 = new System.Windows.Forms.DomainUpDown(); this.im1Location = new System.Windows.Forms.DomainUpDown(); this.label5 = new System.Windows.Forms.Label(); this.im1 = new System.Windows.Forms.TextBox(); this.imLabel1 = new System.Windows.Forms.DomainUpDown(); this.label4 = new System.Windows.Forms.Label(); this.phone4 = new System.Windows.Forms.TextBox(); this.phoneLabel4 = new System.Windows.Forms.DomainUpDown(); this.phone3 = new System.Windows.Forms.TextBox(); this.phoneLabel3 = new System.Windows.Forms.DomainUpDown(); this.phone2 = new System.Windows.Forms.TextBox(); this.phoneLabel2 = new System.Windows.Forms.DomainUpDown(); this.phone1 = new System.Windows.Forms.TextBox(); this.phoneLabel1 = new System.Windows.Forms.DomainUpDown(); this.label3 = new System.Windows.Forms.Label(); this.htmlMail = new System.Windows.Forms.CheckBox(); this.email4 = new System.Windows.Forms.TextBox(); this.emailLabel4 = new System.Windows.Forms.DomainUpDown(); this.email3 = new System.Windows.Forms.TextBox(); this.emailLabel3 = new System.Windows.Forms.DomainUpDown(); this.email2 = new System.Windows.Forms.TextBox(); this.emailLabel2 = new System.Windows.Forms.DomainUpDown(); this.email1 = new System.Windows.Forms.TextBox(); this.emailLabel1 = new System.Windows.Forms.DomainUpDown(); this.label2 = new System.Windows.Forms.Label(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.pictureContact = new System.Windows.Forms.PictureBox(); this.nickname = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.fullName = new System.Windows.Forms.TextBox(); this.fullNameButton = new System.Windows.Forms.Button(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.notes = new System.Windows.Forms.TextBox(); this.label23 = new System.Windows.Forms.Label(); this.birthday = new System.Windows.Forms.TextBox(); this.birthdayPicker = new System.Windows.Forms.DateTimePicker(); this.label21 = new System.Windows.Forms.Label(); this.label20 = new System.Windows.Forms.Label(); this.department = new System.Windows.Forms.TextBox(); this.manager = new System.Windows.Forms.TextBox(); this.company = new System.Windows.Forms.TextBox(); this.jobTitle = new System.Windows.Forms.TextBox(); this.label18 = new System.Windows.Forms.Label(); this.label17 = new System.Windows.Forms.Label(); this.profession = new System.Windows.Forms.TextBox(); this.label16 = new System.Windows.Forms.Label(); this.label15 = new System.Windows.Forms.Label(); this.label14 = new System.Windows.Forms.Label(); this.label13 = new System.Windows.Forms.Label(); this.webcam = new System.Windows.Forms.TextBox(); this.calendar = new System.Windows.Forms.TextBox(); this.blog = new System.Windows.Forms.TextBox(); this.homePage = new System.Windows.Forms.TextBox(); this.label12 = new System.Windows.Forms.Label(); this.label11 = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.tabPage3 = new System.Windows.Forms.TabPage(); this.otherCountry = new System.Windows.Forms.ComboBox(); this.homeCountry = new System.Windows.Forms.ComboBox(); this.workCountry = new System.Windows.Forms.ComboBox(); this.label44 = new System.Windows.Forms.Label(); this.label39 = new System.Windows.Forms.Label(); this.otherState = new System.Windows.Forms.TextBox(); this.otherZip = new System.Windows.Forms.TextBox(); this.label38 = new System.Windows.Forms.Label(); this.otherCity = new System.Windows.Forms.TextBox(); this.otherAddress2 = new System.Windows.Forms.TextBox(); this.otherStreet = new System.Windows.Forms.TextBox(); this.label40 = new System.Windows.Forms.Label(); this.label41 = new System.Windows.Forms.Label(); this.label42 = new System.Windows.Forms.Label(); this.label43 = new System.Windows.Forms.Label(); this.label33 = new System.Windows.Forms.Label(); this.homeState = new System.Windows.Forms.TextBox(); this.homeZip = new System.Windows.Forms.TextBox(); this.label32 = new System.Windows.Forms.Label(); this.homeCity = new System.Windows.Forms.TextBox(); this.homeAddress2 = new System.Windows.Forms.TextBox(); this.homeStreet = new System.Windows.Forms.TextBox(); this.label34 = new System.Windows.Forms.Label(); this.label35 = new System.Windows.Forms.Label(); this.label36 = new System.Windows.Forms.Label(); this.label37 = new System.Windows.Forms.Label(); this.label31 = new System.Windows.Forms.Label(); this.label30 = new System.Windows.Forms.Label(); this.workState = new System.Windows.Forms.TextBox(); this.workZip = new System.Windows.Forms.TextBox(); this.label29 = new System.Windows.Forms.Label(); this.workCity = new System.Windows.Forms.TextBox(); this.workAddress2 = new System.Windows.Forms.TextBox(); this.workStreet = new System.Windows.Forms.TextBox(); this.label28 = new System.Windows.Forms.Label(); this.label27 = new System.Windows.Forms.Label(); this.label26 = new System.Windows.Forms.Label(); this.label25 = new System.Windows.Forms.Label(); this.label24 = new System.Windows.Forms.Label(); this.cancel = new System.Windows.Forms.Button(); this.ok = new System.Windows.Forms.Button(); this.helpProvider1 = new System.Windows.Forms.HelpProvider(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); this.tabPage2.SuspendLayout(); this.tabPage3.SuspendLayout(); this.SuspendLayout(); this.tabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.tabControl1.Controls.Add(this.tabPage1); this.tabControl1.Controls.Add(this.tabPage2); this.tabControl1.Controls.Add(this.tabPage3); this.tabControl1.Location = new System.Drawing.Point(8, 8); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(616, 560); this.tabControl1.TabIndex = 0; this.tabPage1.Controls.Add(this.im3Location); this.tabPage1.Controls.Add(this.label7); this.tabPage1.Controls.Add(this.im3); this.tabPage1.Controls.Add(this.imLabel3); this.tabPage1.Controls.Add(this.im2Location); this.tabPage1.Controls.Add(this.label6); this.tabPage1.Controls.Add(this.im2); this.tabPage1.Controls.Add(this.imLabel2); this.tabPage1.Controls.Add(this.im1Location); this.tabPage1.Controls.Add(this.label5); this.tabPage1.Controls.Add(this.im1); this.tabPage1.Controls.Add(this.imLabel1); this.tabPage1.Controls.Add(this.label4); this.tabPage1.Controls.Add(this.phone4); this.tabPage1.Controls.Add(this.phoneLabel4); this.tabPage1.Controls.Add(this.phone3); this.tabPage1.Controls.Add(this.phoneLabel3); this.tabPage1.Controls.Add(this.phone2); this.tabPage1.Controls.Add(this.phoneLabel2); this.tabPage1.Controls.Add(this.phone1); this.tabPage1.Controls.Add(this.phoneLabel1); this.tabPage1.Controls.Add(this.label3); this.tabPage1.Controls.Add(this.htmlMail); this.tabPage1.Controls.Add(this.email4); this.tabPage1.Controls.Add(this.emailLabel4); this.tabPage1.Controls.Add(this.email3); this.tabPage1.Controls.Add(this.emailLabel3); this.tabPage1.Controls.Add(this.email2); this.tabPage1.Controls.Add(this.emailLabel2); this.tabPage1.Controls.Add(this.email1); this.tabPage1.Controls.Add(this.emailLabel1); this.tabPage1.Controls.Add(this.label2); this.tabPage1.Controls.Add(this.groupBox1); this.tabPage1.Controls.Add(this.pictureContact); this.tabPage1.Controls.Add(this.nickname); this.tabPage1.Controls.Add(this.label1); this.tabPage1.Controls.Add(this.fullName); this.tabPage1.Controls.Add(this.fullNameButton); this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Size = new System.Drawing.Size(608, 534); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "Contact"; this.im3Location.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.helpProvider1.SetHelpString(this.im3Location, "Specifies a location for the instant messaging account."); this.im3Location.Items.Add("Work"); this.im3Location.Items.Add("Home"); this.im3Location.Items.Add("Other"); this.im3Location.Location = new System.Drawing.Point(488, 448); this.im3Location.Name = "im3Location"; this.helpProvider1.SetShowHelp(this.im3Location, true); this.im3Location.Size = new System.Drawing.Size(96, 20); this.im3Location.TabIndex = 37; this.im3Location.SelectedItemChanged += new System.EventHandler(this.im3Location_SelectedItemChanged); this.label7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label7.Location = new System.Drawing.Point(440, 448); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(100, 16); this.label7.TabIndex = 36; this.label7.Text = "Location:"; this.im3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.helpProvider1.SetHelpString(this.im3, "Specifies an instant messaging account for the contact."); this.im3.Location = new System.Drawing.Point(168, 448); this.im3.Name = "im3"; this.helpProvider1.SetShowHelp(this.im3, true); this.im3.Size = new System.Drawing.Size(264, 20); this.im3.TabIndex = 35; this.im3.Text = ""; this.im3.TextChanged += new System.EventHandler(this.im3_TextChanged); this.helpProvider1.SetHelpString(this.imLabel3, "Specifies the provider for the Instant Messaging account."); this.imLabel3.Items.Add("AIM"); this.imLabel3.Items.Add("Jabber"); this.imLabel3.Items.Add("Yahoo"); this.imLabel3.Items.Add("GroupWise"); this.imLabel3.Items.Add("MSN"); this.imLabel3.Location = new System.Drawing.Point(24, 448); this.imLabel3.Name = "imLabel3"; this.helpProvider1.SetShowHelp(this.imLabel3, true); this.imLabel3.Size = new System.Drawing.Size(136, 20); this.imLabel3.TabIndex = 34; this.imLabel3.TextChanged += new System.EventHandler(this.imLabel3_TextChanged); this.imLabel3.SelectedItemChanged += new System.EventHandler(this.imLabel3_TextChanged); this.im2Location.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.helpProvider1.SetHelpString(this.im2Location, "Specifies a location for the instant messaging account."); this.im2Location.Items.Add("Work"); this.im2Location.Items.Add("Home"); this.im2Location.Items.Add("Other"); this.im2Location.Location = new System.Drawing.Point(488, 416); this.im2Location.Name = "im2Location"; this.helpProvider1.SetShowHelp(this.im2Location, true); this.im2Location.Size = new System.Drawing.Size(96, 20); this.im2Location.TabIndex = 33; this.im2Location.SelectedItemChanged += new System.EventHandler(this.im2Location_SelectedItemChanged); this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label6.Location = new System.Drawing.Point(440, 416); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(100, 16); this.label6.TabIndex = 32; this.label6.Text = "Location:"; this.im2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.helpProvider1.SetHelpString(this.im2, "Specifies an instant messaging account for the contact."); this.im2.Location = new System.Drawing.Point(168, 416); this.im2.Name = "im2"; this.helpProvider1.SetShowHelp(this.im2, true); this.im2.Size = new System.Drawing.Size(264, 20); this.im2.TabIndex = 31; this.im2.Text = ""; this.im2.TextChanged += new System.EventHandler(this.im2_TextChanged); this.helpProvider1.SetHelpString(this.imLabel2, "Specifies the provider for the Instant Messaging account."); this.imLabel2.Items.Add("AIM"); this.imLabel2.Items.Add("Jabber"); this.imLabel2.Items.Add("Yahoo"); this.imLabel2.Items.Add("GroupWise"); this.imLabel2.Items.Add("MSN"); this.imLabel2.Location = new System.Drawing.Point(24, 416); this.imLabel2.Name = "imLabel2"; this.helpProvider1.SetShowHelp(this.imLabel2, true); this.imLabel2.Size = new System.Drawing.Size(136, 20); this.imLabel2.TabIndex = 30; this.imLabel2.TextChanged += new System.EventHandler(this.imLabel2_TextChanged); this.imLabel2.SelectedItemChanged += new System.EventHandler(this.imLabel2_TextChanged); this.im1Location.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.helpProvider1.SetHelpString(this.im1Location, "Specifies a location for the instant messaging account."); this.im1Location.Items.Add("Work"); this.im1Location.Items.Add("Home"); this.im1Location.Items.Add("Other"); this.im1Location.Location = new System.Drawing.Point(488, 384); this.im1Location.Name = "im1Location"; this.helpProvider1.SetShowHelp(this.im1Location, true); this.im1Location.Size = new System.Drawing.Size(96, 20); this.im1Location.TabIndex = 29; this.im1Location.SelectedItemChanged += new System.EventHandler(this.im1Location_SelectedItemChanged); this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label5.Location = new System.Drawing.Point(440, 384); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(100, 16); this.label5.TabIndex = 28; this.label5.Text = "Location:"; this.im1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.helpProvider1.SetHelpString(this.im1, "Specifies an instant messaging account for the contact."); this.im1.Location = new System.Drawing.Point(168, 384); this.im1.Name = "im1"; this.helpProvider1.SetShowHelp(this.im1, true); this.im1.Size = new System.Drawing.Size(264, 20); this.im1.TabIndex = 27; this.im1.Text = ""; this.im1.TextChanged += new System.EventHandler(this.im1_TextChanged); this.helpProvider1.SetHelpString(this.imLabel1, "Specifies the provider for the Instant Messaging account."); this.imLabel1.Items.Add("AIM"); this.imLabel1.Items.Add("Jabber"); this.imLabel1.Items.Add("Yahoo"); this.imLabel1.Items.Add("GroupWise"); this.imLabel1.Items.Add("MSN"); this.imLabel1.Location = new System.Drawing.Point(24, 384); this.imLabel1.Name = "imLabel1"; this.helpProvider1.SetShowHelp(this.imLabel1, true); this.imLabel1.Size = new System.Drawing.Size(136, 20); this.imLabel1.TabIndex = 26; this.imLabel1.TextChanged += new System.EventHandler(this.imLabel1_TextChanged); this.imLabel1.SelectedItemChanged += new System.EventHandler(this.imLabel1_TextChanged); this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label4.Location = new System.Drawing.Point(8, 352); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(120, 16); this.label4.TabIndex = 25; this.label4.Text = "Instant Messaging"; this.helpProvider1.SetHelpString(this.phone4, "Specifies a telephone number for this contact."); this.phone4.Location = new System.Drawing.Point(432, 288); this.phone4.Name = "phone4"; this.helpProvider1.SetShowHelp(this.phone4, true); this.phone4.Size = new System.Drawing.Size(152, 20); this.phone4.TabIndex = 24; this.phone4.Text = ""; this.phone4.TextChanged += new System.EventHandler(this.phone4_TextChanged); this.helpProvider1.SetHelpString(this.phoneLabel4, "Specifies the type for the telephone number."); this.phoneLabel4.Items.Add("Business"); this.phoneLabel4.Items.Add("Business fax"); this.phoneLabel4.Items.Add("Home"); this.phoneLabel4.Items.Add("Mobile"); this.phoneLabel4.Items.Add("Pager"); this.phoneLabel4.Location = new System.Drawing.Point(304, 288); this.phoneLabel4.Name = "phoneLabel4"; this.helpProvider1.SetShowHelp(this.phoneLabel4, true); this.phoneLabel4.TabIndex = 23; this.phoneLabel4.SelectedItemChanged += new System.EventHandler(this.phoneLabel4_SelectedItemChanged); this.helpProvider1.SetHelpString(this.phone3, "Specifies a telephone number for this contact."); this.phone3.Location = new System.Drawing.Point(136, 288); this.phone3.Name = "phone3"; this.helpProvider1.SetShowHelp(this.phone3, true); this.phone3.Size = new System.Drawing.Size(160, 20); this.phone3.TabIndex = 22; this.phone3.Text = ""; this.phone3.TextChanged += new System.EventHandler(this.phone3_TextChanged); this.helpProvider1.SetHelpString(this.phoneLabel3, "Specifies the type for the telephone number."); this.phoneLabel3.Items.Add("Business"); this.phoneLabel3.Items.Add("Business fax"); this.phoneLabel3.Items.Add("Home"); this.phoneLabel3.Items.Add("Mobile"); this.phoneLabel3.Items.Add("Pager"); this.phoneLabel3.Location = new System.Drawing.Point(24, 288); this.phoneLabel3.Name = "phoneLabel3"; this.helpProvider1.SetShowHelp(this.phoneLabel3, true); this.phoneLabel3.Size = new System.Drawing.Size(104, 20); this.phoneLabel3.TabIndex = 21; this.phoneLabel3.SelectedItemChanged += new System.EventHandler(this.phoneLabel3_SelectedItemChanged); this.helpProvider1.SetHelpString(this.phone2, "Specifies a telephone number for this contact."); this.phone2.Location = new System.Drawing.Point(432, 256); this.phone2.Name = "phone2"; this.helpProvider1.SetShowHelp(this.phone2, true); this.phone2.Size = new System.Drawing.Size(152, 20); this.phone2.TabIndex = 20; this.phone2.Text = ""; this.phone2.TextChanged += new System.EventHandler(this.phone2_TextChanged); this.helpProvider1.SetHelpString(this.phoneLabel2, "Specifies the type for the telephone number."); this.phoneLabel2.Items.Add("Business"); this.phoneLabel2.Items.Add("Business fax"); this.phoneLabel2.Items.Add("Home"); this.phoneLabel2.Items.Add("Mobile"); this.phoneLabel2.Items.Add("Pager"); this.phoneLabel2.Location = new System.Drawing.Point(304, 256); this.phoneLabel2.Name = "phoneLabel2"; this.helpProvider1.SetShowHelp(this.phoneLabel2, true); this.phoneLabel2.TabIndex = 19; this.phoneLabel2.SelectedItemChanged += new System.EventHandler(this.phoneLabel2_SelectedItemChanged); this.helpProvider1.SetHelpString(this.phone1, "Specifies a telephone number for this contact."); this.phone1.Location = new System.Drawing.Point(136, 256); this.phone1.Name = "phone1"; this.helpProvider1.SetShowHelp(this.phone1, true); this.phone1.Size = new System.Drawing.Size(160, 20); this.phone1.TabIndex = 18; this.phone1.Text = ""; this.phone1.TextChanged += new System.EventHandler(this.phone1_TextChanged); this.helpProvider1.SetHelpString(this.phoneLabel1, "Specifies the type for the telephone number."); this.phoneLabel1.Items.Add("Business"); this.phoneLabel1.Items.Add("Business fax"); this.phoneLabel1.Items.Add("Home"); this.phoneLabel1.Items.Add("Mobile"); this.phoneLabel1.Items.Add("Pager"); this.phoneLabel1.Location = new System.Drawing.Point(24, 256); this.phoneLabel1.Name = "phoneLabel1"; this.helpProvider1.SetShowHelp(this.phoneLabel1, true); this.phoneLabel1.Size = new System.Drawing.Size(104, 20); this.phoneLabel1.TabIndex = 17; this.phoneLabel1.SelectedItemChanged += new System.EventHandler(this.phoneLabel1_SelectedItemChanged); this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label3.Location = new System.Drawing.Point(8, 232); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(100, 16); this.label3.TabIndex = 16; this.label3.Text = "Telephone"; this.htmlMail.Location = new System.Drawing.Point(24, 192); this.htmlMail.Name = "htmlMail"; this.htmlMail.Size = new System.Drawing.Size(184, 16); this.htmlMail.TabIndex = 15; this.htmlMail.Text = "Wants to receive HTML mail"; this.helpProvider1.SetHelpString(this.email4, "Specifies an email account for the contact."); this.email4.Location = new System.Drawing.Point(408, 160); this.email4.Name = "email4"; this.helpProvider1.SetShowHelp(this.email4, true); this.email4.Size = new System.Drawing.Size(176, 20); this.email4.TabIndex = 14; this.email4.Text = ""; this.email4.TextChanged += new System.EventHandler(this.email4_TextChanged); this.email4.Leave += new System.EventHandler(this.email4_Leave); this.helpProvider1.SetHelpString(this.emailLabel4, "Specifies the type for the email account."); this.emailLabel4.Items.Add("Work"); this.emailLabel4.Items.Add("Home"); this.emailLabel4.Items.Add("Other"); this.emailLabel4.Location = new System.Drawing.Point(312, 160); this.emailLabel4.Name = "emailLabel4"; this.helpProvider1.SetShowHelp(this.emailLabel4, true); this.emailLabel4.Size = new System.Drawing.Size(88, 20); this.emailLabel4.TabIndex = 13; this.emailLabel4.SelectedItemChanged += new System.EventHandler(this.emailLabel4_SelectedItemChanged); this.helpProvider1.SetHelpString(this.email3, "Specifies an email account for the contact."); this.email3.Location = new System.Drawing.Point(120, 160); this.email3.Name = "email3"; this.helpProvider1.SetShowHelp(this.email3, true); this.email3.Size = new System.Drawing.Size(184, 20); this.email3.TabIndex = 12; this.email3.Text = ""; this.email3.TextChanged += new System.EventHandler(this.email3_TextChanged); this.email3.Leave += new System.EventHandler(this.email3_Leave); this.helpProvider1.SetHelpString(this.emailLabel3, "Specifies the type for the email account."); this.emailLabel3.Items.Add("Work"); this.emailLabel3.Items.Add("Home"); this.emailLabel3.Items.Add("Other"); this.emailLabel3.Location = new System.Drawing.Point(24, 160); this.emailLabel3.Name = "emailLabel3"; this.helpProvider1.SetShowHelp(this.emailLabel3, true); this.emailLabel3.Size = new System.Drawing.Size(88, 20); this.emailLabel3.TabIndex = 11; this.emailLabel3.SelectedItemChanged += new System.EventHandler(this.emailLabel3_SelectedItemChanged); this.helpProvider1.SetHelpString(this.email2, "Specifies an email account for the contact."); this.email2.Location = new System.Drawing.Point(408, 128); this.email2.Name = "email2"; this.helpProvider1.SetShowHelp(this.email2, true); this.email2.Size = new System.Drawing.Size(176, 20); this.email2.TabIndex = 10; this.email2.Text = ""; this.email2.TextChanged += new System.EventHandler(this.email2_TextChanged); this.email2.Leave += new System.EventHandler(this.email2_Leave); this.helpProvider1.SetHelpString(this.emailLabel2, "Specifies the type for the email account."); this.emailLabel2.Items.Add("Work"); this.emailLabel2.Items.Add("Home"); this.emailLabel2.Items.Add("Other"); this.emailLabel2.Location = new System.Drawing.Point(312, 128); this.emailLabel2.Name = "emailLabel2"; this.helpProvider1.SetShowHelp(this.emailLabel2, true); this.emailLabel2.Size = new System.Drawing.Size(88, 20); this.emailLabel2.TabIndex = 9; this.emailLabel2.SelectedItemChanged += new System.EventHandler(this.emailLabel2_SelectedItemChanged); this.helpProvider1.SetHelpString(this.email1, "Specifies an email account for the contact."); this.email1.Location = new System.Drawing.Point(120, 128); this.email1.Name = "email1"; this.helpProvider1.SetShowHelp(this.email1, true); this.email1.Size = new System.Drawing.Size(184, 20); this.email1.TabIndex = 8; this.email1.Text = ""; this.email1.TextChanged += new System.EventHandler(this.email1_TextChanged); this.email1.Leave += new System.EventHandler(this.email1_Leave); this.helpProvider1.SetHelpString(this.emailLabel1, "Specifies the type for the email account."); this.emailLabel1.Items.Add("Work"); this.emailLabel1.Items.Add("Home"); this.emailLabel1.Items.Add("Other"); this.emailLabel1.Location = new System.Drawing.Point(24, 128); this.emailLabel1.Name = "emailLabel1"; this.helpProvider1.SetShowHelp(this.emailLabel1, true); this.emailLabel1.Size = new System.Drawing.Size(88, 20); this.emailLabel1.TabIndex = 7; this.emailLabel1.SelectedItemChanged += new System.EventHandler(this.emailLabel1_SelectedItemChanged); this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label2.Location = new System.Drawing.Point(8, 100); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(100, 16); this.label2.TabIndex = 6; this.label2.Text = "Email"; this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.groupBox1.Location = new System.Drawing.Point(8, 88); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(584, 4); this.groupBox1.TabIndex = 5; this.groupBox1.TabStop = false; this.helpProvider1.SetHelpString(this.pictureContact, "Click here to add or change the photo for this contact."); this.pictureContact.Location = new System.Drawing.Point(16, 8); this.pictureContact.Name = "pictureContact"; this.helpProvider1.SetShowHelp(this.pictureContact, true); this.pictureContact.Size = new System.Drawing.Size(56, 70); this.pictureContact.TabIndex = 4; this.pictureContact.TabStop = false; this.pictureContact.Click += new System.EventHandler(this.pictureContact_Click); this.nickname.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.helpProvider1.SetHelpString(this.nickname, "Specifies the contact\'s nickname."); this.nickname.Location = new System.Drawing.Point(168, 48); this.nickname.Name = "nickname"; this.helpProvider1.SetShowHelp(this.nickname, true); this.nickname.Size = new System.Drawing.Size(176, 20); this.nickname.TabIndex = 3; this.nickname.Text = ""; this.label1.Location = new System.Drawing.Point(104, 48); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(100, 16); this.label1.TabIndex = 2; this.label1.Text = "Nickname:"; this.fullName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.helpProvider1.SetHelpString(this.fullName, "Specifies the contact\'s full name."); this.fullName.Location = new System.Drawing.Point(168, 16); this.fullName.Name = "fullName"; this.helpProvider1.SetShowHelp(this.fullName, true); this.fullName.Size = new System.Drawing.Size(416, 20); this.fullName.TabIndex = 1; this.fullName.Text = ""; this.fullName.TextChanged += new System.EventHandler(this.fullName_TextChanged); this.fullName.Leave += new System.EventHandler(this.fullName_Leave); this.fullNameButton.FlatStyle = System.Windows.Forms.FlatStyle.System; this.helpProvider1.SetHelpString(this.fullNameButton, "Click to view or change the contact\'s full name."); this.fullNameButton.Location = new System.Drawing.Point(80, 14); this.fullNameButton.Name = "fullNameButton"; this.helpProvider1.SetShowHelp(this.fullNameButton, true); this.fullNameButton.Size = new System.Drawing.Size(80, 23); this.fullNameButton.TabIndex = 0; this.fullNameButton.Text = "Full name..."; this.fullNameButton.Click += new System.EventHandler(this.fullNameButton_Click); this.tabPage2.Controls.Add(this.notes); this.tabPage2.Controls.Add(this.label23); this.tabPage2.Controls.Add(this.birthday); this.tabPage2.Controls.Add(this.birthdayPicker); this.tabPage2.Controls.Add(this.label21); this.tabPage2.Controls.Add(this.label20); this.tabPage2.Controls.Add(this.department); this.tabPage2.Controls.Add(this.manager); this.tabPage2.Controls.Add(this.company); this.tabPage2.Controls.Add(this.jobTitle); this.tabPage2.Controls.Add(this.label18); this.tabPage2.Controls.Add(this.label17); this.tabPage2.Controls.Add(this.profession); this.tabPage2.Controls.Add(this.label16); this.tabPage2.Controls.Add(this.label15); this.tabPage2.Controls.Add(this.label14); this.tabPage2.Controls.Add(this.label13); this.tabPage2.Controls.Add(this.webcam); this.tabPage2.Controls.Add(this.calendar); this.tabPage2.Controls.Add(this.blog); this.tabPage2.Controls.Add(this.homePage); this.tabPage2.Controls.Add(this.label12); this.tabPage2.Controls.Add(this.label11); this.tabPage2.Controls.Add(this.label10); this.tabPage2.Controls.Add(this.label9); this.tabPage2.Controls.Add(this.label8); this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Size = new System.Drawing.Size(608, 534); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "Personal Information"; this.notes.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.helpProvider1.SetHelpString(this.notes, "Specifies notes for the contact."); this.notes.Location = new System.Drawing.Point(80, 352); this.notes.Multiline = true; this.notes.Name = "notes"; this.helpProvider1.SetShowHelp(this.notes, true); this.notes.Size = new System.Drawing.Size(504, 152); this.notes.TabIndex = 25; this.notes.Text = ""; this.label23.Location = new System.Drawing.Point(24, 352); this.label23.Name = "label23"; this.label23.Size = new System.Drawing.Size(100, 16); this.label23.TabIndex = 24; this.label23.Text = "Notes:"; this.helpProvider1.SetHelpString(this.birthday, "Specifies the contact\'s birthday."); this.birthday.Location = new System.Drawing.Point(80, 320); this.birthday.Name = "birthday"; this.helpProvider1.SetShowHelp(this.birthday, true); this.birthday.Size = new System.Drawing.Size(180, 20); this.birthday.TabIndex = 22; this.birthday.Text = ""; this.birthday.Leave += new System.EventHandler(this.birthday_Leave); this.birthdayPicker.Location = new System.Drawing.Point(112, 320); this.birthdayPicker.Name = "birthdayPicker"; this.birthdayPicker.Size = new System.Drawing.Size(168, 20); this.birthdayPicker.TabIndex = 23; this.birthdayPicker.ValueChanged += new System.EventHandler(this.birthdayPicker_ValueChanged); this.label21.Location = new System.Drawing.Point(24, 320); this.label21.Name = "label21"; this.label21.Size = new System.Drawing.Size(100, 16); this.label21.TabIndex = 21; this.label21.Text = "Birthday:"; this.label20.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label20.Location = new System.Drawing.Point(16, 288); this.label20.Name = "label20"; this.label20.Size = new System.Drawing.Size(100, 16); this.label20.TabIndex = 20; this.label20.Text = "Miscellaneous"; this.helpProvider1.SetHelpString(this.department, "Specifies the contact\'s department."); this.department.Location = new System.Drawing.Point(376, 216); this.department.Name = "department"; this.helpProvider1.SetShowHelp(this.department, true); this.department.Size = new System.Drawing.Size(208, 20); this.department.TabIndex = 17; this.department.Text = ""; this.helpProvider1.SetHelpString(this.manager, "Specifies the contact\'s manager."); this.manager.Location = new System.Drawing.Point(88, 240); this.manager.Name = "manager"; this.helpProvider1.SetShowHelp(this.manager, true); this.manager.Size = new System.Drawing.Size(208, 20); this.manager.TabIndex = 19; this.manager.Text = ""; this.helpProvider1.SetHelpString(this.company, "Specifies the contact\'s company."); this.company.Location = new System.Drawing.Point(88, 216); this.company.Name = "company"; this.helpProvider1.SetShowHelp(this.company, true); this.company.Size = new System.Drawing.Size(208, 20); this.company.TabIndex = 15; this.company.Text = ""; this.helpProvider1.SetHelpString(this.jobTitle, "Specifies the contact\'s job title."); this.jobTitle.Location = new System.Drawing.Point(376, 192); this.jobTitle.Name = "jobTitle"; this.helpProvider1.SetShowHelp(this.jobTitle, true); this.jobTitle.Size = new System.Drawing.Size(208, 20); this.jobTitle.TabIndex = 13; this.jobTitle.Text = ""; this.label18.Location = new System.Drawing.Point(304, 216); this.label18.Name = "label18"; this.label18.Size = new System.Drawing.Size(72, 16); this.label18.TabIndex = 16; this.label18.Text = "Department:"; this.label17.Location = new System.Drawing.Point(304, 192); this.label17.Name = "label17"; this.label17.Size = new System.Drawing.Size(72, 16); this.label17.TabIndex = 12; this.label17.Text = "Job title:"; this.helpProvider1.SetHelpString(this.profession, "Specifies the contact\'s profession."); this.profession.Location = new System.Drawing.Point(88, 192); this.profession.Name = "profession"; this.helpProvider1.SetShowHelp(this.profession, true); this.profession.Size = new System.Drawing.Size(208, 20); this.profession.TabIndex = 11; this.profession.Text = ""; this.label16.Location = new System.Drawing.Point(24, 240); this.label16.Name = "label16"; this.label16.Size = new System.Drawing.Size(100, 16); this.label16.TabIndex = 18; this.label16.Text = "Manager:"; this.label15.Location = new System.Drawing.Point(24, 216); this.label15.Name = "label15"; this.label15.Size = new System.Drawing.Size(100, 16); this.label15.TabIndex = 14; this.label15.Text = "Company:"; this.label14.Location = new System.Drawing.Point(24, 192); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(100, 16); this.label14.TabIndex = 10; this.label14.Text = "Profession:"; this.label13.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label13.Location = new System.Drawing.Point(16, 160); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(100, 16); this.label13.TabIndex = 9; this.label13.Text = "Job"; this.webcam.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.helpProvider1.SetHelpString(this.webcam, "Specifies the address of the contact\'s web camera."); this.webcam.Location = new System.Drawing.Point(88, 120); this.webcam.Name = "webcam"; this.helpProvider1.SetShowHelp(this.webcam, true); this.webcam.Size = new System.Drawing.Size(496, 20); this.webcam.TabIndex = 8; this.webcam.Text = ""; this.calendar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.helpProvider1.SetHelpString(this.calendar, "Specifies the address of the contact\'s calendar web page."); this.calendar.Location = new System.Drawing.Point(88, 96); this.calendar.Name = "calendar"; this.helpProvider1.SetShowHelp(this.calendar, true); this.calendar.Size = new System.Drawing.Size(496, 20); this.calendar.TabIndex = 6; this.calendar.Text = ""; this.blog.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.helpProvider1.SetHelpString(this.blog, "Specifies the address of the contact\'s web log."); this.blog.Location = new System.Drawing.Point(88, 72); this.blog.Name = "blog"; this.helpProvider1.SetShowHelp(this.blog, true); this.blog.Size = new System.Drawing.Size(496, 20); this.blog.TabIndex = 4; this.blog.Text = ""; this.homePage.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.helpProvider1.SetHelpString(this.homePage, "Specifies the address of the contact\'s home web page."); this.homePage.Location = new System.Drawing.Point(88, 48); this.homePage.Name = "homePage"; this.helpProvider1.SetShowHelp(this.homePage, true); this.homePage.Size = new System.Drawing.Size(496, 20); this.homePage.TabIndex = 2; this.homePage.Text = ""; this.label12.Location = new System.Drawing.Point(24, 120); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(100, 16); this.label12.TabIndex = 7; this.label12.Text = "Webcam:"; this.label11.Location = new System.Drawing.Point(24, 96); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(100, 16); this.label11.TabIndex = 5; this.label11.Text = "Calendar:"; this.label10.Location = new System.Drawing.Point(24, 72); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(100, 16); this.label10.TabIndex = 3; this.label10.Text = "Blog:"; this.label9.Location = new System.Drawing.Point(24, 48); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(100, 16); this.label9.TabIndex = 1; this.label9.Text = "Home page:"; this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label8.Location = new System.Drawing.Point(16, 16); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(120, 16); this.label8.TabIndex = 0; this.label8.Text = "Web Addresses"; this.tabPage3.Controls.Add(this.otherCountry); this.tabPage3.Controls.Add(this.homeCountry); this.tabPage3.Controls.Add(this.workCountry); this.tabPage3.Controls.Add(this.label44); this.tabPage3.Controls.Add(this.label39); this.tabPage3.Controls.Add(this.otherState); this.tabPage3.Controls.Add(this.otherZip); this.tabPage3.Controls.Add(this.label38); this.tabPage3.Controls.Add(this.otherCity); this.tabPage3.Controls.Add(this.otherAddress2); this.tabPage3.Controls.Add(this.otherStreet); this.tabPage3.Controls.Add(this.label40); this.tabPage3.Controls.Add(this.label41); this.tabPage3.Controls.Add(this.label42); this.tabPage3.Controls.Add(this.label43); this.tabPage3.Controls.Add(this.label33); this.tabPage3.Controls.Add(this.homeState); this.tabPage3.Controls.Add(this.homeZip); this.tabPage3.Controls.Add(this.label32); this.tabPage3.Controls.Add(this.homeCity); this.tabPage3.Controls.Add(this.homeAddress2); this.tabPage3.Controls.Add(this.homeStreet); this.tabPage3.Controls.Add(this.label34); this.tabPage3.Controls.Add(this.label35); this.tabPage3.Controls.Add(this.label36); this.tabPage3.Controls.Add(this.label37); this.tabPage3.Controls.Add(this.label31); this.tabPage3.Controls.Add(this.label30); this.tabPage3.Controls.Add(this.workState); this.tabPage3.Controls.Add(this.workZip); this.tabPage3.Controls.Add(this.label29); this.tabPage3.Controls.Add(this.workCity); this.tabPage3.Controls.Add(this.workAddress2); this.tabPage3.Controls.Add(this.workStreet); this.tabPage3.Controls.Add(this.label28); this.tabPage3.Controls.Add(this.label27); this.tabPage3.Controls.Add(this.label26); this.tabPage3.Controls.Add(this.label25); this.tabPage3.Controls.Add(this.label24); this.tabPage3.Location = new System.Drawing.Point(4, 22); this.tabPage3.Name = "tabPage3"; this.tabPage3.Size = new System.Drawing.Size(608, 534); this.tabPage3.TabIndex = 2; this.tabPage3.Text = "Mailing Address"; this.helpProvider1.SetHelpString(this.otherCountry, "Specifies the country for the contact\'s alternate address."); this.otherCountry.Location = new System.Drawing.Point(392, 424); this.otherCountry.Name = "otherCountry"; this.helpProvider1.SetShowHelp(this.otherCountry, true); this.otherCountry.Size = new System.Drawing.Size(192, 21); this.otherCountry.TabIndex = 38; this.otherCountry.TextChanged += new System.EventHandler(this.otherCountry_TextChanged); this.helpProvider1.SetHelpString(this.homeCountry, "Specifies the country for the contact\'s home address."); this.homeCountry.Location = new System.Drawing.Point(392, 272); this.homeCountry.Name = "homeCountry"; this.helpProvider1.SetShowHelp(this.homeCountry, true); this.homeCountry.Size = new System.Drawing.Size(192, 21); this.homeCountry.TabIndex = 25; this.homeCountry.TextChanged += new System.EventHandler(this.homeCountry_TextChanged); this.helpProvider1.SetHelpString(this.workCountry, "Specifies the country for the contact\'s work address."); this.workCountry.Location = new System.Drawing.Point(392, 120); this.workCountry.Name = "workCountry"; this.helpProvider1.SetShowHelp(this.workCountry, true); this.workCountry.Size = new System.Drawing.Size(192, 21); this.workCountry.TabIndex = 12; this.workCountry.TextChanged += new System.EventHandler(this.workCountry_TextChanged); this.label44.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label44.Location = new System.Drawing.Point(16, 320); this.label44.Name = "label44"; this.label44.Size = new System.Drawing.Size(100, 16); this.label44.TabIndex = 26; this.label44.Text = "Other"; this.label39.Location = new System.Drawing.Point(344, 424); this.label39.Name = "label39"; this.label39.Size = new System.Drawing.Size(48, 16); this.label39.TabIndex = 37; this.label39.Text = "Country:"; this.helpProvider1.SetHelpString(this.otherState, "Specifies the state or province for the contact\'s alternate address."); this.otherState.Location = new System.Drawing.Point(96, 424); this.otherState.Name = "otherState"; this.helpProvider1.SetShowHelp(this.otherState, true); this.otherState.Size = new System.Drawing.Size(192, 20); this.otherState.TabIndex = 34; this.otherState.Text = ""; this.otherState.TextChanged += new System.EventHandler(this.otherState_TextChanged); this.helpProvider1.SetHelpString(this.otherZip, "Specifies the ZIP or postal code for the contact\'s alternate address."); this.otherZip.Location = new System.Drawing.Point(392, 400); this.otherZip.Name = "otherZip"; this.helpProvider1.SetShowHelp(this.otherZip, true); this.otherZip.Size = new System.Drawing.Size(192, 20); this.otherZip.TabIndex = 36; this.otherZip.Text = ""; this.otherZip.TextChanged += new System.EventHandler(this.otherZip_TextChanged); this.label38.Location = new System.Drawing.Point(304, 400); this.label38.Name = "label38"; this.label38.Size = new System.Drawing.Size(88, 16); this.label38.TabIndex = 35; this.label38.Text = "Zip/Postal code:"; this.helpProvider1.SetHelpString(this.otherCity, "Specifies the city for the contact\'s alternate address."); this.otherCity.Location = new System.Drawing.Point(96, 400); this.otherCity.Name = "otherCity"; this.helpProvider1.SetShowHelp(this.otherCity, true); this.otherCity.Size = new System.Drawing.Size(192, 20); this.otherCity.TabIndex = 32; this.otherCity.Text = ""; this.otherCity.TextChanged += new System.EventHandler(this.otherCity_TextChanged); this.otherAddress2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.helpProvider1.SetHelpString(this.otherAddress2, "Specifies extended information for the contact\'s alternate address."); this.otherAddress2.Location = new System.Drawing.Point(96, 376); this.otherAddress2.Name = "otherAddress2"; this.helpProvider1.SetShowHelp(this.otherAddress2, true); this.otherAddress2.Size = new System.Drawing.Size(488, 20); this.otherAddress2.TabIndex = 30; this.otherAddress2.Text = ""; this.otherAddress2.TextChanged += new System.EventHandler(this.otherAddress2_TextChanged); this.otherStreet.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.helpProvider1.SetHelpString(this.otherStreet, "Specifies the street for the contact\'s alternate address."); this.otherStreet.Location = new System.Drawing.Point(96, 352); this.otherStreet.Name = "otherStreet"; this.helpProvider1.SetShowHelp(this.otherStreet, true); this.otherStreet.Size = new System.Drawing.Size(488, 20); this.otherStreet.TabIndex = 28; this.otherStreet.Text = ""; this.otherStreet.TextChanged += new System.EventHandler(this.otherStreet_TextChanged); this.label40.Location = new System.Drawing.Point(16, 424); this.label40.Name = "label40"; this.label40.Size = new System.Drawing.Size(100, 16); this.label40.TabIndex = 33; this.label40.Text = "State/Province:"; this.label41.Location = new System.Drawing.Point(64, 400); this.label41.Name = "label41"; this.label41.Size = new System.Drawing.Size(100, 16); this.label41.TabIndex = 31; this.label41.Text = "City:"; this.label42.Location = new System.Drawing.Point(40, 376); this.label42.Name = "label42"; this.label42.Size = new System.Drawing.Size(100, 16); this.label42.TabIndex = 29; this.label42.Text = "Address2:"; this.label43.Location = new System.Drawing.Point(48, 352); this.label43.Name = "label43"; this.label43.Size = new System.Drawing.Size(100, 16); this.label43.TabIndex = 27; this.label43.Text = "Address:"; this.label33.Location = new System.Drawing.Point(344, 272); this.label33.Name = "label33"; this.label33.Size = new System.Drawing.Size(48, 16); this.label33.TabIndex = 24; this.label33.Text = "Country:"; this.helpProvider1.SetHelpString(this.homeState, "Specifies the state or province for the contact\'s home address."); this.homeState.Location = new System.Drawing.Point(96, 272); this.homeState.Name = "homeState"; this.helpProvider1.SetShowHelp(this.homeState, true); this.homeState.Size = new System.Drawing.Size(192, 20); this.homeState.TabIndex = 21; this.homeState.Text = ""; this.homeState.TextChanged += new System.EventHandler(this.homeState_TextChanged); this.helpProvider1.SetHelpString(this.homeZip, "Specifies the ZIP or postal code for the contact\'s home address."); this.homeZip.Location = new System.Drawing.Point(392, 248); this.homeZip.Name = "homeZip"; this.helpProvider1.SetShowHelp(this.homeZip, true); this.homeZip.Size = new System.Drawing.Size(192, 20); this.homeZip.TabIndex = 23; this.homeZip.Text = ""; this.homeZip.TextChanged += new System.EventHandler(this.homeZip_TextChanged); this.label32.Location = new System.Drawing.Point(304, 248); this.label32.Name = "label32"; this.label32.Size = new System.Drawing.Size(88, 16); this.label32.TabIndex = 22; this.label32.Text = "Zip/Postal code:"; this.helpProvider1.SetHelpString(this.homeCity, "Specifies the city for the contact\'s home address."); this.homeCity.Location = new System.Drawing.Point(96, 248); this.homeCity.Name = "homeCity"; this.helpProvider1.SetShowHelp(this.homeCity, true); this.homeCity.Size = new System.Drawing.Size(192, 20); this.homeCity.TabIndex = 19; this.homeCity.Text = ""; this.homeCity.TextChanged += new System.EventHandler(this.homeCity_TextChanged); this.homeAddress2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.helpProvider1.SetHelpString(this.homeAddress2, "Specifies extended information for the contact\'s home address."); this.homeAddress2.Location = new System.Drawing.Point(96, 224); this.homeAddress2.Name = "homeAddress2"; this.helpProvider1.SetShowHelp(this.homeAddress2, true); this.homeAddress2.Size = new System.Drawing.Size(488, 20); this.homeAddress2.TabIndex = 17; this.homeAddress2.Text = ""; this.homeAddress2.TextChanged += new System.EventHandler(this.homeAddress2_TextChanged); this.homeStreet.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.helpProvider1.SetHelpString(this.homeStreet, "Specifies the street for the contact\'s home address."); this.homeStreet.Location = new System.Drawing.Point(96, 200); this.homeStreet.Name = "homeStreet"; this.helpProvider1.SetShowHelp(this.homeStreet, true); this.homeStreet.Size = new System.Drawing.Size(488, 20); this.homeStreet.TabIndex = 15; this.homeStreet.Text = ""; this.homeStreet.TextChanged += new System.EventHandler(this.homeStreet_TextChanged); this.label34.Location = new System.Drawing.Point(16, 272); this.label34.Name = "label34"; this.label34.Size = new System.Drawing.Size(100, 16); this.label34.TabIndex = 20; this.label34.Text = "State/Province:"; this.label35.Location = new System.Drawing.Point(64, 248); this.label35.Name = "label35"; this.label35.Size = new System.Drawing.Size(100, 16); this.label35.TabIndex = 18; this.label35.Text = "City:"; this.label36.Location = new System.Drawing.Point(40, 224); this.label36.Name = "label36"; this.label36.Size = new System.Drawing.Size(100, 16); this.label36.TabIndex = 16; this.label36.Text = "Address2:"; this.label37.Location = new System.Drawing.Point(48, 200); this.label37.Name = "label37"; this.label37.Size = new System.Drawing.Size(100, 16); this.label37.TabIndex = 14; this.label37.Text = "Address:"; this.label31.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label31.Location = new System.Drawing.Point(16, 168); this.label31.Name = "label31"; this.label31.Size = new System.Drawing.Size(100, 16); this.label31.TabIndex = 13; this.label31.Text = "Home"; this.label30.Location = new System.Drawing.Point(344, 120); this.label30.Name = "label30"; this.label30.Size = new System.Drawing.Size(48, 16); this.label30.TabIndex = 11; this.label30.Text = "Country:"; this.helpProvider1.SetHelpString(this.workState, "Specifies the state or province for the contact\'s work address."); this.workState.Location = new System.Drawing.Point(96, 120); this.workState.Name = "workState"; this.helpProvider1.SetShowHelp(this.workState, true); this.workState.Size = new System.Drawing.Size(192, 20); this.workState.TabIndex = 8; this.workState.Text = ""; this.workState.TextChanged += new System.EventHandler(this.workState_TextChanged); this.helpProvider1.SetHelpString(this.workZip, "Specifies the ZIP or postal code for the contact\'s work address."); this.workZip.Location = new System.Drawing.Point(392, 96); this.workZip.Name = "workZip"; this.helpProvider1.SetShowHelp(this.workZip, true); this.workZip.Size = new System.Drawing.Size(192, 20); this.workZip.TabIndex = 10; this.workZip.Text = ""; this.workZip.TextChanged += new System.EventHandler(this.workZip_TextChanged); this.label29.Location = new System.Drawing.Point(304, 96); this.label29.Name = "label29"; this.label29.Size = new System.Drawing.Size(88, 16); this.label29.TabIndex = 9; this.label29.Text = "Zip/Postal code:"; this.helpProvider1.SetHelpString(this.workCity, "Specifies the city for the contact\'s work address."); this.workCity.Location = new System.Drawing.Point(96, 96); this.workCity.Name = "workCity"; this.helpProvider1.SetShowHelp(this.workCity, true); this.workCity.Size = new System.Drawing.Size(192, 20); this.workCity.TabIndex = 6; this.workCity.Text = ""; this.workCity.TextChanged += new System.EventHandler(this.workCity_TextChanged); this.workAddress2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.helpProvider1.SetHelpString(this.workAddress2, "Specifies extended information for the contact\'s work address."); this.workAddress2.Location = new System.Drawing.Point(96, 72); this.workAddress2.Name = "workAddress2"; this.helpProvider1.SetShowHelp(this.workAddress2, true); this.workAddress2.Size = new System.Drawing.Size(488, 20); this.workAddress2.TabIndex = 4; this.workAddress2.Text = ""; this.workAddress2.TextChanged += new System.EventHandler(this.workAddress2_TextChanged); this.workStreet.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.helpProvider1.SetHelpString(this.workStreet, "Specifies the street for the contact\'s work address."); this.workStreet.Location = new System.Drawing.Point(96, 48); this.workStreet.Name = "workStreet"; this.helpProvider1.SetShowHelp(this.workStreet, true); this.workStreet.Size = new System.Drawing.Size(488, 20); this.workStreet.TabIndex = 2; this.workStreet.Text = ""; this.workStreet.TextChanged += new System.EventHandler(this.workStreet_TextChanged); this.label28.Location = new System.Drawing.Point(16, 120); this.label28.Name = "label28"; this.label28.Size = new System.Drawing.Size(100, 16); this.label28.TabIndex = 7; this.label28.Text = "State/Province:"; this.label27.Location = new System.Drawing.Point(64, 96); this.label27.Name = "label27"; this.label27.Size = new System.Drawing.Size(100, 16); this.label27.TabIndex = 5; this.label27.Text = "City:"; this.label26.Location = new System.Drawing.Point(40, 72); this.label26.Name = "label26"; this.label26.Size = new System.Drawing.Size(100, 16); this.label26.TabIndex = 3; this.label26.Text = "Address2:"; this.label25.Location = new System.Drawing.Point(48, 48); this.label25.Name = "label25"; this.label25.Size = new System.Drawing.Size(100, 16); this.label25.TabIndex = 1; this.label25.Text = "Address:"; this.label24.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label24.Location = new System.Drawing.Point(16, 16); this.label24.Name = "label24"; this.label24.Size = new System.Drawing.Size(100, 16); this.label24.TabIndex = 0; this.label24.Text = "Work"; this.cancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancel.FlatStyle = System.Windows.Forms.FlatStyle.System; this.cancel.Location = new System.Drawing.Point(544, 576); this.cancel.Name = "cancel"; this.cancel.TabIndex = 1; this.cancel.Text = "Cancel"; this.ok.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.ok.DialogResult = System.Windows.Forms.DialogResult.OK; this.ok.FlatStyle = System.Windows.Forms.FlatStyle.System; this.ok.Location = new System.Drawing.Point(464, 576); this.ok.Name = "ok"; this.ok.TabIndex = 2; this.ok.Text = "OK"; this.ok.Click += new System.EventHandler(this.ok_Click); this.AcceptButton = this.ok; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.CancelButton = this.cancel; this.ClientSize = new System.Drawing.Size(632, 606); this.Controls.Add(this.ok); this.Controls.Add(this.cancel); this.Controls.Add(this.tabControl1); this.HelpButton = true; this.MaximizeBox = false; this.MinimizeBox = false; this.MinimumSize = new System.Drawing.Size(640, 640); this.Name = "ContactEditor"; this.ShowInTaskbar = false; this.Text = "Contact Editor"; this.SizeChanged += new System.EventHandler(this.ContactEditor_SizeChanged); this.Load += new System.EventHandler(this.ContactEditor_Load); this.Activated += new System.EventHandler(this.ContactEditor_Activated); this.tabControl1.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.tabPage2.ResumeLayout(false); this.tabPage3.ResumeLayout(false); this.ResumeLayout(false); }
public void TestBindingToDomainUpDown() { DomainUpDown control = new DomainUpDown(); IBusinessObject obj = new BusinessObject(); using(BindingScope scope = new BindingScope()) { IBusinessObject bindableSource = scope.CreateSource(obj); if(control is Control) ((Control)control).CreateControl(); control.BindingContext = new BindingContext(); DomainUpDown bindableTarget = scope.CreateTarget(control); int dataBindingsBeforeText = control.DataBindings.Count; scope.Bind(bindableSource.Name).To(bindableTarget.Text); Assert.AreEqual(dataBindingsBeforeText + 1, control.DataBindings.Count); Assert.AreEqual(control.Text, obj.Name); obj.ChangeName(); Assert.AreEqual(control.Text, obj.Name); int dataBindingsBeforeAccessibleDefaultActionDescription = control.DataBindings.Count; scope.Bind(bindableSource.Name).To(bindableTarget.AccessibleDefaultActionDescription); Assert.AreEqual(dataBindingsBeforeAccessibleDefaultActionDescription + 1, control.DataBindings.Count); Assert.AreEqual(control.AccessibleDefaultActionDescription, obj.Name); obj.ChangeName(); Assert.AreEqual(control.AccessibleDefaultActionDescription, obj.Name); int dataBindingsBeforeAccessibleDescription = control.DataBindings.Count; scope.Bind(bindableSource.Name).To(bindableTarget.AccessibleDescription); Assert.AreEqual(dataBindingsBeforeAccessibleDescription + 1, control.DataBindings.Count); Assert.AreEqual(control.AccessibleDescription, obj.Name); obj.ChangeName(); Assert.AreEqual(control.AccessibleDescription, obj.Name); int dataBindingsBeforeAccessibleName = control.DataBindings.Count; scope.Bind(bindableSource.Name).To(bindableTarget.AccessibleName); Assert.AreEqual(dataBindingsBeforeAccessibleName + 1, control.DataBindings.Count); Assert.AreEqual(control.AccessibleName, obj.Name); obj.ChangeName(); Assert.AreEqual(control.AccessibleName, obj.Name); int dataBindingsBeforeLeft = control.DataBindings.Count; scope.Bind(bindableSource.IntValue).To(bindableTarget.Left); Assert.AreEqual(dataBindingsBeforeLeft + 1, control.DataBindings.Count); Assert.AreEqual(control.Left, obj.IntValue); obj.ChangeIntValue(); Assert.AreEqual(control.Left, obj.IntValue); int dataBindingsBeforeName = control.DataBindings.Count; scope.Bind(bindableSource.Name).To(bindableTarget.Name); Assert.AreEqual(dataBindingsBeforeName + 1, control.DataBindings.Count); Assert.AreEqual(control.Name, obj.Name); obj.ChangeName(); Assert.AreEqual(control.Name, obj.Name); int dataBindingsBeforeTabIndex = control.DataBindings.Count; scope.Bind(bindableSource.IntValue).To(bindableTarget.TabIndex); Assert.AreEqual(dataBindingsBeforeTabIndex + 1, control.DataBindings.Count); Assert.AreEqual(control.TabIndex, obj.IntValue); obj.ChangeIntValue(); Assert.AreEqual(control.TabIndex, obj.IntValue); int dataBindingsBeforeTop = control.DataBindings.Count; scope.Bind(bindableSource.IntValue).To(bindableTarget.Top); Assert.AreEqual(dataBindingsBeforeTop + 1, control.DataBindings.Count); Assert.AreEqual(control.Top, obj.IntValue); obj.ChangeIntValue(); Assert.AreEqual(control.Top, obj.IntValue); int dataBindingsBeforeWidth = control.DataBindings.Count; scope.Bind(bindableSource.IntValue).To(bindableTarget.Width); Assert.AreEqual(dataBindingsBeforeWidth + 1, control.DataBindings.Count); Assert.AreEqual(control.Width, obj.IntValue); obj.ChangeIntValue(); Assert.AreEqual(control.Width, obj.IntValue); } }
public DomainUpDownProvider (DomainUpDown upDown) : base (upDown) { this.control = upDown; }
public void update(DomainUpDown box_red, DomainUpDown box_green, DomainUpDown box_blue, DomainUpDown box_alpha) { double value; Red = (Double.TryParse(box_red.Text, out value)) ? value : 0; Green = (Double.TryParse(box_green.Text, out value)) ? value : 0; Blue = (Double.TryParse(box_blue.Text, out value)) ? value : 0; Alpha = (Double.TryParse(box_alpha.Text, out value)) ? value : 0; }
void InitializeComponents() { cmbForeColor = (ComboBox)ControlDictionary["cmbForeColor"]; lstElements = (ListBox)ControlDictionary["lstElements"]; cbBold = (CheckBox)ControlDictionary["cbBold"]; cbItalic = (CheckBox)ControlDictionary["cbItalic"]; cbUnderline = (CheckBox)ControlDictionary["cbUnderline"]; lblOffsetPreview = (Label)ControlDictionary["lblOffsetPreview"]; lblDataPreview = (Label)ControlDictionary["lblDataPreview"]; btnSelectFont = (Button)ControlDictionary["btnSelectFont"]; nUDBytesPerLine = (NumericUpDown)ControlDictionary["nUDBytesPerLine"]; dUDViewModes = (DomainUpDown)ControlDictionary["dUDViewModes"]; cbFitToWidth = (CheckBox)ControlDictionary["cbFitToWidth"]; txtExtensions = (TextBox)ControlDictionary["txtExtensions"]; fdSelectFont = new FontDialog(); // Initialize FontDialog fdSelectFont.FontMustExist = true; fdSelectFont.FixedPitchOnly = true; fdSelectFont.ShowEffects = false; fdSelectFont.ShowColor = false; cmbForeColor.Items.Add(StringParser.Parse("${res:Global.FontStyle.CustomColor}")); foreach (Color c in Colors) { cmbForeColor.Items.Add(c.Name); } lstElements.Items.Add(StringParser.Parse("${res:AddIns.HexEditor.Display.Elements.Offset}")); lstElements.Items.Add(StringParser.Parse("${res:AddIns.HexEditor.Display.Elements.Data}")); lstElements.SetSelected(0, true); foreach (string s in HexEditor.Util.ViewMode.GetNames(typeof(HexEditor.Util.ViewMode))) { dUDViewModes.Items.Add(s); } btnSelectFont.Click += new EventHandler(this.btnSelectFontClick); cmbForeColor.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.cmbForeColorDrawItem); cmbForeColor.SelectedValueChanged += new EventHandler(this.cmbForeColorSelectedValueChanged); cmbForeColor.DropDown += cmbForeColorDropDown; cbBold.CheckedChanged += new EventHandler(this.cbBoldCheckedChanged); cbItalic.CheckedChanged += new EventHandler(this.cbItalicCheckedChanged); cbUnderline.CheckedChanged += new EventHandler(this.cbUnderlineCheckedChanged); lstElements.SelectedValueChanged += new EventHandler(this.lstElementsSelectedValueChanged); }
/// <summary> /// �����֧������ķ��� - ��Ҫʹ�ô���༭���� /// �˷��������ݡ� /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1)); System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem(new string[] { "USkinForDotNet", "NEEMedia", "*****@*****.**", "www.neemedia.com", "USkin Is good for dot net"}, -1); System.Windows.Forms.ListViewItem listViewItem2 = new System.Windows.Forms.ListViewItem(new string[] { "USkinForDotNet", "NEEMedia", "*****@*****.**", "www.neemedia.com", "USkin Is good for dot net"}, -1); System.Windows.Forms.ListViewItem listViewItem3 = new System.Windows.Forms.ListViewItem(new string[] { "USkinForDotNet", "NEEMedia", "*****@*****.**", "www.neemedia.com", "USkin Is good for dot net"}, -1); System.Windows.Forms.ListViewItem listViewItem4 = new System.Windows.Forms.ListViewItem(new string[] { "USkinForDotNet", "NEEMedia", "*****@*****.**", "www.neemedia.com", "USkin Is good for dot net"}, -1); System.Windows.Forms.ListViewItem listViewItem5 = new System.Windows.Forms.ListViewItem(new string[] { "USkinForDotNet", "NEEMedia", "*****@*****.**", "www.neemedia.com", "USkin Is good for dot net"}, -1); System.Windows.Forms.ListViewItem listViewItem6 = new System.Windows.Forms.ListViewItem(new string[] { "USkinForDotNet", "NEEMedia", "*****@*****.**", "www.neemedia.com", "USkin Is good for dot net"}, -1); System.Windows.Forms.ListViewItem listViewItem7 = new System.Windows.Forms.ListViewItem(new string[] { "USkinForDotNet", "NEEMedia", "*****@*****.**", "www.neemedia.com", "USkin Is good for dot net"}, -1); System.Windows.Forms.ListViewItem listViewItem8 = new System.Windows.Forms.ListViewItem(new string[] { "USkinForDotNet", "NEEMedia", "*****@*****.**", "www.neemedia.com", "USkin Is good for dot net"}, -1); this.tabControl1 = new System.Windows.Forms.TabControl(); this.NormalControl = new System.Windows.Forms.TabPage(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.checkedListBox1 = new System.Windows.Forms.CheckedListBox(); this.listBox1 = new System.Windows.Forms.ListBox(); this.textBox2 = new System.Windows.Forms.TextBox(); this.textBox1 = new System.Windows.Forms.TextBox(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.comboBox4 = new System.Windows.Forms.ComboBox(); this.comboBox3 = new System.Windows.Forms.ComboBox(); this.comboBox2 = new System.Windows.Forms.ComboBox(); this.comboBox1 = new System.Windows.Forms.ComboBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.button5 = new System.Windows.Forms.Button(); this.button4 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.radioButton1 = new System.Windows.Forms.RadioButton(); this.checkBox1 = new System.Windows.Forms.CheckBox(); this.button1 = new System.Windows.Forms.Button(); this.tabPage3 = new System.Windows.Forms.TabPage(); this.groupBox6 = new System.Windows.Forms.GroupBox(); this.panel2 = new System.Windows.Forms.Panel(); this.panel1 = new System.Windows.Forms.Panel(); this.groupBox5 = new System.Windows.Forms.GroupBox(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.groupBox4 = new System.Windows.Forms.GroupBox(); this.linkLabel1 = new System.Windows.Forms.LinkLabel(); this.label1 = new System.Windows.Forms.Label(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.treeView1 = new System.Windows.Forms.TreeView(); this.listView1 = new System.Windows.Forms.ListView(); this.columnHeader1 = new System.Windows.Forms.ColumnHeader(); this.columnHeader2 = new System.Windows.Forms.ColumnHeader(); this.columnHeader3 = new System.Windows.Forms.ColumnHeader(); this.columnHeader4 = new System.Windows.Forms.ColumnHeader(); this.columnHeader5 = new System.Windows.Forms.ColumnHeader(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.monthCalendar1 = new System.Windows.Forms.MonthCalendar(); this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker(); this.tabPage4 = new System.Windows.Forms.TabPage(); this.trackBar2 = new System.Windows.Forms.TrackBar(); this.vScrollBar1 = new System.Windows.Forms.VScrollBar(); this.richTextBox1 = new System.Windows.Forms.RichTextBox(); this.hScrollBar1 = new System.Windows.Forms.HScrollBar(); this.progressBar1 = new System.Windows.Forms.ProgressBar(); this.trackBar1 = new System.Windows.Forms.TrackBar(); this.numericUpDown1 = new System.Windows.Forms.NumericUpDown(); this.domainUpDown1 = new System.Windows.Forms.DomainUpDown(); this.printDialog1 = new System.Windows.Forms.PrintDialog(); this.colorDialog1 = new System.Windows.Forms.ColorDialog(); this.fontDialog1 = new System.Windows.Forms.FontDialog(); this.folderBrowserDialog1 = new System.Windows.Forms.FolderBrowserDialog(); this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.toolBar1 = new System.Windows.Forms.ToolBar(); this.btnNew = new System.Windows.Forms.ToolBarButton(); this.btnOpen = new System.Windows.Forms.ToolBarButton(); this.btnSave = new System.Windows.Forms.ToolBarButton(); this.btnHelp = new System.Windows.Forms.ToolBarButton(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.mainMenu1 = new System.Windows.Forms.MainMenu(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.menuItem2 = new System.Windows.Forms.MenuItem(); this.menuItem3 = new System.Windows.Forms.MenuItem(); this.menuItem4 = new System.Windows.Forms.MenuItem(); this.menuItem5 = new System.Windows.Forms.MenuItem(); this.menuItem6 = new System.Windows.Forms.MenuItem(); this.menuItem7 = new System.Windows.Forms.MenuItem(); this.menuItem8 = new System.Windows.Forms.MenuItem(); this.menuItem9 = new System.Windows.Forms.MenuItem(); this.menuItem10 = new System.Windows.Forms.MenuItem(); this.menuItem11 = new System.Windows.Forms.MenuItem(); this.button6 = new System.Windows.Forms.Button(); this.linkLabel2 = new System.Windows.Forms.LinkLabel(); this.pageSetupDialog1 = new System.Windows.Forms.PageSetupDialog(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel(); this.tabControl1.SuspendLayout(); this.NormalControl.SuspendLayout(); this.groupBox3.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox1.SuspendLayout(); this.tabPage3.SuspendLayout(); this.groupBox6.SuspendLayout(); this.groupBox5.SuspendLayout(); this.groupBox4.SuspendLayout(); this.tabPage1.SuspendLayout(); this.tabPage2.SuspendLayout(); this.tabPage4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.trackBar2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); this.SuspendLayout(); // // tabControl1 // this.tabControl1.Controls.Add(this.NormalControl); this.tabControl1.Controls.Add(this.tabPage3); this.tabControl1.Controls.Add(this.tabPage1); this.tabControl1.Controls.Add(this.tabPage2); this.tabControl1.Controls.Add(this.tabPage4); this.tabControl1.Location = new System.Drawing.Point(8, 32); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(496, 296); this.tabControl1.TabIndex = 0; // // NormalControl // this.NormalControl.Controls.Add(this.groupBox3); this.NormalControl.Controls.Add(this.groupBox2); this.NormalControl.Controls.Add(this.groupBox1); this.NormalControl.Location = new System.Drawing.Point(4, 21); this.NormalControl.Name = "NormalControl"; this.NormalControl.Size = new System.Drawing.Size(488, 271); this.NormalControl.TabIndex = 0; this.NormalControl.Text = "NormalControl"; // // groupBox3 // this.groupBox3.Controls.Add(this.checkedListBox1); this.groupBox3.Controls.Add(this.listBox1); this.groupBox3.Controls.Add(this.textBox2); this.groupBox3.Controls.Add(this.textBox1); this.groupBox3.FlatStyle = System.Windows.Forms.FlatStyle.System; this.groupBox3.Location = new System.Drawing.Point(328, 8); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(152, 248); this.groupBox3.TabIndex = 2; this.groupBox3.TabStop = false; this.groupBox3.Text = "Edit&ListBox"; // // checkedListBox1 // this.checkedListBox1.Items.AddRange(new object[] { "Line 1", "Line 2", "Line 3", "Line 4", "Line 5", "Line 6", "Line 7", "Line 8", "Line 9"}); this.checkedListBox1.Location = new System.Drawing.Point(8, 160); this.checkedListBox1.Name = "checkedListBox1"; this.checkedListBox1.Size = new System.Drawing.Size(136, 84); this.checkedListBox1.TabIndex = 3; // // listBox1 // this.listBox1.ItemHeight = 12; this.listBox1.Items.AddRange(new object[] { "Line 1", "Line 2", "Line 3", "Line 4", "Line 5", "Line 6", "Line 7", "Line 8", "Line 9"}); this.listBox1.Location = new System.Drawing.Point(8, 88); this.listBox1.Name = "listBox1"; this.listBox1.Size = new System.Drawing.Size(136, 64); this.listBox1.TabIndex = 2; // // textBox2 // this.textBox2.Enabled = false; this.textBox2.Location = new System.Drawing.Point(8, 56); this.textBox2.Name = "textBox2"; this.textBox2.Size = new System.Drawing.Size(136, 21); this.textBox2.TabIndex = 1; this.textBox2.Text = "textBox2"; // // textBox1 // this.textBox1.Location = new System.Drawing.Point(8, 24); this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(136, 21); this.textBox1.TabIndex = 0; this.textBox1.Text = "textBox1"; // // groupBox2 // this.groupBox2.Controls.Add(this.comboBox4); this.groupBox2.Controls.Add(this.comboBox3); this.groupBox2.Controls.Add(this.comboBox2); this.groupBox2.Controls.Add(this.comboBox1); this.groupBox2.FlatStyle = System.Windows.Forms.FlatStyle.System; this.groupBox2.Location = new System.Drawing.Point(160, 8); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(160, 248); this.groupBox2.TabIndex = 1; this.groupBox2.TabStop = false; this.groupBox2.Text = "ComboBox"; // // comboBox4 // this.comboBox4.Items.AddRange(new object[] { "Line 1", "Line 2", "Line 3", "Line 4", "Line 5", "Line 6", "Line 7", "Line 8", "Line 9"}); this.comboBox4.Location = new System.Drawing.Point(8, 56); this.comboBox4.Name = "comboBox4"; this.comboBox4.Size = new System.Drawing.Size(144, 20); this.comboBox4.TabIndex = 3; this.comboBox4.Text = "comboBox4"; // // comboBox3 // this.comboBox3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.Simple; this.comboBox3.Items.AddRange(new object[] { "Line 1", "Line 2", "Line 3", "Line 4", "Line 5", "Line 6", "Line 7", "Line 8", "Line 9"}); this.comboBox3.Location = new System.Drawing.Point(8, 120); this.comboBox3.Name = "comboBox3"; this.comboBox3.Size = new System.Drawing.Size(144, 120); this.comboBox3.TabIndex = 2; this.comboBox3.Text = "comboBox3"; // // comboBox2 // this.comboBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBox2.Items.AddRange(new object[] { "Line 1", "Line 2", "Line 3", "Line 4", "Line 5", "Line 6", "Line 7", "Line 8", "Line 9"}); this.comboBox2.Location = new System.Drawing.Point(8, 88); this.comboBox2.Name = "comboBox2"; this.comboBox2.Size = new System.Drawing.Size(144, 20); this.comboBox2.TabIndex = 1; // // comboBox1 // this.comboBox1.Items.AddRange(new object[] { "Line 1", "Line 2", "Line 3", "Line 4", "Line 5", "Line 6", "Line 7", "Line 8", "Line 9"}); this.comboBox1.Location = new System.Drawing.Point(8, 24); this.comboBox1.Name = "comboBox1"; this.comboBox1.Size = new System.Drawing.Size(144, 20); this.comboBox1.TabIndex = 0; this.comboBox1.Text = "comboBox1"; // // groupBox1 // this.groupBox1.Controls.Add(this.button5); this.groupBox1.Controls.Add(this.button4); this.groupBox1.Controls.Add(this.button3); this.groupBox1.Controls.Add(this.button2); this.groupBox1.Controls.Add(this.radioButton1); this.groupBox1.Controls.Add(this.checkBox1); this.groupBox1.Controls.Add(this.button1); this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.System; this.groupBox1.Location = new System.Drawing.Point(8, 8); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(144, 248); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "Button"; // // button5 // this.button5.FlatStyle = System.Windows.Forms.FlatStyle.System; this.button5.Location = new System.Drawing.Point(16, 120); this.button5.Name = "button5"; this.button5.Size = new System.Drawing.Size(112, 24); this.button5.TabIndex = 6; this.button5.Text = "FolderDialog"; this.button5.Click += new System.EventHandler(this.button5_Click); // // button4 // this.button4.FlatStyle = System.Windows.Forms.FlatStyle.System; this.button4.Location = new System.Drawing.Point(16, 216); this.button4.Name = "button4"; this.button4.Size = new System.Drawing.Size(112, 24); this.button4.TabIndex = 5; this.button4.Text = "PrintDialog"; this.button4.Click += new System.EventHandler(this.button4_Click); // // button3 // this.button3.FlatStyle = System.Windows.Forms.FlatStyle.System; this.button3.Location = new System.Drawing.Point(16, 184); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(112, 24); this.button3.TabIndex = 4; this.button3.Text = "ColorDialog"; this.button3.Click += new System.EventHandler(this.button3_Click); // // button2 // this.button2.FlatStyle = System.Windows.Forms.FlatStyle.System; this.button2.Location = new System.Drawing.Point(16, 152); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(112, 24); this.button2.TabIndex = 3; this.button2.Text = "FileDialog"; this.button2.Click += new System.EventHandler(this.button2_Click); // // radioButton1 // this.radioButton1.FlatStyle = System.Windows.Forms.FlatStyle.System; this.radioButton1.Location = new System.Drawing.Point(16, 88); this.radioButton1.Name = "radioButton1"; this.radioButton1.Size = new System.Drawing.Size(112, 24); this.radioButton1.TabIndex = 2; this.radioButton1.Text = "radioButton1"; // // checkBox1 // this.checkBox1.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkBox1.Location = new System.Drawing.Point(16, 56); this.checkBox1.Name = "checkBox1"; this.checkBox1.Size = new System.Drawing.Size(112, 24); this.checkBox1.TabIndex = 1; this.checkBox1.Text = "checkBox1"; // // button1 // this.button1.FlatStyle = System.Windows.Forms.FlatStyle.System; this.button1.Location = new System.Drawing.Point(16, 24); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(112, 24); this.button1.TabIndex = 0; this.button1.Text = "PrintPreview"; this.button1.Click += new System.EventHandler(this.button1_Click); // // tabPage3 // this.tabPage3.Controls.Add(this.groupBox6); this.tabPage3.Controls.Add(this.groupBox5); this.tabPage3.Controls.Add(this.groupBox4); this.tabPage3.Location = new System.Drawing.Point(4, 21); this.tabPage3.Name = "tabPage3"; this.tabPage3.Size = new System.Drawing.Size(488, 271); this.tabPage3.TabIndex = 3; this.tabPage3.Text = "Picture&Label"; // // groupBox6 // this.groupBox6.Controls.Add(this.panel2); this.groupBox6.Controls.Add(this.panel1); this.groupBox6.FlatStyle = System.Windows.Forms.FlatStyle.System; this.groupBox6.Location = new System.Drawing.Point(184, 8); this.groupBox6.Name = "groupBox6"; this.groupBox6.Size = new System.Drawing.Size(296, 88); this.groupBox6.TabIndex = 2; this.groupBox6.TabStop = false; this.groupBox6.Text = "Pan"; // // panel2 // this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel2.Location = new System.Drawing.Point(152, 24); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(136, 56); this.panel2.TabIndex = 1; // // panel1 // this.panel1.BackColor = System.Drawing.Color.OrangeRed; this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel1.Location = new System.Drawing.Point(8, 24); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(128, 56); this.panel1.TabIndex = 0; // // groupBox5 // this.groupBox5.Controls.Add(this.pictureBox1); this.groupBox5.FlatStyle = System.Windows.Forms.FlatStyle.System; this.groupBox5.Location = new System.Drawing.Point(8, 104); this.groupBox5.Name = "groupBox5"; this.groupBox5.Size = new System.Drawing.Size(472, 160); this.groupBox5.TabIndex = 1; this.groupBox5.TabStop = false; this.groupBox5.Text = "PictureBox"; // // pictureBox1 // this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); this.pictureBox1.Location = new System.Drawing.Point(8, 24); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(456, 128); this.pictureBox1.TabIndex = 0; this.pictureBox1.TabStop = false; // // groupBox4 // this.groupBox4.Controls.Add(this.linkLabel1); this.groupBox4.Controls.Add(this.label1); this.groupBox4.FlatStyle = System.Windows.Forms.FlatStyle.System; this.groupBox4.Location = new System.Drawing.Point(8, 8); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new System.Drawing.Size(168, 88); this.groupBox4.TabIndex = 0; this.groupBox4.TabStop = false; this.groupBox4.Text = "Label"; // // linkLabel1 // this.linkLabel1.Location = new System.Drawing.Point(8, 56); this.linkLabel1.Name = "linkLabel1"; this.linkLabel1.Size = new System.Drawing.Size(152, 24); this.linkLabel1.TabIndex = 1; this.linkLabel1.TabStop = true; this.linkLabel1.Text = "Http://www.neemedia.com"; this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); // // label1 // this.label1.Location = new System.Drawing.Point(8, 24); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(136, 24); this.label1.TabIndex = 0; this.label1.Text = "Connect To NEEMedia"; // // tabPage1 // this.tabPage1.Controls.Add(this.treeView1); this.tabPage1.Controls.Add(this.listView1); this.tabPage1.Location = new System.Drawing.Point(4, 21); this.tabPage1.Name = "tabPage1"; this.tabPage1.Size = new System.Drawing.Size(488, 271); this.tabPage1.TabIndex = 1; this.tabPage1.Text = "TreeView&List"; // // treeView1 // this.treeView1.ImageIndex = -1; this.treeView1.Location = new System.Drawing.Point(8, 8); this.treeView1.Name = "treeView1"; this.treeView1.Nodes.AddRange(new System.Windows.Forms.TreeNode[] { new System.Windows.Forms.TreeNode("Node0", new System.Windows.Forms.TreeNode[] { new System.Windows.Forms.TreeNode("Node6", new System.Windows.Forms.TreeNode[] { new System.Windows.Forms.TreeNode("Node7", new System.Windows.Forms.TreeNode[] { new System.Windows.Forms.TreeNode("Node8")})})}), new System.Windows.Forms.TreeNode("Node1", new System.Windows.Forms.TreeNode[] { new System.Windows.Forms.TreeNode("Node9", new System.Windows.Forms.TreeNode[] { new System.Windows.Forms.TreeNode("Node10", new System.Windows.Forms.TreeNode[] { new System.Windows.Forms.TreeNode("Node11")})})}), new System.Windows.Forms.TreeNode("Node2", new System.Windows.Forms.TreeNode[] { new System.Windows.Forms.TreeNode("Node12", new System.Windows.Forms.TreeNode[] { new System.Windows.Forms.TreeNode("Node13", new System.Windows.Forms.TreeNode[] { new System.Windows.Forms.TreeNode("Node14")})})}), new System.Windows.Forms.TreeNode("Node3", new System.Windows.Forms.TreeNode[] { new System.Windows.Forms.TreeNode("Node15", new System.Windows.Forms.TreeNode[] { new System.Windows.Forms.TreeNode("Node16", new System.Windows.Forms.TreeNode[] { new System.Windows.Forms.TreeNode("Node17", new System.Windows.Forms.TreeNode[] { new System.Windows.Forms.TreeNode("Node18")})})})}), new System.Windows.Forms.TreeNode("Node4", new System.Windows.Forms.TreeNode[] { new System.Windows.Forms.TreeNode("Node19", new System.Windows.Forms.TreeNode[] { new System.Windows.Forms.TreeNode("Node20")})}), new System.Windows.Forms.TreeNode("Node5", new System.Windows.Forms.TreeNode[] { new System.Windows.Forms.TreeNode("Node21")})}); this.treeView1.SelectedImageIndex = -1; this.treeView1.Size = new System.Drawing.Size(192, 256); this.treeView1.TabIndex = 1; // // listView1 // this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1, this.columnHeader2, this.columnHeader3, this.columnHeader4, this.columnHeader5}); this.listView1.FullRowSelect = true; this.listView1.GridLines = true; this.listView1.Items.AddRange(new System.Windows.Forms.ListViewItem[] { listViewItem1, listViewItem2, listViewItem3, listViewItem4, listViewItem5, listViewItem6, listViewItem7, listViewItem8}); this.listView1.Location = new System.Drawing.Point(208, 8); this.listView1.Name = "listView1"; this.listView1.Size = new System.Drawing.Size(272, 256); this.listView1.TabIndex = 0; this.listView1.View = System.Windows.Forms.View.Details; // // columnHeader1 // this.columnHeader1.Text = "Title"; // // columnHeader2 // this.columnHeader2.Text = "Author"; // // columnHeader3 // this.columnHeader3.Text = "Email"; // // columnHeader4 // this.columnHeader4.Text = "URL"; // // columnHeader5 // this.columnHeader5.Text = "Description"; // // tabPage2 // this.tabPage2.Controls.Add(this.monthCalendar1); this.tabPage2.Controls.Add(this.dateTimePicker1); this.tabPage2.Location = new System.Drawing.Point(4, 21); this.tabPage2.Name = "tabPage2"; this.tabPage2.Size = new System.Drawing.Size(488, 271); this.tabPage2.TabIndex = 2; this.tabPage2.Text = "DateTime"; // // monthCalendar1 // this.monthCalendar1.Location = new System.Drawing.Point(8, 48); this.monthCalendar1.Name = "monthCalendar1"; this.monthCalendar1.TabIndex = 1; // // dateTimePicker1 // this.dateTimePicker1.Location = new System.Drawing.Point(8, 8); this.dateTimePicker1.Name = "dateTimePicker1"; this.dateTimePicker1.Size = new System.Drawing.Size(272, 21); this.dateTimePicker1.TabIndex = 0; // // tabPage4 // this.tabPage4.Controls.Add(this.trackBar2); this.tabPage4.Controls.Add(this.vScrollBar1); this.tabPage4.Controls.Add(this.richTextBox1); this.tabPage4.Controls.Add(this.hScrollBar1); this.tabPage4.Controls.Add(this.progressBar1); this.tabPage4.Controls.Add(this.trackBar1); this.tabPage4.Controls.Add(this.numericUpDown1); this.tabPage4.Controls.Add(this.domainUpDown1); this.tabPage4.Location = new System.Drawing.Point(4, 21); this.tabPage4.Name = "tabPage4"; this.tabPage4.Size = new System.Drawing.Size(488, 271); this.tabPage4.TabIndex = 4; this.tabPage4.Text = "CommonControls"; // // trackBar2 // this.trackBar2.Location = new System.Drawing.Point(408, 8); this.trackBar2.Name = "trackBar2"; this.trackBar2.Orientation = System.Windows.Forms.Orientation.Vertical; this.trackBar2.Size = new System.Drawing.Size(45, 248); this.trackBar2.TabIndex = 7; this.trackBar2.TickStyle = System.Windows.Forms.TickStyle.TopLeft; // // vScrollBar1 // this.vScrollBar1.Location = new System.Drawing.Point(464, 8); this.vScrollBar1.Name = "vScrollBar1"; this.vScrollBar1.Size = new System.Drawing.Size(16, 256); this.vScrollBar1.TabIndex = 6; // // richTextBox1 // this.richTextBox1.Location = new System.Drawing.Point(8, 184); this.richTextBox1.Name = "richTextBox1"; this.richTextBox1.Size = new System.Drawing.Size(296, 80); this.richTextBox1.TabIndex = 5; this.richTextBox1.Text = "richTextBox1"; // // hScrollBar1 // this.hScrollBar1.Location = new System.Drawing.Point(8, 152); this.hScrollBar1.Name = "hScrollBar1"; this.hScrollBar1.Size = new System.Drawing.Size(296, 24); this.hScrollBar1.TabIndex = 4; // // progressBar1 // this.progressBar1.Location = new System.Drawing.Point(8, 72); this.progressBar1.Name = "progressBar1"; this.progressBar1.Size = new System.Drawing.Size(296, 16); this.progressBar1.TabIndex = 3; // // trackBar1 // this.trackBar1.Location = new System.Drawing.Point(8, 96); this.trackBar1.Name = "trackBar1"; this.trackBar1.Size = new System.Drawing.Size(296, 45); this.trackBar1.TabIndex = 2; // // numericUpDown1 // this.numericUpDown1.Location = new System.Drawing.Point(8, 40); this.numericUpDown1.Name = "numericUpDown1"; this.numericUpDown1.Size = new System.Drawing.Size(136, 21); this.numericUpDown1.TabIndex = 1; // // domainUpDown1 // this.domainUpDown1.Location = new System.Drawing.Point(8, 8); this.domainUpDown1.Name = "domainUpDown1"; this.domainUpDown1.Size = new System.Drawing.Size(136, 21); this.domainUpDown1.TabIndex = 0; this.domainUpDown1.Text = "domainUpDown1"; // // printDialog1 // this.printDialog1.AllowSelection = true; this.printDialog1.PrintToFile = true; // // printPreviewDialog1 // this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0); this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0); this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300); this.printPreviewDialog1.Enabled = true; this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon"))); this.printPreviewDialog1.Location = new System.Drawing.Point(161, 54); this.printPreviewDialog1.MinimumSize = new System.Drawing.Size(375, 250); this.printPreviewDialog1.Name = "printPreviewDialog1"; this.printPreviewDialog1.TransparencyKey = System.Drawing.Color.Empty; this.printPreviewDialog1.Visible = false; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 363); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1, this.statusBarPanel2}); this.statusBar1.Size = new System.Drawing.Size(512, 22); this.statusBar1.TabIndex = 1; this.statusBar1.Text = "statusBar1"; // // toolBar1 // this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.btnNew, this.btnOpen, this.btnSave, this.btnHelp}); this.toolBar1.DropDownArrows = true; this.toolBar1.ImageList = this.imageList1; this.toolBar1.Location = new System.Drawing.Point(0, 0); this.toolBar1.Name = "toolBar1"; this.toolBar1.ShowToolTips = true; this.toolBar1.Size = new System.Drawing.Size(512, 28); this.toolBar1.TabIndex = 2; this.toolBar1.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick); // // btnNew // this.btnNew.ImageIndex = 3; // // btnOpen // this.btnOpen.ImageIndex = 4; // // btnSave // this.btnSave.ImageIndex = 9; // // btnHelp // this.btnHelp.ImageIndex = 11; this.btnHelp.Tag = "Help"; // // imageList1 // this.imageList1.ImageSize = new System.Drawing.Size(16, 16); this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem1, this.menuItem6, this.menuItem10}); // // menuItem1 // this.menuItem1.Index = 0; this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem2, this.menuItem3, this.menuItem4, this.menuItem5}); this.menuItem1.Text = "File"; // // menuItem2 // this.menuItem2.Index = 0; this.menuItem2.Text = "New"; // // menuItem3 // this.menuItem3.Index = 1; this.menuItem3.Text = "Open"; // // menuItem4 // this.menuItem4.Index = 2; this.menuItem4.Text = "Save"; // // menuItem5 // this.menuItem5.Index = 3; this.menuItem5.Text = "Exit"; this.menuItem5.Click += new System.EventHandler(this.menuItem5_Click); // // menuItem6 // this.menuItem6.Index = 1; this.menuItem6.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem7, this.menuItem8, this.menuItem9}); this.menuItem6.Text = "Skin"; // // menuItem7 // this.menuItem7.Index = 0; this.menuItem7.Text = "LoadSkin"; // // menuItem8 // this.menuItem8.Index = 1; this.menuItem8.Text = "ColorTheme"; this.menuItem8.Click += new System.EventHandler(this.menuItem8_Click); // // menuItem9 // this.menuItem9.Index = 2; this.menuItem9.Text = "SkinInfo"; this.menuItem9.Click += new System.EventHandler(this.menuItem9_Click); // // menuItem10 // this.menuItem10.Index = 2; this.menuItem10.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem11}); this.menuItem10.Text = "Help"; // // menuItem11 // this.menuItem11.Index = 0; this.menuItem11.Text = "Http://www.neemedia.com"; this.menuItem11.Click += new System.EventHandler(this.menuItem11_Click); // // button6 // this.button6.FlatStyle = System.Windows.Forms.FlatStyle.System; this.button6.Location = new System.Drawing.Point(416, 336); this.button6.Name = "button6"; this.button6.Size = new System.Drawing.Size(88, 24); this.button6.TabIndex = 3; this.button6.Text = "Choose Skin"; this.button6.Click += new System.EventHandler(this.button6_Click); // // linkLabel2 // this.linkLabel2.Location = new System.Drawing.Point(8, 336); this.linkLabel2.Name = "linkLabel2"; this.linkLabel2.Size = new System.Drawing.Size(400, 24); this.linkLabel2.TabIndex = 4; this.linkLabel2.TabStop = true; this.linkLabel2.Text = "Http://www.neemedia.com"; this.linkLabel2.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel2_LinkClicked); // // statusBarPanel1 // this.statusBarPanel1.Text = "statusBarPanel1"; // // statusBarPanel2 // this.statusBarPanel2.Text = "statusBarPanel2"; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(512, 385); this.Controls.Add(this.linkLabel2); this.Controls.Add(this.button6); this.Controls.Add(this.toolBar1); this.Controls.Add(this.statusBar1); this.Controls.Add(this.tabControl1); this.Menu = this.mainMenu1; this.Name = "Form1"; this.Text = "NEEMedia USkin.Net SDI Sample "; this.Load += new System.EventHandler(this.Form1_Load); this.tabControl1.ResumeLayout(false); this.NormalControl.ResumeLayout(false); this.groupBox3.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.tabPage3.ResumeLayout(false); this.groupBox6.ResumeLayout(false); this.groupBox5.ResumeLayout(false); this.groupBox4.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.tabPage2.ResumeLayout(false); this.tabPage4.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.trackBar2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); this.ResumeLayout(false); }
private void SetIMType(ref IM im, ref DomainUpDown type) { IMTypes imTypes = im.Types & IMTypes.preferred; switch (type.SelectedIndex) { case 0: im.Types = imTypes | IMTypes.work; break; case 1: im.Types = imTypes | IMTypes.home; break; default: im.Types = imTypes | IMTypes.other; break; } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.optionPagesListView = new System.Windows.Forms.ListView(); this.okButton = new System.Windows.Forms.Button(); this.cancelButton = new System.Windows.Forms.Button(); this.messageBrowsingPanel = new System.Windows.Forms.Panel(); this.selectedDisplayPropertiesLabel = new System.Windows.Forms.Label(); this.messageBrowsingColumnsSelectedListView = new System.Windows.Forms.ListView(); this.availablePropertiesLabel = new System.Windows.Forms.Label(); this.messageBrowsingColumnsAvailableListView = new System.Windows.Forms.ListView(); this.messageBrowsingDownButton = new System.Windows.Forms.Button(); this.messageBrowsingUpButton = new System.Windows.Forms.Button(); this.generalPanel = new System.Windows.Forms.Panel(); this.recentlyUsedFileListLabel2 = new System.Windows.Forms.Label(); this.recentlyUsedFileListUpDown = new System.Windows.Forms.DomainUpDown(); this.recentlyUsedFileListLabel1 = new System.Windows.Forms.Label(); this.messageBrowsingPanel.SuspendLayout(); this.generalPanel.SuspendLayout(); this.SuspendLayout(); // // optionPagesListView // this.optionPagesListView.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.optionPagesListView.Location = new System.Drawing.Point(8, 8); this.optionPagesListView.Name = "optionPagesListView"; this.optionPagesListView.Size = new System.Drawing.Size(164, 500); this.optionPagesListView.TabIndex = 0; this.optionPagesListView.UseCompatibleStateImageBehavior = false; this.optionPagesListView.View = System.Windows.Forms.View.List; this.optionPagesListView.SelectedIndexChanged += new System.EventHandler(this.optionPagesListView_SelectedIndexChanged); // // okButton // this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.okButton.FlatStyle = System.Windows.Forms.FlatStyle.System; this.okButton.Location = new System.Drawing.Point(408, 524); this.okButton.Name = "okButton"; this.okButton.Size = new System.Drawing.Size(75, 23); this.okButton.TabIndex = 1; this.okButton.Text = "&OK"; this.okButton.Click += new System.EventHandler(this.okButton_Click); // // cancelButton // this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancelButton.FlatStyle = System.Windows.Forms.FlatStyle.System; this.cancelButton.Location = new System.Drawing.Point(488, 524); this.cancelButton.Name = "cancelButton"; this.cancelButton.Size = new System.Drawing.Size(75, 23); this.cancelButton.TabIndex = 2; this.cancelButton.Text = "&Cancel"; // // messageBrowsingPanel // this.messageBrowsingPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.messageBrowsingPanel.Controls.Add(this.selectedDisplayPropertiesLabel); this.messageBrowsingPanel.Controls.Add(this.messageBrowsingColumnsSelectedListView); this.messageBrowsingPanel.Controls.Add(this.availablePropertiesLabel); this.messageBrowsingPanel.Controls.Add(this.messageBrowsingColumnsAvailableListView); this.messageBrowsingPanel.Controls.Add(this.messageBrowsingDownButton); this.messageBrowsingPanel.Controls.Add(this.messageBrowsingUpButton); this.messageBrowsingPanel.Location = new System.Drawing.Point(180, 8); this.messageBrowsingPanel.Name = "messageBrowsingPanel"; this.messageBrowsingPanel.Size = new System.Drawing.Size(384, 500); this.messageBrowsingPanel.TabIndex = 4; this.messageBrowsingPanel.Tag = ""; // // selectedDisplayPropertiesLabel // this.selectedDisplayPropertiesLabel.Location = new System.Drawing.Point(4, 4); this.selectedDisplayPropertiesLabel.Name = "selectedDisplayPropertiesLabel"; this.selectedDisplayPropertiesLabel.Size = new System.Drawing.Size(180, 16); this.selectedDisplayPropertiesLabel.TabIndex = 11; this.selectedDisplayPropertiesLabel.Text = "Selected Display Properties:"; // // messageBrowsingColumnsSelectedListView // this.messageBrowsingColumnsSelectedListView.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.messageBrowsingColumnsSelectedListView.Location = new System.Drawing.Point(4, 20); this.messageBrowsingColumnsSelectedListView.Name = "messageBrowsingColumnsSelectedListView"; this.messageBrowsingColumnsSelectedListView.Size = new System.Drawing.Size(348, 136); this.messageBrowsingColumnsSelectedListView.TabIndex = 10; this.messageBrowsingColumnsSelectedListView.UseCompatibleStateImageBehavior = false; this.messageBrowsingColumnsSelectedListView.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.messageBrowsingColumnsSelectedListView_ItemCheck); // // availablePropertiesLabel // this.availablePropertiesLabel.Location = new System.Drawing.Point(8, 164); this.availablePropertiesLabel.Name = "availablePropertiesLabel"; this.availablePropertiesLabel.Size = new System.Drawing.Size(160, 16); this.availablePropertiesLabel.TabIndex = 9; this.availablePropertiesLabel.Text = "Available Properties:"; // // messageBrowsingColumnsAvailableListView // this.messageBrowsingColumnsAvailableListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.messageBrowsingColumnsAvailableListView.Location = new System.Drawing.Point(4, 180); this.messageBrowsingColumnsAvailableListView.Name = "messageBrowsingColumnsAvailableListView"; this.messageBrowsingColumnsAvailableListView.Size = new System.Drawing.Size(376, 317); this.messageBrowsingColumnsAvailableListView.TabIndex = 8; this.messageBrowsingColumnsAvailableListView.UseCompatibleStateImageBehavior = false; this.messageBrowsingColumnsAvailableListView.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.messageBrowsingColumnsAvailableListView_ItemCheck); // // messageBrowsingDownButton // this.messageBrowsingDownButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.messageBrowsingDownButton.FlatStyle = System.Windows.Forms.FlatStyle.System; this.messageBrowsingDownButton.Font = new System.Drawing.Font("Arial", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.messageBrowsingDownButton.Location = new System.Drawing.Point(356, 51); this.messageBrowsingDownButton.Name = "messageBrowsingDownButton"; this.messageBrowsingDownButton.Size = new System.Drawing.Size(20, 17); this.messageBrowsingDownButton.TabIndex = 5; this.messageBrowsingDownButton.Text = "▼"; this.messageBrowsingDownButton.Click += new System.EventHandler(this.messageBrowsingUpDownButton_Click); // // messageBrowsingUpButton // this.messageBrowsingUpButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.messageBrowsingUpButton.FlatStyle = System.Windows.Forms.FlatStyle.System; this.messageBrowsingUpButton.Font = new System.Drawing.Font("Arial", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.messageBrowsingUpButton.ForeColor = System.Drawing.SystemColors.ControlDark; this.messageBrowsingUpButton.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.messageBrowsingUpButton.Location = new System.Drawing.Point(356, 36); this.messageBrowsingUpButton.Name = "messageBrowsingUpButton"; this.messageBrowsingUpButton.Size = new System.Drawing.Size(20, 16); this.messageBrowsingUpButton.TabIndex = 6; this.messageBrowsingUpButton.Text = "▲"; this.messageBrowsingUpButton.Click += new System.EventHandler(this.messageBrowsingUpDownButton_Click); // // generalPanel // this.generalPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.generalPanel.Controls.Add(this.recentlyUsedFileListLabel2); this.generalPanel.Controls.Add(this.recentlyUsedFileListUpDown); this.generalPanel.Controls.Add(this.recentlyUsedFileListLabel1); this.generalPanel.Location = new System.Drawing.Point(30, 191); this.generalPanel.Name = "generalPanel"; this.generalPanel.Size = new System.Drawing.Size(384, 500); this.generalPanel.TabIndex = 5; this.generalPanel.Tag = ""; // // recentlyUsedFileListLabel2 // this.recentlyUsedFileListLabel2.Location = new System.Drawing.Point(160, 16); this.recentlyUsedFileListLabel2.Name = "recentlyUsedFileListLabel2"; this.recentlyUsedFileListLabel2.Size = new System.Drawing.Size(52, 16); this.recentlyUsedFileListLabel2.TabIndex = 2; this.recentlyUsedFileListLabel2.Text = "entries"; // // recentlyUsedFileListUpDown // this.recentlyUsedFileListUpDown.Location = new System.Drawing.Point(120, 12); this.recentlyUsedFileListUpDown.Name = "recentlyUsedFileListUpDown"; this.recentlyUsedFileListUpDown.Size = new System.Drawing.Size(36, 21); this.recentlyUsedFileListUpDown.TabIndex = 1; this.recentlyUsedFileListUpDown.Text = "4"; this.recentlyUsedFileListUpDown.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.recentlyUsedFileListUpDown_KeyPress); this.recentlyUsedFileListUpDown.Validating += new System.ComponentModel.CancelEventHandler(this.recentlyUsedFileListUpDown_Validating); // // recentlyUsedFileListLabel1 // this.recentlyUsedFileListLabel1.Location = new System.Drawing.Point(8, 16); this.recentlyUsedFileListLabel1.Name = "recentlyUsedFileListLabel1"; this.recentlyUsedFileListLabel1.Size = new System.Drawing.Size(116, 16); this.recentlyUsedFileListLabel1.TabIndex = 0; this.recentlyUsedFileListLabel1.Text = "Recently used file list:"; // // OptionsDialog // this.AutoScaleBaseSize = new System.Drawing.Size(5, 14); this.ClientSize = new System.Drawing.Size(570, 555); this.Controls.Add(this.generalPanel); this.Controls.Add(this.messageBrowsingPanel); this.Controls.Add(this.cancelButton); this.Controls.Add(this.okButton); this.Controls.Add(this.optionPagesListView); this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.MaximizeBox = false; this.MinimizeBox = false; this.MinimumSize = new System.Drawing.Size(586, 594); this.Name = "OptionsDialog"; this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Options"; this.Load += new System.EventHandler(this.OptionsDialog_Load); this.messageBrowsingPanel.ResumeLayout(false); this.generalPanel.ResumeLayout(false); this.ResumeLayout(false); }
private void AddNewIMAccount(ref IM im, ref DomainUpDown labelBox, ref TextBox editBox) { im = new IM(editBox.Text, labelBox.Text); try { editBox.DataBindings.Add("Text", im, "Address"); labelBox.DataBindings.Add("Text", im, "Provider"); contact.AddInstantMessage(im); } catch (SimiasException e) { e.LogError(); MessageBox.Show("An error occurred while adding the IM address. Please see the log file for additional information.", "Add IM Address Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); } catch (Exception e) { logger.Debug(e, "Adding IM address"); MessageBox.Show("An error occurred while adding the IM address. Please see the log file for additional information.", "Add IM Address Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); } }
public DomainItemListAccessibleObject(DomainUpDown.DomainUpDownAccessibleObject parent) { this.parent = parent; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(MainWindow)); this.menuBar = new System.Windows.Forms.MainMenu(); this.menuFile = new System.Windows.Forms.MenuItem(); this.menuItemOpen = new System.Windows.Forms.MenuItem(); this.menuItem3 = new System.Windows.Forms.MenuItem(); this.menuItemExitSeparator = new System.Windows.Forms.MenuItem(); this.menuItemExit = new System.Windows.Forms.MenuItem(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.menuItem2 = new System.Windows.Forms.MenuItem(); this.label1 = new System.Windows.Forms.Label(); this.nameBox = new System.Windows.Forms.TextBox(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.nameLengthLabel = new System.Windows.Forms.Label(); this.classBox = new System.Windows.Forms.DomainUpDown(); this.classLabel = new System.Windows.Forms.Label(); this.tabPage3 = new System.Windows.Forms.TabPage(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.colorBoxPants = new System.Windows.Forms.Label(); this.label22 = new System.Windows.Forms.Label(); this.colorBoxShirt = new System.Windows.Forms.Label(); this.label23 = new System.Windows.Forms.Label(); this.label24 = new System.Windows.Forms.Label(); this.colorBoxShirtTrim = new System.Windows.Forms.Label(); this.label25 = new System.Windows.Forms.Label(); this.colorBoxShoes = new System.Windows.Forms.Label(); this.label26 = new System.Windows.Forms.Label(); this.colorBoxShoesTrim = new System.Windows.Forms.Label(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.colorBoxHair = new System.Windows.Forms.Label(); this.label17 = new System.Windows.Forms.Label(); this.label18 = new System.Windows.Forms.Label(); this.colorBoxSkin = new System.Windows.Forms.Label(); this.label19 = new System.Windows.Forms.Label(); this.colorBoxMustache = new System.Windows.Forms.Label(); this.label20 = new System.Windows.Forms.Label(); this.label21 = new System.Windows.Forms.Label(); this.colorBoxBeard = new System.Windows.Forms.Label(); this.colorBoxSideburns = new System.Windows.Forms.Label(); this.tabPage2 = new System.Windows.Forms.TabPage(); this.textBox22 = new System.Windows.Forms.TextBox(); this.textBox23 = new System.Windows.Forms.TextBox(); this.textBox24 = new System.Windows.Forms.TextBox(); this.textBox25 = new System.Windows.Forms.TextBox(); this.textBox26 = new System.Windows.Forms.TextBox(); this.textBox17 = new System.Windows.Forms.TextBox(); this.textBox18 = new System.Windows.Forms.TextBox(); this.textBox19 = new System.Windows.Forms.TextBox(); this.textBox20 = new System.Windows.Forms.TextBox(); this.textBox21 = new System.Windows.Forms.TextBox(); this.textBox12 = new System.Windows.Forms.TextBox(); this.textBox13 = new System.Windows.Forms.TextBox(); this.textBox14 = new System.Windows.Forms.TextBox(); this.textBox15 = new System.Windows.Forms.TextBox(); this.textBox16 = new System.Windows.Forms.TextBox(); this.textBox7 = new System.Windows.Forms.TextBox(); this.textBox8 = new System.Windows.Forms.TextBox(); this.textBox9 = new System.Windows.Forms.TextBox(); this.textBox10 = new System.Windows.Forms.TextBox(); this.textBox11 = new System.Windows.Forms.TextBox(); this.textBox6 = new System.Windows.Forms.TextBox(); this.textBox5 = new System.Windows.Forms.TextBox(); this.textBox4 = new System.Windows.Forms.TextBox(); this.textBox2 = new System.Windows.Forms.TextBox(); this.textBox3 = new System.Windows.Forms.TextBox(); this.label6 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); this.groupBox3.SuspendLayout(); this.tabPage3.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox1.SuspendLayout(); this.tabPage2.SuspendLayout(); this.SuspendLayout(); // // menuBar // this.menuBar.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuFile, this.menuItem1}); // // menuFile // this.menuFile.Index = 0; this.menuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItemOpen, this.menuItem3, this.menuItemExitSeparator, this.menuItemExit}); this.menuFile.Text = "File"; // // menuItemOpen // this.menuItemOpen.Index = 0; this.menuItemOpen.Text = "Open"; this.menuItemOpen.Click += new System.EventHandler(this.menuItemOpen_Click); // // menuItem3 // this.menuItem3.Index = 1; this.menuItem3.Text = "Save"; this.menuItem3.Click += new System.EventHandler(this.menuItem3_Click); // // menuItemExitSeparator // this.menuItemExitSeparator.Index = 2; this.menuItemExitSeparator.Text = "-"; // // menuItemExit // this.menuItemExit.Index = 3; this.menuItemExit.Text = "Exit"; this.menuItemExit.Click += new System.EventHandler(this.menuItemExit_Click); // // menuItem1 // this.menuItem1.Index = 1; this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem2}); this.menuItem1.Text = "Help"; // // menuItem2 // this.menuItem2.Index = 0; this.menuItem2.Text = "About"; this.menuItem2.Click += new System.EventHandler(this.menuItem2_Click); // // label1 // this.label1.Location = new System.Drawing.Point(8, 24); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(40, 24); this.label1.TabIndex = 0; this.label1.Text = "Name"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // nameBox // this.nameBox.Font = new System.Drawing.Font("Arial Unicode MS", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.nameBox.Location = new System.Drawing.Point(48, 24); this.nameBox.Name = "nameBox"; this.nameBox.Size = new System.Drawing.Size(176, 22); this.nameBox.TabIndex = 1; this.nameBox.Text = ""; this.nameBox.TextChanged += new System.EventHandler(this.nameBox_TextChanged); // // tabControl1 // this.tabControl1.Controls.Add(this.tabPage1); this.tabControl1.Controls.Add(this.tabPage3); this.tabControl1.Controls.Add(this.tabPage2); this.tabControl1.Location = new System.Drawing.Point(4, 4); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(336, 504); this.tabControl1.TabIndex = 4; // // tabPage1 // this.tabPage1.Controls.Add(this.groupBox3); this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Size = new System.Drawing.Size(328, 478); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "Character Info"; // // groupBox3 // this.groupBox3.Controls.Add(this.nameLengthLabel); this.groupBox3.Controls.Add(this.classBox); this.groupBox3.Controls.Add(this.classLabel); this.groupBox3.Controls.Add(this.label1); this.groupBox3.Controls.Add(this.nameBox); this.groupBox3.Location = new System.Drawing.Point(8, 8); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(312, 464); this.groupBox3.TabIndex = 2; this.groupBox3.TabStop = false; // // nameLengthLabel // this.nameLengthLabel.Location = new System.Drawing.Point(232, 24); this.nameLengthLabel.Name = "nameLengthLabel"; this.nameLengthLabel.Size = new System.Drawing.Size(72, 16); this.nameLengthLabel.TabIndex = 5; this.nameLengthLabel.Text = "Length: "; this.nameLengthLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // classBox // this.classBox.BackColor = System.Drawing.SystemColors.Window; this.classBox.Items.Add("Warrior"); this.classBox.Items.Add("Wizard"); this.classBox.Items.Add("Conjurer"); this.classBox.Location = new System.Drawing.Point(48, 48); this.classBox.Name = "classBox"; this.classBox.ReadOnly = true; this.classBox.TabIndex = 4; // // classLabel // this.classLabel.Location = new System.Drawing.Point(8, 48); this.classLabel.Name = "classLabel"; this.classLabel.Size = new System.Drawing.Size(40, 24); this.classLabel.TabIndex = 3; this.classLabel.Text = "Class"; this.classLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // tabPage3 // this.tabPage3.Controls.Add(this.groupBox2); this.tabPage3.Controls.Add(this.groupBox1); this.tabPage3.Location = new System.Drawing.Point(4, 22); this.tabPage3.Name = "tabPage3"; this.tabPage3.Size = new System.Drawing.Size(328, 478); this.tabPage3.TabIndex = 2; this.tabPage3.Text = "Colors"; // // groupBox2 // this.groupBox2.Controls.Add(this.colorBoxPants); this.groupBox2.Controls.Add(this.label22); this.groupBox2.Controls.Add(this.colorBoxShirt); this.groupBox2.Controls.Add(this.label23); this.groupBox2.Controls.Add(this.label24); this.groupBox2.Controls.Add(this.colorBoxShirtTrim); this.groupBox2.Controls.Add(this.label25); this.groupBox2.Controls.Add(this.colorBoxShoes); this.groupBox2.Controls.Add(this.label26); this.groupBox2.Controls.Add(this.colorBoxShoesTrim); this.groupBox2.Location = new System.Drawing.Point(8, 240); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(312, 232); this.groupBox2.TabIndex = 21; this.groupBox2.TabStop = false; this.groupBox2.Text = "Clothes"; // // colorBoxPants // this.colorBoxPants.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.colorBoxPants.Location = new System.Drawing.Point(72, 24); this.colorBoxPants.Name = "colorBoxPants"; this.colorBoxPants.Size = new System.Drawing.Size(56, 24); this.colorBoxPants.TabIndex = 5; this.colorBoxPants.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label22 // this.label22.Location = new System.Drawing.Point(8, 24); this.label22.Name = "label22"; this.label22.Size = new System.Drawing.Size(56, 24); this.label22.TabIndex = 15; this.label22.Text = "Pants"; this.label22.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // colorBoxShirt // this.colorBoxShirt.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.colorBoxShirt.Location = new System.Drawing.Point(72, 64); this.colorBoxShirt.Name = "colorBoxShirt"; this.colorBoxShirt.Size = new System.Drawing.Size(56, 24); this.colorBoxShirt.TabIndex = 6; this.colorBoxShirt.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label23 // this.label23.Location = new System.Drawing.Point(8, 64); this.label23.Name = "label23"; this.label23.Size = new System.Drawing.Size(56, 24); this.label23.TabIndex = 16; this.label23.Text = "Shirt"; this.label23.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label24 // this.label24.Location = new System.Drawing.Point(8, 104); this.label24.Name = "label24"; this.label24.Size = new System.Drawing.Size(56, 24); this.label24.TabIndex = 17; this.label24.Text = "Shirt (trim)"; this.label24.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // colorBoxShirtTrim // this.colorBoxShirtTrim.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.colorBoxShirtTrim.Location = new System.Drawing.Point(72, 104); this.colorBoxShirtTrim.Name = "colorBoxShirtTrim"; this.colorBoxShirtTrim.Size = new System.Drawing.Size(56, 24); this.colorBoxShirtTrim.TabIndex = 7; this.colorBoxShirtTrim.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label25 // this.label25.Location = new System.Drawing.Point(8, 144); this.label25.Name = "label25"; this.label25.Size = new System.Drawing.Size(56, 24); this.label25.TabIndex = 18; this.label25.Text = "Shoes"; this.label25.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // colorBoxShoes // this.colorBoxShoes.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.colorBoxShoes.Location = new System.Drawing.Point(72, 144); this.colorBoxShoes.Name = "colorBoxShoes"; this.colorBoxShoes.Size = new System.Drawing.Size(56, 24); this.colorBoxShoes.TabIndex = 8; this.colorBoxShoes.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label26 // this.label26.Location = new System.Drawing.Point(8, 184); this.label26.Name = "label26"; this.label26.Size = new System.Drawing.Size(48, 24); this.label26.TabIndex = 19; this.label26.Text = "Shoes (trim)"; this.label26.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // colorBoxShoesTrim // this.colorBoxShoesTrim.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.colorBoxShoesTrim.Location = new System.Drawing.Point(72, 184); this.colorBoxShoesTrim.Name = "colorBoxShoesTrim"; this.colorBoxShoesTrim.Size = new System.Drawing.Size(56, 24); this.colorBoxShoesTrim.TabIndex = 9; this.colorBoxShoesTrim.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // groupBox1 // this.groupBox1.Controls.Add(this.colorBoxHair); this.groupBox1.Controls.Add(this.label17); this.groupBox1.Controls.Add(this.label18); this.groupBox1.Controls.Add(this.colorBoxSkin); this.groupBox1.Controls.Add(this.label19); this.groupBox1.Controls.Add(this.colorBoxMustache); this.groupBox1.Controls.Add(this.label20); this.groupBox1.Controls.Add(this.label21); this.groupBox1.Controls.Add(this.colorBoxBeard); this.groupBox1.Controls.Add(this.colorBoxSideburns); this.groupBox1.Location = new System.Drawing.Point(8, 8); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(312, 224); this.groupBox1.TabIndex = 20; this.groupBox1.TabStop = false; this.groupBox1.Text = "Appearance"; // // colorBoxHair // this.colorBoxHair.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.colorBoxHair.Location = new System.Drawing.Point(72, 24); this.colorBoxHair.Name = "colorBoxHair"; this.colorBoxHair.Size = new System.Drawing.Size(56, 24); this.colorBoxHair.TabIndex = 0; this.colorBoxHair.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label17 // this.label17.Location = new System.Drawing.Point(8, 24); this.label17.Name = "label17"; this.label17.Size = new System.Drawing.Size(56, 24); this.label17.TabIndex = 10; this.label17.Text = "Hair"; this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label18 // this.label18.Location = new System.Drawing.Point(8, 64); this.label18.Name = "label18"; this.label18.Size = new System.Drawing.Size(56, 24); this.label18.TabIndex = 11; this.label18.Text = "Skin"; this.label18.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // colorBoxSkin // this.colorBoxSkin.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.colorBoxSkin.Location = new System.Drawing.Point(72, 64); this.colorBoxSkin.Name = "colorBoxSkin"; this.colorBoxSkin.Size = new System.Drawing.Size(56, 24); this.colorBoxSkin.TabIndex = 1; this.colorBoxSkin.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label19 // this.label19.Location = new System.Drawing.Point(8, 104); this.label19.Name = "label19"; this.label19.Size = new System.Drawing.Size(56, 24); this.label19.TabIndex = 12; this.label19.Text = "Mustache"; this.label19.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // colorBoxMustache // this.colorBoxMustache.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.colorBoxMustache.Location = new System.Drawing.Point(72, 104); this.colorBoxMustache.Name = "colorBoxMustache"; this.colorBoxMustache.Size = new System.Drawing.Size(56, 24); this.colorBoxMustache.TabIndex = 3; this.colorBoxMustache.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label20 // this.label20.Location = new System.Drawing.Point(8, 144); this.label20.Name = "label20"; this.label20.Size = new System.Drawing.Size(56, 24); this.label20.TabIndex = 13; this.label20.Text = "Beard"; this.label20.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label21 // this.label21.Location = new System.Drawing.Point(8, 184); this.label21.Name = "label21"; this.label21.Size = new System.Drawing.Size(56, 24); this.label21.TabIndex = 14; this.label21.Text = "Sideburns"; this.label21.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // colorBoxBeard // this.colorBoxBeard.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.colorBoxBeard.Location = new System.Drawing.Point(72, 144); this.colorBoxBeard.Name = "colorBoxBeard"; this.colorBoxBeard.Size = new System.Drawing.Size(56, 24); this.colorBoxBeard.TabIndex = 2; this.colorBoxBeard.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // colorBoxSideburns // this.colorBoxSideburns.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.colorBoxSideburns.Location = new System.Drawing.Point(72, 184); this.colorBoxSideburns.Name = "colorBoxSideburns"; this.colorBoxSideburns.Size = new System.Drawing.Size(56, 24); this.colorBoxSideburns.TabIndex = 4; this.colorBoxSideburns.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // tabPage2 // this.tabPage2.Controls.Add(this.textBox22); this.tabPage2.Controls.Add(this.textBox23); this.tabPage2.Controls.Add(this.textBox24); this.tabPage2.Controls.Add(this.textBox25); this.tabPage2.Controls.Add(this.textBox26); this.tabPage2.Controls.Add(this.textBox17); this.tabPage2.Controls.Add(this.textBox18); this.tabPage2.Controls.Add(this.textBox19); this.tabPage2.Controls.Add(this.textBox20); this.tabPage2.Controls.Add(this.textBox21); this.tabPage2.Controls.Add(this.textBox12); this.tabPage2.Controls.Add(this.textBox13); this.tabPage2.Controls.Add(this.textBox14); this.tabPage2.Controls.Add(this.textBox15); this.tabPage2.Controls.Add(this.textBox16); this.tabPage2.Controls.Add(this.textBox7); this.tabPage2.Controls.Add(this.textBox8); this.tabPage2.Controls.Add(this.textBox9); this.tabPage2.Controls.Add(this.textBox10); this.tabPage2.Controls.Add(this.textBox11); this.tabPage2.Controls.Add(this.textBox6); this.tabPage2.Controls.Add(this.textBox5); this.tabPage2.Controls.Add(this.textBox4); this.tabPage2.Controls.Add(this.textBox2); this.tabPage2.Controls.Add(this.textBox3); this.tabPage2.Controls.Add(this.label6); this.tabPage2.Controls.Add(this.label5); this.tabPage2.Controls.Add(this.label4); this.tabPage2.Controls.Add(this.label3); this.tabPage2.Controls.Add(this.label2); this.tabPage2.Location = new System.Drawing.Point(4, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Size = new System.Drawing.Size(328, 478); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "Spell Sets"; // // textBox22 // this.textBox22.Location = new System.Drawing.Point(264, 176); this.textBox22.Name = "textBox22"; this.textBox22.ReadOnly = true; this.textBox22.Size = new System.Drawing.Size(56, 20); this.textBox22.TabIndex = 30; this.textBox22.Text = ""; // // textBox23 // this.textBox23.Location = new System.Drawing.Point(200, 176); this.textBox23.Name = "textBox23"; this.textBox23.ReadOnly = true; this.textBox23.Size = new System.Drawing.Size(56, 20); this.textBox23.TabIndex = 29; this.textBox23.Text = ""; // // textBox24 // this.textBox24.Location = new System.Drawing.Point(136, 176); this.textBox24.Name = "textBox24"; this.textBox24.ReadOnly = true; this.textBox24.Size = new System.Drawing.Size(56, 20); this.textBox24.TabIndex = 28; this.textBox24.Text = ""; // // textBox25 // this.textBox25.Location = new System.Drawing.Point(8, 176); this.textBox25.Name = "textBox25"; this.textBox25.ReadOnly = true; this.textBox25.Size = new System.Drawing.Size(56, 20); this.textBox25.TabIndex = 27; this.textBox25.Text = ""; // // textBox26 // this.textBox26.Location = new System.Drawing.Point(72, 176); this.textBox26.Name = "textBox26"; this.textBox26.ReadOnly = true; this.textBox26.Size = new System.Drawing.Size(56, 20); this.textBox26.TabIndex = 26; this.textBox26.Text = ""; // // textBox17 // this.textBox17.Location = new System.Drawing.Point(264, 144); this.textBox17.Name = "textBox17"; this.textBox17.ReadOnly = true; this.textBox17.Size = new System.Drawing.Size(56, 20); this.textBox17.TabIndex = 25; this.textBox17.Text = ""; // // textBox18 // this.textBox18.Location = new System.Drawing.Point(200, 144); this.textBox18.Name = "textBox18"; this.textBox18.ReadOnly = true; this.textBox18.Size = new System.Drawing.Size(56, 20); this.textBox18.TabIndex = 24; this.textBox18.Text = ""; // // textBox19 // this.textBox19.Location = new System.Drawing.Point(136, 144); this.textBox19.Name = "textBox19"; this.textBox19.ReadOnly = true; this.textBox19.Size = new System.Drawing.Size(56, 20); this.textBox19.TabIndex = 23; this.textBox19.Text = ""; // // textBox20 // this.textBox20.Location = new System.Drawing.Point(8, 144); this.textBox20.Name = "textBox20"; this.textBox20.ReadOnly = true; this.textBox20.Size = new System.Drawing.Size(56, 20); this.textBox20.TabIndex = 22; this.textBox20.Text = ""; // // textBox21 // this.textBox21.Location = new System.Drawing.Point(72, 144); this.textBox21.Name = "textBox21"; this.textBox21.ReadOnly = true; this.textBox21.Size = new System.Drawing.Size(56, 20); this.textBox21.TabIndex = 21; this.textBox21.Text = ""; // // textBox12 // this.textBox12.Location = new System.Drawing.Point(264, 112); this.textBox12.Name = "textBox12"; this.textBox12.ReadOnly = true; this.textBox12.Size = new System.Drawing.Size(56, 20); this.textBox12.TabIndex = 20; this.textBox12.Text = ""; // // textBox13 // this.textBox13.Location = new System.Drawing.Point(200, 112); this.textBox13.Name = "textBox13"; this.textBox13.ReadOnly = true; this.textBox13.Size = new System.Drawing.Size(56, 20); this.textBox13.TabIndex = 19; this.textBox13.Text = ""; // // textBox14 // this.textBox14.Location = new System.Drawing.Point(136, 112); this.textBox14.Name = "textBox14"; this.textBox14.ReadOnly = true; this.textBox14.Size = new System.Drawing.Size(56, 20); this.textBox14.TabIndex = 18; this.textBox14.Text = ""; // // textBox15 // this.textBox15.Location = new System.Drawing.Point(8, 112); this.textBox15.Name = "textBox15"; this.textBox15.ReadOnly = true; this.textBox15.Size = new System.Drawing.Size(56, 20); this.textBox15.TabIndex = 17; this.textBox15.Text = ""; // // textBox16 // this.textBox16.Location = new System.Drawing.Point(72, 112); this.textBox16.Name = "textBox16"; this.textBox16.ReadOnly = true; this.textBox16.Size = new System.Drawing.Size(56, 20); this.textBox16.TabIndex = 16; this.textBox16.Text = ""; // // textBox7 // this.textBox7.Location = new System.Drawing.Point(264, 80); this.textBox7.Name = "textBox7"; this.textBox7.ReadOnly = true; this.textBox7.Size = new System.Drawing.Size(56, 20); this.textBox7.TabIndex = 15; this.textBox7.Text = ""; // // textBox8 // this.textBox8.Location = new System.Drawing.Point(200, 80); this.textBox8.Name = "textBox8"; this.textBox8.ReadOnly = true; this.textBox8.Size = new System.Drawing.Size(56, 20); this.textBox8.TabIndex = 14; this.textBox8.Text = ""; // // textBox9 // this.textBox9.Location = new System.Drawing.Point(136, 80); this.textBox9.Name = "textBox9"; this.textBox9.ReadOnly = true; this.textBox9.Size = new System.Drawing.Size(56, 20); this.textBox9.TabIndex = 13; this.textBox9.Text = ""; // // textBox10 // this.textBox10.Location = new System.Drawing.Point(8, 80); this.textBox10.Name = "textBox10"; this.textBox10.ReadOnly = true; this.textBox10.Size = new System.Drawing.Size(56, 20); this.textBox10.TabIndex = 12; this.textBox10.Text = ""; // // textBox11 // this.textBox11.Location = new System.Drawing.Point(72, 80); this.textBox11.Name = "textBox11"; this.textBox11.ReadOnly = true; this.textBox11.Size = new System.Drawing.Size(56, 20); this.textBox11.TabIndex = 11; this.textBox11.Text = ""; // // textBox6 // this.textBox6.Location = new System.Drawing.Point(264, 48); this.textBox6.Name = "textBox6"; this.textBox6.ReadOnly = true; this.textBox6.Size = new System.Drawing.Size(56, 20); this.textBox6.TabIndex = 10; this.textBox6.Text = ""; // // textBox5 // this.textBox5.Location = new System.Drawing.Point(200, 48); this.textBox5.Name = "textBox5"; this.textBox5.ReadOnly = true; this.textBox5.Size = new System.Drawing.Size(56, 20); this.textBox5.TabIndex = 9; this.textBox5.Text = ""; // // textBox4 // this.textBox4.Location = new System.Drawing.Point(136, 48); this.textBox4.Name = "textBox4"; this.textBox4.ReadOnly = true; this.textBox4.Size = new System.Drawing.Size(56, 20); this.textBox4.TabIndex = 8; this.textBox4.Text = ""; // // textBox2 // this.textBox2.Location = new System.Drawing.Point(8, 48); this.textBox2.Name = "textBox2"; this.textBox2.ReadOnly = true; this.textBox2.Size = new System.Drawing.Size(56, 20); this.textBox2.TabIndex = 7; this.textBox2.Text = ""; // // textBox3 // this.textBox3.Location = new System.Drawing.Point(72, 48); this.textBox3.Name = "textBox3"; this.textBox3.ReadOnly = true; this.textBox3.Size = new System.Drawing.Size(56, 20); this.textBox3.TabIndex = 6; this.textBox3.Text = ""; // // label6 // this.label6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label6.Location = new System.Drawing.Point(264, 24); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(56, 16); this.label6.TabIndex = 5; this.label6.Text = "G"; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label5 // this.label5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label5.Location = new System.Drawing.Point(200, 24); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(56, 16); this.label5.TabIndex = 4; this.label5.Text = "F"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label4 // this.label4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label4.Location = new System.Drawing.Point(136, 24); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(56, 16); this.label4.TabIndex = 3; this.label4.Text = "D"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label3 // this.label3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label3.Location = new System.Drawing.Point(72, 24); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(56, 16); this.label3.TabIndex = 2; this.label3.Text = "S"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label2 // this.label2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label2.Location = new System.Drawing.Point(8, 24); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(56, 16); this.label2.TabIndex = 1; this.label2.Text = "A"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // MainWindow // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(344, 515); this.Controls.Add(this.tabControl1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.Menu = this.menuBar; this.Name = "MainWindow"; this.Text = "Nox Player Editor"; this.tabControl1.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.groupBox3.ResumeLayout(false); this.tabPage3.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.tabPage2.ResumeLayout(false); this.ResumeLayout(false); }
public DomainUpDownAccessibleObject(DomainUpDown owner) : base(owner) { _owningDomainUpDown = owner; }
private void InitializeComponent() { this.lblMushrooms = new System.Windows.Forms.Label(); this.updSpiders = new System.Windows.Forms.NumericUpDown(); this.updNetterpillars = new System.Windows.Forms.NumericUpDown(); this.updGameField = new System.Windows.Forms.DomainUpDown(); this.lblNetterpillars = new System.Windows.Forms.Label(); this.lblSpiders = new System.Windows.Forms.Label(); this.cmdCancel = new System.Windows.Forms.Button(); this.lblGameField = new System.Windows.Forms.Label(); this.cmdOK = new System.Windows.Forms.Button(); this.updMushrooms = new System.Windows.Forms.DomainUpDown(); ((System.ComponentModel.ISupportInitialize)(this.updSpiders)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.updNetterpillars)).BeginInit(); this.SuspendLayout(); // // lblMushrooms // this.lblMushrooms.Location = new System.Drawing.Point(8, 48); this.lblMushrooms.Name = "lblMushrooms"; this.lblMushrooms.Size = new System.Drawing.Size(128, 32); this.lblMushrooms.TabIndex = 2; this.lblMushrooms.Text = "Mushrooms"; // // updSpiders // this.updSpiders.Location = new System.Drawing.Point(144, 128); this.updSpiders.Maximum = new System.Decimal(new int[] { 5, 0, 0, 0}); this.updSpiders.Minimum = new System.Decimal(new int[] { 1, 0, 0, 0}); this.updSpiders.Name = "updSpiders"; this.updSpiders.Size = new System.Drawing.Size(48, 34); this.updSpiders.TabIndex = 2; this.updSpiders.Value = new System.Decimal(new int[] { 1, 0, 0, 0}); // // updNetterpillars // this.updNetterpillars.Location = new System.Drawing.Point(144, 8); this.updNetterpillars.Maximum = new System.Decimal(new int[] { 4, 0, 0, 0}); this.updNetterpillars.Minimum = new System.Decimal(new int[] { 1, 0, 0, 0}); this.updNetterpillars.Name = "updNetterpillars"; this.updNetterpillars.Size = new System.Drawing.Size(48, 34); this.updNetterpillars.TabIndex = 1; this.updNetterpillars.Value = new System.Decimal(new int[] { 1, 0, 0, 0}); // // updGameField // this.updGameField.Items.Add("Big"); this.updGameField.Items.Add("Medium"); this.updGameField.Items.Add("Small"); this.updGameField.Location = new System.Drawing.Point(144, 88); this.updGameField.Name = "updGameField"; this.updGameField.TabIndex = 4; this.updGameField.Text = "Medium"; // // lblNetterpillars // this.lblNetterpillars.Location = new System.Drawing.Point(8, 8); this.lblNetterpillars.Name = "lblNetterpillars"; this.lblNetterpillars.Size = new System.Drawing.Size(144, 32); this.lblNetterpillars.TabIndex = 2; this.lblNetterpillars.Text = "Netterpillars"; // // lblSpiders // this.lblSpiders.Location = new System.Drawing.Point(8, 128); this.lblSpiders.Name = "lblSpiders"; this.lblSpiders.Size = new System.Drawing.Size(120, 29); this.lblSpiders.TabIndex = 3; this.lblSpiders.Text = "Spiders"; // // cmdCancel // this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cmdCancel.Location = new System.Drawing.Point(272, 48); this.cmdCancel.Name = "cmdCancel"; this.cmdCancel.Size = new System.Drawing.Size(80, 32); this.cmdCancel.TabIndex = 7; this.cmdCancel.Text = "Cancel"; // // lblGameField // this.lblGameField.Location = new System.Drawing.Point(8, 88); this.lblGameField.Name = "lblGameField"; this.lblGameField.Size = new System.Drawing.Size(128, 29); this.lblGameField.TabIndex = 3; this.lblGameField.Text = "Game Field"; // // cmdOK // this.cmdOK.DialogResult = System.Windows.Forms.DialogResult.OK; this.cmdOK.Location = new System.Drawing.Point(272, 8); this.cmdOK.Name = "cmdOK"; this.cmdOK.Size = new System.Drawing.Size(80, 32); this.cmdOK.TabIndex = 6; this.cmdOK.Text = "OK"; this.cmdOK.Click += new System.EventHandler(this.cmdOK_Click); // // updMushrooms // this.updMushrooms.Items.Add("Many"); this.updMushrooms.Items.Add("Just Right"); this.updMushrooms.Items.Add("Few"); this.updMushrooms.Location = new System.Drawing.Point(144, 48); this.updMushrooms.Name = "updMushrooms"; this.updMushrooms.TabIndex = 8; this.updMushrooms.Text = "Just Right"; // // Config // this.AutoScaleBaseSize = new System.Drawing.Size(10, 27); this.ClientSize = new System.Drawing.Size(368, 128); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.updMushrooms, this.updGameField, this.updSpiders, this.updNetterpillars, this.lblMushrooms, this.lblGameField, this.lblSpiders, this.lblNetterpillars, this.cmdCancel, this.cmdOK}); this.Font = new System.Drawing.Font("Comic Sans MS", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.Name = "Config"; this.Text = "Game Configuration"; this.Load += new System.EventHandler(this.Config_Load); ((System.ComponentModel.ISupportInitialize)(this.updSpiders)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.updNetterpillars)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormPerio)); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.radioRight = new System.Windows.Forms.RadioButton(); this.radioLeft = new System.Windows.Forms.RadioButton(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.butColorBleed = new System.Windows.Forms.Button(); this.butColorPus = new System.Windows.Forms.Button(); this.butColorCalculus = new System.Windows.Forms.Button(); this.butColorPlaque = new System.Windows.Forms.Button(); this.checkThree = new System.Windows.Forms.CheckBox(); this.checkGingMarg = new System.Windows.Forms.CheckBox(); this.butSave = new OpenDental.UI.Button(); this.butCalcIndex = new OpenDental.UI.Button(); this.butCalculus = new OpenDental.UI.Button(); this.butPlaque = new OpenDental.UI.Button(); this.butSkip = new OpenDental.UI.Button(); this.butCount = new OpenDental.UI.Button(); this.butPus = new OpenDental.UI.Button(); this.butBleed = new OpenDental.UI.Button(); this.but10 = new OpenDental.UI.Button(); this.colorDialog1 = new System.Windows.Forms.ColorDialog(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.textCountMob = new System.Windows.Forms.TextBox(); this.updownMob = new System.Windows.Forms.DomainUpDown(); this.textRedMob = new System.Windows.Forms.TextBox(); this.textCountFurc = new System.Windows.Forms.TextBox(); this.updownFurc = new System.Windows.Forms.DomainUpDown(); this.textRedFurc = new System.Windows.Forms.TextBox(); this.textCountCAL = new System.Windows.Forms.TextBox(); this.updownCAL = new System.Windows.Forms.DomainUpDown(); this.textRedCAL = new System.Windows.Forms.TextBox(); this.textCountGing = new System.Windows.Forms.TextBox(); this.updownGing = new System.Windows.Forms.DomainUpDown(); this.textRedGing = new System.Windows.Forms.TextBox(); this.textCountMGJ = new System.Windows.Forms.TextBox(); this.updownMGJ = new System.Windows.Forms.DomainUpDown(); this.textRedMGJ = new System.Windows.Forms.TextBox(); this.label14 = new System.Windows.Forms.Label(); this.textCountProb = new System.Windows.Forms.TextBox(); this.updownProb = new System.Windows.Forms.DomainUpDown(); this.label13 = new System.Windows.Forms.Label(); this.textRedProb = new System.Windows.Forms.TextBox(); this.label12 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label11 = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.listExams = new System.Windows.Forms.ListBox(); this.textIndexPlaque = new System.Windows.Forms.TextBox(); this.textIndexSupp = new System.Windows.Forms.TextBox(); this.textIndexBleeding = new System.Windows.Forms.TextBox(); this.textIndexCalculus = new System.Windows.Forms.TextBox(); this.pd2 = new System.Drawing.Printing.PrintDocument(); this.printDialog2 = new System.Windows.Forms.PrintDialog(); this.printPreviewDlg = new System.Windows.Forms.PrintPreviewDialog(); this.labelPlaqueHistory = new System.Windows.Forms.Label(); this.listPlaqueHistory = new System.Windows.Forms.ListBox(); this.textInputBox = new System.Windows.Forms.TextBox(); this.gridP = new OpenDental.ContrPerio(); this.butGraphical = new OpenDental.UI.Button(); this.butPrint = new OpenDental.UI.Button(); this.butAdd = new OpenDental.UI.Button(); this.but0 = new OpenDental.UI.Button(); this.butDelete = new OpenDental.UI.Button(); this.but8 = new OpenDental.UI.Button(); this.but4 = new OpenDental.UI.Button(); this.but5 = new OpenDental.UI.Button(); this.but9 = new OpenDental.UI.Button(); this.but6 = new OpenDental.UI.Button(); this.but1 = new OpenDental.UI.Button(); this.but2 = new OpenDental.UI.Button(); this.but3 = new OpenDental.UI.Button(); this.but7 = new OpenDental.UI.Button(); this.butClose = new OpenDental.UI.Button(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.radioRight); this.groupBox1.Controls.Add(this.radioLeft); this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.System; this.groupBox1.Location = new System.Drawing.Point(765, 4); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(185, 43); this.groupBox1.TabIndex = 13; this.groupBox1.TabStop = false; this.groupBox1.Text = "Auto Advance"; // // radioRight // this.radioRight.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; this.radioRight.Location = new System.Drawing.Point(10, 20); this.radioRight.Name = "radioRight"; this.radioRight.Size = new System.Drawing.Size(75, 18); this.radioRight.TabIndex = 1; this.radioRight.Text = "Right"; this.radioRight.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.radioRight.Click += new System.EventHandler(this.radioRight_Click); // // radioLeft // this.radioLeft.Checked = true; this.radioLeft.Location = new System.Drawing.Point(98, 20); this.radioLeft.Name = "radioLeft"; this.radioLeft.Size = new System.Drawing.Size(75, 18); this.radioLeft.TabIndex = 0; this.radioLeft.TabStop = true; this.radioLeft.Text = "Left"; this.radioLeft.Click += new System.EventHandler(this.radioLeft_Click); // // label2 // this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.Location = new System.Drawing.Point(136, 102); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(18, 23); this.label2.TabIndex = 35; this.label2.Text = "F"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label3 // this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label3.Location = new System.Drawing.Point(136, 562); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(18, 23); this.label3.TabIndex = 36; this.label3.Text = "F"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label4 // this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label4.Location = new System.Drawing.Point(136, 428); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(18, 23); this.label4.TabIndex = 37; this.label4.Text = "L"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label5 // this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label5.Location = new System.Drawing.Point(136, 222); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(18, 23); this.label5.TabIndex = 38; this.label5.Text = "L"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // butColorBleed // this.butColorBleed.BackColor = System.Drawing.Color.Red; this.butColorBleed.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.butColorBleed.Location = new System.Drawing.Point(850, 302); this.butColorBleed.Name = "butColorBleed"; this.butColorBleed.Size = new System.Drawing.Size(12, 24); this.butColorBleed.TabIndex = 43; this.toolTip1.SetToolTip(this.butColorBleed, "Edit Color"); this.butColorBleed.UseVisualStyleBackColor = false; this.butColorBleed.Click += new System.EventHandler(this.butColorBleed_Click); // // butColorPus // this.butColorPus.BackColor = System.Drawing.Color.Gold; this.butColorPus.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.butColorPus.Location = new System.Drawing.Point(850, 332); this.butColorPus.Name = "butColorPus"; this.butColorPus.Size = new System.Drawing.Size(12, 24); this.butColorPus.TabIndex = 50; this.toolTip1.SetToolTip(this.butColorPus, "Edit Color"); this.butColorPus.UseVisualStyleBackColor = false; this.butColorPus.Click += new System.EventHandler(this.butColorPus_Click); // // butColorCalculus // this.butColorCalculus.BackColor = System.Drawing.Color.Green; this.butColorCalculus.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.butColorCalculus.Location = new System.Drawing.Point(850, 272); this.butColorCalculus.Name = "butColorCalculus"; this.butColorCalculus.Size = new System.Drawing.Size(12, 24); this.butColorCalculus.TabIndex = 67; this.toolTip1.SetToolTip(this.butColorCalculus, "Edit Color"); this.butColorCalculus.UseVisualStyleBackColor = false; this.butColorCalculus.Click += new System.EventHandler(this.butColorCalculus_Click); // // butColorPlaque // this.butColorPlaque.BackColor = System.Drawing.Color.RoyalBlue; this.butColorPlaque.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.butColorPlaque.Location = new System.Drawing.Point(850, 242); this.butColorPlaque.Name = "butColorPlaque"; this.butColorPlaque.Size = new System.Drawing.Size(12, 24); this.butColorPlaque.TabIndex = 66; this.toolTip1.SetToolTip(this.butColorPlaque, "Edit Color"); this.butColorPlaque.UseVisualStyleBackColor = false; this.butColorPlaque.Click += new System.EventHandler(this.butColorPlaque_Click); // // checkThree // this.checkThree.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkThree.Location = new System.Drawing.Point(765, 49); this.checkThree.Name = "checkThree"; this.checkThree.Size = new System.Drawing.Size(100, 19); this.checkThree.TabIndex = 57; this.checkThree.Text = "Triplets"; this.toolTip1.SetToolTip(this.checkThree, "Enter numbers three at a time"); this.checkThree.Click += new System.EventHandler(this.checkThree_Click); // // checkGingMarg // this.checkGingMarg.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkGingMarg.Location = new System.Drawing.Point(871, 49); this.checkGingMarg.Name = "checkGingMarg"; this.checkGingMarg.Size = new System.Drawing.Size(99, 19); this.checkGingMarg.TabIndex = 80; this.checkGingMarg.Text = "Ging Marg +"; this.toolTip1.SetToolTip(this.checkGingMarg, "Or hold down the Ctrl key while you type numbers. Affects gingival margins only." + " Used to input positive gingival margins (hyperplasia)."); this.checkGingMarg.Click += new System.EventHandler(this.checkGingMarg_CheckedChanged); // // butSave // this.butSave.AdjustImageLocation = new System.Drawing.Point(0, 0); this.butSave.Autosize = true; this.butSave.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.butSave.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.butSave.CornerRadius = 4F; this.butSave.Location = new System.Drawing.Point(764, 616); this.butSave.Name = "butSave"; this.butSave.Size = new System.Drawing.Size(88, 24); this.butSave.TabIndex = 77; this.butSave.Text = "Save to Images"; this.toolTip1.SetToolTip(this.butSave, "Toggle the selected teeth as skipped"); this.butSave.Click += new System.EventHandler(this.butSave_Click); // // butCalcIndex // this.butCalcIndex.AdjustImageLocation = new System.Drawing.Point(0, 0); this.butCalcIndex.Autosize = true; this.butCalcIndex.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.butCalcIndex.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.butCalcIndex.CornerRadius = 4F; this.butCalcIndex.Location = new System.Drawing.Point(863, 215); this.butCalcIndex.Name = "butCalcIndex"; this.butCalcIndex.Size = new System.Drawing.Size(84, 24); this.butCalcIndex.TabIndex = 74; this.butCalcIndex.Text = "Calc Index %"; this.toolTip1.SetToolTip(this.butCalcIndex, "Calculate the Index for all four types"); this.butCalcIndex.Click += new System.EventHandler(this.butCalcIndex_Click); // // butCalculus // this.butCalculus.AdjustImageLocation = new System.Drawing.Point(0, 0); this.butCalculus.Autosize = true; this.butCalculus.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.butCalculus.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.butCalculus.CornerRadius = 4F; this.butCalculus.Location = new System.Drawing.Point(762, 272); this.butCalculus.Name = "butCalculus"; this.butCalculus.Size = new System.Drawing.Size(88, 24); this.butCalculus.TabIndex = 65; this.butCalculus.Text = "Calculus"; this.toolTip1.SetToolTip(this.butCalculus, "C on your keyboard"); this.butCalculus.Click += new System.EventHandler(this.butCalculus_Click); // // butPlaque // this.butPlaque.AdjustImageLocation = new System.Drawing.Point(0, 0); this.butPlaque.Autosize = true; this.butPlaque.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.butPlaque.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.butPlaque.CornerRadius = 4F; this.butPlaque.Location = new System.Drawing.Point(762, 242); this.butPlaque.Name = "butPlaque"; this.butPlaque.Size = new System.Drawing.Size(88, 24); this.butPlaque.TabIndex = 64; this.butPlaque.Text = "Plaque"; this.toolTip1.SetToolTip(this.butPlaque, "P on your keyboard"); this.butPlaque.Click += new System.EventHandler(this.butPlaque_Click); // // butSkip // this.butSkip.AdjustImageLocation = new System.Drawing.Point(0, 0); this.butSkip.Autosize = true; this.butSkip.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.butSkip.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.butSkip.CornerRadius = 4F; this.butSkip.Location = new System.Drawing.Point(764, 580); this.butSkip.Name = "butSkip"; this.butSkip.Size = new System.Drawing.Size(88, 24); this.butSkip.TabIndex = 61; this.butSkip.Text = "SkipTeeth"; this.toolTip1.SetToolTip(this.butSkip, "Toggle the selected teeth as skipped"); this.butSkip.Click += new System.EventHandler(this.butSkip_Click); // // butCount // this.butCount.AdjustImageLocation = new System.Drawing.Point(0, 0); this.butCount.Autosize = true; this.butCount.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.butCount.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.butCount.CornerRadius = 4F; this.butCount.Location = new System.Drawing.Point(92, 18); this.butCount.Name = "butCount"; this.butCount.Size = new System.Drawing.Size(84, 24); this.butCount.TabIndex = 1; this.butCount.Text = "Count Teeth"; this.toolTip1.SetToolTip(this.butCount, "Count all six types"); this.butCount.Click += new System.EventHandler(this.butCount_Click); // // butPus // this.butPus.AdjustImageLocation = new System.Drawing.Point(0, 0); this.butPus.Autosize = true; this.butPus.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.butPus.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.butPus.CornerRadius = 4F; this.butPus.Location = new System.Drawing.Point(762, 332); this.butPus.Name = "butPus"; this.butPus.Size = new System.Drawing.Size(88, 24); this.butPus.TabIndex = 42; this.butPus.Text = "Suppuration"; this.toolTip1.SetToolTip(this.butPus, "S on your keyboard"); this.butPus.Click += new System.EventHandler(this.butPus_Click); // // butBleed // this.butBleed.AdjustImageLocation = new System.Drawing.Point(0, 0); this.butBleed.Autosize = true; this.butBleed.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.butBleed.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.butBleed.CornerRadius = 4F; this.butBleed.Location = new System.Drawing.Point(762, 302); this.butBleed.Name = "butBleed"; this.butBleed.Size = new System.Drawing.Size(88, 24); this.butBleed.TabIndex = 41; this.butBleed.Text = "Bleeding"; this.toolTip1.SetToolTip(this.butBleed, "Space bar or B on your keyboard"); this.butBleed.Click += new System.EventHandler(this.butBleed_Click); // // but10 // this.but10.AdjustImageLocation = new System.Drawing.Point(0, 0); this.but10.Autosize = true; this.but10.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.but10.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.but10.CornerRadius = 4F; this.but10.Location = new System.Drawing.Point(833, 173); this.but10.Name = "but10"; this.but10.Size = new System.Drawing.Size(32, 32); this.but10.TabIndex = 40; this.but10.Text = "10"; this.toolTip1.SetToolTip(this.but10, "Or hold down the Ctrl key"); this.but10.Click += new System.EventHandler(this.but10_Click); // // groupBox2 // this.groupBox2.Controls.Add(this.textCountMob); this.groupBox2.Controls.Add(this.updownMob); this.groupBox2.Controls.Add(this.textRedMob); this.groupBox2.Controls.Add(this.textCountFurc); this.groupBox2.Controls.Add(this.updownFurc); this.groupBox2.Controls.Add(this.textRedFurc); this.groupBox2.Controls.Add(this.textCountCAL); this.groupBox2.Controls.Add(this.updownCAL); this.groupBox2.Controls.Add(this.textRedCAL); this.groupBox2.Controls.Add(this.textCountGing); this.groupBox2.Controls.Add(this.updownGing); this.groupBox2.Controls.Add(this.textRedGing); this.groupBox2.Controls.Add(this.textCountMGJ); this.groupBox2.Controls.Add(this.updownMGJ); this.groupBox2.Controls.Add(this.textRedMGJ); this.groupBox2.Controls.Add(this.label14); this.groupBox2.Controls.Add(this.textCountProb); this.groupBox2.Controls.Add(this.updownProb); this.groupBox2.Controls.Add(this.label13); this.groupBox2.Controls.Add(this.textRedProb); this.groupBox2.Controls.Add(this.label12); this.groupBox2.Controls.Add(this.label7); this.groupBox2.Controls.Add(this.label11); this.groupBox2.Controls.Add(this.label10); this.groupBox2.Controls.Add(this.label9); this.groupBox2.Controls.Add(this.label8); this.groupBox2.Controls.Add(this.butCount); this.groupBox2.FlatStyle = System.Windows.Forms.FlatStyle.System; this.groupBox2.Location = new System.Drawing.Point(764, 371); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(196, 201); this.groupBox2.TabIndex = 49; this.groupBox2.TabStop = false; this.groupBox2.Text = "Numbers in red"; // // textCountMob // this.textCountMob.Location = new System.Drawing.Point(141, 170); this.textCountMob.Name = "textCountMob"; this.textCountMob.ReadOnly = true; this.textCountMob.Size = new System.Drawing.Size(34, 20); this.textCountMob.TabIndex = 26; // // updownMob // this.updownMob.InterceptArrowKeys = false; this.updownMob.Location = new System.Drawing.Point(97, 170); this.updownMob.Name = "updownMob"; this.updownMob.Size = new System.Drawing.Size(19, 20); this.updownMob.TabIndex = 25; this.updownMob.MouseDown += new System.Windows.Forms.MouseEventHandler(this.updownRed_MouseDown); // // textRedMob // this.textRedMob.Location = new System.Drawing.Point(70, 170); this.textRedMob.Name = "textRedMob"; this.textRedMob.ReadOnly = true; this.textRedMob.Size = new System.Drawing.Size(27, 20); this.textRedMob.TabIndex = 24; // // textCountFurc // this.textCountFurc.Location = new System.Drawing.Point(141, 150); this.textCountFurc.Name = "textCountFurc"; this.textCountFurc.ReadOnly = true; this.textCountFurc.Size = new System.Drawing.Size(34, 20); this.textCountFurc.TabIndex = 23; // // updownFurc // this.updownFurc.InterceptArrowKeys = false; this.updownFurc.Location = new System.Drawing.Point(97, 150); this.updownFurc.Name = "updownFurc"; this.updownFurc.Size = new System.Drawing.Size(19, 20); this.updownFurc.TabIndex = 22; this.updownFurc.MouseDown += new System.Windows.Forms.MouseEventHandler(this.updownRed_MouseDown); // // textRedFurc // this.textRedFurc.Location = new System.Drawing.Point(70, 150); this.textRedFurc.Name = "textRedFurc"; this.textRedFurc.ReadOnly = true; this.textRedFurc.Size = new System.Drawing.Size(27, 20); this.textRedFurc.TabIndex = 21; // // textCountCAL // this.textCountCAL.Location = new System.Drawing.Point(141, 130); this.textCountCAL.Name = "textCountCAL"; this.textCountCAL.ReadOnly = true; this.textCountCAL.Size = new System.Drawing.Size(34, 20); this.textCountCAL.TabIndex = 20; // // updownCAL // this.updownCAL.InterceptArrowKeys = false; this.updownCAL.Location = new System.Drawing.Point(97, 130); this.updownCAL.Name = "updownCAL"; this.updownCAL.Size = new System.Drawing.Size(19, 20); this.updownCAL.TabIndex = 19; this.updownCAL.MouseDown += new System.Windows.Forms.MouseEventHandler(this.updownRed_MouseDown); // // textRedCAL // this.textRedCAL.Location = new System.Drawing.Point(70, 130); this.textRedCAL.Name = "textRedCAL"; this.textRedCAL.ReadOnly = true; this.textRedCAL.Size = new System.Drawing.Size(27, 20); this.textRedCAL.TabIndex = 18; // // textCountGing // this.textCountGing.Location = new System.Drawing.Point(141, 110); this.textCountGing.Name = "textCountGing"; this.textCountGing.ReadOnly = true; this.textCountGing.Size = new System.Drawing.Size(34, 20); this.textCountGing.TabIndex = 17; // // updownGing // this.updownGing.InterceptArrowKeys = false; this.updownGing.Location = new System.Drawing.Point(97, 110); this.updownGing.Name = "updownGing"; this.updownGing.Size = new System.Drawing.Size(19, 20); this.updownGing.TabIndex = 16; this.updownGing.MouseDown += new System.Windows.Forms.MouseEventHandler(this.updownRed_MouseDown); // // textRedGing // this.textRedGing.Location = new System.Drawing.Point(70, 110); this.textRedGing.Name = "textRedGing"; this.textRedGing.ReadOnly = true; this.textRedGing.Size = new System.Drawing.Size(27, 20); this.textRedGing.TabIndex = 15; // // textCountMGJ // this.textCountMGJ.Location = new System.Drawing.Point(141, 90); this.textCountMGJ.Name = "textCountMGJ"; this.textCountMGJ.ReadOnly = true; this.textCountMGJ.Size = new System.Drawing.Size(34, 20); this.textCountMGJ.TabIndex = 14; // // updownMGJ // this.updownMGJ.InterceptArrowKeys = false; this.updownMGJ.Location = new System.Drawing.Point(97, 90); this.updownMGJ.Name = "updownMGJ"; this.updownMGJ.Size = new System.Drawing.Size(19, 20); this.updownMGJ.TabIndex = 13; this.updownMGJ.MouseDown += new System.Windows.Forms.MouseEventHandler(this.updownRed_MouseDown); // // textRedMGJ // this.textRedMGJ.Location = new System.Drawing.Point(70, 90); this.textRedMGJ.Name = "textRedMGJ"; this.textRedMGJ.ReadOnly = true; this.textRedMGJ.Size = new System.Drawing.Size(27, 20); this.textRedMGJ.TabIndex = 12; // // label14 // this.label14.Location = new System.Drawing.Point(125, 49); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(52, 16); this.label14.TabIndex = 11; this.label14.Text = "# Teeth"; this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // textCountProb // this.textCountProb.Location = new System.Drawing.Point(141, 70); this.textCountProb.Name = "textCountProb"; this.textCountProb.ReadOnly = true; this.textCountProb.Size = new System.Drawing.Size(34, 20); this.textCountProb.TabIndex = 10; // // updownProb // this.updownProb.InterceptArrowKeys = false; this.updownProb.Location = new System.Drawing.Point(97, 70); this.updownProb.Name = "updownProb"; this.updownProb.Size = new System.Drawing.Size(19, 20); this.updownProb.TabIndex = 9; this.updownProb.MouseDown += new System.Windows.Forms.MouseEventHandler(this.updownRed_MouseDown); // // label13 // this.label13.Location = new System.Drawing.Point(7, 50); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(84, 16); this.label13.TabIndex = 8; this.label13.Text = "Red if >="; this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // textRedProb // this.textRedProb.Location = new System.Drawing.Point(70, 70); this.textRedProb.Name = "textRedProb"; this.textRedProb.ReadOnly = true; this.textRedProb.Size = new System.Drawing.Size(27, 20); this.textRedProb.TabIndex = 0; // // label12 // this.label12.Location = new System.Drawing.Point(6, 152); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(64, 16); this.label12.TabIndex = 7; this.label12.Text = "Furc"; this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label7 // this.label7.Location = new System.Drawing.Point(6, 172); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(64, 16); this.label7.TabIndex = 6; this.label7.Text = "Mobility"; this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label11 // this.label11.Location = new System.Drawing.Point(6, 132); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(64, 16); this.label11.TabIndex = 5; this.label11.Text = "CAL"; this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label10 // this.label10.Location = new System.Drawing.Point(6, 112); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(64, 16); this.label10.TabIndex = 4; this.label10.Text = "Ging Marg"; this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label9 // this.label9.Location = new System.Drawing.Point(6, 92); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(64, 16); this.label9.TabIndex = 3; this.label9.Text = "MGJ (<=)"; this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label8 // this.label8.Location = new System.Drawing.Point(6, 72); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(64, 16); this.label8.TabIndex = 2; this.label8.Text = "Probing"; this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label1 // this.label1.Location = new System.Drawing.Point(5, 13); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(112, 19); this.label1.TabIndex = 51; this.label1.Text = "Exams"; this.label1.TextAlign = System.Drawing.ContentAlignment.BottomLeft; // // label6 // this.label6.Location = new System.Drawing.Point(757, 641); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(123, 42); this.label6.TabIndex = 54; this.label6.Text = "(All exams are saved automatically)"; this.label6.TextAlign = System.Drawing.ContentAlignment.BottomRight; // // listExams // this.listExams.ItemHeight = 14; this.listExams.Location = new System.Drawing.Point(7, 37); this.listExams.Name = "listExams"; this.listExams.Size = new System.Drawing.Size(124, 130); this.listExams.TabIndex = 59; this.listExams.DoubleClick += new System.EventHandler(this.listExams_DoubleClick); this.listExams.MouseDown += new System.Windows.Forms.MouseEventHandler(this.listExams_MouseDown); // // textIndexPlaque // this.textIndexPlaque.Location = new System.Drawing.Point(868, 245); this.textIndexPlaque.Name = "textIndexPlaque"; this.textIndexPlaque.ReadOnly = true; this.textIndexPlaque.Size = new System.Drawing.Size(38, 20); this.textIndexPlaque.TabIndex = 70; this.textIndexPlaque.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // textIndexSupp // this.textIndexSupp.Location = new System.Drawing.Point(868, 335); this.textIndexSupp.Name = "textIndexSupp"; this.textIndexSupp.ReadOnly = true; this.textIndexSupp.Size = new System.Drawing.Size(38, 20); this.textIndexSupp.TabIndex = 71; this.textIndexSupp.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // textIndexBleeding // this.textIndexBleeding.Location = new System.Drawing.Point(868, 305); this.textIndexBleeding.Name = "textIndexBleeding"; this.textIndexBleeding.ReadOnly = true; this.textIndexBleeding.Size = new System.Drawing.Size(38, 20); this.textIndexBleeding.TabIndex = 72; this.textIndexBleeding.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // textIndexCalculus // this.textIndexCalculus.Location = new System.Drawing.Point(868, 275); this.textIndexCalculus.Name = "textIndexCalculus"; this.textIndexCalculus.ReadOnly = true; this.textIndexCalculus.Size = new System.Drawing.Size(38, 20); this.textIndexCalculus.TabIndex = 73; this.textIndexCalculus.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // printPreviewDlg // this.printPreviewDlg.AutoScrollMargin = new System.Drawing.Size(0, 0); this.printPreviewDlg.AutoScrollMinSize = new System.Drawing.Size(0, 0); this.printPreviewDlg.ClientSize = new System.Drawing.Size(400, 300); this.printPreviewDlg.Enabled = true; this.printPreviewDlg.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDlg.Icon"))); this.printPreviewDlg.Name = "printPreviewDlg"; this.printPreviewDlg.Visible = false; // // labelPlaqueHistory // this.labelPlaqueHistory.Location = new System.Drawing.Point(5, 334); this.labelPlaqueHistory.Name = "labelPlaqueHistory"; this.labelPlaqueHistory.Size = new System.Drawing.Size(126, 19); this.labelPlaqueHistory.TabIndex = 78; this.labelPlaqueHistory.Text = "Plaque Index History"; this.labelPlaqueHistory.TextAlign = System.Drawing.ContentAlignment.BottomLeft; this.labelPlaqueHistory.Visible = false; // // listPlaqueHistory // this.listPlaqueHistory.ItemHeight = 14; this.listPlaqueHistory.Location = new System.Drawing.Point(7, 356); this.listPlaqueHistory.Name = "listPlaqueHistory"; this.listPlaqueHistory.SelectionMode = System.Windows.Forms.SelectionMode.None; this.listPlaqueHistory.Size = new System.Drawing.Size(124, 130); this.listPlaqueHistory.TabIndex = 79; this.listPlaqueHistory.Visible = false; // // textInputBox // this.textInputBox.Location = new System.Drawing.Point(168, 22); this.textInputBox.Name = "textInputBox"; this.textInputBox.Size = new System.Drawing.Size(53, 20); this.textInputBox.TabIndex = 81; this.textInputBox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.textInputBox.TextChanged += new System.EventHandler(this.textInputBox_TextChanged); this.textInputBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textInputBox_KeyDown); this.textInputBox.Leave += new System.EventHandler(this.textInputBox_Leave); // // gridP // this.gridP.BackColor = System.Drawing.SystemColors.Window; this.gridP.Location = new System.Drawing.Point(157, 11); this.gridP.Name = "gridP"; this.gridP.SelectedExam = 0; this.gridP.Size = new System.Drawing.Size(595, 665); this.gridP.TabIndex = 75; this.gridP.Text = "contrPerio2"; this.gridP.DirectionChangedRight += new System.EventHandler(this.gridP_DirectionChangedRight); this.gridP.DirectionChangedLeft += new System.EventHandler(this.gridP_DirectionChangedLeft); // // butGraphical // this.butGraphical.AdjustImageLocation = new System.Drawing.Point(0, 0); this.butGraphical.Autosize = true; this.butGraphical.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.butGraphical.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.butGraphical.CornerRadius = 4F; this.butGraphical.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.butGraphical.Location = new System.Drawing.Point(885, 580); this.butGraphical.Name = "butGraphical"; this.butGraphical.Size = new System.Drawing.Size(75, 24); this.butGraphical.TabIndex = 76; this.butGraphical.Text = "Graphical"; this.butGraphical.Click += new System.EventHandler(this.butGraphical_Click); // // butPrint // this.butPrint.AdjustImageLocation = new System.Drawing.Point(0, 0); this.butPrint.Autosize = true; this.butPrint.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.butPrint.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.butPrint.CornerRadius = 4F; this.butPrint.Image = global::OpenDental.Properties.Resources.butPrintSmall; this.butPrint.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.butPrint.Location = new System.Drawing.Point(885, 616); this.butPrint.Name = "butPrint"; this.butPrint.Size = new System.Drawing.Size(75, 24); this.butPrint.TabIndex = 62; this.butPrint.Text = "Print"; this.butPrint.Click += new System.EventHandler(this.butPrint_Click); // // butAdd // this.butAdd.AdjustImageLocation = new System.Drawing.Point(0, 0); this.butAdd.Autosize = true; this.butAdd.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.butAdd.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.butAdd.CornerRadius = 4F; this.butAdd.Image = global::OpenDental.Properties.Resources.Add; this.butAdd.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.butAdd.Location = new System.Drawing.Point(7, 197); this.butAdd.Name = "butAdd"; this.butAdd.Size = new System.Drawing.Size(82, 24); this.butAdd.TabIndex = 53; this.butAdd.Text = "Add"; this.butAdd.Click += new System.EventHandler(this.butAdd_Click); // // but0 // this.but0.AdjustImageLocation = new System.Drawing.Point(0, 0); this.but0.Autosize = true; this.but0.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.but0.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.but0.CornerRadius = 4F; this.but0.Location = new System.Drawing.Point(763, 173); this.but0.Name = "but0"; this.but0.Size = new System.Drawing.Size(67, 32); this.but0.TabIndex = 39; this.but0.Text = "0"; this.but0.Click += new System.EventHandler(this.but0_Click); // // butDelete // this.butDelete.AdjustImageLocation = new System.Drawing.Point(0, 0); this.butDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.butDelete.Autosize = true; this.butDelete.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.butDelete.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.butDelete.CornerRadius = 4F; this.butDelete.Image = global::OpenDental.Properties.Resources.deleteX; this.butDelete.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.butDelete.Location = new System.Drawing.Point(7, 228); this.butDelete.Name = "butDelete"; this.butDelete.Size = new System.Drawing.Size(82, 24); this.butDelete.TabIndex = 34; this.butDelete.Text = "Delete"; this.butDelete.Click += new System.EventHandler(this.butDelete_Click); // // but8 // this.but8.AdjustImageLocation = new System.Drawing.Point(0, 0); this.but8.Autosize = true; this.but8.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.but8.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.but8.CornerRadius = 4F; this.but8.Location = new System.Drawing.Point(798, 68); this.but8.Name = "but8"; this.but8.Size = new System.Drawing.Size(32, 32); this.but8.TabIndex = 11; this.but8.Text = "8"; this.but8.Click += new System.EventHandler(this.but8_Click); // // but4 // this.but4.AdjustImageLocation = new System.Drawing.Point(0, 0); this.but4.Autosize = true; this.but4.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.but4.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.but4.CornerRadius = 4F; this.but4.Location = new System.Drawing.Point(763, 103); this.but4.Name = "but4"; this.but4.Size = new System.Drawing.Size(32, 32); this.but4.TabIndex = 10; this.but4.Text = "4"; this.but4.Click += new System.EventHandler(this.but4_Click); // // but5 // this.but5.AdjustImageLocation = new System.Drawing.Point(0, 0); this.but5.Autosize = true; this.but5.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.but5.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.but5.CornerRadius = 4F; this.but5.Location = new System.Drawing.Point(798, 103); this.but5.Name = "but5"; this.but5.Size = new System.Drawing.Size(32, 32); this.but5.TabIndex = 9; this.but5.Text = "5"; this.but5.Click += new System.EventHandler(this.but5_Click); // // but9 // this.but9.AdjustImageLocation = new System.Drawing.Point(0, 0); this.but9.Autosize = true; this.but9.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.but9.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.but9.CornerRadius = 4F; this.but9.Location = new System.Drawing.Point(833, 68); this.but9.Name = "but9"; this.but9.Size = new System.Drawing.Size(32, 32); this.but9.TabIndex = 8; this.but9.Text = "9"; this.but9.Click += new System.EventHandler(this.but9_Click); // // but6 // this.but6.AdjustImageLocation = new System.Drawing.Point(0, 0); this.but6.Autosize = true; this.but6.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.but6.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.but6.CornerRadius = 4F; this.but6.Location = new System.Drawing.Point(833, 103); this.but6.Name = "but6"; this.but6.Size = new System.Drawing.Size(32, 32); this.but6.TabIndex = 7; this.but6.Text = "6"; this.but6.Click += new System.EventHandler(this.but6_Click); // // but1 // this.but1.AdjustImageLocation = new System.Drawing.Point(0, 0); this.but1.Autosize = true; this.but1.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.but1.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.but1.CornerRadius = 4F; this.but1.Location = new System.Drawing.Point(763, 138); this.but1.Name = "but1"; this.but1.Size = new System.Drawing.Size(32, 32); this.but1.TabIndex = 6; this.but1.Text = "1"; this.but1.Click += new System.EventHandler(this.but1_Click); // // but2 // this.but2.AdjustImageLocation = new System.Drawing.Point(0, 0); this.but2.Autosize = true; this.but2.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.but2.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.but2.CornerRadius = 4F; this.but2.Location = new System.Drawing.Point(798, 138); this.but2.Name = "but2"; this.but2.Size = new System.Drawing.Size(32, 32); this.but2.TabIndex = 5; this.but2.Text = "2"; this.but2.Click += new System.EventHandler(this.but2_Click); // // but3 // this.but3.AdjustImageLocation = new System.Drawing.Point(0, 0); this.but3.Autosize = true; this.but3.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.but3.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.but3.CornerRadius = 4F; this.but3.Location = new System.Drawing.Point(833, 138); this.but3.Name = "but3"; this.but3.Size = new System.Drawing.Size(32, 32); this.but3.TabIndex = 4; this.but3.Text = "3"; this.but3.Click += new System.EventHandler(this.but3_Click); // // but7 // this.but7.AdjustImageLocation = new System.Drawing.Point(0, 0); this.but7.Autosize = true; this.but7.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.but7.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.but7.CornerRadius = 4F; this.but7.Location = new System.Drawing.Point(763, 68); this.but7.Name = "but7"; this.but7.Size = new System.Drawing.Size(32, 32); this.but7.TabIndex = 3; this.but7.Text = "7"; this.but7.Click += new System.EventHandler(this.but7_Click); // // butClose // this.butClose.AdjustImageLocation = new System.Drawing.Point(0, 0); this.butClose.Autosize = true; this.butClose.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.butClose.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.butClose.CornerRadius = 4F; this.butClose.Location = new System.Drawing.Point(885, 658); this.butClose.Name = "butClose"; this.butClose.Size = new System.Drawing.Size(75, 24); this.butClose.TabIndex = 0; this.butClose.Text = "Close"; this.butClose.Click += new System.EventHandler(this.butClose_Click); // // FormPerio // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(982, 700); this.Controls.Add(this.gridP); this.Controls.Add(this.textInputBox); this.Controls.Add(this.checkGingMarg); this.Controls.Add(this.listPlaqueHistory); this.Controls.Add(this.labelPlaqueHistory); this.Controls.Add(this.butSave); this.Controls.Add(this.butGraphical); this.Controls.Add(this.butCalcIndex); this.Controls.Add(this.textIndexCalculus); this.Controls.Add(this.textIndexBleeding); this.Controls.Add(this.textIndexSupp); this.Controls.Add(this.textIndexPlaque); this.Controls.Add(this.butColorCalculus); this.Controls.Add(this.butColorPlaque); this.Controls.Add(this.butCalculus); this.Controls.Add(this.butPlaque); this.Controls.Add(this.butPrint); this.Controls.Add(this.butSkip); this.Controls.Add(this.listExams); this.Controls.Add(this.checkThree); this.Controls.Add(this.label6); this.Controls.Add(this.butAdd); this.Controls.Add(this.label1); this.Controls.Add(this.butColorPus); this.Controls.Add(this.groupBox2); this.Controls.Add(this.butColorBleed); this.Controls.Add(this.butPus); this.Controls.Add(this.butBleed); this.Controls.Add(this.but10); this.Controls.Add(this.but0); this.Controls.Add(this.label5); this.Controls.Add(this.label4); this.Controls.Add(this.label3); this.Controls.Add(this.label2); this.Controls.Add(this.butDelete); this.Controls.Add(this.groupBox1); this.Controls.Add(this.but8); this.Controls.Add(this.but4); this.Controls.Add(this.but5); this.Controls.Add(this.but9); this.Controls.Add(this.but6); this.Controls.Add(this.but1); this.Controls.Add(this.but2); this.Controls.Add(this.but3); this.Controls.Add(this.but7); this.Controls.Add(this.butClose); this.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "FormPerio"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Perio Chart"; this.Closing += new System.ComponentModel.CancelEventHandler(this.FormPerio_Closing); this.Load += new System.EventHandler(this.FormPerio_Load); this.Shown += new System.EventHandler(this.FormPerio_Shown); this.groupBox1.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
public void IValueProviderIsReadOnlyTest () { DomainUpDown domainUpDown = new DomainUpDown (); IRawElementProviderSimple provider = ProviderFactory.GetProvider (domainUpDown); IValueProvider valueProvider = (IValueProvider) provider.GetPatternProvider (ValuePatternIdentifiers.Pattern.Id); Assert.IsNotNull (valueProvider, "Not returning ValuePatternIdentifiers."); Assert.AreEqual (domainUpDown.ReadOnly, valueProvider.IsReadOnly, "IsReadOnly value"); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.groupBoxBack = new System.Windows.Forms.GroupBox(); this.buttonSetBackColor = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.checkBoxShowBackGird = new System.Windows.Forms.CheckBox(); this.labelBackColor = new System.Windows.Forms.Label(); this.groupBoxBlock = new System.Windows.Forms.GroupBox(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.labelFixedBlockColor = new System.Windows.Forms.Label(); this.labelViewBlockColor = new System.Windows.Forms.Label(); this.labelDynamicBlockColor = new System.Windows.Forms.Label(); this.buttonSetDynamicColor = new System.Windows.Forms.Button(); this.buttonSetFixedColor = new System.Windows.Forms.Button(); this.buttonSetViewColor = new System.Windows.Forms.Button(); this.groupBoxSound = new System.Windows.Forms.GroupBox(); this.domainUpDownVolume = new System.Windows.Forms.DomainUpDown(); this.checkBoxSound = new System.Windows.Forms.CheckBox(); this.checkBoxMusic = new System.Windows.Forms.CheckBox(); this.colorDialog1 = new System.Windows.Forms.ColorDialog(); this.buttonOK = new System.Windows.Forms.Button(); this.groupBoxBack.SuspendLayout(); this.groupBoxBlock.SuspendLayout(); this.groupBoxSound.SuspendLayout(); this.SuspendLayout(); // // groupBoxBack // this.groupBoxBack.Controls.Add(this.buttonSetBackColor); this.groupBoxBack.Controls.Add(this.label1); this.groupBoxBack.Controls.Add(this.checkBoxShowBackGird); this.groupBoxBack.Controls.Add(this.labelBackColor); this.groupBoxBack.Location = new System.Drawing.Point(8, 8); this.groupBoxBack.Name = "groupBoxBack"; this.groupBoxBack.Size = new System.Drawing.Size(320, 80); this.groupBoxBack.TabIndex = 0; this.groupBoxBack.TabStop = false; this.groupBoxBack.Text = "背景 "; // // buttonSetBackColor // this.buttonSetBackColor.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.buttonSetBackColor.Location = new System.Drawing.Point(232, 40); this.buttonSetBackColor.Name = "buttonSetBackColor"; this.buttonSetBackColor.Size = new System.Drawing.Size(64, 24); this.buttonSetBackColor.TabIndex = 2; this.buttonSetBackColor.Text = "更改 "; this.buttonSetBackColor.Click += new System.EventHandler(this.buttonSetBackColor_Click); // // label1 // this.label1.Location = new System.Drawing.Point(32, 48); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(104, 16); this.label1.TabIndex = 1; this.label1.Text = "背景网格颜色"; // // checkBoxShowBackGird // this.checkBoxShowBackGird.Checked = true; this.checkBoxShowBackGird.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBoxShowBackGird.Location = new System.Drawing.Point(16, 16); this.checkBoxShowBackGird.Name = "checkBoxShowBackGird"; this.checkBoxShowBackGird.Size = new System.Drawing.Size(120, 24); this.checkBoxShowBackGird.TabIndex = 0; this.checkBoxShowBackGird.Text = "显示背景网格"; this.checkBoxShowBackGird.CheckedChanged += new System.EventHandler(this.checkBoxShowBackGird_CheckedChanged); // // labelBackColor // this.labelBackColor.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(255)), ((System.Byte)(255))); this.labelBackColor.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.labelBackColor.ForeColor = System.Drawing.SystemColors.ControlText; this.labelBackColor.Location = new System.Drawing.Point(144, 40); this.labelBackColor.Name = "labelBackColor"; this.labelBackColor.Size = new System.Drawing.Size(64, 24); this.labelBackColor.TabIndex = 1; // // groupBoxBlock // this.groupBoxBlock.Controls.Add(this.label2); this.groupBoxBlock.Controls.Add(this.label3); this.groupBoxBlock.Controls.Add(this.label4); this.groupBoxBlock.Controls.Add(this.labelFixedBlockColor); this.groupBoxBlock.Controls.Add(this.labelViewBlockColor); this.groupBoxBlock.Controls.Add(this.labelDynamicBlockColor); this.groupBoxBlock.Controls.Add(this.buttonSetDynamicColor); this.groupBoxBlock.Controls.Add(this.buttonSetFixedColor); this.groupBoxBlock.Controls.Add(this.buttonSetViewColor); this.groupBoxBlock.Location = new System.Drawing.Point(8, 96); this.groupBoxBlock.Name = "groupBoxBlock"; this.groupBoxBlock.Size = new System.Drawing.Size(320, 112); this.groupBoxBlock.TabIndex = 1; this.groupBoxBlock.TabStop = false; this.groupBoxBlock.Text = "方块"; // // label2 // this.label2.Location = new System.Drawing.Point(16, 24); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(104, 16); this.label2.TabIndex = 1; this.label2.Text = "活动方块颜色"; // // label3 // this.label3.Location = new System.Drawing.Point(16, 56); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(104, 16); this.label3.TabIndex = 1; this.label3.Text = "固定方块颜色"; // // label4 // this.label4.Location = new System.Drawing.Point(16, 88); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(104, 16); this.label4.TabIndex = 1; this.label4.Text = "预览方块颜色"; // // labelFixedBlockColor // this.labelFixedBlockColor.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(255)), ((System.Byte)(255))); this.labelFixedBlockColor.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.labelFixedBlockColor.ForeColor = System.Drawing.SystemColors.ControlText; this.labelFixedBlockColor.Location = new System.Drawing.Point(144, 48); this.labelFixedBlockColor.Name = "labelFixedBlockColor"; this.labelFixedBlockColor.Size = new System.Drawing.Size(64, 24); this.labelFixedBlockColor.TabIndex = 1; // // labelViewBlockColor // this.labelViewBlockColor.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(255)), ((System.Byte)(255))); this.labelViewBlockColor.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.labelViewBlockColor.ForeColor = System.Drawing.SystemColors.ControlText; this.labelViewBlockColor.Location = new System.Drawing.Point(144, 80); this.labelViewBlockColor.Name = "labelViewBlockColor"; this.labelViewBlockColor.Size = new System.Drawing.Size(64, 24); this.labelViewBlockColor.TabIndex = 1; // // labelDynamicBlockColor // this.labelDynamicBlockColor.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(255)), ((System.Byte)(255))); this.labelDynamicBlockColor.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.labelDynamicBlockColor.ForeColor = System.Drawing.SystemColors.ControlText; this.labelDynamicBlockColor.Location = new System.Drawing.Point(144, 16); this.labelDynamicBlockColor.Name = "labelDynamicBlockColor"; this.labelDynamicBlockColor.Size = new System.Drawing.Size(64, 24); this.labelDynamicBlockColor.TabIndex = 1; // // buttonSetDynamicColor // this.buttonSetDynamicColor.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.buttonSetDynamicColor.Location = new System.Drawing.Point(232, 16); this.buttonSetDynamicColor.Name = "buttonSetDynamicColor"; this.buttonSetDynamicColor.Size = new System.Drawing.Size(64, 24); this.buttonSetDynamicColor.TabIndex = 2; this.buttonSetDynamicColor.Text = "更改 "; this.buttonSetDynamicColor.Click += new System.EventHandler(this.buttonSetDynamicColor_Click); // // buttonSetFixedColor // this.buttonSetFixedColor.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.buttonSetFixedColor.Location = new System.Drawing.Point(232, 48); this.buttonSetFixedColor.Name = "buttonSetFixedColor"; this.buttonSetFixedColor.Size = new System.Drawing.Size(64, 24); this.buttonSetFixedColor.TabIndex = 2; this.buttonSetFixedColor.Text = "更改 "; this.buttonSetFixedColor.Click += new System.EventHandler(this.buttonSetFixedColor_Click); // // buttonSetViewColor // this.buttonSetViewColor.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.buttonSetViewColor.Location = new System.Drawing.Point(232, 80); this.buttonSetViewColor.Name = "buttonSetViewColor"; this.buttonSetViewColor.Size = new System.Drawing.Size(64, 24); this.buttonSetViewColor.TabIndex = 2; this.buttonSetViewColor.Text = "更改 "; this.buttonSetViewColor.Click += new System.EventHandler(this.buttonSetViewColor_Click); // // groupBoxSound // this.groupBoxSound.Controls.Add(this.domainUpDownVolume); this.groupBoxSound.Controls.Add(this.checkBoxSound); this.groupBoxSound.Controls.Add(this.checkBoxMusic); this.groupBoxSound.Location = new System.Drawing.Point(8, 216); this.groupBoxSound.Name = "groupBoxSound"; this.groupBoxSound.Size = new System.Drawing.Size(232, 48); this.groupBoxSound.TabIndex = 2; this.groupBoxSound.TabStop = false; this.groupBoxSound.Text = "声音"; // // domainUpDownVolume // this.domainUpDownVolume.Items.Add("9"); this.domainUpDownVolume.Items.Add("8"); this.domainUpDownVolume.Items.Add("7"); this.domainUpDownVolume.Items.Add("6"); this.domainUpDownVolume.Items.Add("5"); this.domainUpDownVolume.Items.Add("4"); this.domainUpDownVolume.Items.Add("3"); this.domainUpDownVolume.Items.Add("2"); this.domainUpDownVolume.Items.Add("1"); this.domainUpDownVolume.Location = new System.Drawing.Point(184, 16); this.domainUpDownVolume.Name = "domainUpDownVolume"; this.domainUpDownVolume.ReadOnly = true; this.domainUpDownVolume.Size = new System.Drawing.Size(32, 21); this.domainUpDownVolume.TabIndex = 1; this.domainUpDownVolume.Text = "1"; this.domainUpDownVolume.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.domainUpDownVolume.SelectedItemChanged += new System.EventHandler(this.domainUpDownVolume_SelectedItemChanged); // // checkBoxSound // this.checkBoxSound.Checked = true; this.checkBoxSound.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBoxSound.Location = new System.Drawing.Point(16, 16); this.checkBoxSound.Name = "checkBoxSound"; this.checkBoxSound.Size = new System.Drawing.Size(80, 24); this.checkBoxSound.TabIndex = 0; this.checkBoxSound.Text = "背景音效"; this.checkBoxSound.CheckedChanged += new System.EventHandler(this.checkBoxSound_CheckedChanged); // // checkBoxMusic // this.checkBoxMusic.Checked = true; this.checkBoxMusic.CheckState = System.Windows.Forms.CheckState.Checked; this.checkBoxMusic.Location = new System.Drawing.Point(104, 16); this.checkBoxMusic.Name = "checkBoxMusic"; this.checkBoxMusic.Size = new System.Drawing.Size(80, 24); this.checkBoxMusic.TabIndex = 0; this.checkBoxMusic.Text = "背景音乐"; this.checkBoxMusic.CheckStateChanged += new System.EventHandler(this.checkBoxMusic_CheckStateChanged); // // buttonOK // this.buttonOK.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134))); this.buttonOK.Location = new System.Drawing.Point(248, 240); this.buttonOK.Name = "buttonOK"; this.buttonOK.Size = new System.Drawing.Size(80, 24); this.buttonOK.TabIndex = 2; this.buttonOK.Text = "确定"; this.buttonOK.Click += new System.EventHandler(this.buttonOK_Click); // // FormSet // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(344, 273); this.Controls.Add(this.groupBoxSound); this.Controls.Add(this.groupBoxBlock); this.Controls.Add(this.groupBoxBack); this.Controls.Add(this.buttonOK); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.MaximumSize = new System.Drawing.Size(350, 297); this.Name = "FormSet"; this.Text = "FormSet"; this.Load += new System.EventHandler(this.FormSet_Load); this.groupBoxBack.ResumeLayout(false); this.groupBoxBlock.ResumeLayout(false); this.groupBoxSound.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(FormScreenEdit)); this.but1 = new OpenDental.UI.Button(); this.but5 = new OpenDental.UI.Button(); this.comboGradeLevel = new System.Windows.Forms.ComboBox(); this.label35 = new System.Windows.Forms.Label(); this.label15 = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.textComments = new System.Windows.Forms.TextBox(); this.listUrgency = new System.Windows.Forms.ListBox(); this.checkHasCaries = new System.Windows.Forms.CheckBox(); this.checkNeedsSealants = new System.Windows.Forms.CheckBox(); this.butOK = new OpenDental.UI.Button(); this.updownAgeArrows = new System.Windows.Forms.DomainUpDown(); this.radioM = new System.Windows.Forms.RadioButton(); this.radioF = new System.Windows.Forms.RadioButton(); this.radioUnknown = new System.Windows.Forms.RadioButton(); this.checkExistingSealants = new System.Windows.Forms.CheckBox(); this.checkCariesExperience = new System.Windows.Forms.CheckBox(); this.checkEarlyChildCaries = new System.Windows.Forms.CheckBox(); this.checkMissingAllTeeth = new System.Windows.Forms.CheckBox(); this.label5 = new System.Windows.Forms.Label(); this.textBirthdate = new System.Windows.Forms.TextBox(); this.textAge = new System.Windows.Forms.TextBox(); this.listRace = new System.Windows.Forms.ListBox(); this.textScreenGroupOrder = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.SuspendLayout(); // // but1 // this.but1.AdjustImageLocation = new System.Drawing.Point(0, 0); this.but1.Autosize = true; this.but1.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.but1.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.but1.Location = new System.Drawing.Point(14, 274); this.but1.Name = "but1"; this.but1.Size = new System.Drawing.Size(48, 21); this.but1.TabIndex = 21; this.but1.Text = "Add 1"; this.but1.Click += new System.EventHandler(this.but1_Click); // // but5 // this.but5.AdjustImageLocation = new System.Drawing.Point(0, 0); this.but5.Autosize = true; this.but5.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.but5.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.but5.Location = new System.Drawing.Point(62, 274); this.but5.Name = "but5"; this.but5.Size = new System.Drawing.Size(48, 21); this.but5.TabIndex = 22; this.but5.Text = "Add 5"; this.but5.Click += new System.EventHandler(this.but5_Click); // // comboGradeLevel // this.comboGradeLevel.BackColor = System.Drawing.SystemColors.Window; this.comboGradeLevel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboGradeLevel.Location = new System.Drawing.Point(78, 20); this.comboGradeLevel.MaxDropDownItems = 25; this.comboGradeLevel.Name = "comboGradeLevel"; this.comboGradeLevel.Size = new System.Drawing.Size(149, 21); this.comboGradeLevel.TabIndex = 6; // // label35 // this.label35.Location = new System.Drawing.Point(123, 128); this.label35.Name = "label35"; this.label35.Size = new System.Drawing.Size(89, 14); this.label35.TabIndex = 16; this.label35.Text = "Urgency"; this.label35.TextAlign = System.Drawing.ContentAlignment.BottomLeft; // // label15 // this.label15.Location = new System.Drawing.Point(1, 21); this.label15.Name = "label15"; this.label15.Size = new System.Drawing.Size(75, 17); this.label15.TabIndex = 13; this.label15.Text = "Grade Level"; this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label10 // this.label10.Location = new System.Drawing.Point(5, 64); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(113, 17); this.label10.TabIndex = 10; this.label10.Text = "Race/Ethnicity"; this.label10.TextAlign = System.Drawing.ContentAlignment.BottomLeft; // // label4 // this.label4.Location = new System.Drawing.Point(11, 42); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(65, 14); this.label4.TabIndex = 108; this.label4.Text = "Age"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // label8 // this.label8.Location = new System.Drawing.Point(2, 255); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(77, 16); this.label8.TabIndex = 115; this.label8.Text = "Comments"; this.label8.TextAlign = System.Drawing.ContentAlignment.BottomLeft; // // textComments // this.textComments.Location = new System.Drawing.Point(59, 253); this.textComments.MaxLength = 255; this.textComments.Name = "textComments"; this.textComments.Size = new System.Drawing.Size(171, 20); this.textComments.TabIndex = 20; this.textComments.Text = ""; // // listUrgency // this.listUrgency.Location = new System.Drawing.Point(125, 144); this.listUrgency.Name = "listUrgency"; this.listUrgency.Size = new System.Drawing.Size(97, 56); this.listUrgency.TabIndex = 9; // // checkHasCaries // this.checkHasCaries.AutoCheck = false; this.checkHasCaries.Checked = true; this.checkHasCaries.CheckState = System.Windows.Forms.CheckState.Indeterminate; this.checkHasCaries.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkHasCaries.Location = new System.Drawing.Point(6, 204); this.checkHasCaries.Name = "checkHasCaries"; this.checkHasCaries.Size = new System.Drawing.Size(98, 16); this.checkHasCaries.TabIndex = 14; this.checkHasCaries.Text = "Has Caries"; this.checkHasCaries.ThreeState = true; this.checkHasCaries.Click += new System.EventHandler(this.checkBox_Click); // // checkNeedsSealants // this.checkNeedsSealants.AutoCheck = false; this.checkNeedsSealants.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkNeedsSealants.Location = new System.Drawing.Point(113, 220); this.checkNeedsSealants.Name = "checkNeedsSealants"; this.checkNeedsSealants.Size = new System.Drawing.Size(102, 16); this.checkNeedsSealants.TabIndex = 18; this.checkNeedsSealants.Text = "Needs Sealants"; this.checkNeedsSealants.ThreeState = true; this.checkNeedsSealants.Click += new System.EventHandler(this.checkBox_Click); // // butOK // this.butOK.AdjustImageLocation = new System.Drawing.Point(0, 0); this.butOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.butOK.Autosize = true; this.butOK.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.butOK.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.butOK.Location = new System.Drawing.Point(182, 274); this.butOK.Name = "butOK"; this.butOK.Size = new System.Drawing.Size(48, 21); this.butOK.TabIndex = 24; this.butOK.Text = "OK"; this.butOK.Click += new System.EventHandler(this.butOK_Click); // // updownAgeArrows // this.updownAgeArrows.InterceptArrowKeys = false; this.updownAgeArrows.Location = new System.Drawing.Point(113, 41); this.updownAgeArrows.Name = "updownAgeArrows"; this.updownAgeArrows.Size = new System.Drawing.Size(20, 20); this.updownAgeArrows.TabIndex = 7; this.updownAgeArrows.MouseDown += new System.Windows.Forms.MouseEventHandler(this.updownAgeArrows_MouseDown); // // radioM // this.radioM.FlatStyle = System.Windows.Forms.FlatStyle.System; this.radioM.Location = new System.Drawing.Point(124, 99); this.radioM.Name = "radioM"; this.radioM.Size = new System.Drawing.Size(33, 17); this.radioM.TabIndex = 11; this.radioM.Text = "M"; // // radioF // this.radioF.FlatStyle = System.Windows.Forms.FlatStyle.System; this.radioF.Location = new System.Drawing.Point(157, 99); this.radioF.Name = "radioF"; this.radioF.Size = new System.Drawing.Size(33, 17); this.radioF.TabIndex = 12; this.radioF.Text = "F"; // // radioUnknown // this.radioUnknown.Checked = true; this.radioUnknown.FlatStyle = System.Windows.Forms.FlatStyle.System; this.radioUnknown.Location = new System.Drawing.Point(190, 99); this.radioUnknown.Name = "radioUnknown"; this.radioUnknown.Size = new System.Drawing.Size(33, 17); this.radioUnknown.TabIndex = 13; this.radioUnknown.TabStop = true; this.radioUnknown.Text = "?"; // // checkExistingSealants // this.checkExistingSealants.AutoCheck = false; this.checkExistingSealants.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkExistingSealants.Location = new System.Drawing.Point(113, 204); this.checkExistingSealants.Name = "checkExistingSealants"; this.checkExistingSealants.Size = new System.Drawing.Size(109, 16); this.checkExistingSealants.TabIndex = 17; this.checkExistingSealants.Text = "Existing Sealants"; this.checkExistingSealants.ThreeState = true; this.checkExistingSealants.Click += new System.EventHandler(this.checkBox_Click); // // checkCariesExperience // this.checkCariesExperience.AutoCheck = false; this.checkCariesExperience.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkCariesExperience.Location = new System.Drawing.Point(6, 236); this.checkCariesExperience.Name = "checkCariesExperience"; this.checkCariesExperience.Size = new System.Drawing.Size(107, 16); this.checkCariesExperience.TabIndex = 16; this.checkCariesExperience.Text = "Caries Experience"; this.checkCariesExperience.ThreeState = true; this.checkCariesExperience.Click += new System.EventHandler(this.checkBox_Click); // // checkEarlyChildCaries // this.checkEarlyChildCaries.AutoCheck = false; this.checkEarlyChildCaries.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkEarlyChildCaries.Location = new System.Drawing.Point(6, 220); this.checkEarlyChildCaries.Name = "checkEarlyChildCaries"; this.checkEarlyChildCaries.Size = new System.Drawing.Size(107, 16); this.checkEarlyChildCaries.TabIndex = 15; this.checkEarlyChildCaries.Text = "Early Child. Caries"; this.checkEarlyChildCaries.ThreeState = true; this.checkEarlyChildCaries.Click += new System.EventHandler(this.checkBox_Click); // // checkMissingAllTeeth // this.checkMissingAllTeeth.AutoCheck = false; this.checkMissingAllTeeth.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkMissingAllTeeth.Location = new System.Drawing.Point(113, 236); this.checkMissingAllTeeth.Name = "checkMissingAllTeeth"; this.checkMissingAllTeeth.Size = new System.Drawing.Size(107, 16); this.checkMissingAllTeeth.TabIndex = 19; this.checkMissingAllTeeth.Text = "Missing All Teeth"; this.checkMissingAllTeeth.ThreeState = true; this.checkMissingAllTeeth.Click += new System.EventHandler(this.checkBox_Click); // // label5 // this.label5.Location = new System.Drawing.Point(144, 59); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(80, 17); this.label5.TabIndex = 139; this.label5.Text = "(Birthdate)"; this.label5.TextAlign = System.Drawing.ContentAlignment.BottomLeft; // // textBirthdate // this.textBirthdate.AcceptsReturn = true; this.textBirthdate.Location = new System.Drawing.Point(146, 41); this.textBirthdate.Multiline = true; this.textBirthdate.Name = "textBirthdate"; this.textBirthdate.Size = new System.Drawing.Size(81, 20); this.textBirthdate.TabIndex = 8; this.textBirthdate.Text = ""; this.textBirthdate.Validating += new System.ComponentModel.CancelEventHandler(this.textBirthdate_Validating); // // textAge // this.textAge.Location = new System.Drawing.Point(78, 41); this.textAge.Name = "textAge"; this.textAge.Size = new System.Drawing.Size(35, 20); this.textAge.TabIndex = 141; this.textAge.Text = ""; this.textAge.Validating += new System.ComponentModel.CancelEventHandler(this.textAge_Validating); // // listRace // this.listRace.Location = new System.Drawing.Point(6, 82); this.listRace.Name = "listRace"; this.listRace.Size = new System.Drawing.Size(113, 121); this.listRace.TabIndex = 142; // // textScreenGroupOrder // this.textScreenGroupOrder.Location = new System.Drawing.Point(78, 0); this.textScreenGroupOrder.Name = "textScreenGroupOrder"; this.textScreenGroupOrder.Size = new System.Drawing.Size(35, 20); this.textScreenGroupOrder.TabIndex = 144; this.textScreenGroupOrder.Text = ""; this.textScreenGroupOrder.Validating += new System.ComponentModel.CancelEventHandler(this.textScreenGroupOrder_Validating); // // label1 // this.label1.Location = new System.Drawing.Point(37, 2); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(39, 14); this.label1.TabIndex = 143; this.label1.Text = "Row"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // FormScreenEdit // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(234, 296); this.Controls.Add(this.textScreenGroupOrder); this.Controls.Add(this.label1); this.Controls.Add(this.listRace); this.Controls.Add(this.textAge); this.Controls.Add(this.checkNeedsSealants); this.Controls.Add(this.textComments); this.Controls.Add(this.comboGradeLevel); this.Controls.Add(this.updownAgeArrows); this.Controls.Add(this.label4); this.Controls.Add(this.textBirthdate); this.Controls.Add(this.label5); this.Controls.Add(this.checkMissingAllTeeth); this.Controls.Add(this.checkEarlyChildCaries); this.Controls.Add(this.checkCariesExperience); this.Controls.Add(this.checkExistingSealants); this.Controls.Add(this.radioUnknown); this.Controls.Add(this.listUrgency); this.Controls.Add(this.radioF); this.Controls.Add(this.radioM); this.Controls.Add(this.butOK); this.Controls.Add(this.checkHasCaries); this.Controls.Add(this.label8); this.Controls.Add(this.label35); this.Controls.Add(this.label15); this.Controls.Add(this.label10); this.Controls.Add(this.but1); this.Controls.Add(this.but5); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "FormScreenEdit"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Edit Screening"; this.Load += new System.EventHandler(this.FormScreenEdit_Load); this.ResumeLayout(false); }