Beispiel #1
0
        private void btnDetail_Click(object sender, EventArgs e)
        {
            popup4 = new frmTM08_Pop04();


            popup4.m_code = gridView5.GetFocusedRowCellValue("m_code").ToString();
            popup4.ser_no = gridView5.GetFocusedRowCellValue("ser_no").ToString();

            popup4.FormClosed += popup_FormClosed;
            popup4.ShowDialog();
        }
Beispiel #2
0
        private void popup_FormClosed(object sender, FormClosedEventArgs e)
        {
            popup4.FormClosed -= popup_FormClosed;

            popup4 = null;
        }