示例#1
0
        private void btn_Select_Click(object sender, EventArgs e)
        {
            this.Visible = false;
            SelectForm dlgSelect = new SelectForm(this);

            dlgSelect.ShowDialog();

            if (dlgSelect.DialogResult == DialogResult.OK)
            {
                this.Visible = true;
            }
            else if (dlgSelect.DialogResult == DialogResult.Cancel)
            {
                this.Visible = true;
            }
        }
示例#2
0
 public SelectDeleteForm(SelectForm form)
 {
     InitializeComponent();
     this.selectForm = form;
 }