コード例 #1
0
        private void buttonEdit_Click(object sender, EventArgs e)
        {
            Form FormSalariesEdit = new FormSalariesEdit(salRepo, empRepo, selectedRowDBindex());

            FormSalariesEdit.ShowDialog();
            salRepo.Save();
            RefreshGui();
        }
コード例 #2
0
        private void buttonAdd_Click(object sender, EventArgs e)
        {
            Form FormSalariesEdit = new FormSalariesEdit(empRepo);

            FormSalariesEdit.ShowDialog();
            salRepo.Save();
            RefreshGui();
        }