Пример #1
0
        public frmUserWorksheet(Forms.frmSplashScreen InitScreen)
        {
            InitializeComponent();

            lblError.Text   = "";
            SplashScreen    = InitScreen;
            LogTarget       = Common.WriteLog;
            ExceptionTarget = this.Exceptions;
            ChildClosed     = this.RefreshGrid;

            SetupDetails = new Components.ProjectSetup();
            LaborTimings = new Components.LaborTimes(LogTarget, ExceptionTarget);
            LaborTimings.LoadFromFile();

            GridViewSource            = new Data.UIGridViewDataTable();
            Parts                     = new Dictionary <int, Common.Part>();
            dataGridView1.ReadOnly    = true;
            _HighlightStyle           = new DataGridViewCellStyle();
            _HighlightStyle.BackColor = System.Drawing.Color.LightSteelBlue;
            _HighlightRows            = new List <Int32>();
        }