PageRenderTime 7ms CodeModel.GetById 2ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 1ms

/Visual Studio 2008/CSVstoGetWrapperObject/ThisAddIn.cs

#
C# | 59 lines | 30 code | 7 blank | 22 comment | 0 complexity | 374c36e43c58096419f85c74ef6412d3 MD5 | raw file
 1/************************************* Module Header **************************************\
 2* Module Name:	ThisAddIn.cs
 3* Project:		CSVstoGetWrapperObject
 4* Copyright (c) Microsoft Corporation.
 5* 
 6* The CSVstoGetWrapperObject project demonstrates how to get a VSTO wrapper
 7* object from an existing Office COM object.
 8*
 9* This feature requires Visual Studio Tools for Office 3.0 SP1 (included in 
10* Visual Studio 2008 SP1) for both design-time and runtime support.
11* 
12* This source is subject to the Microsoft Public License.
13* See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL.
14* All other rights reserved.
15* 
16* History:
17* * 6/13/2009 3:00 PM Wang Jie Created
18\******************************************************************************************/
19
20
21#region Using directives
22using System;
23using System.Collections.Generic;
24using System.Linq;
25using System.Text;
26using System.Xml.Linq;
27using Excel = Microsoft.Office.Interop.Excel;
28using Office = Microsoft.Office.Core;
29using Microsoft.Office.Tools.Excel;
30using Microsoft.Office.Tools.Excel.Extensions;
31#endregion
32
33namespace CSVstoGetWrapperObject
34{
35    public partial class ThisAddIn
36    {
37        private void ThisAddIn_Startup(object sender, System.EventArgs e)
38        {
39        }
40
41        private void ThisAddIn_Shutdown(object sender, System.EventArgs e)
42        {
43        }
44
45        #region VSTO generated code
46
47        /// <summary>
48        /// Required method for Designer support - do not modify
49        /// the contents of this method with the code editor.
50        /// </summary>
51        private void InternalStartup()
52        {
53            this.Startup += new System.EventHandler(ThisAddIn_Startup);
54            this.Shutdown += new System.EventHandler(ThisAddIn_Shutdown);
55        }
56        
57        #endregion
58    }
59}