public static IDisposable Show(Form parentForm) { var f = new InitializingUserPage(parentForm); var ret = new DisposableScope(f); new Thread(() => f.ShowDialog()).Start(); return(ret); }
public DisposableScope(InitializingUserPage container) { _container = container; }