Esempio n. 1
0
        private void simpleButton2_Click(object sender, EventArgs e)
        {
            if (nCategory_No.EditValue.ToString() == null ^ nCategory_No.EditValue.ToString() == "")
            {
                MessageAgent.MessageShow(MessageType.Warning, "스토리 번호를 선택하세요!");
                return;
            }
            popup = new frmDT02_Pop01();

            popup.category_no = Convert.ToInt32(nCategory_No.EditValue.ToString());
            popup.story_name  = txtStory_Name.EditValue.ToString();

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

            popup = null;
        }