private void _ADD_SALARY_OnClick(object sender, RoutedEventArgs e) { var wind = new AddSalary(_employGuid, Guid.Empty) { Owner = Window.GetWindow(this) }; wind.ShowDialog(); Refresh(_employGuid); }
private void _SALARY_LIST_OnMouseDoubleClick(object sender, MouseButtonEventArgs e) { if (_isReadOnly || SelectedSalaryGuid == Guid.Empty) { return; } var wind = new AddSalary(_employGuid, SelectedSalaryGuid) { Owner = Window.GetWindow(this) }; wind.ShowDialog(); Refresh(_employGuid); }