//*********************************************************** // // Method: Constructor // Purpose: Initializes member variables. // //************************************************************/ internal frmConnecting(frmAlfrescoSetUp oSetup) { m_oSetup = oSetup; oRM = new ResourceManager("frmWait", System.Reflection.Assembly.GetExecutingAssembly()); InitializeComponent(); }
//********************************************************* // Function: RunUI() // Scope: internal // Overview: User interface display point. This method // is called by the Release Setup Controller // to display the setup dialog specific to this // script. The SetupData object will be initialized // by the time that this method is called. // Params: none // Returns: KFX_REL_SUCCESS, KFX_REL_ERROR, KFX_REL_STOPPED // Called By: Called once by the Release Setup Controller. //********************************************************** public KfxReturnValue RunUI() { try { frmAlfrescoSetUp frmSetup = new frmAlfrescoSetUp(this.releaseSetUpData); //If the user cancels, the return value will be KFX_REL_STOPPED return(frmSetup.ShowForm()); } catch (Exception e) { return(AscentRelease.KfxReturnValue.KFX_REL_ERROR); } }
/// <summary> /// The form load event handler /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void Browse_Load(object sender, EventArgs e) { this.initializeRootFolder(); this.parentForm = (frmAlfrescoSetUp)this.Owner; }
//********************************************************* // Function: RunUI() // Scope: internal // Overview: User interface display point. This method // is called by the Release Setup Controller // to display the setup dialog specific to this // script. The SetupData object will be initialized // by the time that this method is called. // Params: none // Returns: KFX_REL_SUCCESS, KFX_REL_ERROR, KFX_REL_STOPPED // Called By: Called once by the Release Setup Controller. //********************************************************** public KfxReturnValue RunUI() { try { frmAlfrescoSetUp frmSetup = new frmAlfrescoSetUp(this.releaseSetUpData); //If the user cancels, the return value will be KFX_REL_STOPPED return frmSetup.ShowForm(); } catch (Exception e) { return AscentRelease.KfxReturnValue.KFX_REL_ERROR; } }