예제 #1
0
        public override Form CreateMainForm()
        {
            string        FUNCTION_NAME = ".CreateMainForm";
            MMSPortalForm frm           = new MMSPortalForm();

            return(frm);
        }
예제 #2
0
        public override void onInitGenericGUICompleted()
        {
            string startUrlvalue = getGuiEntityParameterValue(START_URL_COLUMN);
            string endUrlValue   = getGuiEntityParameterValue(EXIT_URL_COLUMN);
            string refreshTime   = getGuiEntityParameterValue(REFRESH_TIME_COLUMN);
            string guiWidth      = getGuiEntityParameterValue(GUI_WIDTH_COLUMN);
            string guiHeight     = getGuiEntityParameterValue(GUI_HEIGHT_COLUMN);
            string windowCaption = getGuiEntityParameterValue(WINDOW_CAPTION_COLUMN);
            int    nRefresh      = Convert.ToInt16(refreshTime);
            int    frmwidth      = Convert.ToInt16(guiWidth);
            int    frmheight     = Convert.ToInt16(guiHeight);

            if (frmwidth == 0 || frmheight == 0)
            {
                frmwidth  = 979;
                frmheight = 672;
            }
            int           enableMax = Convert.ToInt16(getGuiEntityParameterValue(ENABLE_MAXIMISE_COLUMN));
            bool          bMax      = (enableMax == 0 ? false : true);
            MMSPortalForm frm       = (MMSPortalForm)m_pMainFrm;

            frm.setParameters(startUrlvalue, endUrlValue, nRefresh, frmwidth, frmheight, windowCaption, bMax);
        }
예제 #3
0
 public override void PreApplicationClose()
 {
     MMSPortalForm frm = (MMSPortalForm)m_pMainFrm;
     // frm.Form1_FormClosed();
 }