protected override object CreateControlCore()
 {
     control = new PersianDateTimeOffsetControl();
     control.ValueChanged       += control_ValueChanged;
     this.ControlBindingProperty = "Value";
     return(control);
 }
Пример #2
0
        public override BaseEdit CreateEditor()
        {
            //throw new NotImplementedException();
            var dateControl = new PersianDateTimeOffsetControl();

            return(dateControl);
        }
 protected override void Dispose(bool disposing)
 {
     if (control != null)
     {
         control.ValueChanged -= control_ValueChanged;
         control = null;
     }
     base.Dispose(disposing);
 }