예제 #1
0
        private void btn_Statistics_Click(object sender, EventArgs e)
        {
            Form_Statistics form_Statistics = new Form_Statistics();

            form_Statistics.FormClosed += Fs_FormClosed;
            form_Statistics.Show(this);
            Hide();
        }
예제 #2
0
 private void btn_Statistics_Click(object sender, EventArgs e)
 {
     if (dt.Select("Modified = 1").Length == 0 || MessageBox.Show("個案施打紀錄尚未儲存,確定要離開嗎?", "紀錄尚未儲存", MessageBoxButtons.YesNo, MessageBoxIcon.Exclamation, MessageBoxDefaultButton.Button2) != DialogResult.No)
     {
         Form_Statistics form_Statistics = new Form_Statistics();
         form_Statistics.FormClosed += ChildFormClosed;
         form_Statistics.Show(this);
         Hide();
     }
 }