private void weeklyPredButton_Click(object sender, EventArgs e) { using (ItemSalesPrediction weeklySalesPredic = new ItemSalesPrediction("WEEK")) { weeklySalesPredic.ShowDialog(); } }
private void monthlyPredButton_Click(object sender, EventArgs e) { using (ItemSalesPrediction monthlySalesPredic = new ItemSalesPrediction("MONTH")) { monthlySalesPredic.ShowDialog(); } }