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