Esempio n. 1
0
 public static TControl FindById <TControl>(this WpfControl context, string id)
     where TControl : WpfControl, new()
 {
     return(WpfControlFactory.CreateById <TControl>(id, context));
 }
Esempio n. 2
0
 public static WpfWindow 窗口(string title)
 {
     return(WpfControlFactory.Create <WpfWindow>(title));
 }
Esempio n. 3
0
 public static TControl Find <TControl>(this WpfControl context, string title = null)
     where TControl : WpfControl, new()
 {
     return(WpfControlFactory.Create <TControl>(title, context));
 }