SampleApp.MainForm.bindingSource1_CurrentChanged C# (CSharp) Méthode

bindingSource1_CurrentChanged() private méthode

private bindingSource1_CurrentChanged ( object sender, EventArgs e ) : void
sender object
e EventArgs
Résultat void
        private void bindingSource1_CurrentChanged(object sender, EventArgs e)
        {
            if (dgvDistributionMeasures.CurrentRow != null)
            {
                DataGridViewRow row = (DataGridViewRow)dgvDistributionMeasures.CurrentRow;
                dataHistogramView1.DataSource =
                    ((DescriptiveMeasures)row.DataBoundItem).Samples;
            }
        }
MainForm