private void AddIncBtn_Click(object sender, RoutedEventArgs e)
        {
            IncidentWindowClient incidentWindow = new IncidentWindowClient();

            incidentWindow.Show();
            UpdateIncidentDG();
        }
        private void UpdateIncident()
        {
            try
            {
                int row = IncidentsDG.SelectedIndex;

                if (row != -1)
                {
                    var ci   = new DataGridCellInfo(IncidentsDG.Items[row], IncidentsDG.Columns[0]);
                    var crow = ci.Column.GetCellContent(ci.Item) as TextBlock;
                    var vrow = crow.Text;

                    IncidentWindowClient incidentWindow = new IncidentWindowClient();
                    incidentWindow.Inc = Convert.ToInt32(vrow);
                    incidentWindow.ShowDialog();
                    UpdateIncidentDG();
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }