Ejemplo n.º 1
0
 private void docuButton_Click(object sender, System.Windows.RoutedEventArgs e)
 {
     Process.Start("https://crackingparadox.com/threads/simple-blackbullet-config-tutorial.4211/");
 }
Ejemplo n.º 2
0
 private void btnAutomaticFontColor_Click(object sender, System.Windows.RoutedEventArgs e)
 {
     e.Handled = true;
     htmlEditor1.SetFontColor(htmlEditor1.AutomaticFontColors[0]);
 }
Ejemplo n.º 3
0
 private void Button_Click(object sender, System.Windows.RoutedEventArgs e)
 {
     DialogResult = true;
     Close();
 }
Ejemplo n.º 4
0
 /// <summary>
 /// 确认信息关闭窗口
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void Btn_Submit_Click(object sender, System.Windows.RoutedEventArgs e)
 {
 }
        private void ContextMenu_Opened(object sender, System.Windows.RoutedEventArgs e)
        {
            ContextMenu menu = sender as ContextMenu;

            menu.DataContext = viewModel;
        }
Ejemplo n.º 6
0
 void radSpreadsheet_Loaded(object sender, System.Windows.RoutedEventArgs e)
 {
     this.radSpreadsheet.Focus();
 }
 private void btnCancel_Click(object sender, System.Windows.RoutedEventArgs e)
 {
     this.Close();
 }
Ejemplo n.º 8
0
 void AssociatedObject_Loaded(object sender, System.Windows.RoutedEventArgs e)
 {
     this.AssociatedObject.ExpandAllDetailsView();
 }
Ejemplo n.º 9
0
 /// <summary>
 /// Opens a files selector to select a file name, and to load it.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void OnLoaded(object sender, System.Windows.RoutedEventArgs e)
 {
     //LoadScene( DoSelectSceneFile() );
 }
Ejemplo n.º 10
0
 private void MetroWindow_Loaded(object sender, System.Windows.RoutedEventArgs e)
 {
     ViewModel.LoadFromSettings();
 }
Ejemplo n.º 11
0
 private void TubeThumb_GotFocus(object sender, System.Windows.RoutedEventArgs e)
 {
     //
     (Template.FindName("Lab_Type", this) as Label).Foreground       = Brushes.OrangeRed;
     (Template.FindName("Lab_Coordinate", this) as Label).Foreground = Brushes.OrangeRed;
 }
Ejemplo n.º 12
0
        //private void SelectExportedUnit_PreviewMouseUp(object sender, System.Windows.Input.MouseButtonEventArgs e)
        //{
        //    nodeViewModel.WorkspaceViewModel.HasUnsavedChanges = true;
        //    var undoRecorder = nodeViewModel.WorkspaceViewModel.Model.UndoRecorder;
        //    WorkspaceModel.RecordModelForModification(nodeModel, undoRecorder);
        //}

        private void converterControl_Loaded(object sender, System.Windows.RoutedEventArgs e)
        {
        }
Ejemplo n.º 13
0
 private void btnPrint_Click(object sender, System.Windows.RoutedEventArgs e)
 {
     printInvoice.PrintPage +=
         new EventHandler <PrintPageEventArgs>(printInvoice_PrintPage);
     printInvoice.Print(String.Format("Invoice Date: {0}", DateTime.Today.ToShortDateString()));
 }
Ejemplo n.º 14
0
        private void OnLoaded(object sender, RoutedEventArgs e) {
            if (_loaded) return;
            _loaded = true;

            _timer = new DispatcherTimer {
                Interval = TimeSpan.FromSeconds(1),
                IsEnabled = true
            };
            _timer.Tick += OnTick;
        }
Ejemplo n.º 15
0
 private void GetColumnInformationClick(object sender, System.Windows.RoutedEventArgs e)
 {
     txtXml.Text = grid.GetColumnInformation();
 }
 private void Button_Click(object sender, System.Windows.RoutedEventArgs e)
 {
     Close();
 }
 // Occurs when the user clicks the "New Node" button.
 private void NewNodeButton_Click(object sender, System.Windows.RoutedEventArgs e)
 {
     UpdateNewNode();
 }
Ejemplo n.º 18
0
 private async void GameOverPage_Loaded(object sender, System.Windows.RoutedEventArgs e)
 {
     await AnimateIn();
 }
