private void cmdConfigVarTab_Click(object sender, RoutedEventArgs e) { ConfigVarTab subWin = new ConfigVarTab(this); subWin.ShowDialog(); }