private void btn_update_Click(object sender, RoutedEventArgs e)
        {
            TaskDisplay window = new TaskDisplay();

            window.ShowDialog();
            textBoxName.Text = String.Empty;
            Search();
        }
示例#2
0
        /// <summary>
        /// 任务查看
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ButtonTask_Click(object sender, RoutedEventArgs e)
        {
            //Task();
            TaskDisplay window = new TaskDisplay()
            {
                ShowInTaskbar = false,
                Owner         = this
            };

            window.Show();
        }
 void Awake()
 {
     reader          = gameObject.GetComponent <CSVReader>();
     display         = gameObject.GetComponent <TaskDisplay>();
     taskTracker     = new List <int>();
     isOnTask        = false;
     curTaskSelected = true;
     isBumperHeld    = false;
     taskCounter     = 0;
     pageCounter     = 1;
 }