예제 #1
0
        public static IDisposable Show(Form parentForm)
        {
            var f   = new InitializingUserPage(parentForm);
            var ret = new DisposableScope(f);

            new Thread(() => f.ShowDialog()).Start();

            return(ret);
        }
예제 #2
0
 public DisposableScope(InitializingUserPage container)
 {
     _container = container;
 }