Пример #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();
        }
Пример #2
0
 public Service()
 {
     InitializeComponent();
     this.s = new Servicee();
 }