using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; // TODO Use the check boxes or remove them. // TODO I used a huge font on here because I having trouble reading normal sized fonts // on my test machine. This is part of a bigger issue. This should use the same font // as the rest of my windows. namespace TradeIdeas.TIProGUI { /// /// Lets the user pick a screen. For example, when you load a layout, /// which screen do you want the windows to appear on. /// public partial class ScreenPicker : Form { public ScreenPicker() { InitializeComponent(); } /// /// Null if the user hits cancel. /// public Screen Choice { get; private set; } private void okButton_Click(object sender, EventArgs e) { Choice = Screen.FromControl(this); } } }