private void inputStockByBarangToolStripMenuItem_Click(object sender, EventArgs e) { if (inputStock == null) { inputStock = new Stationery.MsBarang.InputStockByBarang(this); } inputStock.Show(); inputStock.BringToFront(); }
public DetailBarangInputStock(InputStockByBarang parent, string nomorBarang, string namaBarang, int stock, int min, int hargaJual, int hargaBeli) { this.nomorBarang = nomorBarang; this.parent = parent; this.namaBarang = namaBarang; this.hargaJual = hargaJual; this.hargaBeli = "" + hargaBeli; this.stock = stock; this.min = min; InitializeComponent(); courierFont = new Font("Courier New", 6, FontStyle.Bold); kodeFont = new Font("Courier New", 12, FontStyle.Bold); }