Ejemplo n.º 1
0
 private void treeView1_AfterSelect(object sender, TreeViewEventArgs e)
 {
     if (treeView1.SelectedNode == report_today)
     {
         report.sale_detail_today today = new sale_detail_today();
         today.ShowDialog();
     }
     if (treeView1.SelectedNode == report_today_inv)
     {
         AllReport all = new AllReport();
         all.ShowDialog();
     }
     if (treeView1.SelectedNode == report_by_em)
     {
         report.employee_report_sale emp = new employee_report_sale();
         emp.ShowDialog();
     }
     if (treeView1.SelectedNode == report_by_day)
     {
         report.report_by_day day = new report.report_by_day();
         day.ShowDialog();
     }
     if (treeView1.SelectedNode == report_moth)
     {
     }
 }
Ejemplo n.º 2
0
        private void reportByEmployeeToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (Application.OpenForms["employee_report_sale"] == null)
            {
                report.employee_report_sale allReport = new report.employee_report_sale();

                allReport.ShowDialog();
            }
        }