public static void UploadData() { MyCompany.Find(); MyCategory.Find(); MyManufacturer.Find(Hardware.ComputerMake()); MyAssetModel.Find(Hardware.ComputerMake(), Hardware.ComputerModel()); MyAsset.Find(Hardware.ComputerName(), Hardware.ComputerMake(), Hardware.ComputerModel(), Hardware.SerialNumber()); }
private void Btn_Asset_Click(object sender, EventArgs e) { Lbl_Asset.Text = MyAsset.Find(Hardware.ComputerName(), Hardware.ComputerMake(), Hardware.ComputerModel(), Hardware.SerialNumber()); Btn_Asset.Enabled = false; }