Example #1
0
 /// <summary>
 /// Shows the time widget.
 /// </summary>
 private void TClock()
 {
     if (InvokeRequired)
     {
         var o = new DelegateThis(TClock);
         Invoke(o);
     }
     else
     {
         _qwClock = new QWClock();
         _qwClock.Location = new Point(Width - _qwClock.Width, 10);
         Controls.Add(_qwClock);
     }
 }
Example #2
0
 /// <summary>
 /// Loads the clock.
 /// </summary>
 private void LoadClock()
 {
     if (InvokeRequired)
     {
         var o = new DelegateThis(LoadClock);
         Invoke(o);
     }
     else
     {
         _clockWidget = new QWClock {Location = new Point(0, 10)};
         pnlRight.Controls.Add(_clockWidget);
     }
 }
Example #3
0
 /// <summary>
 /// Ts the clock.
 /// </summary>
 private void TClock()
 {
     if (InvokeRequired)
     {
         var o = new DelegateThis(TClock);
         Invoke(o);
     }
     else
     {
         _clockWidget = new QWClock();
         pnlRight.Controls.Add(_clockWidget);
         _clockWidget.Dock = DockStyle.Top;
     }
 }