예제 #1
0
        private void DatePopup_Load(object sender, EventArgs e)
        {
            Current = this;
            if (masterClock)
            {
                if (Properties.Settings.Default.ShowUTCTime)
                {
                    ScratchTime = SpaceTimeController.Now;
                }
                else
                {
                    ScratchTime = SpaceTimeController.Now.ToLocalTime();
                }
            }


            UpdateTimeFields();
            if (masterClock)
            {
                showUtcTime.Checked = Properties.Settings.Default.ShowUTCTime;
            }
            else
            {
                showUtcTime.Visible  = false;
                this.PushPin.Visible = false;
            }
        }
 private void DatePopup_FormClosed(object sender, FormClosedEventArgs e)
 {
     Current = null;
 }
        private void DatePopup_Load(object sender, EventArgs e)
        {
            Current = this;
            if (masterClock)
            {
                if (Properties.Settings.Default.ShowUTCTime)
                {
                    ScratchTime = SpaceTimeController.Now;
                }
                else
                {
                    ScratchTime = SpaceTimeController.Now.ToLocalTime();
                }
            }

            UpdateTimeFields();
            if (masterClock)
            {
                showUtcTime.Checked = Properties.Settings.Default.ShowUTCTime;
            }
            else
            {
                showUtcTime.Visible = false;
                this.PushPin.Visible = false;

            }
        }
예제 #4
0
 private void DatePopup_FormClosed(object sender, FormClosedEventArgs e)
 {
     Current = null;
 }