Exemplo n.º 1
0
        private void UsrCntSelector_ShareholderFind(object sender, ContractSelectorEventArgs e)
        {
            try {

                if (e.Error() == null) {
                    PopEmail(UsrCntSelector.EmailAddress);
                    ShowFieldDescription(UsrCntSelector.ContractID, UsrCntSelector.SequenceNumber);
                    ShowFieldDetail(UsrCntSelector.CntLLDID);

                    //CheckFields();
                } else {
                    ShowError(e.Error(), "Unable to find shareholder at this time.");
                }
            }
            catch (Exception ex) {
                ShowError(ex, "Unable to find shareholder at this time.");
            }
        }
Exemplo n.º 2
0
        private void UsrCntSelector_ControlHostPageLoad(object sender, ContractSelectorEventArgs e)
        {
            if (e.Error() == null) {

                FillDomainData();
                PopEmail(UsrCntSelector.EmailAddress);
                ShowFieldDescription(UsrCntSelector.ContractID, UsrCntSelector.SequenceNumber);
                ShowFieldDetail(UsrCntSelector.CntLLDID);

            } else {
                ShowError(e.Error(), "Unable to load page contract numbers at this time.");
            }
        }
Exemplo n.º 3
0
 private void UsrCntSelector_SequenceNumberChange(object sender, ContractSelectorEventArgs e)
 {
     try {
         if (e.Error() == null) {
             ShowFieldDescription(UsrCntSelector.ContractID, UsrCntSelector.SequenceNumber);
             ShowFieldDetail(UsrCntSelector.CntLLDID);
             //CheckFields();
         } else {
             ShowError(e.Error(), "Unable to change sequence numbers at this time.");
         }
     }
     catch (Exception ex) {
         ShowError(ex, "Unable to change sequence numbers at this time.");
     }
 }
Exemplo n.º 4
0
        private void UsrCntSelector_ShareholderFind(object sender, ContractSelectorEventArgs e)
        {
            try {

                if (e.Error() == null) {
                    NewContractAlertOff();
                    ShowContractFieldDetail();
                } else {
                    ShowError(e.Error(), "Unable to find shareholder at this time.");
                }
            }
            catch (Exception ex) {
                ShowError(ex, "Unable to find shareholder at this time.");
            }
        }
Exemplo n.º 5
0
 private void UsrCntSelector_SequenceNumberChange(object sender, ContractSelectorEventArgs e)
 {
     try {
         if (e.Error() == null) {
             NewContractAlertOff();
             ShowContractFieldDetail();
         } else {
             ShowError(e.Error(), "Unable to change sequence numbers at this time.");
         }
     }
     catch (Exception ex) {
         ShowError(ex, "Unable to change sequence numbers at this time.");
     }
 }
Exemplo n.º 6
0
        private void UsrCntSelector_ShareholderFind(object sender, ContractSelectorEventArgs e)
        {
            try {

                if (e.Error() == null) {
                    FillFieldHdr(UsrCntSelector.ContractID, UsrCntSelector.SequenceNumber);
                    FillAgronomyData();
                    ShowFieldAgronomy(UsrCntSelector.CntLLDID);
                } else {
                    ShowError(e.Error(), "Unable to find shareholder at this time.");
                }
            }
            catch (Exception ex) {
                ShowError(ex, "Unable to find shareholder at this time.");
            }
        }
Exemplo n.º 7
0
 private void UsrCntSelector_ControlHostPageLoad(object sender, ContractSelectorEventArgs e)
 {
     if (e.Error() == null) {
         FillFieldHdr(UsrCntSelector.ContractID, UsrCntSelector.SequenceNumber);
         FillAgronomyData();
         ShowFieldAgronomy(UsrCntSelector.CntLLDID);
     } else {
         ShowError(e.Error(), "Unable to load page contract numbers at this time.");
     }
 }
Exemplo n.º 8
0
        private void UsrCntSelector_ContractNumberFind(object sender, ContractSelectorEventArgs e)
        {
            try {

                if (e.Error() == null) {
                    FillFieldHdr(UsrCntSelector.ContractID, UsrCntSelector.SequenceNumber);
                    FillAgronomyData();
                    ShowFieldAgronomy(UsrCntSelector.CntLLDID);
                } else {

                    // Clear field details.
                    lblFieldName.Text = "";
                    lblFsaNumber.Text = "";
                    lblAcres.Text = "";
                    lblDesc.Text = "";

                    ClearFieldAgronomy();
                    ShowError(e.Error(), "Unable to find contract number at this time.");
                }
            }
            catch (Exception ex) {
                ShowError(ex, "Unable to find contract number at this time.");
            }
        }