ArcGISWindowsPhoneSDK.AreaAndLengths.CalcTypeListBox_SelectionChanged C# (CSharp) Method

CalcTypeListBox_SelectionChanged() private method

private CalcTypeListBox_SelectionChanged ( object sender, System e ) : void
sender object
e System
return void
        private void CalcTypeListBox_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e)
        {
            int index = CalcTypeListBox.SelectedIndex;
            if (index > -1)
            {
                CalcTypeChoicesPage.IsOpen = false;
                CalcTypeButton.Content = CalcTypeListBox.SelectedItem.ToString();
            }
        }