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

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