Esempio n. 1
0
 public Simulator(ConnectionSetup previous)
 {
     this.connectionSetup = previous;
     this.simulated_program = null;
     InitializeComponent();
     this.programState.Text = "";
     this.Icon = Properties.Resources.rgb;
 }
Esempio n. 2
0
 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;
 }
Esempio n. 3
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            ConnectionSetup connectionSetup = new ConnectionSetup();
            Application.Run(connectionSetup);
        }