Esempio n. 1
0
 private void InitializeComponent()
 {
     this._searchStringComboBox = new MxComboBox();
     this._replaceStringComboBox = new MxComboBox();
     this._replaceButton = new MxButton();
     this._replaceAllButton = new MxButton();
     this._closeButton = new MxButton();
     this._findLabel = new MxLabel();
     this._replaceLabel = new MxLabel();
     this._findNextButton = new MxButton();
     this._matchCaseCheckBox = new MxCheckBox();
     this._wholeWordCheckBox = new MxCheckBox();
     this._directionGroupBox = new MxGroupBox();
     this._downRadioButton = new MxRadioButton();
     this._upRadioButton = new MxRadioButton();
     this._inSelectionCheckBox = new MxCheckBox();
     this._directionGroupBox.SuspendLayout();
     base.SuspendLayout();
     this._searchStringComboBox.AlwaysShowFocusCues = true;
     this._searchStringComboBox.FlatAppearance = true;
     this._searchStringComboBox.InitialText = null;
     this._searchStringComboBox.Location = new Point(0x5c, 9);
     this._searchStringComboBox.Name = "_searchStringComboBox";
     this._searchStringComboBox.Size = new Size(280, 0x15);
     this._searchStringComboBox.TabIndex = 1;
     this._searchStringComboBox.TextChanged += new EventHandler(this.OnSearchStringComboBoxTextChanged);
     this._replaceStringComboBox.AlwaysShowFocusCues = true;
     this._replaceStringComboBox.FlatAppearance = true;
     this._replaceStringComboBox.InitialText = null;
     this._replaceStringComboBox.Location = new Point(0x5c, 0x25);
     this._replaceStringComboBox.Name = "_replaceStringComboBox";
     this._replaceStringComboBox.Size = new Size(280, 0x15);
     this._replaceStringComboBox.TabIndex = 2;
     this._replaceButton.Enabled = false;
     this._replaceButton.Location = new Point(0x180, 0x24);
     this._replaceButton.Name = "_replaceButton";
     this._replaceButton.TabIndex = 4;
     this._replaceButton.Text = "&Replace";
     this._replaceButton.Click += new EventHandler(this.OnReplaceButtonClick);
     this._replaceAllButton.Enabled = false;
     this._replaceAllButton.Location = new Point(0x180, 0x40);
     this._replaceAllButton.Name = "_replaceAllButton";
     this._replaceAllButton.TabIndex = 6;
     this._replaceAllButton.Text = "Replace &All";
     this._replaceAllButton.Click += new EventHandler(this.OnReplaceAllClick);
     this._closeButton.DialogResult = DialogResult.OK;
     this._closeButton.Location = new Point(0x180, 0x5c);
     this._closeButton.Name = "_closeButton";
     this._closeButton.TabIndex = 10;
     this._closeButton.Text = "&Close";
     this._findLabel.Location = new Point(12, 12);
     this._findLabel.Name = "_findLabel";
     this._findLabel.Size = new Size(60, 0x10);
     this._findLabel.TabIndex = 5;
     this._findLabel.Text = "Fi&nd what :";
     this._replaceLabel.Location = new Point(12, 40);
     this._replaceLabel.Name = "_replaceLabel";
     this._replaceLabel.Size = new Size(0x4c, 0x10);
     this._replaceLabel.TabIndex = 6;
     this._replaceLabel.Text = "Re&place with :";
     this._findNextButton.Enabled = false;
     this._findNextButton.Location = new Point(0x180, 8);
     this._findNextButton.Name = "_findNextButton";
     this._findNextButton.TabIndex = 3;
     this._findNextButton.Text = "&Find Next";
     this._findNextButton.Click += new EventHandler(this.OnFindButtonClick);
     this._matchCaseCheckBox.Location = new Point(12, 0x44);
     this._matchCaseCheckBox.Name = "_matchCaseCheckBox";
     this._matchCaseCheckBox.Size = new Size(0x58, 0x10);
     this._matchCaseCheckBox.TabIndex = 7;
     this._matchCaseCheckBox.Text = "&Match case";
     this._wholeWordCheckBox.Location = new Point(12, 0x54);
     this._wholeWordCheckBox.Name = "_wholeWordCheckBox";
     this._wholeWordCheckBox.Size = new Size(0x58, 0x10);
     this._wholeWordCheckBox.TabIndex = 8;
     this._wholeWordCheckBox.Text = "&Whole word";
     this._directionGroupBox.Controls.AddRange(new Control[] { this._downRadioButton, this._upRadioButton });
     this._directionGroupBox.Location = new Point(0xec, 0x40);
     this._directionGroupBox.Name = "_directionGroupBox";
     this._directionGroupBox.Size = new Size(0x88, 0x34);
     this._directionGroupBox.TabIndex = 10;
     this._directionGroupBox.TabStop = false;
     this._directionGroupBox.Text = "Direction";
     this._downRadioButton.Checked = true;
     this._downRadioButton.Location = new Point(0x48, 0x18);
     this._downRadioButton.Name = "_downRadioButton";
     this._downRadioButton.Size = new Size(0x34, 0x10);
     this._downRadioButton.TabIndex = 11;
     this._downRadioButton.TabStop = true;
     this._downRadioButton.Text = "&Down";
     this._upRadioButton.Location = new Point(0x10, 0x18);
     this._upRadioButton.Name = "_upRadioButton";
     this._upRadioButton.Size = new Size(40, 0x10);
     this._upRadioButton.TabIndex = 10;
     this._upRadioButton.Text = "&Up";
     this._inSelectionCheckBox.Location = new Point(12, 100);
     this._inSelectionCheckBox.Name = "_inSelectionCheckBox";
     this._inSelectionCheckBox.Size = new Size(0x58, 0x10);
     this._inSelectionCheckBox.TabIndex = 11;
     this._inSelectionCheckBox.Text = "&In selection";
     this._inSelectionCheckBox.CheckedChanged += new EventHandler(this.OnInSelectionCheckBoxCheckedChanged);
     base.AcceptButton = this._findNextButton;
     this.AutoScaleBaseSize = new Size(5, 13);
     base.CancelButton = this._closeButton;
     base.ClientSize = new Size(0x1d8, 0x7a);
     base.Controls.AddRange(new Control[] { this._inSelectionCheckBox, this._directionGroupBox, this._wholeWordCheckBox, this._matchCaseCheckBox, this._findNextButton, this._replaceLabel, this._findLabel, this._closeButton, this._replaceAllButton, this._replaceButton, this._replaceStringComboBox, this._searchStringComboBox });
     base.FormBorderStyle = FormBorderStyle.FixedDialog;
     base.MaximizeBox = false;
     base.MinimizeBox = false;
     base.Name = "ReplaceDialog";
     base.ShowInTaskbar = false;
     base.StartPosition = FormStartPosition.CenterParent;
     this.Text = "Replace";
     this._directionGroupBox.ResumeLayout(false);
     base.ResumeLayout(false);
 }
