Ejemplo n.º 1
0
        protected FormMainBase()
        {
            InitializeComponent();

            formWait             = new FormWait();
            delegateStopWaitForm = new DelegateFunc(formWait.StopWaitForm);

            delegateStartWait = new DelegateFunc(StartWait);
            delegateStopWait  = new DelegateFunc(StopWait);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Конструктор - основной (без параметров)
        /// </summary>
        protected FormMainBase()
        {
            InitializeComponent();

            m_formWait = FormWait.This;

            this.HandleCreated += new EventHandler(FormMainBase_HandleCreated);
            this.FormClosed    += new FormClosedEventHandler(FormMainBase_FormClosed);

            delegateStartWait = new DelegateFunc(startWait);
            delegateStopWait  = new DelegateFunc(stopWait);
        }
Ejemplo n.º 3
0
        public static void ThreadProc(object data)
        {
            FormWait fw = (FormWait)data;

            fw.StartWaitForm();
        }