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(); }
public LayoutDocument() { ButtonDownLoadClick = new NoParameterCommand(ButtonDownLoadClickAction); ButtonDownLoadListClick = new NoParameterCommand(ButtonDownLoadListClickAction); ButtonSettingOnClick = new NoParameterCommand(ButtonSettingOnClickAction); }