Ejemplo n.º 1
0
        void BtnSetActiveTaskClick(object sender, EventArgs e)
        {
            XmlNode FoundNode = null;

            Control ExistingTaskListCtrl = this.FPnl;

            if (ExistingTaskListCtrl != null)
            {
                FoundNode = TaskListTest.FindTaskNodeByName(txtTaskName.Text, ((TTaskList)FPnl.TaskListInstance).MasterXmlNode);

                ((TTaskList)FPnl.TaskListInstance).ActiveTaskItem = FoundNode;
            }
            else
            {
                MessageBox.Show("There is no TaskList Instance!");
            }
        }
 void BtnSetActiveTaskClick(object sender, EventArgs e)
 {
     FCollPanelHoster.ActiveTaskItem = TaskListTest.FindTaskNodeByName(txtTaskName.Text, FCollPanelHoster.MasterXmlNode);
 }