private void dataGrid_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     var currentRowIndex = dataGrid.Items.IndexOf(dataGrid.SelectedItem);
     {
         if (dataGrid.SelectedItem != null)
         {
             DataRowView row        = dataGrid.SelectedItem as DataRowView;
             string      targetGUID = row.Row.ItemArray[6].ToString();
             aktaInfo    info       = new aktaInfo(targetGUID, false);
             info.Show();
         }
     }
 }
        private void Button_Click_1(object sender, RoutedEventArgs e)
        {
            aktaInfo new_info = new aktaInfo(Guid.NewGuid().ToString(), true);

            new_info.Show();
        }