private void InitializeComponent()
 {
     this._okButton     = new System.Windows.Forms.Button();
     this._cancelButton = new System.Windows.Forms.Button();
     this._parameterEditorUserControl = new ParameterEditorUserControl(base.ServiceProvider, this._control);
     base.SuspendLayout();
     this._parameterEditorUserControl.Anchor   = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this._parameterEditorUserControl.Location = new Point(12, 12);
     this._parameterEditorUserControl.Size     = new Size(560, 0x116);
     this._parameterEditorUserControl.TabIndex = 10;
     this._okButton.Anchor       = AnchorStyles.Right | AnchorStyles.Bottom;
     this._okButton.Location     = new Point(0x1a0, 0x12b);
     this._okButton.TabIndex     = 20;
     this._okButton.Click       += new EventHandler(this.OnOkButtonClick);
     this._cancelButton.Anchor   = AnchorStyles.Right | AnchorStyles.Bottom;
     this._cancelButton.Location = new Point(0x1f1, 0x12b);
     this._cancelButton.TabIndex = 30;
     this._cancelButton.Click   += new EventHandler(this.OnCancelButtonClick);
     base.AcceptButton           = this._okButton;
     base.CancelButton           = this._cancelButton;
     base.ClientSize             = new Size(0x248, 0x14e);
     base.Controls.Add(this._parameterEditorUserControl);
     base.Controls.Add(this._cancelButton);
     base.Controls.Add(this._okButton);
     this.MinimumSize = new Size(0x1e4, 0x110);
     base.InitializeForm();
     base.ResumeLayout(false);
 }
Esempio n. 2
0
 private void InitializeComponent()
 {
     this._okButton                   = new System.Windows.Forms.Button();
     this._cancelButton               = new System.Windows.Forms.Button();
     this._inferParametersButton      = new System.Windows.Forms.Button();
     this._queryBuilderButton         = new System.Windows.Forms.Button();
     this._commandLabel               = new System.Windows.Forms.Label();
     this._commandTextBox             = new System.Windows.Forms.TextBox();
     this._parameterEditorUserControl = new ParameterEditorUserControl(base.ServiceProvider, (SqlDataSource)this._sqlDataSourceDesigner.Component);
     base.SuspendLayout();
     this._okButton.Anchor                     = AnchorStyles.Right | AnchorStyles.Bottom;
     this._okButton.Location                   = new Point(0x179, 0x17b);
     this._okButton.TabIndex                   = 150;
     this._okButton.Click                     += new EventHandler(this.OnOkButtonClick);
     this._cancelButton.Anchor                 = AnchorStyles.Right | AnchorStyles.Bottom;
     this._cancelButton.Location               = new Point(0x1c9, 0x17b);
     this._cancelButton.TabIndex               = 160;
     this._cancelButton.Click                 += new EventHandler(this.OnCancelButtonClick);
     this._commandLabel.Location               = new Point(12, 12);
     this._commandLabel.Size                   = new Size(200, 0x10);
     this._commandLabel.TabIndex               = 10;
     this._commandTextBox.AcceptsReturn        = true;
     this._commandTextBox.Anchor               = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this._commandTextBox.Location             = new Point(12, 30);
     this._commandTextBox.Multiline            = true;
     this._commandTextBox.ScrollBars           = System.Windows.Forms.ScrollBars.Vertical;
     this._commandTextBox.Size                 = new Size(520, 0x4e);
     this._commandTextBox.TabIndex             = 20;
     this._inferParametersButton.AutoSize      = true;
     this._inferParametersButton.Location      = new Point(12, 0x70);
     this._inferParametersButton.Size          = new Size(0x80, 0x17);
     this._inferParametersButton.TabIndex      = 30;
     this._inferParametersButton.Click        += new EventHandler(this.OnInferParametersButtonClick);
     this._queryBuilderButton.Anchor           = AnchorStyles.Right | AnchorStyles.Top;
     this._queryBuilderButton.AutoSize         = true;
     this._queryBuilderButton.Location         = new Point(0x194, 0x70);
     this._queryBuilderButton.Size             = new Size(0x80, 0x17);
     this._queryBuilderButton.TabIndex         = 40;
     this._queryBuilderButton.Click           += new EventHandler(this.OnQueryBuilderButtonClick);
     this._parameterEditorUserControl.Anchor   = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this._parameterEditorUserControl.Location = new Point(12, 0x90);
     this._parameterEditorUserControl.Size     = new Size(520, 0xe0);
     this._parameterEditorUserControl.TabIndex = 50;
     base.AcceptButton = this._okButton;
     base.CancelButton = this._cancelButton;
     base.ClientSize   = new Size(0x220, 410);
     base.Controls.Add(this._queryBuilderButton);
     base.Controls.Add(this._inferParametersButton);
     base.Controls.Add(this._commandTextBox);
     base.Controls.Add(this._commandLabel);
     base.Controls.Add(this._cancelButton);
     base.Controls.Add(this._okButton);
     base.Controls.Add(this._parameterEditorUserControl);
     this.MinimumSize = new Size(0x1e8, 440);
     base.InitializeForm();
     base.ResumeLayout(false);
 }
