예제 #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
파일: Main.cs 프로젝트: MetLob/tinke
        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
파일: Main.cs 프로젝트: MetLob/tinke
        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);
        }