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