Ejemplo n.º 1
0
        public FormSelectInterval(FormPrincipal formPrincipal, System.Resources.ResourceManager rm)
        {
            InitializeComponent();
            mskTxtBoxInitialDate.Text = monthCalendarStartDate.TodayDate.ToShortDateString();
            mskTxtBoxFinalDate.Text   = monthCalendarStartDate.TodayDate.ToShortDateString();
            this.rm            = rm;
            this.formPrincipal = formPrincipal;

            this.startDate = monthCalendarStartDate.SelectionStart;
            this.endDate   = new DateTime(
                monthCalendarEndDate.SelectionStart.Year,
                monthCalendarEndDate.SelectionStart.Month,
                monthCalendarEndDate.SelectionStart.Day,
                23, 59, 59);
        }
Ejemplo n.º 2
0
        public FormSetup(FormPrincipal formPrincipal)
        {
            this.fp = formPrincipal;

            InitializeComponent();

            lblCameraTitle.Text   = fp.rm.GetString("uiCameraCalibrationTitle");
            lblCameraDetails.Text = fp.rm.GetString("uiCameraCalibrationDetails");

            groupBoxConfirm.Visible = false;

            lblInstructions.Text     = fp.rm.GetString("uiCellCalibrationTitle");
            lblRemove2Phones.Text    = fp.rm.GetString("uiCellCalibrationRemoveCell");
            lblInsertLeftPhone.Text  = fp.rm.GetString("uiCellCalibrationInsertLeftCell");
            lblLeftCellNumber.Text   = fp.rm.GetString("uiCellCalibrationLeftCellNumber");
            lblRemoveLeftPhone.Text  = fp.rm.GetString("uiCellCalibrationRemoveLeftCell");
            lblInsertRightPhone.Text = fp.rm.GetString("uiCellCalibrationInsertRightCell");
            lblRightCellNumber.Text  = fp.rm.GetString("uiCellCalibrationRightCellNumber");
            lblRemoveRightPhone.Text = fp.rm.GetString("uiCellCalibrationRemoveRightCell");
            lblInsert2Phones.Text    = fp.rm.GetString("uiCellCalibrationInsertBothCell");
            lblResult.Text           = fp.rm.GetString("uiCellCalibrationResultSuccess");
        }