private void button1_Click(object sender, EventArgs e) { officeLib.officeLib test = new officeLib.officeLib(); List <officeLib.traceAct> func = test.getActivityRecord(); bool officeStatus = test.chkInstall(); MessageBox.Show("Installed Office : " + officeStatus.ToString()); foreach (officeLib.traceAct result in func) { MessageBox.Show(result.usedFile + " / " + result.officeType + " / " + result.timeRecord); } }
private void button1_Click(object sender, EventArgs e) { officeLib.officeLib test = new officeLib.officeLib(); List<officeLib.traceAct> func = test.getActivityRecord(); bool officeStatus = test.chkInstall(); MessageBox.Show("Installed Office : " + officeStatus.ToString()); foreach (officeLib.traceAct result in func) { MessageBox.Show(result.usedFile + " / " + result.officeType + " / " + result.timeRecord); } }