public void DeleteHandler(string delete) { string[] arr = { delete }; CommandRecievedEventArgs args = new CommandRecievedEventArgs((int)CommandEnum.CloseHandler, arr, ""); Communication.Write(args); }
/// <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); }
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); }