private void btnAdd_Click(object sender, EventArgs e)
        {
            AddStaffUI addStaffUI = new AddStaffUI();

            addStaffUI.OpenMode = AddStaffUI.AddStaffOpenMode.Add;
            if (DialogResult.Yes.Equals(addStaffUI.ShowDialog()))
            {
                this.staffsTableAdapter.Fill(this.apartmentDataSet.Staffs);
            }
        }
        private void dgvStaffList_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            if (e.RowIndex == -1)
            {
                return;
            }

            AddStaffUI addStaffUI = new AddStaffUI();

            addStaffUI.OpenMode = AddStaffUI.AddStaffOpenMode.Edit;
            addStaffUI.StaffID  = Convert.ToInt32(((DataRowView)fKStaffsPositionsBindingSource[e.RowIndex]).Row["StaffID"]);
            if (DialogResult.Yes.Equals(addStaffUI.ShowDialog()))
            {
                this.staffsTableAdapter.Fill(this.apartmentDataSet.Staffs);
            }
        }