Exemple #1
0
        public void DeleteHandler(string delete)
        {
            string[] arr = { delete };
            CommandRecievedEventArgs args = new CommandRecievedEventArgs((int)CommandEnum.CloseHandler, arr, "");

            Communication.Write(args);
        }
Exemple #2
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);
        }
Exemple #3
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);
        }