Exemplo n.º 1
0
        public MainTabPage(LanPlugin plugin)
        {
            InitializeComponent();

            _plugin = plugin;
            _plugin.Controller.ActiveUpdate += Controller_ActiveUpdate;
            Controller_ActiveUpdate(this, null);
            _plugin.Controller.ModeUpdate += Controller_ModeUpdate;
            Controller_ModeUpdate(this, null);

            _AddLogUpdate = addLog;

            _xmlSettings = new SettingsSerializer(this);
            LoadSettings();
            if (textBoxPort.Text.Length == 0)
                textBoxPort.Text = "5000";
        }
Exemplo n.º 2
0
        public MainTabPage(LanPlugin plugin)
        {
            InitializeComponent();

            _plugin = plugin;
            _plugin.Controller.ActiveUpdate += Controller_ActiveUpdate;
            Controller_ActiveUpdate(this, null);
            _plugin.Controller.ModeUpdate += Controller_ModeUpdate;
            Controller_ModeUpdate(this, null);

            _AddLogUpdate = addLog;

            _xmlSettings = new SettingsSerializer(this);
            LoadSettings();
            if (textBoxPort.Text.Length == 0)
            {
                textBoxPort.Text = "5000";
            }
        }