Esempio n. 2
0
 private void InitializeComponent()
 {
     this._findWhatLabel = new MxLabel();
     this._findComboBox = new MxComboBox();
     this._findButton = new MxButton();
     this._matchCaseCheckBox = new MxCheckBox();
     this._wholeWordCheckBox = new MxCheckBox();
     this._closeButton = new MxButton();
     this._directionGroupBox = new MxGroupBox();
     this._upRadioButton = new MxRadioButton();
     this._downRadioButton = new MxRadioButton();
     this._directionGroupBox.SuspendLayout();
     base.SuspendLayout();
     this._findWhatLabel.Location = new Point(8, 12);
     this._findWhatLabel.Name = "_findWhatLabel";
     this._findWhatLabel.Size = new Size(0x44, 0x10);
     this._findWhatLabel.TabIndex = 0;
     this._findWhatLabel.Text = "Fi&nd What :";
     this._findComboBox.AlwaysShowFocusCues = false;
     this._findComboBox.FlatAppearance = false;
     this._findComboBox.InitialText = null;
     this._findComboBox.Location = new Point(0x4c, 10);
     this._findComboBox.Name = "_findComboBox";
     this._findComboBox.Size = new Size(0x110, 0x15);
     this._findComboBox.TabIndex = 1;
     this._findButton.Enabled = false;
     this._findButton.Location = new Point(360, 8);
     this._findButton.Name = "_findButton";
     this._findButton.TabIndex = 6;
     this._findButton.Text = "&Find";
     this._findButton.Click += new EventHandler(this._findButton_Click);
     this._matchCaseCheckBox.Location = new Point(8, 0x2c);
     this._matchCaseCheckBox.Name = "_matchCaseCheckBox";
     this._matchCaseCheckBox.Size = new Size(0x68, 0x10);
     this._matchCaseCheckBox.TabIndex = 2;
     this._matchCaseCheckBox.Text = "Match &case";
     this._wholeWordCheckBox.Location = new Point(8, 60);
     this._wholeWordCheckBox.Name = "_wholeWordCheckBox";
     this._wholeWordCheckBox.Size = new Size(0x68, 0x10);
     this._wholeWordCheckBox.TabIndex = 3;
     this._wholeWordCheckBox.Text = "Whole &word";
     this._closeButton.DialogResult = DialogResult.OK;
     this._closeButton.Location = new Point(360, 0x24);
     this._closeButton.Name = "_closeButton";
     this._closeButton.TabIndex = 7;
     this._closeButton.Text = "Close";
     this._closeButton.Click += new EventHandler(this._closeButton_Click);
     this._directionGroupBox.Controls.AddRange(new Control[] { this._upRadioButton, this._downRadioButton });
     this._directionGroupBox.Location = new Point(0xd8, 40);
     this._directionGroupBox.Name = "_directionGroupBox";
     this._directionGroupBox.Size = new Size(0x84, 0x38);
     this._directionGroupBox.TabIndex = 0;
     this._directionGroupBox.TabStop = false;
     this._directionGroupBox.Text = "Direction";
     this._upRadioButton.Location = new Point(8, 0x18);
     this._upRadioButton.Name = "_upRadioButton";
     this._upRadioButton.Size = new Size(0x34, 20);
     this._upRadioButton.TabIndex = 4;
     this._upRadioButton.Text = "&Up";
     this._downRadioButton.Checked = true;
     this._downRadioButton.Location = new Point(0x48, 0x18);
     this._downRadioButton.Name = "_downRadioButton";
     this._downRadioButton.Size = new Size(50, 20);
     this._downRadioButton.TabIndex = 5;
     this._downRadioButton.TabStop = true;
     this._downRadioButton.Text = "&Down";
     base.AcceptButton = this._findButton;
     this.AutoScaleBaseSize = new Size(5, 13);
     base.CancelButton = this._closeButton;
     base.ClientSize = new Size(0x1bc, 0x66);
     base.Controls.AddRange(new Control[] { this._directionGroupBox, this._closeButton, this._wholeWordCheckBox, this._matchCaseCheckBox, this._findButton, this._findComboBox, this._findWhatLabel });
     base.FormBorderStyle = FormBorderStyle.FixedDialog;
     base.Icon = null;
     base.MaximizeBox = false;
     base.MinimizeBox = false;
     base.Name = "SearchForm";
     base.ShowInTaskbar = false;
     base.SizeGripStyle = SizeGripStyle.Hide;
     base.StartPosition = FormStartPosition.CenterParent;
     this.Text = "Search";
     this._directionGroupBox.ResumeLayout(false);
     base.ResumeLayout(false);
 }
