public void DisplayStockEndingAlert() { if (StockNotAvailable()) { frmShowStockAlert frmShowStockAlert = new frmShowStockAlert(); frmShowStockAlert.ShowDialog(); } }
private void showEndingStockToolStripMenuItem_Click(object sender, EventArgs e) { frmShowStockAlert frmShowStockAlert = new frmShowStockAlert(); frmShowStockAlert.ShowDialog(); }