예제 #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");
 }