private void Button_Click_4(object sender, RoutedEventArgs e) { Combo w = new Combo(); w.Title = string.Format("Child #{0}", this.OwnedWindows.Count + 1); w.Owner = this; w.Show(); }
private void Button_Click_6(object sender, RoutedEventArgs e) { Combo win = new Combo(); win.Title = "Modeless window - " + DateTime.Now.ToLongTimeString(); win.Show(); }
private void Button_Click_5(object sender, RoutedEventArgs e) { Combo win = new Combo(); win.Title = "Modal child - " + DateTime.Now.ToLongTimeString(); win.ShowDialog(); }