Exemplo n.º 1
0
        private void _ADD_SALARY_OnClick(object sender, RoutedEventArgs e)
        {
            var wind = new AddSalary(_employGuid, Guid.Empty)
            {
                Owner = Window.GetWindow(this)
            };

            wind.ShowDialog();
            Refresh(_employGuid);
        }
Exemplo n.º 2
0
        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);
        }