miniSql

创建
zgc123@gmail.com authored at 11/19/2023 1:40:15 AM
6136600
Tree
0 Parent(s)
Summary: 1 changed files with 20 additions and 0 deletions.
Added +20 -0
Added +20 -0
diff --git a/minisqlquery-master/src/SDK/PlugInProjectTemplate/SampleCommand.cs b/minisqlquery-master/src/SDK/PlugInProjectTemplate/SampleCommand.cs
new file mode 100644
index 0000000..941c2bb
--- /dev/null
+++ b/minisqlquery-master/src/SDK/PlugInProjectTemplate/SampleCommand.cs
@@ -0,0 +1,20 @@
+using System;
+using MiniSqlQuery.Core;
+using MiniSqlQuery.Core.Commands;
+
+namespace $safeprojectname$.Commands
+{
+	public class SampleCommand : CommandBase
+    {
+		public SampleCommand() : base("&Descriptive Name")
+		{
+			SmallImage = ImageResource.plugin;
+        }
+
+        public override void Execute()
+        {
+			Form1 frm = new Form1();
+			frm.ShowDialog(Services.HostWindow.Instance);
+        }
+    }
+}