Пример #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();
        }
Пример #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));
        }
Пример #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();
        }
Пример #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);
        }