Esempio n. 1
0
        private void RadioButton_Checked(object sender, RoutedEventArgs e)
        {
            // ... Get RadioButton reference.
            var button = sender as RadioButton;

            if (button.Name == "StructureRadioButton1")
            {
                bufferData.Mode = BufferData.Modes.Structure;
            }
            else
            {
                bufferData.Mode = BufferData.Modes.View;
            }
            //string table = bufferData.CurrentTableName;
            bufferData.Rebuild();
            tableListBox.ItemsSource = bufferData.TablesList;

            //SelectTable(table);
        }