Example #1
0
        private void ShowPaymentInfo(ListPaymentDescItem state, Label lblPayNum, DropDownList ddlFinished,
                                     DropDownList ddlRequired, TextBox txtTransmittalDate, TextBox txtPaymentDesc, TextBox txtPaymentDescID)
        {
            lblPayNum.Text = state.PaymentNumber;
            bool tmpBool = state.IsFinished;

            Common.UILib.SelectDropDown(ddlFinished, (tmpBool == true ? 1 : 0));
            tmpBool = state.IsRequired;
            Common.UILib.SelectDropDown(ddlRequired, (tmpBool == true ? 1 : 0));
            txtTransmittalDate.Text = state.TransmittalDate;
            txtPaymentDesc.Text     = state.PaymentDesc;
            txtPaymentDescID.Text   = state.PaymentDescID;
        }
 private void ShowPaymentInfo(ListPaymentDescItem state, Label lblPayNum, DropDownList ddlFinished,
     DropDownList ddlRequired, TextBox txtTransmittalDate, TextBox txtPaymentDesc, TextBox txtPaymentDescID)
 {
     lblPayNum.Text = state.PaymentNumber;
     bool tmpBool = state.IsFinished;
     Common.UILib.SelectDropDown(ddlFinished, (tmpBool == true ? 1 : 0));
     tmpBool = state.IsRequired;
     Common.UILib.SelectDropDown(ddlRequired, (tmpBool == true ? 1 : 0));
     txtTransmittalDate.Text = state.TransmittalDate;
     txtPaymentDesc.Text = state.PaymentDesc;
     txtPaymentDescID.Text = state.PaymentDescID;
 }