private void lbCommandListName_MouseLeftButtonUp(object sender, System.Windows.Input.MouseButtonEventArgs e) { CommandsPopup.ShowBox(this); }
public static void ShowBox(Window parent, CommMedium medium) { CommandsPopup win = new CommandsPopup(parent, medium); win.ShowDialog(); }