public Simulator(ConnectionSetup previous) { this.connectionSetup = previous; this.simulated_program = null; InitializeComponent(); this.programState.Text = ""; this.Icon = Properties.Resources.rgb; }
public LightChooser(ConnectionSetup connectionSetup) { this.connectionSetup = connectionSetup; this.comms = new Comms(); this.programs = new Dictionary<int, ProgramListItem> (); this.programEditor = new ProgramEditor(this); InitializeComponent(); this.programList.FormattingEnabled = false; this.Icon = Properties.Resources.rgb; }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); ConnectionSetup connectionSetup = new ConnectionSetup(); Application.Run(connectionSetup); }