Esempio n. 1
0
        private void bt_Save_Click(object sender, EventArgs e)
        {
            Servicee s = new Servicee();

            s.idservicee = txtId.Text;
            s.servicee1  = txtService.Text;
            gi.Servicees.Add(s);
            gi.SaveChanges();
            this.show();
        }
Esempio n. 2
0
 public Service()
 {
     InitializeComponent();
     this.s = new Servicee();
 }