Ejemplo n.º 1
0
// The event
        private void IMCWaitForm_Load(object sender, EventArgs e)
        {
            bool bNeedHScroll;
            bool bNeedVScroll;

            IMCCmnFunc.SetWindowPosAndSize(Handle, out bNeedHScroll, out bNeedVScroll);
            Hide();
            TimerWait.Enabled  = false;
            TimerWait.Interval = sDefTimerInterval;
        }
Ejemplo n.º 2
0
        private void IMCErrorForm_Load(object sender, EventArgs e)
        {
            ChkShowScrollbar(PanelInner);

            if (!bErrorDebugEnabled)
            {
                BtnScreenSnapshot.Enabled = false;
            }

            bool bNeedHScroll;
            bool bNeedVScroll;

            IMCCmnFunc.SetWindowPosAndSize(Handle, out bNeedHScroll, out bNeedVScroll);
            IMCCmnFunc.SetWindowZOrder(Handle, IMCWin32API.HWND_TOPMOST);
        }