예제 #1
0
 public static void ValueLineWindowAccept(this AutomationElement element)
 {
     using (var vlwp = new ValueLineBoxProxy <string>(element))
     {
         vlwp.Accept();
     }
 }
예제 #2
0
 public static void ValueLineWindowAccept <T>(this AutomationElement element, T value)
 {
     using (var vlwp = new ValueLineBoxProxy <T>(element))
     {
         vlwp.Value = value;
         vlwp.Accept();
     }
 }