public void Read(sFile file) { BackgroundWorker bw = new BackgroundWorker(); bw.DoWork += new DoWorkEventHandler(bw_DoWork); bw.RunWorkerCompleted += new RunWorkerCompletedEventHandler(bw_RunWorkerCompleted); bw.RunWorkerAsync(file); wait = new Waiting("S00", pluginHost.Get_Language()); wait.ShowDialog(); }
public Control Show_Info(sFile file) { BackgroundWorker bw = new BackgroundWorker(); bw.DoWork += new DoWorkEventHandler(bw_DoWorkRead); bw.RunWorkerCompleted += new RunWorkerCompletedEventHandler(bw_RunWorkerCompletedRead); bw.RunWorkerAsync(new string[] { file.path, file.id.ToString() }); wait = new Waiting("S00", pluginHost.Get_Language()); wait.ShowDialog(); return(new SoundControl(sb, pluginHost)); }
public Control Show_Info(sFile file) { BackgroundWorker bw = new BackgroundWorker(); bw.DoWork += new DoWorkEventHandler(bw_DoWorkRead); bw.RunWorkerCompleted += new RunWorkerCompletedEventHandler(bw_RunWorkerCompletedRead); bw.RunWorkerAsync(new string[] { file.path, file.id.ToString() }); wait = new Waiting("S00", pluginHost.Get_Language()); wait.ShowDialog(); return new SoundControl(sb, pluginHost); }