private void ReportStart()
        {
            StartedEventArgs args = new StartedEventArgs();

            args.File = File;
            OnDownloadStarted?.Invoke(this, args);
        }
Exemple #2
0
        /// <summary>
        /// 音频输入开始
        /// </summary>
        private void AudioInput_Started(StartedEventArgs args)
        {
            _channelCount      = args.ChannelCount;
            _samplingFrequency = (int)args.SamplesPerSecond;

            InitWaveformMonitors();
            InitSpectrograms();
            InitFFTCalculator();

            List <LightningChartUltimate> charts = new List <LightningChartUltimate>(m_aWaveformMonitors.Length + m_aSpectrograms2D.Length);

            foreach (WaveformMonitor wm in m_aWaveformMonitors)
            {
                charts.Add(wm.Chart);
            }

            foreach (SpectrogramViewXYIntensity svi in m_aSpectrograms2D)
            {
                charts.Add(svi.Chart);
            }

            //TODO
            //base.ChartsCreated(charts);
            //base.Started();
        }
Exemple #3
0
 protected virtual void OnStarted(StartedEventArgs e)
 {
     if (Started != null)
     {
         Started(this, e);
     }
 }
Exemple #4
0
        private void AudioInput_Started(StartedEventArgs args)
        {
            _samplingFrequency = (int)args.SamplesPerSecond;

            InitWaveformMonitors();
            InitSpectrograms();
            InitFFTCalculator();
        }
Exemple #5
0
        private void NotifyStarted()
        {
            var eventArgs = new StartedEventArgs {
                TotalCommandLines = mProblems.Count * mCommandLineTemplates.Count
            };

            Notify(Started, eventArgs);
        }
Exemple #6
0
        private void OnStarted(IntPtr vector2)
        {
            if (scrollableStartedEventHandler != null)
            {
                StartedEventArgs e = new StartedEventArgs();

                // Populate all members of "e" (StartedEventArgs) with real data
                e.Vector2 = Tizen.NUI.Vector2.GetVector2FromPtr(vector2);
                //here we send all data to user event handlers
                scrollableStartedEventHandler(this, e);
            }
        }
        private void Started(StartedEventArgs e)
        {
            if (!(Form is null))
            {
                DisposeForm();
            }

            MenuItem.Checked = false;

            // 独自のフォーム(ウィンドウ)を表示可能
            Form              = new StateForm();
            Form.FormClosing += FormClosing;
            Form.WindowState  = FormWindowState.Normal;

            MenuItem.Checked = true;
            BveHacker.MainForm.Focus();
        }
 private void server_Started(object sender, StartedEventArgs e)
 {
     this.SetUIState(true);
     this.SetPairingCode(e.PairingCode);
 }
Exemple #9
0
 /// <summary>
 /// Called when animation is started.
 /// </summary>
 private void OnAnimationStarted(object sender, StartedEventArgs e)
 {
     DisableStepButtons();
 }
 void onExperimentStarted(object sender, StartedEventArgs e)
 {
 }
Exemple #11
0
 private void SinglePartUnknownDownloader_OnDownloadStarted(object sender, StartedEventArgs e)
 {
     DownloadStatus = Status.NotDownloading;
     OnDownloadStarted?.Invoke(this, e);
 }
Exemple #12
0
        /// <summary>
        /// 音频输入开始
        /// </summary>
        private void AudioInput_Started(StartedEventArgs args)
        {
            _samplingFrequency = (int)args.SamplesPerSecond;

            InitWaveformMonitors();
        }