private void editUpdateUri_button_Click(object sender, RoutedEventArgs e) { var edit = new UpdateEditor(updateUri); using (_lock = new FocusLock(this)) if ((App.ActiveWindow = edit).ShowDialog() == true) { updateUri = edit.SetUrl; } }
private void editToken_button_Click(object sender, RoutedEventArgs e) { var edit = new TokenEditor(token); using (_lock = new FocusLock(this)) if ((App.ActiveWindow = edit).ShowDialog() == true) { token = edit.SetToken; } }
private void updateStart_button_Click(object sender, RoutedEventArgs e) { using (_lock = new FocusLock(this)) (App.ActiveWindow = new UpdateWindow(serverIp, updatePort, token, updateUri)).ShowDialog(); }
private void transactionStart_button_Click(object sender, RoutedEventArgs e) { using (_lock = new FocusLock(this)) (App.ActiveWindow = new TransactionWindow(serverIp, transactionPort, token, transactionUri)).ShowDialog(); }
private void editUpdateUri_button_Click(object sender, RoutedEventArgs e) { var edit = new UpdateEditor(updateUri); using (_lock = new FocusLock(this)) if ((App.ActiveWindow = edit).ShowDialog() == true) updateUri = edit.SetUrl; }
private void editToken_button_Click(object sender, RoutedEventArgs e) { var edit = new TokenEditor(token); using (_lock = new FocusLock(this)) if ((App.ActiveWindow = edit).ShowDialog() == true) token = edit.SetToken; }