Esempio n. 3
0
 private void InitializeComponent()
 {
     this._helpLabel = new System.Windows.Forms.Label();
     this._parameterEditorUserControl = new ParameterEditorUserControl(this._objectDataSource.Site, this._objectDataSource);
     this._signatureLabel             = new System.Windows.Forms.Label();
     this._signatureTextBox           = new System.Windows.Forms.TextBox();
     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, 0x2d);
     this._helpLabel.TabIndex = 10;
     this._parameterEditorUserControl.Anchor             = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this._parameterEditorUserControl.Location           = new Point(0, 0x26);
     this._parameterEditorUserControl.Name               = "_parameterEditorUserControl";
     this._parameterEditorUserControl.Size               = new Size(0x220, 0x98);
     this._parameterEditorUserControl.TabIndex           = 20;
     this._parameterEditorUserControl.ParametersChanged += new EventHandler(this.OnParameterEditorUserControlParametersChanged);
     this._signatureLabel.Anchor       = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom;
     this._signatureLabel.Location     = new Point(0, 0xd6);
     this._signatureLabel.Name         = "_signatureLabel";
     this._signatureLabel.Size         = new Size(0x220, 0x10);
     this._signatureLabel.TabIndex     = 30;
     this._signatureTextBox.Anchor     = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom;
     this._signatureTextBox.BackColor  = SystemColors.Control;
     this._signatureTextBox.Location   = new Point(0, 0xe8);
     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(0x220, 0x2a);
     this._signatureTextBox.TabIndex   = 40;
     this._signatureTextBox.Text       = "";
     base.Controls.Add(this._signatureTextBox);
     base.Controls.Add(this._signatureLabel);
     base.Controls.Add(this._parameterEditorUserControl);
     base.Controls.Add(this._helpLabel);
     base.Name = "ObjectDataSourceConfigureParametersPanel";
     base.Size = new Size(0x220, 0x112);
     base.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._okButton                   = new System.Windows.Forms.Button();
            this._cancelButton               = new System.Windows.Forms.Button();
            this._statementLabel             = new System.Windows.Forms.Label();
            this._statementTextBox           = new System.Windows.Forms.TextBox();
            this._autoGenerateCheckBox       = new System.Windows.Forms.CheckBox();
            this._parameterEditorUserControl = (ParameterEditorUserControl)Activator.CreateInstance(typeof(ParameterEditorUserControl), BindingFlags.NonPublic | BindingFlags.Instance, null, new object[] { ServiceProvider, _entityDataSource }, null);
            this._checkBoxPanel              = new System.Windows.Forms.Panel();
            this._statementPanel             = new System.Windows.Forms.Panel();
            this._checkBoxPanel.SuspendLayout();
            this._statementPanel.SuspendLayout();
            this.SuspendLayout();
            this.InitializeSizes();
            //
            // _okButton
            //
            this._okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this._okButton.Name   = "_okButton";
            this._okButton.Click += new System.EventHandler(this.OnOkButtonClick);
            //
            // _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.Name         = "_cancelButton";
            this._cancelButton.Click       += new System.EventHandler(this.OnCancelButtonClick);
            //
            // _commandLabel
            //
            this._statementLabel.Name = "_commandLabel";
            //
            // _statementTextBox
            //
            this._statementTextBox.AcceptsReturn = true;
            this._statementTextBox.Anchor        = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                                         | System.Windows.Forms.AnchorStyles.Right)));
            this._statementTextBox.Multiline  = true;
            this._statementTextBox.Name       = "_statementTextBox";
            this._statementTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
            //
            // _autoGenerateCheckBox
            //
            this._autoGenerateCheckBox.CheckAlign = ContentAlignment.TopLeft;
            this._autoGenerateCheckBox.TextAlign  = ContentAlignment.TopLeft;
            this._autoGenerateCheckBox.Name       = "_autoGenerateCheckBox";
            this._autoGenerateCheckBox.UseVisualStyleBackColor = true;
            this._autoGenerateCheckBox.CheckedChanged         += new EventHandler(OnAutoGenerateCheckBoxCheckedChanged);
            //
            // _checkBoxPanel
            //
            this._checkBoxPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                               | System.Windows.Forms.AnchorStyles.Right)));
            this._checkBoxPanel.Controls.Add(this._autoGenerateCheckBox);
            this._checkBoxPanel.Name = "_radioPanel";
            //
            // _statementPanel
            //
            this._statementPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                                | System.Windows.Forms.AnchorStyles.Right)));
            this._statementPanel.Controls.Add(this._statementLabel);
            this._statementPanel.Controls.Add(this._statementTextBox);
            this._statementPanel.Name = "_statementPanel";
            //
            // _parameterEditorUserControl
            //
            this._parameterEditorUserControl.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._parameterEditorUserControl.Name = "_parameterEditorUserControl";
            //
            // EntityDataSourceStatementEditorForm
            //
            this.AcceptButton = this._okButton;
            this.CancelButton = this._cancelButton;
            this.Controls.Add(this._statementPanel);
            this.Controls.Add(this._checkBoxPanel);
            this.Controls.Add(this._cancelButton);
            this.Controls.Add(this._okButton);
            this.Controls.Add(this._parameterEditorUserControl);
            this.Name = "EntityDataSourceStatementEditorForm";
            this._checkBoxPanel.ResumeLayout(false);
            this._checkBoxPanel.PerformLayout();
            this._statementPanel.ResumeLayout(false);
            this._statementPanel.PerformLayout();
            this.ResumeLayout(false);

            InitializeForm();
        }