예제 #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            danet dant = new danet();

            dant.Owner = this;
            dant.ShowDialog();

            if (DialogResult.Yes == dant.DialogResult)
            {
                this.Close();
            }
        }
예제 #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            danet dant = new danet();

            dant.Owner = this;
            dant.ShowDialog();

            if (DialogResult.Yes == dant.DialogResult)
            {
                this.ExtractWorker.CancelAsync();
                this.Close();
            }
        }