You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.5 KiB
58 lines
1.5 KiB
<?xml version="1.0"?> |
|
<Template author="Mike Krueger" version="1.0"> |
|
|
|
<Config |
|
name = "${res:Templates.File.SharpDevelop.OptionPanel.Name}" |
|
icon = "C#.File.FullFile" |
|
category = "#Develop" |
|
defaultname = "NewOptionPanel${Number}.cs" |
|
language = "C#"/> |
|
|
|
<Description>${res:Templates.File.SharpDevelop.OptionPanel.Description}</Description> |
|
|
|
<!-- |
|
Special new file templates: |
|
${StandardNamespace} -> Standardnamespace of the current project or FileNameWithoutExtension |
|
${FullName} -> Full generated path name |
|
${FileName} -> File name with extension |
|
${FileNameWithoutExtension} -> File name without extension |
|
${Extension} -> Extension in the form ".cs" |
|
${Path} -> Full path of the file |
|
--> |
|
<Files> |
|
<File name="${FullName}" language="C#"><![CDATA[${StandardHeader.C#} |
|
using System; |
|
using System.Collections; |
|
using System.ComponentModel; |
|
using System.Drawing; |
|
using System.Windows.Forms; |
|
|
|
using ICSharpCode.SharpDevelop.Internal.ExternalTool; |
|
using ICSharpCode.Core; |
|
using ICSharpCode.SharpDevelop.Gui; |
|
|
|
namespace ${StandardNamespace} |
|
{ |
|
/// <summary> |
|
/// Summary of ${FileNameWithoutExtension} |
|
/// </summary> |
|
public class ${FileNameWithoutExtension} : AbstractOptionPanel |
|
{ |
|
public override void LoadPanelContents() |
|
{ |
|
// TODO initialize the panel here |
|
} |
|
|
|
public override bool StorePanelContents() |
|
{ |
|
// TODO save your options here |
|
return true; |
|
} |
|
} |
|
}]]> |
|
</File> |
|
</Files> |
|
|
|
<AdditionalOptions/> |
|
|
|
</Template>
|
|
|