示例#1
0
 private void cmdCalculator_Click(object sender, RoutedEventArgs e)
 {
     TableWrapper ltw = new TableWrapper("Inspector");
     Clipboard.SetText(ltw.GenerateClass());
     InspectionReasons inspectors = new InspectionReasons();
     int i = 0;
 }
示例#2
0
 //Constructors
 public InspectionBase(string InspID, string inspectionType )
 {
     lObj = new TableWrapper("InspH");
     lObj["Insp_ID"] = InspID;
     lObj["InspType"] = inspectionType;
     lObj.Load();
 }
示例#3
0
        public Device(int Ref)
        {
            lObj = new TableWrapper("Device");
            lObj.Fields["Ref"].Value = Ref;
            lObj.Load();

            Custom = new DeviceCustom();
            Custom.Initialize();
            Custom.Load(Ref.ToString(CultureInfo.InvariantCulture));
        }
示例#4
0
 protected InspectionBase()
 {
     lObj = new TableWrapper("InspH");
 }