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); } }
public void SetDataCollection(DataCollection dc) { this.dc = dc; }
public WNICSetupDialog(DataCollection dc) { InitializeComponent(); this.dc = dc; }