Exemplo n.º 1
0
        private void addTaskToolStripMenuItem_Click(object sender, EventArgs e)
        {
            dlgEditTask dlgET = new dlgEditTask();

            if (dlgET.ShowDialog(this) == DialogResult.OK)
            {
                RefreshTasks();
                RefreshSchedule();
            }
        }
Exemplo n.º 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();
            }
        }