public MainPageModel() { ClientConn client = ClientConn.Instance; this.isConnected = client.Connected.ToString(); this.numOfImages = Thumbnail.count; }
public LogsModel() { try { this.logs = new List <LogObject>() { new LogObject(MessageTypeEnum.INFO.ToString(), "asddfsgsff"), new LogObject(MessageTypeEnum.WARNING.ToString(), "abcdef") }; ClientConn client = ClientConn.Instance; client.OnCommandRecieved += this.OnCommandRecieved; } catch (Exception ex) { Console.WriteLine(ex.Message); } }
public ConfigModel() { ClientConn client = ClientConn.Instance; client.OnCommandRecieved += this.OnCommandRecieved; }