Пример #1
0
        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;
                }
        }
Пример #2
0
        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;
                }
        }
Пример #3
0
 private void updateStart_button_Click(object sender, RoutedEventArgs e)
 {
     using (_lock = new FocusLock(this))
         (App.ActiveWindow = new UpdateWindow(serverIp, updatePort, token, updateUri)).ShowDialog();
 }
Пример #4
0
 private void transactionStart_button_Click(object sender, RoutedEventArgs e)
 {
     using (_lock = new FocusLock(this))
         (App.ActiveWindow = new TransactionWindow(serverIp, transactionPort, token, transactionUri)).ShowDialog();
 }
Пример #5
0
		private void updateStart_button_Click(object sender, RoutedEventArgs e)
		{
			using (_lock = new FocusLock(this))
				(App.ActiveWindow = new UpdateWindow(serverIp, updatePort, token, updateUri)).ShowDialog();
		}
Пример #6
0
		private void transactionStart_button_Click(object sender, RoutedEventArgs e)
		{
			using (_lock = new FocusLock(this))
				(App.ActiveWindow = new TransactionWindow(serverIp, transactionPort, token, transactionUri)).ShowDialog();
		}
Пример #7
0
		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;
		}
Пример #8
0
		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;
		}