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_Model_Click(object sender, EventArgs e) { Lbl_Model.Text = MyAssetModel.Find(Hardware.ComputerMake(), Hardware.ComputerModel()); Btn_Model.Enabled = false; }
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; }
private void Btn_FindManufacturer_Click(object sender, EventArgs e) { Lbl_Make.Text = MyManufacturer.Find(Hardware.ComputerMake()); Btn_FindManufacturer.Enabled = false; }