Beispiel #1
0
        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();
        }
Beispiel #2
0
        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));
        }
Beispiel #3
0
        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();
        }
Beispiel #4
0
        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);
        }