Пример #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);
            }
        }
Пример #2
0
 public void SetDataCollection(DataCollection dc)
 {
     this.dc = dc;
 }
Пример #3
0
 public WNICSetupDialog(DataCollection dc)
 {
     InitializeComponent();
     this.dc = dc;
 }