private void pbVstock_Click(object sender, EventArgs e) { using (frmViewStockforStaffForm stock = new frmViewStockforStaffForm()) { stock.ShowDialog(); } }
private void pbviewstocks_Click(object sender, EventArgs e) { using (frmViewStockforStaffForm view = new frmViewStockforStaffForm()) view.ShowDialog(); }