?? sqlitepackage.cs
字號(hào):
/********************************************************
* ADO.NET 2.0 Data Provider for SQLite Version 3.X
* Written by Robert Simpson (robert@blackcastlesoft.com)
*
* Released to the public domain, use at your own risk!
********************************************************/
namespace SQLite.Designer
{
using System;
using Microsoft.VisualStudio.Shell;
using System.Runtime.InteropServices;
using System.ComponentModel.Design;
using Microsoft.VisualStudio.Shell.Interop;
/// <summary>
/// Ideally we'd be a package provider, but the VS Express Editions don't support us, so this class
/// exists so that in the future we can perhaps work with the Express Editions.
/// </summary>
[Guid("DCBE6C8D-0E57-4099-A183-98FF74C64D9C")]
internal sealed class SQLitePackage : Package
{
public SQLitePackage()
{
}
protected override void Initialize()
{
IServiceContainer sc = (IServiceContainer)this;
sc.AddService(typeof(SQLiteProviderObjectFactory), new ServiceCreatorCallback(CreateService), true);
base.Initialize();
}
private object CreateService(IServiceContainer container, Type serviceType)
{
if (serviceType == typeof(SQLiteProviderObjectFactory))
return new SQLiteProviderObjectFactory();
return null;
}
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -