コード例 #1
0
ファイル: MainForm.cs プロジェクト: nolith/RSSSHClient
        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();
        }