Inheritance: System.Windows.Forms.Form
Exemple #1
0
 private void btnDetails_Click(object sender, EventArgs e)
 {
     using (var win = new StringMatchingFilterDialog(m_filter.DetailsText))
     {
         if (win.ShowDialog() == DialogResult.OK)
         {
             m_filter.DetailsText = win.ResultFilter;
             chkDetails.Checked   = true;
             lblDetails.Text      = win.ResultFilter.ToString();
         }
     }
 }
Exemple #2
0
 private void btnException_Click(object sender, EventArgs e)
 {
     using (var win = new StringMatchingFilterDialog(m_filter.ExceptionText))
     {
         if (win.ShowDialog() == DialogResult.OK)
         {
             m_filter.ExceptionText = win.ResultFilter;
             chkException.Checked   = true;
             lblException.Text      = win.ResultFilter.ToString();
         }
     }
 }
Exemple #3
0
 private void btnAssembly_Click(object sender, EventArgs e)
 {
     using (var win = new StringMatchingFilterDialog(m_filter.Assembly))
     {
         if (win.ShowDialog() == DialogResult.OK)
         {
             m_filter.Assembly   = win.ResultFilter;
             chkAssembly.Checked = true;
             lblAssembly.Text    = win.ResultFilter.ToString();
         }
     }
 }
Exemple #4
0
 private void benMessage_Click(object sender, EventArgs e)
 {
     using (var win = new StringMatchingFilterDialog(m_filter.MessageText))
     {
         if (win.ShowDialog() == DialogResult.OK)
         {
             m_filter.MessageText = win.ResultFilter;
             chkMessage.Checked   = true;
             lblMessage.Text      = win.ResultFilter.ToString();
         }
     }
 }
Exemple #5
0
 private void btnRelatedType_Click(object sender, EventArgs e)
 {
     using (var win = new StringMatchingFilterDialog(new StringMatching(StringMatchingMode.Exact,
                                                                        string.Join(Environment.NewLine,
                                                                                    m_sampleMessage.RelatedTypes.Union(new string[] { m_sampleMessage.TypeName }).OrderBy(x => x)))))
     {
         if (win.ShowDialog() == DialogResult.OK)
         {
             m_filter.RelatedType   = win.ResultFilter;
             chkRelatedType.Checked = true;
             lblRelatedType.Text    = win.ResultFilter.ToString();
         }
     }
 }
 private void btnRelatedType_Click(object sender, EventArgs e)
 {
     using (var win = new StringMatchingFilterDialog(new StringMatching(StringMatchingMode.Exact,
         string.Join(Environment.NewLine,
         m_sampleMessage.RelatedTypes.Union(new string[] { m_sampleMessage.TypeName }).OrderBy(x => x)))))
     {
         if (win.ShowDialog() == DialogResult.OK)
         {
             m_filter.RelatedType = win.ResultFilter;
             chkRelatedType.Checked = true;
             lblRelatedType.Text = win.ResultFilter.ToString();
         }
     }
 }
 private void btnException_Click(object sender, EventArgs e)
 {
     using (var win = new StringMatchingFilterDialog(m_filter.ExceptionText))
     {
         if (win.ShowDialog() == DialogResult.OK)
         {
             m_filter.ExceptionText = win.ResultFilter;
             chkException.Checked = true;
             lblException.Text = win.ResultFilter.ToString();
         }
     }
 }
 private void btnDetails_Click(object sender, EventArgs e)
 {
     using (var win = new StringMatchingFilterDialog(m_filter.DetailsText))
     {
         if (win.ShowDialog() == DialogResult.OK)
         {
             m_filter.DetailsText = win.ResultFilter;
             chkDetails.Checked = true;
             lblDetails.Text = win.ResultFilter.ToString();
         }
     }
 }
 private void benMessage_Click(object sender, EventArgs e)
 {
     using (var win = new StringMatchingFilterDialog(m_filter.MessageText))
     {
         if (win.ShowDialog() == DialogResult.OK)
         {
             m_filter.MessageText = win.ResultFilter;
             chkMessage.Checked = true;
             lblMessage.Text = win.ResultFilter.ToString();
         }
     }
 }
 private void btnAssembly_Click(object sender, EventArgs e)
 {
     using (var win = new StringMatchingFilterDialog(m_filter.Assembly))
     {
         if (win.ShowDialog() == DialogResult.OK)
         {
             m_filter.Assembly = win.ResultFilter;
             chkAssembly.Checked = true;
             lblAssembly.Text = win.ResultFilter.ToString();
         }
     }
 }