Esempio n. 1
0
		private void regexHelpButton_Click(object sender, EventArgs e)
		{
			RegexHelperDialog regexDlg = new RegexHelperDialog();
			if (regexDlg.ShowDialog() == DialogResult.OK)
			{
				this.argsTextBox.SelectedText = regexDlg.Pattern;
			}
		}
Esempio n. 2
0
        private void regexHelpButton_Click(object sender, EventArgs e)
        {
            RegexHelperDialog regexDlg = new RegexHelperDialog();

            if (regexDlg.ShowDialog() == DialogResult.OK)
            {
                this.argsTextBox.SelectedText = regexDlg.Pattern;
            }
        }
Esempio n. 3
0
		private void regexHelperButton_Click(object sender, EventArgs e)
		{
			RegexHelperDialog dlg = new RegexHelperDialog();
			dlg.Owner = this;
			dlg.CaseSensitive = this.caseSensitiveCheckBox.Checked;
			dlg.Pattern = this.searchComboBox.Text;
			DialogResult res = dlg.ShowDialog();
			if (res == DialogResult.OK)
			{
				this.caseSensitiveCheckBox.Checked = dlg.CaseSensitive;
				this.searchComboBox.Text = dlg.Pattern;
			}
		}
Esempio n. 4
0
        private void regexHelperButton_Click(object sender, EventArgs e)
        {
            RegexHelperDialog dlg = new RegexHelperDialog();

            dlg.Owner         = this;
            dlg.CaseSensitive = this.caseSensitiveCheckBox.Checked;
            dlg.Pattern       = this.searchComboBox.Text;
            DialogResult res = dlg.ShowDialog();

            if (res == DialogResult.OK)
            {
                this.caseSensitiveCheckBox.Checked = dlg.CaseSensitive;
                this.searchComboBox.Text           = dlg.Pattern;
            }
        }
Esempio n. 5
0
 private void regexCheckBox_MouseUp(object sender, MouseEventArgs e)
 {
     if (e.Button == MouseButtons.Right)
     {
         RegexHelperDialog dlg = new RegexHelperDialog();
         dlg.Owner         = this;
         dlg.CaseSensitive = this.caseSensitiveCheckBox.Checked;
         dlg.Pattern       = this.searchStringTextBox.Text;
         DialogResult res = dlg.ShowDialog();
         if (res == DialogResult.OK)
         {
             this.caseSensitiveCheckBox.Checked = dlg.CaseSensitive;
             this.searchStringTextBox.Text      = dlg.Pattern;
         }
     }
 }
Esempio n. 6
0
 void FilterRegexCheckBox_MouseUp(object sender, MouseEventArgs e)
 {
     if (e.Button == MouseButtons.Right)
     {
         RegexHelperDialog dlg = new RegexHelperDialog();
         dlg.Owner = this;
         dlg.CaseSensitive = filterCaseSensitiveCheckBox.Checked;
         dlg.Pattern = filterComboBox.Text;
         DialogResult res = dlg.ShowDialog();
         if (res == DialogResult.OK)
         {
             filterCaseSensitiveCheckBox.Checked = dlg.CaseSensitive;
             filterComboBox.Text = dlg.Pattern;
         }
     }
 }
Esempio n. 7
0
		private void regexCheckBox_MouseUp(object sender, MouseEventArgs e)
		{
			if (e.Button == MouseButtons.Right)
			{
				RegexHelperDialog dlg = new RegexHelperDialog();
				dlg.Owner = this;
				dlg.CaseSensitive = this.caseSensitiveCheckBox.Checked;
				dlg.Pattern = this.searchStringTextBox.Text;
				DialogResult res = dlg.ShowDialog();
				if (res == DialogResult.OK)
				{
					this.caseSensitiveCheckBox.Checked = dlg.CaseSensitive;
					this.searchStringTextBox.Text = dlg.Pattern;
				}
			}
		}