Пример #1
0
 public MainComponent()
 {
     messageQueue.OnEnqueue += MessageQueue_OnEnqueue;
     MainWindowClosed        = new NoParameterCommand(MainWindowClosedAction);
     ButtonScheduleClick     = new NoParameterCommand(ButtonScheduleClickAction);
     FlyOutSettingClose      = new NoParameterCommand(FlyOutSettingCloseAction);
     ChooseSourceButtonClick = new NoParameterCommand(ChooseSourceButtonClickAction);
     ChooseTargetButtonClick = new NoParameterCommand(ChooseTargetButtonClickAction);
     ButtonDownloadClick     = new NoParameterCommand(ButtonDownloadClickAction);
     CheckAndReadConfig();
     InitIcon();
 }
Пример #2
0
 public LayoutDocument()
 {
     ButtonDownLoadClick     = new NoParameterCommand(ButtonDownLoadClickAction);
     ButtonDownLoadListClick = new NoParameterCommand(ButtonDownLoadListClickAction);
     ButtonSettingOnClick    = new NoParameterCommand(ButtonSettingOnClickAction);
 }