private void btnStart_Click(object sender, RoutedEventArgs e) { Table table = new Table() { Owner = this }; table.ShowDialog(); }