Beispiel #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            MainWindow mWin = new MainWindow();

            DataCollection dc = new DataCollection(mWin);
            if (!mWin.IsDisposed)
            {
                mWin.SetDataCollection(dc);
                dc.start();

                Application.Run(mWin);
            }
        }
Beispiel #2
0
 public void SetDataCollection(DataCollection dc)
 {
     this.dc = dc;
 }
Beispiel #3
0
 public WNICSetupDialog(DataCollection dc)
 {
     InitializeComponent();
     this.dc = dc;
 }