Example #1
0
        private void btnAddExcludedPath_Click(object sender, EventArgs e)
        {
            ExcludedPathForm dlg = new ExcludedPathForm();
            DialogResult     dr  = dlg.ShowDialog(this);

            if (dr == DialogResult.OK)
            {
                this.lbExcludedPath.Items.Add(dlg.ExcludedPath);
            }
        }
Example #2
0
 private void btnAddExcludedPath_Click(object sender, EventArgs e)
 {
     ExcludedPathForm dlg = new ExcludedPathForm();
     DialogResult dr = dlg.ShowDialog(this);
     if (dr == DialogResult.OK)
     {
         this.lbExcludedPath.Items.Add(dlg.ExcludedPath);
     }
 }