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