Ejemplo n.º 1
0
 public static AutomationElement ValueLineWindowAcceptCapture(this AutomationElement element)
 {
     using (var vlwp = new ValueLineBoxProxy <string>(element))
     {
         return(vlwp.AcceptCapture());
     }
 }
Ejemplo n.º 2
0
 public static void ValueLineWindowAccept(this AutomationElement element)
 {
     using (var vlwp = new ValueLineBoxProxy <string>(element))
     {
         vlwp.Accept();
     }
 }
Ejemplo n.º 3
0
 public static AutomationElement ValueLineWindowAcceptCapture <T>(this AutomationElement element, T value)
 {
     using (var vlwp = new ValueLineBoxProxy <T>(element))
     {
         vlwp.Value = value;
         return(vlwp.AcceptCapture());
     }
 }
Ejemplo n.º 4
0
 public static void ValueLineWindowAccept <T>(this AutomationElement element, T value)
 {
     using (var vlwp = new ValueLineBoxProxy <T>(element))
     {
         vlwp.Value = value;
         vlwp.Accept();
     }
 }