示例#1
0
        private void addClientButton_Click(object sender, EventArgs e)
        {
            sessionData.Operation_Type = OperationTypes.ADD_CLIENT;
            ClientPopupForm clientPopupForm = new ClientPopupForm(sessionData);

            clientPopupForm.Show();
        }
示例#2
0
        private void modifyClientButton_Click(object sender, EventArgs e)
        {
            sessionData.Operation_Type = OperationTypes.MODIFY_CLIENT;
            sessionData.selectedClient = ClientMapper.fromModelToEntity((ClientModel)clientsFoundListBox.SelectedItem);
            ClientPopupForm clientPopupForm = new ClientPopupForm(sessionData);

            clientPopupForm.Show();
        }