コード例 #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;
            }
        }
コード例 #2
0
 private void DatePopup_FormClosed(object sender, FormClosedEventArgs e)
 {
     Current = null;
 }
コード例 #3
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;

            }
        }
コード例 #4
0
 private void DatePopup_FormClosed(object sender, FormClosedEventArgs e)
 {
     Current = null;
 }