Esempio n. 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);
        }
Esempio n. 2
0
 public DisposableScope(InitializingUserPage container)
 {
     _container = container;
 }