Exemple #1
0
 public FarsiDate()
 {
     _format        = DateFormat.Long;
     _mode          = ControlType.DatePicker;
     _pSelectedDate = FarsiDateHelper.GetShortFarsiDate(DateTime.Now);
     _theme         = CalendarTheme.WhiteSmoke;
     _event         = "";
 }
 public DataGridViewFarsiDatePickerColumn()
 {
     _dateFormat                    = DateFormat.Short;
     _theme                         = CalendarTheme.WhiteSmoke;
     _showFarsiDigitInCell          = false;
     _cellTemplate                  = new DataGridViewFarsiDatePickerCell();
     _cellTemplate.CellDateChanged += OnCellDateChanged;
     CellTemplate                   = _cellTemplate;
 }