Пример #1
0
        private void SetBtn_Click(object sender, EventArgs e)
        {
            sendtime = timePicker.Value.Hour.ToString() + ':' + timePicker.Value.Minute.ToString() + ':' + timePicker.Value.Second.ToString();
            MySendlerEvent args = new MySendlerEvent(sendtime);

            SetNewTime_Event(this, args);
            this.Close();
        }
Пример #2
0
 private void GetInfo(object sender,MySendlerEvent e)
 {
     MyClock = e.Clock;
     timer1.Start();
 }