Example #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="statusButton">Кнопка</param>
 /// <param name="pathjurnalok">Путь к завершенным</param>
 public void JurnalReceivedDocument(StatusButtonMethod statusButton, string pathjurnalok)
 {
     DispatcherHelper.Initialize();
     Task.Run(delegate
     {
         DispatcherHelper.CheckBeginInvokeOnUI(statusButton.StatusRed);
         KclicerButton clickerButton = new KclicerButton();
         LibraryAIS3Windows.Window.WindowsAis3 ais3 = new LibraryAIS3Windows.Window.WindowsAis3();
         if (ais3.WinexistsAis3() == 1)
         {
             clickerButton.Click18(statusButton, pathjurnalok);
             DispatcherHelper.CheckBeginInvokeOnUI(statusButton.StatusYellow);
         }
         else
         {
             MessageBox.Show(LibraryAIS3Windows.Status.StatusAis.Status1);
         }
     });
 }