private bool ValidateFinish(WizardNavigationEventArgs e)
        {
            int employeeId = Int32.Parse(hdfEmployeeId.Value);

            // Validate operation
            switch (e.CurrentStepIndex)
            {
                case 1:
                    // Remove role
                    if (!ckbxSalesmanRemove.Checked)
                    {
                        return false;
                    }
                    break;
            }

            // Validate data
            switch (e.CurrentStepIndex)
            {
                case 1:
                    // Remove role
                    if (ckbxSalesmanRemove.Checked)
                    {
                        EmployeeGateway employeeGateway = new EmployeeGateway(new DataSet());
                        cvSalesmanRemove.IsValid = !employeeGateway.IsUsedInProjectsAsSalesman(employeeId);
                    }
                    break;

                case 3:
                    // Add salesman
                    Page.Validate("AddSalesman");
                    break;
            }

            if (Page.IsValid)
            {
                return true;
            }
            else
            {
                return false;
            }
        }
        private bool ValidateAdd()
        {
            int employeeId = Int32.Parse(hdfEmployeeId.Value);

            // Validate operation
            if (!ckbxSalesmanAdd.Checked)
            {
                return false;
            }

            // Validate data
            if (ckbxSalesmanAdd.Checked)
            {
                EmployeeGateway employeeGateway = new EmployeeGateway(new DataSet());
                cvSalesmanAdd.IsValid = !employeeGateway.IsUsedInProjectsAsSalesman(employeeId);
            }

            if (Page.IsValid)
            {
                return true;
            }
            else
            {
                return false;
            }
        }