AnalyticsUnlimited.Client_WPF.DGValuesForm.ValOKBut_Click C# (CSharp) Method

ValOKBut_Click() private method

private ValOKBut_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        private void ValOKBut_Click(object sender, EventArgs e)
        {
            int totitem = ValLstBox.Items.Count;

            ///Then close the dialogue////
            DGValuesForm.ActiveForm.Close();
            //release resources
           // DGValuesForm.ActiveForm.Dispose();//if disposed here we can get listbox values in DataPanel.xaml.cs
        }