Exemplo n.º 1
0
 private void ChangeTextAssistance()
 {
     TablesClass.ChangeText(Controls, TablesClass.SelectedTable.Name(), AssistanceFileds.ASCE_Code.Name() + '=' + ASCE_HelpCB.SelectedValue,
                            new Dictionary <Control, string>
     {
         { ASCE_AssistantCB, AssistanceFileds.ASCE_AssCode.Name() },
         { ASCE_OrderCB, AssistanceFileds.ASCE_OrdCode.Name() }
     });
 }
Exemplo n.º 2
0
 private void ChangeTextServices()
 {
     TablesClass.ChangeText(Controls, TablesClass.SelectedTable.Name(), ServicesFileds.SER_Code.Name() + '=' + SER_DescriptionCB.SelectedValue,
                            new Dictionary <Control, string>
     {
         { SER_DescriptionTB, ServicesFileds.SER_Description.Name() },
         { SER_PriceTB, ServicesFileds.SER_Price.Name() }
     });
 }
Exemplo n.º 3
0
 private void ChangeTextAssistants()
 {
     TablesClass.ChangeText(Controls, TablesClass.SelectedTable.Name(), AssistantsFileds.ASS_Code.Name() + '=' + ASS_FullnameCB.SelectedValue,
                            new Dictionary <Control, string>
     {
         { ASS_FullnameTB, AssistantsFileds.ASS_Fullname.Name() },
         { ASS_PhoneMTB, AssistantsFileds.ASS_Phone.Name() },
         { ASS_SalaryTB, AssistantsFileds.ASS_Salary.Name() }
     });
 }
Exemplo n.º 4
0
 private void ChangeTextCustomers()
 {
     TablesClass.ChangeText(Controls, TablesClass.SelectedTable.Name(), CustomerFields.CUS_Code.Name() + '=' + CUS_FullnameCB.SelectedValue,
                            new Dictionary <Control, string>
     {
         { CUS_FullnameTB, CustomerFields.CUS_Fullname.Name() },
         { CUS_AdressTB, CustomerFields.CUS_Adress.Name() },
         { CUS_PhoneMTB, CustomerFields.CUS_Phone.Name() }
     });
 }
Exemplo n.º 5
0
 private void ChangeTexOrders()
 {
     TablesClass.ChangeText(Controls, TablesClass.SelectedTable.Name(), OrdersFileds.ORD_Code.Name() + '=' + ORD_OrderCB.SelectedValue,
                            new Dictionary <Control, string>
     {
         { ORD_DateMTB, OrdersFileds.ORD_Date.Name() },
         { ORD_ExecCB, OrdersFileds.ORD_Exec.Name() },
         { ORD_CustomersCB, OrdersFileds.ORD_CusCode.Name() },
         { ORD_PhotographersCB, OrdersFileds.ORD_PhoCode.Name() },
         { ORD_ServicesCB, OrdersFileds.ORD_SerCode.Name() }
     });
 }
Exemplo n.º 6
0
 //Заполнение элементов согласно выбранному элементу ComboBox
 private void ChangeTextPhotographers()
 {
     TablesClass.ChangeText(Controls, TablesClass.SelectedTable.Name(), PhotographersFileds.PHO_Code.Name() + '=' + PHO_FullnameCB.SelectedValue,
                            new Dictionary <Control, string>
     {
         { PHO_FullnameTB, PhotographersFileds.PHO_Fullname.Name() },
         { PHO_ExperienceTB, PhotographersFileds.PHO_Experience.Name() },
         { PHO_DateMTB, PhotographersFileds.PHO_Date.Name() },
         { PHO_PhoneMTB, PhotographersFileds.PHO_Phone.Name() },
         { PHO_AdressTB, PhotographersFileds.PHO_Adress.Name() },
         { PHO_SalaryTB, PhotographersFileds.PHO_Salary.Name() }
     });
 }