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._retrieveDataLabel = new System.Windows.Forms.Label(); this._tableRadioButton = new System.Windows.Forms.RadioButton(); this._customSqlRadioButton = new System.Windows.Forms.RadioButton(); this._advancedOptionsButton = new System.Windows.Forms.Button(); this._previewTextBox = new System.Windows.Forms.TextBox(); this._previewLabel = new System.Windows.Forms.Label(); this._tableNameLabel = new System.Windows.Forms.Label(); this._addSortButton = new System.Windows.Forms.Button(); this._addFilterButton = new System.Windows.Forms.Button(); this._selectDistinctCheckBox = new System.Windows.Forms.CheckBox(); this._fieldsCheckedListBox = new CheckedListBox(); this._fieldsLabel = new System.Windows.Forms.Label(); this._tablesComboBox = new AutoSizeComboBox(); this._columnsTableLayoutPanel = new TableLayoutPanel(); this._optionsTableLayoutPanel = new TableLayoutPanel(); this._fieldChooserPanel = new System.Windows.Forms.Panel(); this._columnsTableLayoutPanel.SuspendLayout(); this._optionsTableLayoutPanel.SuspendLayout(); this._fieldChooserPanel.SuspendLayout(); base.SuspendLayout(); this._retrieveDataLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._retrieveDataLabel.Location = new Point(0, 0); this._retrieveDataLabel.Name = "_retrieveDataLabel"; this._retrieveDataLabel.Size = new Size(0x220, 0x10); this._retrieveDataLabel.TabIndex = 10; this._customSqlRadioButton.Location = new Point(7, 0x13); this._customSqlRadioButton.Name = "_customSqlRadioButton"; this._customSqlRadioButton.Size = new Size(0x219, 0x12); this._customSqlRadioButton.TabIndex = 20; this._customSqlRadioButton.CheckedChanged += new EventHandler(this.OnCustomSqlRadioButtonCheckedChanged); this._tableRadioButton.Location = new Point(7, 0x26); this._tableRadioButton.Name = "_tableRadioButton"; this._tableRadioButton.Size = new Size(0x219, 0x12); this._tableRadioButton.TabIndex = 30; this._tableRadioButton.CheckedChanged += new EventHandler(this.OnTableRadioButtonCheckedChanged); this._fieldChooserPanel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this._fieldChooserPanel.Controls.Add(this._tableNameLabel); this._fieldChooserPanel.Controls.Add(this._tablesComboBox); this._fieldChooserPanel.Controls.Add(this._fieldsLabel); this._fieldChooserPanel.Controls.Add(this._columnsTableLayoutPanel); this._fieldChooserPanel.Controls.Add(this._previewLabel); this._fieldChooserPanel.Controls.Add(this._previewTextBox); this._fieldChooserPanel.Location = new Point(0x19, 0x3a); this._fieldChooserPanel.Name = "_fieldChooserPanel"; this._fieldChooserPanel.Size = new Size(0x207, 0xd8); this._fieldChooserPanel.TabIndex = 40; this._tableNameLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._tableNameLabel.Location = new Point(0, 0); this._tableNameLabel.Name = "_tableNameLabel"; this._tableNameLabel.Size = new Size(0x207, 0x10); this._tableNameLabel.TabIndex = 10; this._tablesComboBox.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._tablesComboBox.DropDownStyle = ComboBoxStyle.DropDownList; this._tablesComboBox.Location = new Point(0, 0x10); this._tablesComboBox.Name = "_tablesComboBox"; this._tablesComboBox.Size = new Size(0x107, 0x15); this._tablesComboBox.TabIndex = 20; this._tablesComboBox.SelectedIndexChanged += new EventHandler(this.OnTablesComboBoxSelectedIndexChanged); this._fieldsLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._fieldsLabel.Location = new Point(0, 0x2a); this._fieldsLabel.Name = "_fieldsLabel"; this._fieldsLabel.Size = new Size(0x207, 0x10); this._fieldsLabel.TabIndex = 30; this._columnsTableLayoutPanel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this._columnsTableLayoutPanel.ColumnCount = 2; this._columnsTableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f)); this._columnsTableLayoutPanel.ColumnStyles.Add(new ColumnStyle()); this._columnsTableLayoutPanel.Controls.Add(this._optionsTableLayoutPanel, 0, 1); this._columnsTableLayoutPanel.Controls.Add(this._fieldsCheckedListBox, 0, 0); this._columnsTableLayoutPanel.Controls.Add(this._selectDistinctCheckBox, 1, 0); this._columnsTableLayoutPanel.Location = new Point(0, 0x3a); this._columnsTableLayoutPanel.Name = "_columnsTableLayoutPanel"; this._columnsTableLayoutPanel.RowCount = 2; this._columnsTableLayoutPanel.RowStyles.Add(new RowStyle()); this._columnsTableLayoutPanel.RowStyles.Add(new RowStyle()); this._columnsTableLayoutPanel.Size = new Size(0x207, 100); this._columnsTableLayoutPanel.TabIndex = 40; this._previewLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom; this._previewLabel.Location = new Point(0, 0xa4); this._previewLabel.Name = "_previewLabel"; this._previewLabel.Size = new Size(0x207, 0x10); this._previewLabel.TabIndex = 50; this._previewTextBox.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom; this._previewTextBox.BackColor = SystemColors.Control; this._previewTextBox.Location = new Point(0, 180); this._previewTextBox.Multiline = true; this._previewTextBox.Name = "_previewTextBox"; this._previewTextBox.ReadOnly = true; this._previewTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this._previewTextBox.Size = new Size(0x207, 0x24); this._previewTextBox.TabIndex = 60; this._previewTextBox.Text = ""; this._fieldsCheckedListBox.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this._fieldsCheckedListBox.CheckOnClick = true; this._fieldsCheckedListBox.IntegralHeight = false; this._fieldsCheckedListBox.Location = new Point(0, 0); this._fieldsCheckedListBox.MultiColumn = true; this._fieldsCheckedListBox.Name = "_fieldsCheckedListBox"; this._fieldsCheckedListBox.Margin = new Padding(0, 0, 3, 0); this._columnsTableLayoutPanel.SetRowSpan(this._fieldsCheckedListBox, 2); this._fieldsCheckedListBox.Size = new Size(0x184, 100); this._fieldsCheckedListBox.TabIndex = 10; this._fieldsCheckedListBox.ItemCheck += new ItemCheckEventHandler(this.OnFieldsCheckedListBoxItemCheck); this._selectDistinctCheckBox.AutoSize = true; this._selectDistinctCheckBox.Location = new Point(0x18a, 2); this._selectDistinctCheckBox.Margin = new Padding(3, 0, 0, 0); this._selectDistinctCheckBox.Name = "_selectDistinctCheckBox"; this._selectDistinctCheckBox.Size = new Size(15, 14); this._selectDistinctCheckBox.TabIndex = 20; this._selectDistinctCheckBox.CheckedChanged += new EventHandler(this.OnSelectDistinctCheckBoxCheckedChanged); this._optionsTableLayoutPanel.AutoSize = true; this._optionsTableLayoutPanel.ColumnCount = 1; this._optionsTableLayoutPanel.ColumnStyles.Add(new ColumnStyle()); this._optionsTableLayoutPanel.Controls.Add(this._addFilterButton, 0, 0); this._optionsTableLayoutPanel.Controls.Add(this._addSortButton, 0, 1); this._optionsTableLayoutPanel.Controls.Add(this._advancedOptionsButton, 0, 2); this._optionsTableLayoutPanel.Location = new Point(0x18a, 0x13); this._optionsTableLayoutPanel.Margin = new Padding(3, 0, 0, 0); this._optionsTableLayoutPanel.Name = "_optionsTableLayoutPanel"; this._optionsTableLayoutPanel.RowCount = 3; this._optionsTableLayoutPanel.RowStyles.Add(new RowStyle()); this._optionsTableLayoutPanel.RowStyles.Add(new RowStyle()); this._optionsTableLayoutPanel.RowStyles.Add(new RowStyle()); this._optionsTableLayoutPanel.Size = new Size(0x73, 0x51); this._optionsTableLayoutPanel.TabIndex = 30; this._addFilterButton.Anchor = AnchorStyles.Right | AnchorStyles.Left; this._addFilterButton.AutoSize = true; this._addFilterButton.Location = new Point(0, 2); this._addFilterButton.Margin = new Padding(0, 2, 0, 2); this._addFilterButton.MinimumSize = new Size(0x73, 0x17); this._addFilterButton.Name = "_addFilterButton"; this._addFilterButton.Size = new Size(0x73, 0x17); this._addFilterButton.TabIndex = 10; this._addFilterButton.Click += new EventHandler(this.OnAddFilterButtonClick); this._addSortButton.Anchor = AnchorStyles.Right | AnchorStyles.Left; this._addSortButton.AutoSize = true; this._addSortButton.Location = new Point(0, 0x1d); this._addSortButton.Margin = new Padding(0, 2, 0, 2); this._addSortButton.MinimumSize = new Size(0x73, 0x17); this._addSortButton.Name = "_addSortButton"; this._addSortButton.Size = new Size(0x73, 0x17); this._addSortButton.TabIndex = 20; this._addSortButton.Click += new EventHandler(this.OnAddSortButtonClick); this._advancedOptionsButton.Anchor = AnchorStyles.Right | AnchorStyles.Left; this._advancedOptionsButton.AutoSize = true; this._advancedOptionsButton.Location = new Point(0, 0x38); this._advancedOptionsButton.Margin = new Padding(0, 2, 0, 2); this._advancedOptionsButton.MinimumSize = new Size(0x73, 0x17); this._advancedOptionsButton.Name = "_advancedOptionsButton"; this._advancedOptionsButton.Size = new Size(0x73, 0x17); this._advancedOptionsButton.TabIndex = 30; this._advancedOptionsButton.Click += new EventHandler(this.OnAdvancedOptionsButtonClick); base.Controls.Add(this._fieldChooserPanel); base.Controls.Add(this._customSqlRadioButton); base.Controls.Add(this._tableRadioButton); base.Controls.Add(this._retrieveDataLabel); base.Name = "SqlDataSourceConfigureSelectPanel"; base.Size = new Size(0x220, 0x112); this._columnsTableLayoutPanel.ResumeLayout(false); this._columnsTableLayoutPanel.PerformLayout(); this._optionsTableLayoutPanel.ResumeLayout(false); this._optionsTableLayoutPanel.PerformLayout(); this._fieldChooserPanel.ResumeLayout(false); base.ResumeLayout(false); }
public ControlParameterEditor(IServiceProvider serviceProvider, System.Web.UI.Control control) : base(serviceProvider) { this._control = control; base.SuspendLayout(); base.Size = new Size(400, 400); this._controlIDLabel = new System.Windows.Forms.Label(); this._controlIDComboBox = new AutoSizeComboBox(); this._defaultValueLabel = new System.Windows.Forms.Label(); this._defaultValueTextBox = new System.Windows.Forms.TextBox(); this._showAdvancedLinkLabel = new LinkLabel(); this._controlIDLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._controlIDLabel.Location = new Point(0, 0); this._controlIDLabel.Size = new Size(400, 0x10); this._controlIDLabel.TabIndex = 10; this._controlIDLabel.Text = System.Design.SR.GetString("ParameterEditorUserControl_ControlParameterControlID"); this._controlIDComboBox.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._controlIDComboBox.DropDownStyle = ComboBoxStyle.DropDownList; this._controlIDComboBox.Location = new Point(0, 0x12); this._controlIDComboBox.Size = new Size(400, 0x15); this._controlIDComboBox.Sorted = true; this._controlIDComboBox.TabIndex = 20; this._controlIDComboBox.SelectedIndexChanged += new EventHandler(this.OnControlIDComboBoxSelectedIndexChanged); this._defaultValueLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._defaultValueLabel.Location = new Point(0, 0x2d); this._defaultValueLabel.Size = new Size(400, 0x10); this._defaultValueLabel.TabIndex = 30; this._defaultValueLabel.Text = System.Design.SR.GetString("ParameterEditorUserControl_ParameterDefaultValue"); this._defaultValueTextBox.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._defaultValueTextBox.Location = new Point(0, 0x3f); this._defaultValueTextBox.Size = new Size(400, 20); this._defaultValueTextBox.TabIndex = 40; this._defaultValueTextBox.TextChanged += new EventHandler(this.OnDefaultValueTextBoxTextChanged); this._showAdvancedLinkLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._showAdvancedLinkLabel.Location = new Point(0, 0x57); this._showAdvancedLinkLabel.Size = new Size(400, 0x10); this._showAdvancedLinkLabel.TabIndex = 50; this._showAdvancedLinkLabel.TabStop = true; this._showAdvancedLinkLabel.Text = System.Design.SR.GetString("ParameterEditorUserControl_ShowAdvancedProperties"); this._showAdvancedLinkLabel.Links.Add(new LinkLabel.Link(0, this._showAdvancedLinkLabel.Text.Length)); this._showAdvancedLinkLabel.LinkClicked += new LinkLabelLinkClickedEventHandler(this.OnShowAdvancedLinkLabelLinkClicked); base.Controls.Add(this._controlIDLabel); base.Controls.Add(this._controlIDComboBox); base.Controls.Add(this._defaultValueLabel); base.Controls.Add(this._defaultValueTextBox); base.Controls.Add(this._showAdvancedLinkLabel); this.Dock = DockStyle.Fill; base.ResumeLayout(); }
private void InitializeComponent() { this._addButtonPanel = new System.Windows.Forms.Panel(); this._addParameterButton = new System.Windows.Forms.Button(); this._parametersLabel = new System.Windows.Forms.Label(); this._sourceLabel = new System.Windows.Forms.Label(); this._parametersListView = new ListView(); this._nameColumnHeader = new ColumnHeader(""); this._valueColumnHeader = new ColumnHeader(""); this._parameterTypeComboBox = new AutoSizeComboBox(); this._moveUpButton = new System.Windows.Forms.Button(); this._moveDownButton = new System.Windows.Forms.Button(); this._deleteParameterButton = new System.Windows.Forms.Button(); this._editorPanel = new System.Windows.Forms.Panel(); this._addButtonPanel.SuspendLayout(); base.SuspendLayout(); this._parametersLabel.Location = new Point(0, 0); this._parametersLabel.Name = "_parametersLabel"; this._parametersLabel.Size = new Size(0xfc, 0x10); this._parametersLabel.TabIndex = 10; this._parametersListView.Anchor = AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this._parametersListView.Columns.AddRange(new ColumnHeader[] { this._nameColumnHeader, this._valueColumnHeader }); this._parametersListView.FullRowSelect = true; this._parametersListView.HeaderStyle = ColumnHeaderStyle.Nonclickable; this._parametersListView.HideSelection = false; this._parametersListView.LabelEdit = true; this._parametersListView.Location = new Point(0, 0x12); this._parametersListView.MultiSelect = false; this._parametersListView.Name = "_parametersListView"; this._parametersListView.Size = new Size(0xfc, 0xe0); this._parametersListView.TabIndex = 20; this._parametersListView.View = System.Windows.Forms.View.Details; this._parametersListView.SelectedIndexChanged += new EventHandler(this.OnParametersListViewSelectedIndexChanged); this._parametersListView.AfterLabelEdit += new LabelEditEventHandler(this.OnParametersListViewAfterLabelEdit); this._nameColumnHeader.Width = 0x55; this._valueColumnHeader.Width = 0x86; this._addButtonPanel.Anchor = AnchorStyles.Left | AnchorStyles.Bottom; this._addButtonPanel.Controls.Add(this._addParameterButton); this._addButtonPanel.Location = new Point(0, 0xf8); this._addButtonPanel.Name = "_addButtonPanel"; this._addButtonPanel.Size = new Size(0xfc, 30); this._addButtonPanel.TabIndex = 30; this._addParameterButton.Anchor = AnchorStyles.Right | AnchorStyles.Top; this._addParameterButton.AutoSize = true; this._addParameterButton.Location = new Point(0x7c, 0); this._addParameterButton.Name = "_addParameterButton"; this._addParameterButton.Size = new Size(0x80, 0x17); this._addParameterButton.TabIndex = 10; this._addParameterButton.Click += new EventHandler(this.OnAddParameterButtonClick); this._moveUpButton.Location = new Point(0x102, 0x12); this._moveUpButton.Name = "_moveUpButton"; this._moveUpButton.Size = new Size(0x1a, 0x17); this._moveUpButton.TabIndex = 40; this._moveUpButton.Click += new EventHandler(this.OnMoveUpButtonClick); this._moveDownButton.Location = new Point(0x102, 0x2a); this._moveDownButton.Name = "_moveDownButton"; this._moveDownButton.Size = new Size(0x1a, 0x17); this._moveDownButton.TabIndex = 50; this._moveDownButton.Click += new EventHandler(this.OnMoveDownButtonClick); this._deleteParameterButton.Location = new Point(0x102, 0x47); this._deleteParameterButton.Name = "_deleteParameterButton"; this._deleteParameterButton.Size = new Size(0x1a, 0x17); this._deleteParameterButton.TabIndex = 60; this._deleteParameterButton.Click += new EventHandler(this.OnDeleteParameterButtonClick); this._sourceLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._sourceLabel.Location = new Point(0x124, 0); this._sourceLabel.Name = "_sourceLabel"; this._sourceLabel.Size = new Size(300, 0x10); this._sourceLabel.TabIndex = 70; this._parameterTypeComboBox.DropDownStyle = ComboBoxStyle.DropDownList; this._parameterTypeComboBox.Location = new Point(0x124, 0x12); this._parameterTypeComboBox.Name = "_parameterTypeComboBox"; this._parameterTypeComboBox.Size = new Size(0xa3, 0x15); this._parameterTypeComboBox.TabIndex = 80; this._parameterTypeComboBox.SelectedIndexChanged += new EventHandler(this.OnParameterTypeComboBoxSelectedIndexChanged); this._editorPanel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this._editorPanel.Location = new Point(0x124, 0x2f); this._editorPanel.Name = "_editorPanel"; this._editorPanel.Size = new Size(0x134, 0xeb); this._editorPanel.TabIndex = 90; base.Controls.Add(this._editorPanel); base.Controls.Add(this._addButtonPanel); base.Controls.Add(this._deleteParameterButton); base.Controls.Add(this._moveDownButton); base.Controls.Add(this._moveUpButton); base.Controls.Add(this._parameterTypeComboBox); base.Controls.Add(this._parametersListView); base.Controls.Add(this._sourceLabel); base.Controls.Add(this._parametersLabel); this.MinimumSize = new Size(460, 0x7e); base.Name = "ParameterEditorUserControl"; base.Size = new Size(600, 280); this._addButtonPanel.ResumeLayout(false); this._addButtonPanel.PerformLayout(); base.ResumeLayout(false); }
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._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(); }
public ControlParameterEditor(IServiceProvider serviceProvider, System.Web.UI.Control control) : base(serviceProvider) { this._control = control; base.SuspendLayout(); base.Size = new Size(220, 0x2c); this._controlIDLabel = new System.Windows.Forms.Label(); this._controlIDComboBox = new AutoSizeComboBox(); this._defaultValueLabel = new System.Windows.Forms.Label(); this._defaultValueTextBox = new System.Windows.Forms.TextBox(); this._controlIDLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._controlIDLabel.Location = new Point(0, 0); this._controlIDLabel.Name = "ControlIDLabel"; this._controlIDLabel.Size = new Size(220, 0x10); this._controlIDLabel.TabIndex = 10; this._controlIDLabel.Text = System.Design.SR.GetString("SqlDataSourceConfigureFilterForm_ControlParameterEditor_ControlIDLabel"); this._controlIDComboBox.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._controlIDComboBox.DropDownStyle = ComboBoxStyle.DropDownList; this._controlIDComboBox.Location = new Point(0, 0x17); this._controlIDComboBox.Name = "ControlIDComboBox"; this._controlIDComboBox.Size = new Size(220, 20); this._controlIDComboBox.Sorted = true; this._controlIDComboBox.TabIndex = 20; this._controlIDComboBox.SelectedIndexChanged += new EventHandler(this.OnControlIDComboBoxSelectedIndexChanged); this._defaultValueLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._defaultValueLabel.Location = new Point(0, 0x30); this._defaultValueLabel.Name = "ControlDefaultValueLabel"; this._defaultValueLabel.Size = new Size(220, 0x10); this._defaultValueLabel.TabIndex = 30; this._defaultValueLabel.Text = System.Design.SR.GetString("SqlDataSourceConfigureFilterForm_ParameterEditor_DefaultValue"); this._defaultValueTextBox.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._defaultValueTextBox.Location = new Point(0, 0x44); this._defaultValueTextBox.Name = "ControlDefaultValueTextBox"; this._defaultValueTextBox.Size = new Size(220, 20); this._defaultValueTextBox.TabIndex = 40; this._defaultValueTextBox.TextChanged += new EventHandler(this.OnDefaultValueTextBoxTextChanged); base.Controls.Add(this._controlIDLabel); base.Controls.Add(this._controlIDComboBox); base.Controls.Add(this._defaultValueLabel); base.Controls.Add(this._defaultValueTextBox); if (base.ServiceProvider != null) { IDesignerHost service = (IDesignerHost) base.ServiceProvider.GetService(typeof(IDesignerHost)); if (service != null) { foreach (ParameterEditorUserControl.ControlItem item in ParameterEditorUserControl.ControlItem.GetControlItems(service, this._control)) { this._controlIDComboBox.Items.Add(item); } this._controlIDComboBox.InvalidateDropDownWidth(); } } this.Dock = DockStyle.Fill; base.ResumeLayout(); }
private void InitializeComponent() { this._helpLabel = new System.Windows.Forms.Label(); this._columnLabel = new System.Windows.Forms.Label(); this._columnsComboBox = new AutoSizeComboBox(); this._operatorsComboBox = new AutoSizeComboBox(); this._operatorLabel = new System.Windows.Forms.Label(); this._whereClausesLabel = new System.Windows.Forms.Label(); this._addButton = new System.Windows.Forms.Button(); this._removeButton = new System.Windows.Forms.Button(); this._cancelButton = new System.Windows.Forms.Button(); this._okButton = new System.Windows.Forms.Button(); this._expressionLabel = new System.Windows.Forms.Label(); this._propertiesGroupBox = new GroupBox(); this._propertiesPanel = new System.Windows.Forms.Panel(); this._sourceComboBox = new AutoSizeComboBox(); this._sourceLabel = new System.Windows.Forms.Label(); this._expressionTextBox = new System.Windows.Forms.TextBox(); this._whereClausesListView = new ListView(); this._expressionColumnHeader = new ColumnHeader(""); this._valueColumnHeader = new ColumnHeader(""); this._valueTextBox = new System.Windows.Forms.TextBox(); this._valueLabel = new System.Windows.Forms.Label(); this._propertiesGroupBox.SuspendLayout(); base.SuspendLayout(); this._helpLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._helpLabel.Location = new Point(12, 11); this._helpLabel.Name = "_helpLabel"; this._helpLabel.Size = new Size(0x20c, 0x2a); this._helpLabel.TabIndex = 10; this._columnLabel.Location = new Point(12, 0x3b); this._columnLabel.Name = "_columnLabel"; this._columnLabel.Size = new Size(0xac, 15); this._columnLabel.TabIndex = 20; this._columnsComboBox.DropDownStyle = ComboBoxStyle.DropDownList; this._columnsComboBox.Location = new Point(12, 0x4d); this._columnsComboBox.Name = "_columnsComboBox"; this._columnsComboBox.Size = new Size(0xac, 0x15); this._columnsComboBox.Sorted = true; this._columnsComboBox.TabIndex = 30; this._columnsComboBox.SelectedIndexChanged += new EventHandler(this.OnColumnsComboBoxSelectedIndexChanged); this._operatorLabel.Location = new Point(12, 0x68); this._operatorLabel.Name = "_operatorLabel"; this._operatorLabel.Size = new Size(0xac, 15); this._operatorLabel.TabIndex = 40; this._operatorsComboBox.DropDownStyle = ComboBoxStyle.DropDownList; this._operatorsComboBox.Location = new Point(12, 0x7a); this._operatorsComboBox.Name = "_operatorsComboBox"; this._operatorsComboBox.Size = new Size(0xac, 0x15); this._operatorsComboBox.TabIndex = 50; this._operatorsComboBox.SelectedIndexChanged += new EventHandler(this.OnOperatorsComboBoxSelectedIndexChanged); this._sourceLabel.Location = new Point(12, 0x94); this._sourceLabel.Name = "_sourceLabel"; this._sourceLabel.Size = new Size(0xac, 15); this._sourceLabel.TabIndex = 60; this._sourceComboBox.DropDownStyle = ComboBoxStyle.DropDownList; this._sourceComboBox.Location = new Point(12, 0xa6); this._sourceComboBox.Name = "_sourceComboBox"; this._sourceComboBox.Size = new Size(0xac, 0x15); this._sourceComboBox.TabIndex = 70; this._sourceComboBox.SelectedIndexChanged += new EventHandler(this.OnSourceComboBoxSelectedIndexChanged); this._propertiesGroupBox.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._propertiesGroupBox.Controls.Add(this._propertiesPanel); this._propertiesGroupBox.Location = new Point(0xf3, 0x3b); this._propertiesGroupBox.Name = "_propertiesGroupBox"; this._propertiesGroupBox.Size = new Size(0xc2, 0x7f); this._propertiesGroupBox.TabIndex = 80; this._propertiesGroupBox.TabStop = false; this._propertiesPanel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this._propertiesPanel.Location = new Point(10, 15); this._propertiesPanel.Name = "_propertiesPanel"; this._propertiesPanel.Size = new Size(0xa4, 100); this._propertiesPanel.TabIndex = 10; this._expressionLabel.Location = new Point(12, 0xc2); this._expressionLabel.Name = "_expressionLabel"; this._expressionLabel.Size = new Size(0xe1, 15); this._expressionLabel.TabIndex = 90; this._expressionTextBox.Location = new Point(12, 0xd4); this._expressionTextBox.Name = "_expressionTextBox"; this._expressionTextBox.ReadOnly = true; this._expressionTextBox.Size = new Size(0xe0, 20); this._expressionTextBox.TabIndex = 100; this._valueLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._valueLabel.Location = new Point(0xf3, 0xc2); this._valueLabel.Name = "_valueLabel"; this._valueLabel.Size = new Size(0xc2, 15); this._valueLabel.TabIndex = 110; this._valueTextBox.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._valueTextBox.Location = new Point(0xf3, 0xd4); this._valueTextBox.Name = "_valueTextBox"; this._valueTextBox.ReadOnly = true; this._valueTextBox.Size = new Size(0xc2, 20); this._valueTextBox.TabIndex = 120; this._addButton.Anchor = AnchorStyles.Right | AnchorStyles.Top; this._addButton.Location = new Point(0x1bb, 0xd4); this._addButton.Name = "_addButton"; this._addButton.Size = new Size(90, 0x17); this._addButton.TabIndex = 0x7d; this._addButton.Click += new EventHandler(this.OnAddButtonClick); this._whereClausesLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top; this._whereClausesLabel.Location = new Point(12, 0xf2); this._whereClausesLabel.Name = "_whereClausesLabel"; this._whereClausesLabel.Size = new Size(0x1a9, 15); this._whereClausesLabel.TabIndex = 130; this._whereClausesListView.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top; this._whereClausesListView.Columns.AddRange(new ColumnHeader[] { this._expressionColumnHeader, this._valueColumnHeader }); this._whereClausesListView.FullRowSelect = true; this._whereClausesListView.HeaderStyle = ColumnHeaderStyle.Nonclickable; this._whereClausesListView.HideSelection = false; this._whereClausesListView.Location = new Point(12, 260); this._whereClausesListView.MultiSelect = false; this._whereClausesListView.Name = "_whereClausesListView"; this._whereClausesListView.Size = new Size(0x1a9, 0x4e); this._whereClausesListView.TabIndex = 0x87; this._whereClausesListView.View = System.Windows.Forms.View.Details; this._whereClausesListView.SelectedIndexChanged += new EventHandler(this.OnWhereClausesListViewSelectedIndexChanged); this._expressionColumnHeader.Text = ""; this._expressionColumnHeader.Width = 0xe1; this._valueColumnHeader.Text = ""; this._valueColumnHeader.Width = 160; this._removeButton.Anchor = AnchorStyles.Right | AnchorStyles.Top; this._removeButton.Location = new Point(0x1ba, 260); this._removeButton.Name = "_removeButton"; this._removeButton.Size = new Size(90, 0x17); this._removeButton.TabIndex = 140; this._removeButton.Click += new EventHandler(this.OnRemoveButtonClick); this._okButton.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this._okButton.Location = new Point(0x178, 0x15a); this._okButton.Name = "_okButton"; this._okButton.Size = new Size(0x4b, 0x17); this._okButton.TabIndex = 150; this._okButton.Click += new EventHandler(this.OnOkButtonClick); this._cancelButton.Anchor = AnchorStyles.Right | AnchorStyles.Bottom; this._cancelButton.DialogResult = DialogResult.Cancel; this._cancelButton.Location = new Point(0x1c9, 0x15a); this._cancelButton.Name = "_cancelButton"; this._cancelButton.Size = new Size(0x4b, 0x17); this._cancelButton.TabIndex = 160; this._cancelButton.Click += new EventHandler(this.OnCancelButtonClick); base.AcceptButton = this._okButton; base.CancelButton = this._cancelButton; base.ClientSize = new Size(0x220, 0x17d); base.Controls.Add(this._valueTextBox); base.Controls.Add(this._valueLabel); base.Controls.Add(this._whereClausesListView); base.Controls.Add(this._expressionTextBox); base.Controls.Add(this._propertiesGroupBox); base.Controls.Add(this._expressionLabel); base.Controls.Add(this._okButton); base.Controls.Add(this._cancelButton); base.Controls.Add(this._removeButton); base.Controls.Add(this._addButton); base.Controls.Add(this._whereClausesLabel); base.Controls.Add(this._operatorsComboBox); base.Controls.Add(this._operatorLabel); base.Controls.Add(this._columnsComboBox); base.Controls.Add(this._columnLabel); base.Controls.Add(this._helpLabel); base.Controls.Add(this._sourceLabel); base.Controls.Add(this._sourceComboBox); this.MinimumSize = new Size(0x228, 0x19f); base.Name = "SqlDataSourceConfigureFilterForm"; base.SizeGripStyle = SizeGripStyle.Show; this._propertiesGroupBox.ResumeLayout(false); base.InitializeForm(); base.ResumeLayout(false); base.PerformLayout(); }
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 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); }