示例#1
0
        //***********************************************************
        //
        // Method:		Constructor
        // Purpose:		Initializes member variables.
        //
        //************************************************************/
        internal frmConnecting(frmAlfrescoSetUp oSetup)
        {
            m_oSetup = oSetup;

            oRM = new ResourceManager("frmWait", System.Reflection.Assembly.GetExecutingAssembly());
            InitializeComponent();
        }
示例#2
0
        //***********************************************************
        //
        // Method:		Constructor
        // Purpose:		Initializes member variables.
        //
        //************************************************************/
        internal frmConnecting(frmAlfrescoSetUp oSetup)
        {
            m_oSetup = oSetup;

            oRM = new ResourceManager("frmWait", System.Reflection.Assembly.GetExecutingAssembly());
            InitializeComponent();
        }
示例#3
0
        //*********************************************************
        // 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);
            }
        }
示例#4
0
 /// <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;
            }
        }
示例#6
0
 /// <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;
 }