private void btnSettings_Click(object sender, RoutedEventArgs e) { BLECommands.ShowBox(this); this.Update(true); // reload the list if showing in the commands window }
public static void ShowBox(Window parent) { BLECommands win = new BLECommands(parent); win.ShowDialog(); }