Esempio n. 1
0
 private void InputTestDate_Leave(object sender, EventArgs e)
 {
     if (InputMonthCalendar.Visible)
     {
         InputMonthCalendar.Hide();
     }
 }
Esempio n. 2
0
 private void InputMonthCalendar_Leave(object sender, EventArgs e)
 {
     //System.Console.WriteLine("leave calender");
     if (InputMonthCalendar.Visible)
     {
         InputMonthCalendar.Hide();
     }
 }
Esempio n. 3
0
 void SetCalenderDateAsTestDate()
 {
     //Set date selected in calender to InputTestDate Control, set focus back to text box, hide calender
     InputTestDate.Text = InputMonthCalendar.SelectionEnd.Date.ToString("dddd, MMM dd, yyyy");
     InputTestDate.Focus();
     InputTestDate.Select(0, 0);
     if (InputMonthCalendar.Visible)
     {
         InputMonthCalendar.Hide();
     }
 }
Esempio n. 4
0
 private void InputDlg_Click(object sender, EventArgs e)
 {
     //System.Console.WriteLine($" OutputRecommendedLowVoltStartAt60Hz? =  {mMotorTestData.OutputRecommendedLowVoltStartAt60Hz-2??999}");
     if (InputMonthCalendar.Visible)
     {
         InputMonthCalendar.Hide();
     }
     ForceRefreshBindingDataToControls();
     //System.Console.WriteLine(InputChooseLoadData.SelectedItem.ToString());
     //System.Console.WriteLine(InputChooseLoadData.SelectedItem.ToString().Substring(4, InputChooseLoadData.SelectedItem.ToString().IndexOf(" --- ") - (" --- ").Length + 1));
 }