public frmAngsuranIden(Form caller, AngsuranDetail pAngsuranDetail, List <AngsuranIden> pListAngsuranIden) { InitializeComponent(); this.Caller = caller; gvIdentifkasi.AutoGenerateColumns = false; _listAngsuranIden = pListAngsuranIden; angsuranDetailAkanDiIden = pAngsuranDetail; }
public frmAngsuranIden(Form caller, AngsuranDetail pAngsuranDetail, List <AngsuranIden> pListAngsuranIden, string jenis, string kodetrans) { InitializeComponent(); this.Caller = caller; gvIdentifkasi.AutoGenerateColumns = false; _listAngsuranIden = pListAngsuranIden; angsuranDetailAkanDiIden = pAngsuranDetail; _kodetrans = kodetrans; if (jenis == "Leasing") { this.Text = "Titipan Pelunasan Leasing"; this.Title = "Titipan Pelunasan Leasing"; txtTarikan.Visible = false; txtPotongan.Visible = false; lblPotongan.Visible = false; lblTarikMotor.Visible = false; txtDenda.Visible = false; txtTotal.Visible = false; lblDenda.Visible = false; lblTotal.Visible = false; } }