TransferCavityLock.Controller.Start C# (CSharp) Method

Start() public method

public Start ( ) : void
return void
        public void Start()
        {
            ui = new MainForm();
            ui.controller = this;

            State = ControllerState.STOPPED;
            initializeControllerValues();
            Application.Run(ui);
        }

Usage Example

コード例 #1
0
ファイル: Runner.cs プロジェクト: ColdMatter/EDMSuite
        static void Main()
        {
            Controller controller = new Controller();

            // publish the controller to the remoting system
               // TcpChannel channel = new TcpChannel(1179);
               // ChannelServices.RegisterChannel(channel, false);
               // RemotingServices.Marshal(controller, "controller.rem");

            // hand over to the controller
            controller.Start();

            // the application is finishing - close down the remoting channel
               // RemotingServices.Disconnect(controller);
               // ChannelServices.UnregisterChannel(channel);
        }