Exemple #1
0
        private void BtnDispYes1_Click(object sender, EventArgs e)
        {
            popup1 = new frmGM11_Pop01();

            popup1.to_day      = bandedGridView1.GetFocusedRowCellValue("pay_date").ToString();
            popup1.FormClosed += popup1_FormClosed;
            popup1.ShowDialog();
        }
Exemple #2
0
        private void popup1_FormClosed(object sender, FormClosedEventArgs e)
        {
            popup1.FormClosed -= popup1_FormClosed;

            popup1 = null;
        }