Esempio n. 3
0
 private void InitializeComponent()
 {
     this._selectDatabaseLabel = new MxLabel();
     this._databaseComboBox = new MxComboBox();
     this._newDatabaseGroupBox = new MxGroupBox();
     this._databaseTypeLabel = new MxLabel();
     this._databaseTypeComboBox = new MxComboBox();
     this._infoLabel = new MxInfoLabel();
     this._descriptionLabel = new MxLabel();
     this._createButton = new MxButton();
     this._newDatabaseGroupBox.SuspendLayout();
     base.SuspendLayout();
     this._selectDatabaseLabel.Location = new Point(12, 0x40);
     this._selectDatabaseLabel.Name = "_selectDatabaseLabel";
     this._selectDatabaseLabel.Size = new Size(100, 0x10);
     this._selectDatabaseLabel.TabIndex = 0;
     this._selectDatabaseLabel.Text = "&Select a database";
     this._databaseComboBox.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this._databaseComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
     this._databaseComboBox.Location = new Point(0x70, 0x3d);
     this._databaseComboBox.Name = "_databaseComboBox";
     this._databaseComboBox.Size = new Size(0x124, 0x15);
     this._databaseComboBox.TabIndex = 1;
     this._databaseComboBox.SelectedIndexChanged += new EventHandler(this.OnDatabaseComboBoxSelectedIndexChanged);
     this._newDatabaseGroupBox.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this._newDatabaseGroupBox.Controls.Add(this._createButton);
     this._newDatabaseGroupBox.Controls.Add(this._databaseTypeComboBox);
     this._newDatabaseGroupBox.Controls.Add(this._databaseTypeLabel);
     this._newDatabaseGroupBox.Enabled = false;
     this._newDatabaseGroupBox.Location = new Point(12, 0x60);
     this._newDatabaseGroupBox.Name = "_newDatabaseGroupBox";
     this._newDatabaseGroupBox.Size = new Size(0x188, 80);
     this._newDatabaseGroupBox.TabIndex = 2;
     this._newDatabaseGroupBox.TabStop = false;
     this._newDatabaseGroupBox.Text = "Create a &new database connection";
     this._databaseTypeLabel.Location = new Point(12, 0x18);
     this._databaseTypeLabel.Name = "_databaseTypeLabel";
     this._databaseTypeLabel.Size = new Size(0x7c, 0x10);
     this._databaseTypeLabel.TabIndex = 0;
     this._databaseTypeLabel.Text = "Select a database &type:";
     this._databaseTypeComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
     this._databaseTypeComboBox.InitialText = "Select a database type";
     this._databaseTypeComboBox.Location = new Point(12, 40);
     this._databaseTypeComboBox.Name = "_databaseTypeComboBox";
     this._databaseTypeComboBox.Size = new Size(0xa4, 0x15);
     this._databaseTypeComboBox.TabIndex = 1;
     this._databaseTypeComboBox.SelectedIndexChanged += new EventHandler(this.OnDatabaseTypeComboBoxSelectedIndexChanged);
     this._infoLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom;
     this._infoLabel.Location = new Point(12, 0xe8);
     this._infoLabel.Name = "_infoLabel";
     this._infoLabel.Size = new Size(0x188, 60);
     this._infoLabel.TabIndex = 4;
     this._infoLabel.Text = "";
     this._infoLabel.Visible = false;
     this._descriptionLabel.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this._descriptionLabel.Location = new Point(8, 8);
     this._descriptionLabel.Name = "_descriptionLabel";
     this._descriptionLabel.Size = new Size(0x184, 0x2c);
     this._descriptionLabel.TabStop = false;
     this._descriptionLabel.Text = "Use the drop-down to select an existing database connection for your query.  If you want to create a new database connection, select the <New Database Connection> option in the drop down, select a database type, and click the 'Create' button.";
     this._createButton.Enabled = false;
     this._createButton.Location = new Point(180, 40);
     this._createButton.Name = "_createButton";
     this._createButton.TabIndex = 2;
     this._createButton.Text = "&Create...";
     this._createButton.Click += new EventHandler(this.OnCreateButtonClick);
     base.Caption = "Select a database connection";
     base.Controls.Add(this._descriptionLabel);
     base.Controls.Add(this._infoLabel);
     base.Controls.Add(this._newDatabaseGroupBox);
     base.Controls.Add(this._databaseComboBox);
     base.Controls.Add(this._selectDatabaseLabel);
     base.Description = "Select an existing database connection or create a new database connection.";
     base.Name = "UserControl1";
     base.Size = new Size(0x1a0, 0x124);
     this._newDatabaseGroupBox.ResumeLayout(false);
     base.ResumeLayout(false);
 }