예제 #1
0
        private void EF_delete_button_Click(object sender, EventArgs e)
        {
            EFFunctions.Delete(Delete_box.Text);
            SQLFunctions.Refresh(dataGridView);

            Clean_boxes();
        }
예제 #2
0
        private void EF_update_button_Click(object sender, EventArgs e)
        {
            EFFunctions.Update(Vin_box.Text, Make_box.Text, Model_box.Text, Year_box.Text, Displacement_box.Text, Fuel_box.Text, Power_box.Text);
            SQLFunctions.Refresh(dataGridView);

            Clean_boxes();
        }
예제 #3
0
 private void Form_Load(object sender, EventArgs e)
 {
     SQLFunctions.Refresh(dataGridView);
 }
예제 #4
0
 private void Back_button_Click(object sender, EventArgs e)
 {
     SQLFunctions.Refresh(dataGridView);
 }