private void showhideButtons(enumPageState pageState)
        {
            switch (pageState)
            {
            case enumPageState.AmmendingSwitch:
                this.btnApproveSwitch.Visible  = false;
                this.btnAmendSwitch.Visible    = false;
                this.btnDeclineSwitch.Visible  = false;
                this.btnContactMe.Visible      = false;
                this.divAmendButtonSet.Visible = true;
                break;

            case enumPageState.hideAll:
                this.btnApproveSwitch.Visible  = false;
                this.btnAmendSwitch.Visible    = false;
                this.btnDeclineSwitch.Visible  = false;
                this.btnContactMe.Visible      = false;
                this.divAmendButtonSet.Visible = false;
                break;

            case enumPageState.view:
                this.btnApproveSwitch.Visible  = true;
                this.btnAmendSwitch.Visible    = true;
                this.btnDeclineSwitch.Visible  = true;
                this.btnContactMe.Visible      = true;
                this.divAmendButtonSet.Visible = false;
                break;

            default:
                break;
            }
        }
 private void showhideButtons(enumPageState pageState)
 {
     switch (pageState)
     {
         case enumPageState.AmmendingSwitch:
             this.btnApproveSwitch.Visible = false;
             this.btnAmendSwitch.Visible = false;
             this.btnDeclineSwitch.Visible = false;
             this.btnContactMe.Visible = false;
             this.divAmendButtonSet.Visible = true;
             break;
         case enumPageState.hideAll:
             this.btnApproveSwitch.Visible = false;
             this.btnAmendSwitch.Visible = false;
             this.btnDeclineSwitch.Visible = false;
             this.btnContactMe.Visible = false;
             this.divAmendButtonSet.Visible = false;
             break;
         case enumPageState.view:
             this.btnApproveSwitch.Visible = true;
             this.btnAmendSwitch.Visible = true;
             this.btnDeclineSwitch.Visible = true;
             this.btnContactMe.Visible = true;
             this.divAmendButtonSet.Visible = false;
             break;
         default:
             break;
     }
 }