Exemplo n.º 1
0
        /// <summary>
        /// Constructor
        /// </summary>
        public Logs()
        {
            Communication            = CommunicationSingleton.Instance;
            Communication.InMessage += UpdateAction;
            Communication.Read();
            LogItems = new List <Log>();
            CommandRecievedEventArgs args = new CommandRecievedEventArgs((int)CommandEnum.LogCommand, null, "");

            Communication.Write(args);
        }
Exemplo n.º 2
0
        public Config()
        {
            Communication = CommunicationSingleton.Instance;
            Communication.Read();
            Communication.InMessage += UpdateResponse;
            SourceName      = "";
            LogName         = "";
            OutputDirectory = "";
            ThumbnailSize   = 1;
            Handlers        = new ObservableCollection <string>();
            Enabled         = false;
            string[] arr = new string[5];
            CommandRecievedEventArgs command = new CommandRecievedEventArgs((int)CommandEnum.GetConfigCommand, arr, "");

            Communication.Write(command);
        }