Exemplo n.º 1
0
 public FrmPelanggan()
 {
     InitializeComponent();
     controller = new tbl_pelangganController();
     InisialisasiListView();
     LoadDataPelanggan();
 }
        public FrmEntryPelanggan(string title, tbl_pelanggan obj, tbl_pelangganController controller)
            : this()
        {
            this.Text       = title;
            this.controller = controller;

            isNewData = false;
            pelanggan = obj;


            textBox1.Text = pelanggan.kd_pelanggan;
            textBox2.Text = pelanggan.namapelanggan;
            textBox3.Text = pelanggan.alamat;
            textBox4.Text = pelanggan.notlp;
        }
 public FrmEntryPelanggan(string title, tbl_pelangganController controller)
     : this()
 {
     this.Text       = title;
     this.controller = controller;
 }