Пример #1
0
 public Task(SmartFile.ClientHandler client, String APIendPoint, DateTime created, int status, string type)
 {
     this.client = client;
     this.APIendPoint = APIendPoint;
     this.created = created;
     this.status = status;
     this.type = type;
 }
Пример #2
0
        internal void connect(string key, string password)
        {

            try
            {
                client = null;
                client = new SmartFile.ClientHandler(key, password);
            }
            catch (Exception e)
            {

                MessageBox.Show(String.Format("An Error Occured but has been caught\nLocation:0000\n{0}", e.Message));
            }

        }
Пример #3
0
 private void _Disconnect_Click(object sender, RoutedEventArgs e)
 {
     client = null;
 }