public HostForm( HostSetup setup ) { m_Setup = setup; InitializeComponent(); Text = string.Format( "{0} - {1}", m_Setup.HostType, m_Setup.HostGuid ); }
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; }