private void InitializeComponent() { this._helpLabel = new System.Windows.Forms.Label(); this._nameLabel = new System.Windows.Forms.Label(); this._exampleLabel = new System.Windows.Forms.Label(); this._typeNameTextBox = new System.Windows.Forms.TextBox(); this._typeNameComboBox = new AutoSizeComboBox(); this._filterCheckBox = new System.Windows.Forms.CheckBox(); base.SuspendLayout(); this._helpLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._helpLabel.Location = new Point(0, 0); this._helpLabel.Name = "_helpLabel"; this._helpLabel.Size = new Size(0x220, 60); this._helpLabel.TabIndex = 10; this._nameLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._nameLabel.Location = new Point(0, 0x44); this._nameLabel.Name = "_nameLabel"; this._nameLabel.Size = new Size(0x220, 0x10); this._nameLabel.TabIndex = 20; this._typeNameTextBox.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._typeNameTextBox.Location = new Point(0, 0x56); this._typeNameTextBox.Name = "_typeNameTextBox"; this._typeNameTextBox.Size = new Size(300, 20); this._typeNameTextBox.TabIndex = 30; this._typeNameTextBox.TextChanged += new EventHandler(this.OnTypeNameTextBoxTextChanged); this._typeNameComboBox.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._typeNameComboBox.DropDownStyle = ComboBoxStyle.DropDownList; this._typeNameComboBox.Location = new Point(0, 0x56); this._typeNameComboBox.Name = "_typeNameComboBox"; this._typeNameComboBox.Size = new Size(300, 0x15); this._typeNameComboBox.Sorted = true; this._typeNameComboBox.TabIndex = 30; this._typeNameComboBox.SelectedIndexChanged += new EventHandler(this.OnTypeNameComboBoxSelectedIndexChanged); this._filterCheckBox.Anchor = AnchorStyles.Right | AnchorStyles.Top; this._filterCheckBox.Location = new Point(0x132, 0x56); this._filterCheckBox.Name = "_filterCheckBox"; this._filterCheckBox.Size = new Size(200, 0x12); this._filterCheckBox.TabIndex = 50; this._filterCheckBox.CheckedChanged += new EventHandler(this.OnFilterCheckBoxCheckedChanged); this._exampleLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._exampleLabel.ForeColor = SystemColors.GrayText; this._exampleLabel.Location = new Point(0, 0x7a); this._exampleLabel.Name = "_exampleLabel"; this._exampleLabel.Size = new Size(0x220, 0x10); this._exampleLabel.TabIndex = 60; base.Controls.Add(this._filterCheckBox); base.Controls.Add(this._typeNameComboBox); base.Controls.Add(this._typeNameTextBox); base.Controls.Add(this._exampleLabel); base.Controls.Add(this._nameLabel); base.Controls.Add(this._helpLabel); base.Name = "ObjectDataSourceChooseTypePanel"; base.Size = new Size(0x220, 0x112); base.ResumeLayout(false); base.PerformLayout(); }
private void InitializeComponent() { this._helpLabel = new System.Windows.Forms.Label(); this._methodLabel = new System.Windows.Forms.Label(); this._signatureLabel = new System.Windows.Forms.Label(); this._methodComboBox = new AutoSizeComboBox(); this._signatureTextBox = new System.Windows.Forms.TextBox(); base.SuspendLayout(); this._helpLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._helpLabel.Location = new Point(12, 12); this._helpLabel.Name = "_helpLabel"; this._helpLabel.Size = new Size(0x1e7, 80); this._helpLabel.TabIndex = 10; this._methodLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._methodLabel.Location = new Point(12, 0x62); this._methodLabel.Name = "_methodLabel"; this._methodLabel.Size = new Size(0x1e7, 0x10); this._methodLabel.TabIndex = 20; this._methodComboBox.DropDownStyle = ComboBoxStyle.DropDownList; this._methodComboBox.Location = new Point(12, 0x74); this._methodComboBox.Name = "_methodComboBox"; this._methodComboBox.Size = new Size(300, 0x15); this._methodComboBox.Sorted = true; this._methodComboBox.TabIndex = 30; this._methodComboBox.SelectedIndexChanged += new EventHandler(this.OnMethodComboBoxSelectedIndexChanged); this._signatureLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._signatureLabel.Location = new Point(12, 0x91); this._signatureLabel.Name = "_signatureLabel"; this._signatureLabel.Size = new Size(0x1e7, 0x10); this._signatureLabel.TabIndex = 40; this._signatureTextBox.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._signatureTextBox.BackColor = SystemColors.Control; this._signatureTextBox.Location = new Point(12, 0xa3); this._signatureTextBox.Multiline = true; this._signatureTextBox.Name = "_signatureTextBox"; this._signatureTextBox.ReadOnly = true; this._signatureTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this._signatureTextBox.Size = new Size(0x1e7, 0x30); this._signatureTextBox.TabIndex = 50; this._signatureTextBox.Text = ""; base.Controls.Add(this._signatureTextBox); base.Controls.Add(this._methodComboBox); base.Controls.Add(this._signatureLabel); base.Controls.Add(this._methodLabel); base.Controls.Add(this._helpLabel); base.Name = "ObjectDataSourceMethodEditor"; base.Size = new Size(0x1ff, 220); base.ResumeLayout(false); }
private void InitializeComponent() { this._helpLabel = new Label(); this._previewLabel = new Label(); this._previewTextBox = new TextBox(); this._sortAscendingRadioButton1 = new RadioButton(); this._sortDescendingRadioButton1 = new RadioButton(); this._sortDirectionPanel1 = new Panel(); this._fieldComboBox1 = new AutoSizeComboBox(); this._okButton = new Button(); this._cancelButton = new Button(); this._sortDescendingRadioButton2 = new RadioButton(); this._sortAscendingRadioButton2 = new RadioButton(); this._fieldComboBox2 = new AutoSizeComboBox(); this._sortDirectionPanel2 = new Panel(); this._sortDescendingRadioButton3 = new RadioButton(); this._sortAscendingRadioButton3 = new RadioButton(); this._fieldComboBox3 = new AutoSizeComboBox(); this._sortDirectionPanel3 = new Panel(); this._sortByGroupBox1 = new GroupBox(); this._sortByGroupBox2 = new GroupBox(); this._sortByGroupBox3 = new GroupBox(); this._sortDirectionPanel1.SuspendLayout(); this._sortDirectionPanel2.SuspendLayout(); this._sortDirectionPanel3.SuspendLayout(); this._sortByGroupBox1.SuspendLayout(); this._sortByGroupBox2.SuspendLayout(); this._sortByGroupBox3.SuspendLayout(); base.SuspendLayout(); this._helpLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._helpLabel.Location = new Point(12, 12); this._helpLabel.Name = "_helpLabel"; this._helpLabel.Size = new Size(0x17e, 0x10); this._helpLabel.TabIndex = 10; this._sortAscendingRadioButton1.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._sortAscendingRadioButton1.Location = new Point(0, 0); this._sortAscendingRadioButton1.Name = "_sortAscendingRadioButton1"; this._sortAscendingRadioButton1.Size = new Size(200, 0x12); this._sortAscendingRadioButton1.TabIndex = 10; this._sortAscendingRadioButton1.CheckedChanged += new EventHandler(this.OnSortAscendingRadioButton1CheckedChanged); this._sortDescendingRadioButton1.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._sortDescendingRadioButton1.Location = new Point(0, 0x12); this._sortDescendingRadioButton1.Name = "_sortDescendingRadioButton1"; this._sortDescendingRadioButton1.Size = new Size(200, 0x12); this._sortDescendingRadioButton1.TabIndex = 20; this._sortDirectionPanel1.Controls.Add(this._sortDescendingRadioButton1); this._sortDirectionPanel1.Controls.Add(this._sortAscendingRadioButton1); this._sortDirectionPanel1.Location = new Point(0xa9, 12); this._sortDirectionPanel1.Name = "_sortDirectionPanel1"; this._sortDirectionPanel1.Size = new Size(200, 0x26); this._sortDirectionPanel1.TabIndex = 20; this._fieldComboBox1.DropDownStyle = ComboBoxStyle.DropDownList; this._fieldComboBox1.Location = new Point(9, 20); this._fieldComboBox1.Name = "_fieldComboBox1"; this._fieldComboBox1.Size = new Size(0x99, 0x15); this._fieldComboBox1.Sorted = true; this._fieldComboBox1.TabIndex = 10; this._fieldComboBox1.SelectedIndexChanged += new EventHandler(this.OnFieldComboBox1SelectedIndexChanged); this._sortDescendingRadioButton2.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._sortDescendingRadioButton2.Location = new Point(0, 0x12); this._sortDescendingRadioButton2.Name = "_sortDescendingRadioButton2"; this._sortDescendingRadioButton2.Size = new Size(200, 0x12); this._sortDescendingRadioButton2.TabIndex = 20; this._sortAscendingRadioButton2.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._sortAscendingRadioButton2.Location = new Point(0, 0); this._sortAscendingRadioButton2.Name = "_sortAscendingRadioButton2"; this._sortAscendingRadioButton2.Size = new Size(200, 0x12); this._sortAscendingRadioButton2.TabIndex = 10; this._sortAscendingRadioButton2.CheckedChanged += new EventHandler(this.OnSortAscendingRadioButton2CheckedChanged); this._fieldComboBox2.DropDownStyle = ComboBoxStyle.DropDownList; this._fieldComboBox2.Location = new Point(9, 20); this._fieldComboBox2.Name = "_fieldComboBox2"; this._fieldComboBox2.Size = new Size(0x99, 0x15); this._fieldComboBox2.Sorted = true; this._fieldComboBox2.TabIndex = 10; this._fieldComboBox2.SelectedIndexChanged += new EventHandler(this.OnFieldComboBox2SelectedIndexChanged); this._sortDirectionPanel2.Controls.Add(this._sortDescendingRadioButton2); this._sortDirectionPanel2.Controls.Add(this._sortAscendingRadioButton2); this._sortDirectionPanel2.Location = new Point(0xa9, 12); this._sortDirectionPanel2.Name = "_sortDirectionPanel2"; this._sortDirectionPanel2.Size = new Size(200, 0x26); this._sortDirectionPanel2.TabIndex = 20; this._sortDescendingRadioButton3.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._sortDescendingRadioButton3.Location = new Point(0, 0x12); this._sortDescendingRadioButton3.Name = "_sortDescendingRadioButton3"; this._sortDescendingRadioButton3.Size = new Size(200, 0x12); this._sortDescendingRadioButton3.TabIndex = 20; this._sortAscendingRadioButton3.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._sortAscendingRadioButton3.Location = new Point(0, 0); this._sortAscendingRadioButton3.Name = "_sortAscendingRadioButton3"; this._sortAscendingRadioButton3.Size = new Size(200, 0x12); this._sortAscendingRadioButton3.TabIndex = 10; this._sortAscendingRadioButton3.CheckedChanged += new EventHandler(this.OnSortAscendingRadioButton3CheckedChanged); this._fieldComboBox3.DropDownStyle = ComboBoxStyle.DropDownList; this._fieldComboBox3.Location = new Point(9, 20); this._fieldComboBox3.Name = "_fieldComboBox3"; this._fieldComboBox3.Size = new Size(0x99, 0x15); this._fieldComboBox3.Sorted = true; this._fieldComboBox3.TabIndex = 10; this._fieldComboBox3.SelectedIndexChanged += new EventHandler(this.OnFieldComboBox3SelectedIndexChanged); this._sortDirectionPanel3.Controls.Add(this._sortDescendingRadioButton3); this._sortDirectionPanel3.Controls.Add(this._sortAscendingRadioButton3); this._sortDirectionPanel3.Location = new Point(0xa9, 12); this._sortDirectionPanel3.Name = "_sortDirectionPanel3"; this._sortDirectionPanel3.Size = new Size(200, 0x26); this._sortDirectionPanel3.TabIndex = 20; this._sortByGroupBox1.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._sortByGroupBox1.Controls.Add(this._fieldComboBox1); this._sortByGroupBox1.Controls.Add(this._sortDirectionPanel1); this._sortByGroupBox1.Location = new Point(12, 0x21); this._sortByGroupBox1.Name = "_sortByGroupBox1"; this._sortByGroupBox1.Size = new Size(0x180, 0x38); this._sortByGroupBox1.TabIndex = 20; this._sortByGroupBox1.TabStop = false; this._sortByGroupBox2.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._sortByGroupBox2.Controls.Add(this._fieldComboBox2); this._sortByGroupBox2.Controls.Add(this._sortDirectionPanel2); this._sortByGroupBox2.Location = new Point(12, 0x5f); this._sortByGroupBox2.Name = "_sortByGroupBox2"; this._sortByGroupBox2.Size = new Size(0x180, 0x38); this._sortByGroupBox2.TabIndex = 30; this._sortByGroupBox2.TabStop = false; this._sortByGroupBox3.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._sortByGroupBox3.Controls.Add(this._fieldComboBox3); this._sortByGroupBox3.Controls.Add(this._sortDirectionPanel3); this._sortByGroupBox3.Location = new Point(12, 0x9d); this._sortByGroupBox3.Name = "_sortByGroupBox3"; this._sortByGroupBox3.Size = new Size(0x180, 0x38); this._sortByGroupBox3.TabIndex = 40; this._sortByGroupBox3.TabStop = false; this._previewLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._previewLabel.Location = new Point(12, 0xdb); this._previewLabel.Name = "_previewLabel"; this._previewLabel.Size = new Size(0x180, 13); this._previewLabel.TabIndex = 50; this._previewTextBox.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this._previewTextBox.BackColor = SystemColors.Control; this._previewTextBox.Location = new Point(12, 0xed); this._previewTextBox.Multiline = true; this._previewTextBox.Name = "_previewTextBox"; this._previewTextBox.ReadOnly = true; this._previewTextBox.ScrollBars = ScrollBars.Vertical; this._previewTextBox.Size = new Size(0x180, 0x48); this._previewTextBox.TabIndex = 60; this._previewTextBox.Text = ""; this._okButton.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this._okButton.Location = new Point(240, 0x141); this._okButton.Name = "_okButton"; this._okButton.TabIndex = 70; this._okButton.Click += new EventHandler(this.OnOkButtonClick); this._cancelButton.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this._cancelButton.DialogResult = DialogResult.Cancel; this._cancelButton.Location = new Point(0x141, 0x141); this._cancelButton.Name = "_cancelButton"; this._cancelButton.TabIndex = 80; this._cancelButton.Click += new EventHandler(this.OnCancelButtonClick); base.AcceptButton = this._okButton; base.CancelButton = this._cancelButton; base.ClientSize = new Size(0x198, 0x164); base.Controls.Add(this._sortByGroupBox2); base.Controls.Add(this._sortByGroupBox3); base.Controls.Add(this._sortByGroupBox1); base.Controls.Add(this._cancelButton); base.Controls.Add(this._okButton); base.Controls.Add(this._previewTextBox); base.Controls.Add(this._previewLabel); base.Controls.Add(this._helpLabel); this.MinimumSize = new Size(0x1a0, 390); base.Name = "SqlDataSourceConfigureSortForm"; base.SizeGripStyle = SizeGripStyle.Show; this._sortDirectionPanel1.ResumeLayout(false); this._sortDirectionPanel2.ResumeLayout(false); this._sortDirectionPanel3.ResumeLayout(false); this._sortByGroupBox1.ResumeLayout(false); this._sortByGroupBox2.ResumeLayout(false); this._sortByGroupBox3.ResumeLayout(false); base.InitializeForm(); base.ResumeLayout(false); }
private void InitializeComponent() { this._instructionLabel = new Label(); this._bindablePropsLabels = new Label(); this._bindablePropsTree = new TreeView(); this._okButton = new Button(); this._cancelButton = new Button(); this._expressionBuilderComboBox = new AutoSizeComboBox(); this._expressionBuilderPropertyGrid = new VsPropertyGrid(base.ServiceProvider); this._expressionBuilderLabel = new Label(); this._propertyGridLabel = new Label(); this._propertiesPanel = new Panel(); this._generatedHelpLabel = new Label(); base.SuspendLayout(); this._instructionLabel.Location = new Point(12, 12); this._instructionLabel.Name = "_instructionLabel"; this._instructionLabel.Size = new Size(0x1dc, 0x31); this._instructionLabel.TabIndex = 0; this._bindablePropsLabels.Location = new Point(12, 0x41); this._bindablePropsLabels.Name = "_bindablePropsLabels"; this._bindablePropsLabels.Size = new Size(0xc4, 0x10); this._bindablePropsLabels.TabIndex = 1; this._bindablePropsTree.HideSelection = false; this._bindablePropsTree.ImageIndex = -1; this._bindablePropsTree.Location = new Point(12, 0x53); this._bindablePropsTree.Name = "_bindablePropsTree"; this._bindablePropsTree.SelectedImageIndex = -1; this._bindablePropsTree.Sorted = true; this._bindablePropsTree.ShowLines = false; this._bindablePropsTree.ShowPlusMinus = false; this._bindablePropsTree.ShowRootLines = false; this._bindablePropsTree.Size = new Size(0xc4, 0xb6); this._bindablePropsTree.TabIndex = 2; this._bindablePropsTree.AfterSelect += new TreeViewEventHandler(this.OnBindablePropsTreeAfterSelect); this._okButton.Location = new Point(0x138, 0x113); this._okButton.Name = "_okButton"; this._okButton.TabIndex = 0x10; this._okButton.Size = new Size(0x55, 0x17); this._okButton.Click += new EventHandler(this.OnOKButtonClick); this._cancelButton.DialogResult = DialogResult.Cancel; this._cancelButton.Location = new Point(0x193, 0x113); this._cancelButton.Name = "_cancelButton"; this._cancelButton.Size = new Size(0x55, 0x17); this._cancelButton.TabIndex = 0x11; this._expressionBuilderLabel.Location = new Point(0, 0); this._expressionBuilderLabel.Name = "_expressionBuilderLabel"; this._expressionBuilderLabel.Size = new Size(0x10c, 0x10); this._expressionBuilderLabel.TabIndex = 10; this._expressionBuilderComboBox.DropDownStyle = ComboBoxStyle.DropDownList; this._expressionBuilderComboBox.Location = new Point(0, 0x12); this._expressionBuilderComboBox.Name = "_expressionBuilderComboBox"; this._expressionBuilderComboBox.TabIndex = 20; this._expressionBuilderComboBox.Size = new Size(0x10c, 0x15); this._expressionBuilderComboBox.Sorted = true; this._expressionBuilderComboBox.SelectedIndexChanged += new EventHandler(this.OnExpressionBuilderComboBoxSelectedIndexChanged); this._propertyGridLabel.Location = new Point(0, 0x2b); this._propertyGridLabel.Name = "_propertyGridLabel"; this._propertyGridLabel.Size = new Size(0x10c, 0x10); this._propertyGridLabel.TabIndex = 30; this._expressionBuilderPropertyGrid.Location = new Point(0, 0x3d); this._expressionBuilderPropertyGrid.Name = "_expressionBuilderPropertyGrid"; this._expressionBuilderPropertyGrid.TabIndex = 40; this._expressionBuilderPropertyGrid.Size = new Size(0x10c, 0x8b); this._expressionBuilderPropertyGrid.PropertySort = PropertySort.Alphabetical; this._expressionBuilderPropertyGrid.ToolbarVisible = false; this._expressionBuilderPropertyGrid.PropertyValueChanged += new PropertyValueChangedEventHandler(this.OnExpressionBuilderPropertyGridPropertyValueChanged); this._expressionBuilderPropertyGrid.Site = this._control.Site; this._propertiesPanel.Location = new Point(220, 0x41); this._propertiesPanel.Name = "_propertiesPanel"; this._propertiesPanel.Size = new Size(0x10c, 200); this._propertiesPanel.TabIndex = 5; this._propertiesPanel.Controls.AddRange(new System.Windows.Forms.Control[] { this._expressionBuilderLabel, this._expressionBuilderComboBox, this._propertyGridLabel, this._expressionBuilderPropertyGrid }); this._generatedHelpLabel.Location = new Point(220, 0x48); this._generatedHelpLabel.Name = "_generatedHelpLabel"; this._generatedHelpLabel.Size = new Size(0x10c, 180); this._generatedHelpLabel.TabIndex = 5; base.CancelButton = this._cancelButton; base.ClientSize = new Size(500, 310); base.Controls.AddRange(new System.Windows.Forms.Control[] { this._cancelButton, this._okButton, this._propertiesPanel, this._bindablePropsTree, this._bindablePropsLabels, this._instructionLabel, this._generatedHelpLabel }); base.FormBorderStyle = FormBorderStyle.FixedDialog; base.Name = "ExpressionBindingsDialog"; base.InitializeForm(); base.ResumeLayout(false); }
private void InitializeComponent() { this._commandTextBox = new System.Windows.Forms.TextBox(); this._queryBuilderButton = new System.Windows.Forms.Button(); this._sqlRadioButton = new System.Windows.Forms.RadioButton(); this._storedProcedureRadioButton = new System.Windows.Forms.RadioButton(); this._storedProcedureComboBox = new AutoSizeComboBox(); this._storedProcedurePanel = new System.Windows.Forms.Panel(); this._sqlPanel = new System.Windows.Forms.Panel(); this._storedProcedurePanel.SuspendLayout(); this._sqlPanel.SuspendLayout(); base.SuspendLayout(); this._sqlRadioButton.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._sqlRadioButton.Location = new Point(12, 12); this._sqlRadioButton.Name = "_sqlRadioButton"; this._sqlRadioButton.Size = new Size(0x1e9, 20); this._sqlRadioButton.TabIndex = 10; this._sqlRadioButton.CheckedChanged += new EventHandler(this.OnSqlRadioButtonCheckedChanged); this._sqlPanel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this._sqlPanel.Controls.Add(this._queryBuilderButton); this._sqlPanel.Controls.Add(this._commandTextBox); this._sqlPanel.Location = new Point(0x1c, 0x20); this._sqlPanel.Name = "_sqlPanel"; this._sqlPanel.Size = new Size(480, 0x79); this._sqlPanel.TabIndex = 20; this._storedProcedureRadioButton.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom; this._storedProcedureRadioButton.Location = new Point(12, 160); this._storedProcedureRadioButton.Name = "_storedProcedureRadioButton"; this._storedProcedureRadioButton.Size = new Size(0x1e9, 20); this._storedProcedureRadioButton.TabIndex = 30; this._storedProcedurePanel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom; this._storedProcedurePanel.Controls.Add(this._storedProcedureComboBox); this._storedProcedurePanel.Location = new Point(0x1c, 180); this._storedProcedurePanel.Name = "_storedProcedurePanel"; this._storedProcedurePanel.Size = new Size(0x109, 0x15); this._storedProcedurePanel.TabIndex = 40; this._commandTextBox.AcceptsReturn = true; this._commandTextBox.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this._commandTextBox.Location = new Point(0, 0); this._commandTextBox.Multiline = true; this._commandTextBox.Name = "_commandTextBox"; this._commandTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this._commandTextBox.Size = new Size(480, 0x5d); this._commandTextBox.TabIndex = 20; this._commandTextBox.TextChanged += new EventHandler(this.OnCommandTextBoxTextChanged); this._queryBuilderButton.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this._queryBuilderButton.Location = new Point(330, 0x62); this._queryBuilderButton.Name = "_queryBuilderButton"; this._queryBuilderButton.Size = new Size(150, 0x17); this._queryBuilderButton.TabIndex = 30; this._queryBuilderButton.Click += new EventHandler(this.OnQueryBuilderButtonClick); this._storedProcedureComboBox.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this._storedProcedureComboBox.DropDownStyle = ComboBoxStyle.DropDownList; this._storedProcedureComboBox.Location = new Point(0, 0); this._storedProcedureComboBox.Name = "_storedProcedureComboBox"; this._storedProcedureComboBox.Size = new Size(0x109, 0x15); this._storedProcedureComboBox.TabIndex = 10; this._storedProcedureComboBox.SelectedIndexChanged += new EventHandler(this.OnStoredProcedureComboBoxSelectedIndexChanged); base.Controls.Add(this._sqlRadioButton); base.Controls.Add(this._sqlPanel); base.Controls.Add(this._storedProcedureRadioButton); base.Controls.Add(this._storedProcedurePanel); base.Name = "SqlDataSourceCustomCommandEditor"; base.Size = new Size(0x20a, 230); this._storedProcedurePanel.ResumeLayout(false); this._sqlPanel.ResumeLayout(false); this._sqlPanel.PerformLayout(); base.ResumeLayout(false); }
private void InitializeComponent() { this._chooseLabel = new System.Windows.Forms.Label(); this._connectionsComboBox = new AutoSizeComboBox(); this._newConnectionButton = new System.Windows.Forms.Button(); this._connectionTableLayoutPanel = new TableLayoutPanel(); this._detailsButton = new DetailsButton(); this._connectionStringLabel = new System.Windows.Forms.Label(); this._dividerLabel = new System.Windows.Forms.Label(); this._connectionStringTextBox = new System.Windows.Forms.TextBox(); this._connectionTableLayoutPanel.SuspendLayout(); base.SuspendLayout(); this._chooseLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._chooseLabel.Location = new Point(0, 0); this._chooseLabel.Name = "_chooseLabel"; this._chooseLabel.Size = new Size(0x220, 0x10); this._chooseLabel.TabIndex = 10; this._connectionTableLayoutPanel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._connectionTableLayoutPanel.ColumnCount = 2; this._connectionTableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f)); this._connectionTableLayoutPanel.ColumnStyles.Add(new ColumnStyle()); this._connectionTableLayoutPanel.Controls.Add(this._newConnectionButton, 1, 0); this._connectionTableLayoutPanel.Controls.Add(this._connectionsComboBox, 0, 0); this._connectionTableLayoutPanel.Location = new Point(0, 0x12); this._connectionTableLayoutPanel.Name = "_connectionTableLayoutPanel"; this._connectionTableLayoutPanel.RowCount = 1; this._connectionTableLayoutPanel.RowStyles.Add(new RowStyle()); this._connectionTableLayoutPanel.Size = new Size(0x220, 0x17); this._connectionTableLayoutPanel.TabIndex = 20; this._connectionsComboBox.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._connectionsComboBox.DropDownStyle = ComboBoxStyle.DropDownList; this._connectionsComboBox.Location = new Point(0, 0); this._connectionsComboBox.Margin = new Padding(0, 0, 3, 0); this._connectionsComboBox.Name = "_connectionsComboBox"; this._connectionsComboBox.Size = new Size(0x1cf, 0x15); this._connectionsComboBox.Sorted = true; this._connectionsComboBox.TabIndex = 10; this._connectionsComboBox.SelectedIndexChanged += new EventHandler(this.OnConnectionsComboBoxSelectedIndexChanged); this._newConnectionButton.AutoSize = true; this._newConnectionButton.AutoSizeMode = AutoSizeMode.GrowAndShrink; this._newConnectionButton.Location = new Point(0x1d5, 0); this._newConnectionButton.Margin = new Padding(3, 0, 0, 0); this._newConnectionButton.MinimumSize = new Size(0x4b, 0x17); this._newConnectionButton.Name = "_newConnectionButton"; this._newConnectionButton.Padding = new Padding(10, 0, 10, 0); this._newConnectionButton.Size = new Size(0x4b, 0x17); this._newConnectionButton.TabIndex = 20; this._newConnectionButton.Click += new EventHandler(this.OnNewConnectionButtonClick); this._detailsButton.Location = new Point(0, 0x33); this._detailsButton.Name = "_detailsButton"; this._detailsButton.Size = new Size(15, 15); this._detailsButton.TabIndex = 30; this._detailsButton.Click += new EventHandler(this.OnDetailsButtonClick); this._connectionStringLabel.AutoSize = true; this._connectionStringLabel.Location = new Point(0x15, 0x33); this._connectionStringLabel.Name = "_connectionStringLabel"; this._connectionStringLabel.Padding = new Padding(0, 0, 6, 0); this._connectionStringLabel.Size = new Size(0x5c, 0x10); this._connectionStringLabel.TabIndex = 40; this._dividerLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._dividerLabel.BackColor = SystemColors.ControlDark; this._dividerLabel.Location = new Point(30, 0x39); this._dividerLabel.Name = "_dividerLabel"; this._dividerLabel.Size = new Size(0x202, 1); this._dividerLabel.TabIndex = 50; this._connectionStringTextBox.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._connectionStringTextBox.BackColor = SystemColors.Control; this._connectionStringTextBox.Location = new Point(0x15, 0x47); this._connectionStringTextBox.Multiline = true; this._connectionStringTextBox.Name = "_connectionStringTextBox"; this._connectionStringTextBox.ReadOnly = true; this._connectionStringTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this._connectionStringTextBox.Size = new Size(0x20b, 90); this._connectionStringTextBox.TabIndex = 60; this._connectionStringTextBox.Text = ""; this._connectionStringTextBox.Visible = false; base.Controls.Add(this._connectionStringLabel); base.Controls.Add(this._dividerLabel); base.Controls.Add(this._detailsButton); base.Controls.Add(this._connectionStringTextBox); base.Controls.Add(this._chooseLabel); base.Controls.Add(this._connectionTableLayoutPanel); base.Name = "SqlDataSourceDataConnectionChooserPanel"; base.Size = new Size(0x220, 0x112); this._connectionTableLayoutPanel.ResumeLayout(false); this._connectionTableLayoutPanel.PerformLayout(); base.ResumeLayout(false); base.PerformLayout(); }