コード例 #1
0
        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);
        }
コード例 #2
0
        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();
        }