public MassSnuDataContext() { var commandauto = new AutoCklicsAisCommand(); StartButton = new StatusButtonMethod(); Xml2 = new XmlUseMethod(); StartButton.Button.Command = new DelegateCommand((() => { commandauto.AutoClicerSnuMassInnForm(StartButton, ConfigFile.FileInnFull, ConfigFile.FileJurnalError, ConfigFile.FileJurnalOk); })); Update = new DelegateCommand(() => { Xml2.UpdateFileXml(ConfigFile.FileInnFull); }); }
public DataContextSnuAuto() { var commandauto = new AutoCklicsAisCommand(); StartButton = new StatusButtonMethod(); Xml = new XmlUseMethod(); StartButton.Button.Command = new DelegateCommand(() => { commandauto.AutoClicerSnuOneForm(StartButton, ConfigFile.FileInn, ConfigFile.FileJurnalError, ConfigFile.FileJurnalOk); }); Update = new DelegateCommand(() => { Xml.UpdateFileXml(ConfigFile.FileInn); }); }
public UserPrintSnuDataContext() { PdfModel = new PdfListFile(); var commandauto = new AutoCklicsAisCommand(); StartButton = new StatusButtonMethod(); Date = new DatePickerPub(); Xml = new XmlUseMethod(); StartButton.Button.Command = new DelegateCommand((() => { commandauto.PrintSnu(Date, StartButton, ConfigFile.FileInnFull, ConfigFile.FileJurnalError, ConfigFile.FileJurnalOk, ConfigFile.Connection); })); Validate = new DelegateCommand(() => { PdfModel.CountPdfTemp(ConfigFile.PathTemp); }); Validate2 = new DelegateCommand(() => { PdfModel.CountPdfWork(ConfigFile.PathPdfWork); }); Moving = new DelegateCommand((() => { PdfModel.MoveWork(ConfigFile.PathPdfWork); })); DeleteTemp = new DelegateCommand((() => { PdfModel.DeleteTemp(); })); Update = new DelegateCommand(() => { Xml.UpdateFileXml(ConfigFile.FileInnFull); }); PrintPdf = new DelegateCommand(() => { PdfModel.PrintAllFile(ConfigFile.PathPdfWork); }); }