Пример #1
0
        private void BT_ChangeDate_Click(object sender, EventArgs e)
        {
            DateChange DC = new DateChange();
            DC.PickedTime = dt;

            if (DC.ShowDialog() == DialogResult.OK)
            {
                MJD = DC.PickedMJD;
                dt = DC.PickedTime;
            }
            DialogResult = DialogResult.None;
        }
Пример #2
0
        private void BT_ChangeDate_Click(object sender, EventArgs e)
        {
            DateChange DC = new DateChange();

            DC.PickedTime = dt;

            if (DC.ShowDialog() == DialogResult.OK)
            {
                MJD = DC.PickedMJD;
                dt  = DC.PickedTime;
            }
            DialogResult = DialogResult.None;
        }