Ejemplo n.º 1
0
 public CDEWinForm(IConfig config)
 {
     _config = config;
     InitializeComponent();
     AutoWaitCursor.Cursor           = Cursors.WaitCursor;
     AutoWaitCursor.Delay            = new TimeSpan(0, 0, 0, 0, 25);
     AutoWaitCursor.MainWindowHandle = Handle;
     AutoWaitCursor.Start();
     RegisterClientEvents();
 }
Ejemplo n.º 2
0
        public LoaderForm(IConfig config, IEnumerable <string> cdeList, TimeIt timeIt)
        {
            InitializeComponent();
            _config  = config;
            _cdeList = cdeList;
            _timeIt  = timeIt;

            // Set to top left of application if it is available.
            _config.RestoreConfigFormTopLeft(this);

            AutoWaitCursor.Cursor           = Cursors.WaitCursor;
            AutoWaitCursor.Delay            = new TimeSpan(0, 0, 0, 0, 25);
            AutoWaitCursor.MainWindowHandle = Handle;
            AutoWaitCursor.Start();
        }