Ejemplo n.º 1
0
        public BusyDlg(Perform_d dPerform)
        {
            _th = new Thread((ThreadStart) delegate { dPerform(); });
            _th.Start();

            InitializeComponent();
        }
Ejemplo n.º 2
0
 public static void Perform(Perform_d dPerform)
 {
     using (BusyDlg f = new BusyDlg(dPerform))
     {
         f.ShowDialog();
     }
 }