Exemplo n.º 1
0
        public MainPageModel()
        {
            ClientConn client = ClientConn.Instance;

            this.isConnected = client.Connected.ToString();
            this.numOfImages = Thumbnail.count;
        }
Exemplo n.º 2
0
 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);
     }
 }
Exemplo n.º 3
0
        public ConfigModel()
        {
            ClientConn client = ClientConn.Instance;

            client.OnCommandRecieved += this.OnCommandRecieved;
        }