Ejemplo n.º 19
0
 private void OnLoaded(object sender, System.Windows.RoutedEventArgs e)
 {
     ViewModel.TimerTick += ViewModel_TimerTick;
 }
 private void AddSubtractView_Loaded(object sender, System.Windows.RoutedEventArgs e)
 {
     _amountTextBox.Focus();
     _amountTextBox.SelectAll();
 }
Ejemplo n.º 21
0
 /// <summary>
 /// Opens the DSL website.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void MenuItemDslWebite_Click(object sender, System.Windows.RoutedEventArgs e)
 {
     ShellLink("http://www.dsl-mud.org");
 }
Ejemplo n.º 22
0
 private void OnLostFocus(object sender, System.Windows.RoutedEventArgs e)
 {
     AssociatedObject.IsSuggestionOpen = false;
 }
Ejemplo n.º 23
0
 /// <summary>
 /// Opens the DSL forum.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void MenuItemForum_Click(object sender, System.Windows.RoutedEventArgs e)
 {
     ShellLink("http://www.dsl-mud.org/forum/default.asp");
 }
Ejemplo n.º 24
0
        protected override object PrepareCellForEdit(System.Windows.FrameworkElement editingElement, System.Windows.RoutedEventArgs editingEventArgs)
        {
            TextBox edit = editingElement as TextBox;

            edit.PreviewTextInput += OnPreviewTextInput;

            return(base.PrepareCellForEdit(editingElement, editingEventArgs));
        }
Ejemplo n.º 25
0
 /// <summary>
 /// Opens the DSL Wiki.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void MenuItemWiki_Click(object sender, System.Windows.RoutedEventArgs e)
 {
     ShellLink("https://dslmud.fandom.com/wiki/Dslmud_Wiki");
 }
Ejemplo n.º 26
0
 private void repoButton_Click(object sender, System.Windows.RoutedEventArgs e)
 {
     Process.Start("https://github.com/FOR-PARADOX/REBO-");
 }
Ejemplo n.º 27
0
 /// <summary>
 /// Opens the community Google Docs spreadsheet with directions.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void MenuItemDirectionsSpreadsheet_Click(object sender, System.Windows.RoutedEventArgs e)
 {
     ShellLink("https://docs.google.com/spreadsheets/d/1XRuFO6WLwIgNRoH5XX70frnETlX_ceUDlrpo-NrX12M/edit#gid=0");
 }
Ejemplo n.º 28
0
 private void configButton_Click(object sender, System.Windows.RoutedEventArgs e)
 {
     Process.Start("https://crackingparadox.com/forums/configs.19/");
 }
 private void AllModsButton_Click(object sender, System.Windows.RoutedEventArgs e) => _model.GetAll();
Ejemplo n.º 30
0
        private void buttonClockDemo_Click(object sender, EventArgs e)
        {
            if (clockDemo == false)
            {
                StopOtherApps(this, e);
                //elementHostClock.Child = Control_clock;
                elementHostClock.Child = Control_clock;
                clockDemo = true;
                labelDemoName.Text = "Clock";
                buttonClockDemo.Text = "Stop Clock";
                elementHostClock.Show();
                labelDemoInstructions.Enabled = true;
                labelDemoInstructions.Text = "Clock Demo Instructions:\n\n"
                    + "Clock follows Marker M.";

                System.Windows.RoutedEventArgs x = new System.Windows.RoutedEventArgs();

                Control_ink.ClearInk(sender, x);

                if (checkBox_F.Checked)
                {
                    Control_ink.PlayBackInk(sender, x);
                    checkBox_F.Checked = false;
                }
            }
            else
            {
                clockDemo = false;
                labelDemoName.Text = "WUW";
                buttonClockDemo.Text = "Clock";
                elementHostClock.Hide();
                Cursor = Cursors.Arrow;
                labelDemoInstructions.Enabled = false;
                labelDemoInstructions.Text = "";
                ResetEnvironment();
            }
        }
 private void DownloadedItemButton_Click(object sender, System.Windows.RoutedEventArgs e) => _model.GetDownloaded();
Ejemplo n.º 32
0
        private void OnUnloaded(object sender, RoutedEventArgs e) {
            if (!_loaded) return;
            _loaded = false;

            if (_timer != null) {
                _timer.Tick -= OnTick;
                _timer.Stop();
            }
        }
 private void btnDark_Click(object sender, System.Windows.RoutedEventArgs e)
 {
     ThemeService.SetTheme(ThemeService.Theme.Dark);
 }