Example #1
0
        private void ButtonDescriptor_Click(object sender, RoutedEventArgs e)
        {
            var addDes = new EditDescriptor();

            addDes.ShowDialog();
            InitDescriptorGrid();
        }
Example #2
0
        private void EditDescriptor_OnClick(object sender, RoutedEventArgs e)
        {
            var desRow = descriptorGrid.SelectedItem as Descriptor;

            var editDes = new EditDescriptor(desRow.Id);

            editDes.ShowDialog();
            InitDescriptorGrid();
        }