コード例 #1
0
        private void toolStripButton2_Click_1(object sender, EventArgs e)
        {
            frmNewTask frmNew = new frmNewTask();

            frmNew.Hide();
            frmNew.ShowDialog();
        }
コード例 #2
0
 private void toolStripButton3_Click_1(object sender, EventArgs e)
 {
     if (strNameScheduled != null)
     {
         frmNewTask newTask = new frmNewTask();
         newTask.ShowDialog();
         LoadDataOnListView();
     }
     else
     {
         MessageBox.Show("Bạn Chưa Chọn Công Việc Cần Sửa", "Time Manager", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }