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; }
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)); } }
private void _Disconnect_Click(object sender, RoutedEventArgs e) { client = null; }