예제 #1
0
 private void UpdateTimeSpanDisplay()
 {
     EnsureVisible(timeSpanPicker);
     if (TypeXmlConvert.CanConvert(m_value, PrimitiveType.TimeSpan))
     {
         timeSpanPicker.Value = TypeXmlConvert.ToTimeSpan(m_value);
     }
     else
     {
         timeSpanPicker.Value = new LinkMe.Framework.Type.TimeSpan();
     }
 }