Example #1
0
        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);
            }
        }
Example #2
0
        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);
            }

        }