コード例 #1
0
        public HostForm( HostSetup setup )
        {
            m_Setup = setup;
            InitializeComponent();

            Text = string.Format( "{0} - {1}", m_Setup.HostType, m_Setup.HostGuid );
        }
コード例 #2
0
        private HostSetup CreateSetup( )
        {
            HostSetup setup 	= new HostSetup( );
            setup.SceneFile 	= sceneFileCombo.Text;
            setup.InputFile 	= inputFileCombo.Text;
            setup.ServerAddress	= ( RemoteHostAddress )serverIpCombo.SelectedItem;
            setup.ViewerFile	= viewerFileCombo.Text;

            return setup;
        }