FluentTest.TestWindow.OnLauncherButtonClick C# (CSharp) Method

OnLauncherButtonClick() private method

private OnLauncherButtonClick ( object sender, RoutedEventArgs e ) : void
sender object
e System.Windows.RoutedEventArgs
return void
        private void OnLauncherButtonClick(object sender, RoutedEventArgs e)
        {
            /* MessageBox.Show(this,"Launcher button pressed!!!");
            
             Thread thread = new Thread(()=>
                                            {
                                             TestWindow wnd = new TestWindow();
                                             wnd.ShowDialog();
                                            });
             thread.SetApartmentState(ApartmentState.STA);
             thread.IsBackground = true;
             thread.Start();*/
            var wnd = new Window();
            var box = new System.Windows.Controls.ComboBox
                          {
                              ItemsSource = new[] { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10" }
                          };
            wnd.Content = box;
            wnd.Owner = this;
            wnd.Show();
        }