Ejemplo n.º 1
0
        public MainForm()
        {
            InitializeComponent();
            cb_con.CheckState = CheckState.Unchecked;

            _b = Bridge.GetBridge(this); // first initialisation of Bridge -> need gui
            _b.RPC.EventOccurred += EventFromThread;
            _b.RPC.ReceivedMsg   += ProcessMsgFromThread;

            _loadSaveHandler = new LoadSaveHandler();
            _log             = new Log();
            _log.NewSession();
            _tickCounter = 0;

            AddSpeedOptions(); // add options _before_ loading settings!
            LoadSettings();
        }
Ejemplo n.º 2
0
        public MainForm()
        {
            InitializeComponent();
            cb_con.CheckState = CheckState.Unchecked;

            _b = Bridge.GetBridge(this); // first initialisation of Bridge -> need gui
            _b.RPC.EventOccurred += EventFromThread;
            _b.RPC.ReceivedMsg += ProcessMsgFromThread;

            _loadSaveHandler = new LoadSaveHandler();
            _log = new Log();
            _log.NewSession();
            _tickCounter = 0;

            AddSpeedOptions(); // add options _before_ loading settings!
            LoadSettings();
        }