public DatePicker()
        {
            InitializeComponent();

            SelectedPersianDateTime = FarsiLibrary.Utils.PersianDate.Now;

            DateValueTextEdit.Text = SelectedPersianDateTime.ToString("d");

            Text = DateValueTextEdit.Text;
        }
Пример #2
0
        public DatePicker()
        {
            InitializeComponent();

            SelectedPersianDateTime = AAk.Utils.PersianDate.Now;

            PersianDateTextBox.Text = SelectedPersianDateTime.ToString("d");

            Text = PersianDateTextBox.Text;

            SelectedDateTime = AAk.Utils.PersianDateConverter.ToGregorianDateTime(SelectedPersianDateTime);
        }