Пример #1
0
        protected void OnBtnModifyClicked(object sender, System.EventArgs e)
        {
            NodeSelection ns = view.NodeSelection;

            if ( ns.SelectedNodes.Length > 0 )
            {
                TaskTypeTreeNode ttt = (TaskTypeTreeNode)ns.SelectedNode;

                TaskType t = ttt.GetTaskType();

                TaskTypeWindow ttw = new TaskTypeWindow(t);
                ttw.Show();
            }
        }
Пример #2
0
 protected void OnBtnNewClicked(object sender, System.EventArgs e)
 {
     TaskTypeWindow ttw = new TaskTypeWindow(null);
     ttw.Show();
 }