public Modul_Pembelian_InputBarangPopup(Modul_Pembelian pembelian)
 {
     InitializeComponent();
     this.pembelian = pembelian;
     this.allFunc = new AllFunc();
     this.allFunc.Prefix = "Stock";
     this.dbo = new DbObject();
 }
 public Modul_Data_SupplierPopUp(Modul_Pembelian pembelian)
 {
     InitializeComponent();
     this.pembelian = pembelian;
 }
 private void button1_Click(object sender, EventArgs e)
 {
     Modul_Pembelian pembelian = new Modul_Pembelian();
     pembelian.Show();
 }
 private void open_modul_pembelian()
 {
     if (login.checkPrevilege(new string[] { "mop", "prchsdef" }))
     {
         if (pembelian != null)
         {
             pembelian.Close();
             pembelian.Dispose();
         }
         pembelian = new Modul_Pembelian(this);
         pembelian.Show();
     }
 }