public selectSaveOnDevice(selectDevice selectDeviceStep, Util.FATXSaveTransferrer saveTransferrer, Func <string, Util.SaveType> loadSaveFunc) { _selectDeviceStep = selectDeviceStep; _saveTransferrer = saveTransferrer; _loadSaveFunc = loadSaveFunc; this.InitializeComponent(); Loaded += new RoutedEventHandler(selectSaveOnDevice_Loaded); }
public progressWindow(selectDevice deviceSelector, selectSaveOnDevice saveSelector) { this.InitializeComponent(); _deviceSelector = deviceSelector; _saveSelector = saveSelector; _timer.Tick += new EventHandler(FrontEnd_Tick); _timer.Interval = new TimeSpan(0, 0, 0, 0, 100); System.Threading.ThreadStart ts = delegate { doOveride(); }; _worker = new System.Threading.Thread(ts); _worker.Start(); }