Exemplo n.º 1
0
        protected void OnBtnModifyClicked(object sender, System.EventArgs e)
        {
            NodeSelection ns = view.NodeSelection;

            if ( ns.SelectedNodes.Length > 0 )
            {
                TaskTreeNode tt = (TaskTreeNode)ns.SelectedNode;

                Task t = tt.GetTask();

                TaskWindow tw = new TaskWindow(t);
                tw.Show();
            }
        }
Exemplo n.º 2
0
 protected void OnBtnNewClicked(object sender, System.EventArgs e)
 {
     TaskWindow tw = new TaskWindow(null);
     tw.Show();
 }