示例#1
0
        /// <summary>
        /// Button find event handler
        /// </summary>
        /// <param name="sender">The sender object.</param>
        /// <param name="e">The event arguments.</param>
        private void toolStripButtonFind_Click(object sender, EventArgs e)
        {
            FindForm frm = new FindForm();

            frm.LoadFindSettings(this._findSettings);
            DialogResult dr = frm.ShowDialog();

            if (dr == DialogResult.OK)
            {
                this._findSettings = frm.FindSettings;
                this.messageArea1.MessageList.FilterMessages(this._findSettings);
            }
        }
示例#2
0
 /// <summary>
 /// Button find event handler
 /// </summary>
 /// <param name="sender">The sender object.</param>
 /// <param name="e">The event arguments.</param>
 private void toolStripButtonFind_Click(object sender, EventArgs e)
 {
     FindForm frm = new FindForm();
     frm.LoadFindSettings(this._findSettings);
     DialogResult dr = frm.ShowDialog();
     if (dr == DialogResult.OK)
     {
         this._findSettings = frm.FindSettings;
         this.messageArea1.MessageList.FilterMessages(this._findSettings);
     }
 }