コード例 #1
0
 private void PerformSecondTask()
 {
     SecondTask.Perform();
     ChapinsMetric          = new WindowChapinsMetric(Mode.GroupGrid);
     ChapinsMetric.Closing += CloseHandler;
     SpenMetric             = new WindowSpenMetric();
     SpenMetric.Closing    += CloseHandler;
 }
コード例 #2
0
        public WindowSpenMetric()
        {
            InitializeComponent();
            Background = Data.ApplicationBackground;
            ScrollViewer scroll = new ScrollViewer()
            {
                Content = SecondTask.GetSpenGrid()
            };

            DataGrid.Children.Add(scroll);
        }
コード例 #3
0
 private bool IsFunction()
 {
     Word[] names = SecondTask.GetFunctionsNames(SecondTask.Functions);
     foreach (Word name in names)
     {
         if (name.Text == Name.Text)
         {
             return(true);
         }
     }
     names = SecondTask.GetFunctionsNames(SecondTask.SystemFunctions);
     foreach (Word name in names)
     {
         if (name.Text == Name.Text)
         {
             return(true);
         }
     }
     return(false);
 }