private void Label_MouseDown(object sender, MouseButtonEventArgs e) { WaitForPairingDialog _waitForPairingDialog = new WaitForPairingDialog { Owner = this }; _waitForPairingDialog.ShowDialog(); }
void uiDelayTimer_Tick(object sender, EventArgs e) { uiDelayTimer.Stop(); if (Properties.Settings.Default.IsFirstUse) { MessageBoxResult _messageBoxResult = MessageBox.Show("See a quick tour ?", "Favorite*", MessageBoxButton.YesNo, MessageBoxImage.Question, MessageBoxResult.Yes); if (_messageBoxResult == MessageBoxResult.Yes) { Process.Start(HELP_URL); } WaitForPairingDialog _waitForPairingDialog = new WaitForPairingDialog(); _waitForPairingDialog.Owner = this; _waitForPairingDialog.ShowDialog(); Properties.Settings.Default.IsFirstUse = false; Properties.Settings.Default.Save(); } }
private void btnAddNewSource_Click(object sender, System.Windows.Input.MouseButtonEventArgs e) { WaitForPairingDialog _waitForPairingDialog = new WaitForPairingDialog(); _waitForPairingDialog.Show(); }