Ejemplo n.º 1
0
        private void cmbMainAccount_SelectedIndexChanged(object sender, EventArgs e)
        {
            int MainAcType = MyAccount.GetAccountTypeFromAccountID(MyCommon.GetSelectedID(cmbMainAccount, true));

            switch (MainAcType)
            {
            case 2:
                chkPaybleREceiveble.Checked = true;
                break;

            case 6:
                chkPaybleREceiveble.Checked = true;
                break;

            default:
                chkPaybleREceiveble.Checked = false;
                break;
            }
        }