Example #1
0
        private void prodottiToolStripMenuItem_Click(object sender, EventArgs e)
        {
            List <List <string> > products = production.GetProducts();
            List <string>         columns  = new List <string> {
                "ID", "Nome Prodotto", "Attualmente in produzione", "Tipo prodotto"
            };
            Form frmView = new FrmViewTable(products, columns, 1);

            frmView.Show();
        }
Example #2
0
        private void lavMacchToolStripMenuItem_Click(object sender, EventArgs e)
        {
            List <List <string> > objs    = production.GetObjs();
            List <string>         columns = new List <string> {
                "ID", "Nome", "Cognome", "Lavor/macch", "Lavora all'interno", "Lavora all'esterno", "Specializzazione"
            };
            Form frmView = new FrmViewTable(objs, columns, 2);

            frmView.Show();
        }
Example #3
0
        private void ordiniToolStripMenuItem_Click(object sender, EventArgs e)
        {
            List <List <string> > orders  = production.GetOrders();
            List <string>         columns = new List <string> {
                "ID", "Nome Ordine", "Tipo Produzione", "Data Inserimento", "Data Scadenza", "Codice Prodotto", "Codice Commessa", "Fase Attuale", "Nome Prodotto", "Misura Prodotto", "Note"
            };
            Form frmView = new FrmViewTable(orders, columns, 0);

            frmView.Show();
        }