예제 #1
0
        private void btnAddNewMasters_Click(object sender, EventArgs e)
        {
            RemontDBAdapter adapter = new RemontDBAdapter();

            adapter.InsertToMasters(tbAddFio.Text, tbAddPhone.Text, tbAddEmail.Text);

            this.Close();
        }
예제 #2
0
        public MastersForm()
        {
            InitializeComponent();

            adapter = new RemontDBAdapter();
        }
예제 #3
0
 private void btnUpdateNewMasters_Click(object sender, EventArgs e)
 {
     RemontDBAdapter adapter = new RemontDBAdapter();
     //adapter.UpdateMasters(mf.GetId(), tbUpdateFio.Text, tbUpdatePhone.Text, tbUpdateEmail.Text);
 }