source: extensions/PiwigoLib/PiwigoWpf/Command/PwgCmdEventsConsumer.cs @ 22763

Last change on this file since 22763 was 11926, checked in by bayral, 13 years ago

New step for piwigowpf

File size: 882 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5
6using Com.Piwigo.Wpf.DTO;
7using Com.Piwigo.Lib.DTO;
8using Com.Piwigo.Wpf.DTO.Helper;
9using Com.Piwigo.Wpf.Helper;
10using Com.Piwigo.Wpf.Service;
11namespace 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.