home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 April / CMCD0404.ISO / Software / Freeware / Programare / Sharpdev / 099bsetup.exe / ExampleOptionPanel.xft < prev    next >
Extensible Markup Language  |  2003-09-21  |  1KB  |  51 lines

  1. <?xml version="1.0"?>
  2. <Template Originator="Mike Krueger" Language="C#" Created="09/04/2003" LastModified="09/04/2003">
  3.     
  4.     <TemplateConfiguration>
  5.         <Name>Simple #Develop option panel</Name>
  6.         <Icon>C#.File.FullFile</Icon>
  7.         <Category>SharpDevelop</Category>
  8.         <LanguageName>C#</LanguageName>
  9.         <Description>Creates a #D option panel (for example the project option panels)</Description>
  10.     </TemplateConfiguration>
  11.     
  12.     <TemplateFiles>
  13.         <File DefaultExtension=".cs" DefaultName="EmptyC#file">
  14.             <![CDATA[using System;
  15. using System.Collections;
  16. using System.ComponentModel;
  17. using System.Drawing;
  18. using System.Windows.Forms;
  19.  
  20. using ICSharpCode.Core.AddIns.Codons;
  21. using ICSharpCode.Core.Properties;
  22. using ICSharpCode.Core.Services;
  23. using ICSharpCode.SharpDevelop.Internal.Project;
  24. using ICSharpCode.SharpDevelop.Gui.Dialogs;
  25.  
  26. namespace MyOptionPanel
  27. {
  28.     /// <summary>
  29.     /// Summary of SampleOptionPanel
  30.     /// </summary>
  31.     public class SampleOptionPanel : AbstractOptionPanel
  32.     {
  33.         public override void LoadPanelContents()
  34.         {
  35.             // TODO initialize the panel here
  36.         }
  37.  
  38.         public override bool StorePanelContents()
  39.         {
  40.             // TODO save your options here
  41.             return true;
  42.         }
  43.     }
  44. }]]>
  45.         </File>
  46.     </TemplateFiles>
  47.     
  48.     <FileOptions/>
  49.     
  50. </Template>
  51.