Example #1
0
        private void addTaskToolStripMenuItem_Click(object sender, EventArgs e)
        {
            dlgEditTask dlgET = new dlgEditTask();

            if (dlgET.ShowDialog(this) == DialogResult.OK)
            {
                RefreshTasks();
                RefreshSchedule();
            }
        }
Example #2
0
        private void editTaskToolStripMenuItem_Click(object sender, EventArgs e)
        {
            string      sitem = lbTasks.SelectedItem.toString();
            dlgEditTask dlgET = new dlgEditTask();

            dlgET.iActiveTaskNum = sitem.ParseString(":", 0).toInt32();
            if (dlgET.ShowDialog(this) == DialogResult.OK)
            {
                RefreshTasks();
                RefreshSchedule();
            }
        }