Esempio n. 1
0
 //Удаление записи из таблицы ASSISTANTS
 private void ASS_DeleteRecordBTN_Click(object sender, EventArgs e)
 {
     TablesClass.DeleteRecord(TablesClass.SelectedTable, AssistantsFileds.ASS_Code.Name() + "=" + ASS_FullnameCB.SelectedValue);
     RefreshControls();
 }
Esempio n. 2
0
 //Удаление записи из таблицы SERVICES
 private void SER_DeleteRecordBTN_Click(object sender, EventArgs e)
 {
     TablesClass.DeleteRecord(TablesClass.SelectedTable, ServicesFileds.SER_Code.Name() + "=" + SER_DescriptionCB.SelectedValue);
     RefreshControls();
 }
Esempio n. 3
0
 //Удаление записи из таблицы ORDERS
 private void ORD_DeleteRecordBTN_Click(object sender, EventArgs e)
 {
     TablesClass.DeleteRecord(TablesClass.SelectedTable, OrdersFileds.ORD_Code.Name() + "=" + ORD_OrderCB.SelectedValue);
     RefreshControls();
 }
Esempio n. 4
0
 //Удаление записи из таблицы CUSTOMERS
 private void CUS_DeleteRecordBTN_Click(object sender, EventArgs e)
 {
     TablesClass.DeleteRecord(TablesClass.SelectedTable, CustomerFields.CUS_Code.Name() + "=" + CUS_FullnameCB.SelectedValue);
     RefreshControls();
 }
Esempio n. 5
0
 //Удаление записи из таблицы PHOTOGRAPHERS
 private void PHO_DeleteRecordBTN_Click(object sender, EventArgs e)
 {
     TablesClass.DeleteRecord(TablesClass.SelectedTable, PhotographersFileds.PHO_Code.Name() + "=" + PHO_FullnameCB.SelectedValue);
     RefreshControls();
 }