コード例 #1
0
        private void btn_list_Click(object sender, EventArgs e)
        {
            FrmDgvResupply form = new FrmDgvResupply();
            Barang         supp = form.Run(form);

            if (supp != null)
            {
                this.cbox_kode.Text    = supp.Kode;
                this.txtbox_nama.Text  = supp.Nama;
                this.txtbox_harga.Text = supp.Harga;
            }
        }
コード例 #2
0
 public Barang Run(FrmDgvResupply form)
 {
     form.ShowDialog();
     return(_result);
 }