Ejemplo n.º 1
0
        public Form1()
        {
            InitializeComponent();
            g_del_listView1 = new DelegateListView(ReadProfiles);
            g_del_listView2 = new DelegateListView(ReadReports);

            modifyReportToolStripMenuItem_Click(modifyReportToolStripMenuItem, null);

            //Reading Factors form db firstly
            dataGridView1_ReadFactors();

            //Reading Profiles from db
            listView1_ReadProfiles();

            //Reading reports from db
            listView2_ReadReports();
        }
Ejemplo n.º 2
0
        public Form1()
        {
            InitializeComponent();
            g_del_listView1 = new DelegateListView(ReadProfiles);
            g_del_listView2 = new DelegateListView(ReadReports);

            modifyReportToolStripMenuItem_Click(modifyReportToolStripMenuItem, null);

            //Reading Factors form db firstly
            dataGridView1_ReadFactors();

            //Reading Profiles from db
            listView1_ReadProfiles();

            //Reading reports from db
            listView2_ReadReports();
        }
Ejemplo n.º 3
0
        private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
        {
            DelegateListView tempDel = e.Argument as DelegateListView;

            tempDel();
        }