Exemplo n.º 1
0
        private void btnDetail_Click(object sender, EventArgs e)
        {
            popup = new frmMA03_Pop01();

            popup.pSDate = dtSDATE.EditValue3.Substring(0, 4) + "-" + dtSDATE.EditValue3.Substring(4, 2);
            popup.pEDate = dtEDATE.EditValue3.Substring(0, 4) + "-" + dtEDATE.EditValue3.Substring(4, 2);

            popup.FormClosed += popup_FormClosed;
            popup.ShowDialog();
        }
Exemplo n.º 2
0
        private void popup_FormClosed(object sender, FormClosedEventArgs e)
        {
            popup.FormClosed -= popup_FormClosed;

            popup = null;
        }