Esempio n. 1
0
        /// <summary>
        /// Открыть окно редактирования сотрудников
        /// </summary>
        public void OpenDepartmentsEdit()
        {
            WinEditDepartments wed = new WinEditDepartments(this)
            {
                Owner = WinMainWindow
            };

            wed.ShowDialog();
            SaveDB();
        }
        /// <summary>
        /// Открыть окно редактирования сотрудников
        /// </summary>
        public void OpenDepartmentsEdit()
        {
            WinEditDepartments wed = new WinEditDepartments(adapterD, dtD, this)
            {
                Owner = WinMainWindow
            };

            wed.ShowDialog();

            SaveDB();

            dtE.Clear();
            adapterE.Fill(dtE);
        }