Line | |
---|
1 | using System; |
---|
2 | using System.Collections.Generic; |
---|
3 | using System.Linq; |
---|
4 | using System.Text; |
---|
5 | |
---|
6 | using Com.Piwigo.Wpf.DTO; |
---|
7 | using Com.Piwigo.Lib.DTO; |
---|
8 | using Com.Piwigo.Wpf.DTO.Helper; |
---|
9 | using Com.Piwigo.Wpf.Helper; |
---|
10 | using Com.Piwigo.Wpf.Service; |
---|
11 | namespace Com.Piwigo.Wpf.Command |
---|
12 | { |
---|
13 | public static class PwgCmdEventsConsumer |
---|
14 | { |
---|
15 | public static void PwgCmdEvents_CmdSendUiInfo(AsyncCommand cmd, EventArgs<string> stringArgs) |
---|
16 | { |
---|
17 | if (stringArgs != null) |
---|
18 | { |
---|
19 | PwgModelManager.Instance.lstMsgInfo.Add(stringArgs.Value); |
---|
20 | } |
---|
21 | } |
---|
22 | |
---|
23 | public static void PwgCmdEvents_CmdRunningChanged(AsyncCommand cmd, EventArgs<bool> boolArgs) |
---|
24 | { |
---|
25 | if (boolArgs != null) |
---|
26 | { |
---|
27 | PwgModelManager.Instance.booCmdRunning = boolArgs.Value ; |
---|
28 | } |
---|
29 | } |
---|
30 | |
---|
31 | } |
---|
32 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.