void AddRepres() { try { RepView rv = new RepView(_contract.CustomerId); rv.AddCompleted += OnAddRepresCompleted; rv.WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen; rv.ShowDialog(); } catch (Exception ex) { Helper.LogShowError(ex); } }