示例#1
0
        public void InitPlugin(TabPage pluginScreenSpace, Label pluginStatusText)
        {
            Controller = new TcpController(this);
            Controller.Mode = TcpMode.Server;
            maintabpage = new MainTabPage(this);

            lblStatus = pluginStatusText;
            pluginScreenSpace.Controls.Add(maintabpage);
            maintabpage.Dock = DockStyle.Fill;

            lblStatus.Text = "Plugin Started";
            pluginScreenSpace.Text = "LAN Settings";

            maintabpage.AutoStart();
        }
示例#2
0
        public void InitPlugin(TabPage pluginScreenSpace, Label pluginStatusText)
        {
            Controller      = new TcpController(this);
            Controller.Mode = TcpMode.Server;
            maintabpage     = new MainTabPage(this);

            lblStatus = pluginStatusText;
            pluginScreenSpace.Controls.Add(maintabpage);
            maintabpage.Dock = DockStyle.Fill;

            lblStatus.Text         = "Plugin Started";
            pluginScreenSpace.Text = "LAN Settings";


            maintabpage.AutoStart();
        }