[Monodevelop-patches-list] r560 - in trunk/MonoDevelop/build/data/templates/project: CSharp VBNet

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Sun Jan 18 22:38:20 EST 2004


Author: benm
Date: 2004-01-18 22:38:20 -0500 (Sun, 18 Jan 2004)
New Revision: 560

Removed:
   trunk/MonoDevelop/build/data/templates/project/CSharp/Direct3DProject.xpt
   trunk/MonoDevelop/build/data/templates/project/CSharp/EmptyWindowsApplication.xpt
   trunk/MonoDevelop/build/data/templates/project/CSharp/FormsProject.xpt
   trunk/MonoDevelop/build/data/templates/project/VBNet/FormsVBNetProject.xpt
Modified:
   trunk/MonoDevelop/build/data/templates/project/CSharp/GnomeSharpProject.xpt
   trunk/MonoDevelop/build/data/templates/project/CSharp/GtkSharpProject.xpt
Log:
auto make dir by default

Deleted: trunk/MonoDevelop/build/data/templates/project/CSharp/Direct3DProject.xpt
===================================================================
--- trunk/MonoDevelop/build/data/templates/project/CSharp/Direct3DProject.xpt	2004-01-19 03:34:34 UTC (rev 559)
+++ trunk/MonoDevelop/build/data/templates/project/CSharp/Direct3DProject.xpt	2004-01-19 03:38:20 UTC (rev 560)
@@ -1,204 +0,0 @@
-<?xml version="1.0"?>
-<Template originator   = "Mike Krueger"
-          created      = "22/01/2003"
-          lastModified = "22/01/2003">
-	
-	<!-- Template Header -->
-	<TemplateConfiguration>
-		<Name>Direct3D Project</Name>
-		<Category>C#</Category>
-		<Icon>C#.Project.FullProject</Icon>
-		<LanguageName>C#</LanguageName>
-		<Description>Creates a simple Direct3D Project</Description>
-	</TemplateConfiguration>
-	
-	<!-- Actions -->
-	<Actions>
-		<Open filename = "MainClass.cs"/>
-	</Actions>
-	
-	<!-- Template Content -->
-	<Combine name = "${ProjectName}" directory = ".">
-		<Options>
-			<StartupProject>${ProjectName}</StartupProject>
-		</Options>
-		
-		<Project name = "${ProjectName}" directory = ".">
-			<Options/>
-			
-			<References>
-				<Reference type="Gac" refto="Microsoft.DirectX, Version=1.0.900.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
-				<Reference type="Gac" refto="Microsoft.DirectX.Direct3D, Version=1.0.900.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
-			</References>
-			
-			<Files>
-				<File name="MainClass.cs"><![CDATA[using System;
-using System.Collections;
-using System.ComponentModel;
-using System.Drawing;
-using System.Windows.Forms;
-
-using Microsoft.DirectX;
-using Microsoft.DirectX.Direct3D;
-
-namespace MyDirect3DProject
-{
-	/// <summary>
-	/// This is the main class of my Direct3D application
-	/// </summary>
-	public class MainClass : Form
-	{
-		/// <summary>
-		/// The rendering device
-		/// </summary>
-		Device device = null;
-		
-		public MainClass()
-		{
-			this.ClientSize = new System.Drawing.Size(640, 480);
-			this.Text = "Direct3D Project";
-		}
-		
-		public bool InitializeGraphics()
-		{
-			try {
-				// Now let's setup the Direct3D stuff
-				PresentParameters presentParams = new PresentParameters();
-				presentParams.Windowed   = true;
-				presentParams.SwapEffect = SwapEffect.Discard;
-				
-				// Create the device
-				device = new Device(0, DeviceType.Hardware, this, CreateFlags.SoftwareVertexProcessing, presentParams);
-				
-				// Setup the event handlers for the device
-				device.DeviceLost     += new EventHandler(this.InvalidateDeviceObjects);
-				device.DeviceReset    += new EventHandler(this.RestoreDeviceObjects);
-				device.Disposing      += new EventHandler(this.DeleteDeviceObjects);
-				device.DeviceResizing += new CancelEventHandler(this.EnvironmentResizing);
-				
-				return true;
-			} catch (DirectXException) {
-				return false;
-			}
-		}
-		
-		protected virtual void InvalidateDeviceObjects(object sender, EventArgs e)
-		{
-		}
-		
-		protected virtual void RestoreDeviceObjects(object sender, EventArgs e)
-		{
-		}
-		
-		protected virtual void DeleteDeviceObjects(object sender, EventArgs e)
-		{
-		}
-		
-		protected virtual void EnvironmentResizing(object sender, CancelEventArgs e)
-		{
-		}
-		
-		/// <summary>
-		/// This method moves the scene
-		/// </summary>
-		protected virtual void FrameMove()
-		{
-			// TODO : Frame movement
-		}
-		
-		/// <summary>
-		/// This method renders the scene
-		/// </summary>
-		protected virtual void Render()
-		{
-			if (device != null) {
-				device.Clear(ClearFlags.Target, Color.Blue, 1.0f, 0);
-				device.BeginScene();
-				
-				// TODO : Scene rendering
-				
-				device.EndScene();
-				device.Present();
-			}
-		}
-		
-		/// <summary>
-		/// Our mainloop
-		/// </summary>
-		public void Run()
-		{
-			// While the form is still valid, render and process messages
-			while (Created) {
-				FrameMove();	
-				Render();
-				Application.DoEvents();
-			}
-		}
-		
-		protected override void OnPaint(PaintEventArgs e)
-		{
-			this.Render();
-		}
-		
-		protected override void OnKeyPress(KeyPressEventArgs e)
-		{
-			base.OnKeyPress(e);
-			if ((int)e.KeyChar == (int)System.Windows.Forms.Keys.Escape) {
-				this.Close(); 
-			}
-		}
-		
-		/// <summary>
-		/// The main entry point for the application
-		/// </summary>
-		static void Main()
-		{
-			using (MainClass mainClass = new MainClass()) {
-				if (!mainClass.InitializeGraphics()) {
-					MessageBox.Show("Error while initializing Direct3D");
-					return;
-				}
-				mainClass.Show();
-				mainClass.Run();
-			}
-		}
-	}
-}
-]]></File>
-			<File name="AssemblyInfo.cs"><![CDATA[using System.Reflection;
-using System.Runtime.CompilerServices;
-
-// Information about this assembly is defined by the following
-// attributes.
-//
-// change them to the information which is associated with the assembly
-// you compile.
-
-[assembly: AssemblyTitle("")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("")]
-[assembly: AssemblyCopyright("")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// The assembly version has following format :
-//
-// Major.Minor.Build.Revision
-//
-// You can specify all values by your own or you can build default build and revision
-// numbers with the '*' character (the default):
-
-[assembly: AssemblyVersion("1.0.*")]
-
-// The following attributes specify the key for the sign of your assembly. See the
-// .NET Framework documentation for more information about signing.
-// This is not required, if you don't want signing let these attributes like they're.
-[assembly: AssemblyDelaySign(false)]
-[assembly: AssemblyKeyFile("")]
-]]></File>
-			</Files>
-		</Project>
-	</Combine>
-</Template>

Deleted: trunk/MonoDevelop/build/data/templates/project/CSharp/EmptyWindowsApplication.xpt
===================================================================
--- trunk/MonoDevelop/build/data/templates/project/CSharp/EmptyWindowsApplication.xpt	2004-01-19 03:34:34 UTC (rev 559)
+++ trunk/MonoDevelop/build/data/templates/project/CSharp/EmptyWindowsApplication.xpt	2004-01-19 03:38:20 UTC (rev 560)
@@ -1,24 +0,0 @@
-<?xml version="1.0"?>
-<Template originator   = "Mike Krueger"
-          created      = "01/10/2001"
-          lastModified = "02/01/2003">
-	
-	<!-- Template Header -->
-	<TemplateConfiguration>
-		<Name>${res:Templates.Project.C#.EmptyWindowsApp.Name}</Name>
-		<Category>C#</Category>
-		<Icon>C#.Project.Form</Icon>
-		<LanguageName>C#</LanguageName>
-		<Description>${res:Templates.Project.C#.EmptyWindowsApp.Description}</Description>
-	</TemplateConfiguration>
-	
-	<Combine name = "${ProjectName}" directory = ".">
-		<Options>
-			<StartupProject>${ProjectName}</StartupProject>
-		</Options>
-		
-		<Project name = "${ProjectName}" directory = ".">
-			<Options Target = "WinExe" PauseConsoleOutput = "False" />
-		</Project>
-	</Combine>
-</Template>

Deleted: trunk/MonoDevelop/build/data/templates/project/CSharp/FormsProject.xpt
===================================================================
--- trunk/MonoDevelop/build/data/templates/project/CSharp/FormsProject.xpt	2004-01-19 03:34:34 UTC (rev 559)
+++ trunk/MonoDevelop/build/data/templates/project/CSharp/FormsProject.xpt	2004-01-19 03:38:20 UTC (rev 560)
@@ -1,101 +0,0 @@
-<?xml version="1.0"?>
-<Template originator   = "Mike Krueger"
-          created      = "06/10/2001"
-          lastModified = "02/01/2003">
-	
-	<!-- Template Header -->
-	<TemplateConfiguration>
-		<Name>${res:Templates.Project.C#.WinFormsProject.Name}</Name>
-		<Category>C#</Category>
-		<Icon>C#.Project.Form</Icon>
-		<LanguageName>C#</LanguageName>
-		<Description>${res:Templates.Project.C#.WinFormsProject.Description}</Description>
-	</TemplateConfiguration>
-	
-	<!-- Actions -->
-	<Actions>
-		<Open filename = "MainForm.cs"/>
-	</Actions>
-	
-	<Combine name = "${ProjectName}" directory = ".">
-		<Options>
-			<StartupProject>${ProjectName}</StartupProject>
-		</Options>
-		
-		<Project name = "${ProjectName}" directory = ".">
-			
-			<Options Target = "WinExe" PauseConsoleOutput = "False" />
-
-			<Files>
-				<File name="MainForm.cs"><![CDATA[// project created on ${Date} at ${Time}
-using System;
-using System.Windows.Forms;
-
-namespace MyFormProject 
-{
-	class MainForm : System.Windows.Forms.Form
-	{
-		public MainForm()
-		{
-			InitializeComponent();
-		}
-	
-		// THIS METHOD IS MAINTAINED BY THE FORM DESIGNER
-		// DO NOT EDIT IT MANUALLY! YOUR CHANGES ARE LIKELY TO BE LOST
-		void InitializeComponent()
-		{
-			// 
-			//  Set up generated class MainForm
-			// 
-			this.SuspendLayout();
-			this.Name = "MainForm";
-			this.Text = "This is my form";
-			this.Size = new System.Drawing.Size(300, 300);
-			this.ResumeLayout(false);
-		}
-			
-		[STAThread]
-		public static void Main(string[] args)
-		{
-			Application.Run(new MainForm());
-		}
-	}			
-}]]></File>
-		<File name="AssemblyInfo.cs">
-			<![CDATA[using System.Reflection;
-using System.Runtime.CompilerServices;
-
-// Information about this assembly is defined by the following
-// attributes.
-//
-// change them to the information which is associated with the assembly
-// you compile.
-
-[assembly: AssemblyTitle("")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("")]
-[assembly: AssemblyCopyright("")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// The assembly version has following format :
-//
-// Major.Minor.Build.Revision
-//
-// You can specify all values by your own or you can build default build and revision
-// numbers with the '*' character (the default):
-
-[assembly: AssemblyVersion("1.0.*")]
-
-// The following attributes specify the key for the sign of your assembly. See the
-// .NET Framework documentation for more information about signing.
-// This is not required, if you don't want signing let these attributes like they're.
-[assembly: AssemblyDelaySign(false)]
-[assembly: AssemblyKeyFile("")]
-]]></File>
-			</Files>
-		</Project>
-	</Combine>
-</Template>

Modified: trunk/MonoDevelop/build/data/templates/project/CSharp/GnomeSharpProject.xpt
===================================================================
--- trunk/MonoDevelop/build/data/templates/project/CSharp/GnomeSharpProject.xpt	2004-01-19 03:34:34 UTC (rev 559)
+++ trunk/MonoDevelop/build/data/templates/project/CSharp/GnomeSharpProject.xpt	2004-01-19 03:38:20 UTC (rev 560)
@@ -7,7 +7,7 @@
 	<TemplateConfiguration>
 		<Name>GnomeSharp Project</Name>
 		<Category>C#</Category>
-		<Icon>C#.Project.DOSProject</Icon>
+		<Icon>C#.Project.Form</Icon>
 		<LanguageName>C#</LanguageName>
 		<Description>Gnome# project description</Description>
 	</TemplateConfiguration>

Modified: trunk/MonoDevelop/build/data/templates/project/CSharp/GtkSharpProject.xpt
===================================================================
--- trunk/MonoDevelop/build/data/templates/project/CSharp/GtkSharpProject.xpt	2004-01-19 03:34:34 UTC (rev 559)
+++ trunk/MonoDevelop/build/data/templates/project/CSharp/GtkSharpProject.xpt	2004-01-19 03:38:20 UTC (rev 560)
@@ -7,7 +7,7 @@
 	<TemplateConfiguration>
 		<Name>GtkSharp Project</Name>
 		<Category>C#</Category>
-		<Icon>C#.Project.DOSProject</Icon>
+		<Icon>C#.Project.Form</Icon>
 		<LanguageName>C#</LanguageName>
 		<Description>Gtk# project description</Description>
 	</TemplateConfiguration>

Deleted: trunk/MonoDevelop/build/data/templates/project/VBNet/FormsVBNetProject.xpt
===================================================================
--- trunk/MonoDevelop/build/data/templates/project/VBNet/FormsVBNetProject.xpt	2004-01-19 03:34:34 UTC (rev 559)
+++ trunk/MonoDevelop/build/data/templates/project/VBNet/FormsVBNetProject.xpt	2004-01-19 03:38:20 UTC (rev 560)
@@ -1,94 +0,0 @@
-<?xml version="1.0"?>
-<Template originator   = "Markus Palme"
-          created      = "15/04/2002"
-          lastModified = "02/01/2003">
-	
-	<!-- Template Header -->
-	<TemplateConfiguration>
-		<Name>${res:Templates.Project.VB.WinFormsProject.Name}</Name>
-		<Category>VBNET</Category>
-		<Icon>VB.Project.Form</Icon>
-		<LanguageName>VBNET</LanguageName>
-		<Description>${res:Templates.Project.VB.WinFormsProject.Description}</Description>
-	</TemplateConfiguration>
-	
-	<!-- Actions -->
-	<Actions>
-		<Open filename = "MainForm.vb"/>
-	</Actions>
-	
-	<!-- Template Content -->
-	<Combine name = "${ProjectName}" directory = ".">
-		<Options>
-			<StartupProject>${ProjectName}</StartupProject>
-		</Options>
-		
-		<Project name = "${ProjectName}" directory = ".">
-	
-			<Options Target = "WinExe" PauseConsoleOutput = "False"/>
-			
-			<References>
-				<Reference type="Gac" refto="System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
-				<Reference type="Gac" refto="System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
-			</References>
-	
-			<Files>
-				<File name="MainForm.vb"><![CDATA[' project created on ${Date} at ${Time}
-Imports System
-Imports System.Windows.Forms
-Module Main
-
-	Sub Main
-		Dim fMainForm As New MainForm
-		fMainForm.ShowDialog()
-	End Sub
-	
-	Public Class MainForm
-		Inherits System.Windows.Forms.Form
-
-   		Public Sub New
-      		MyBase.New()
-			Me.Text = "This is my form"
-		End Sub
-		
-	End Class
-	
-End Module
-]]></File>
-		<File name="AssemblyInfo.vb">
-			<![CDATA[Imports System.Reflection
-Imports System.Runtime.CompilerServices
-
-' Information about this assembly is defined by the following
-' attributes.
-'
-' change them to the information which is associated with the assembly
-' you compile.
-
-<assembly: AssemblyTitle("")>
-<assembly: AssemblyDescription("")>
-<assembly: AssemblyConfiguration("")>
-<assembly: AssemblyCompany("")>
-<assembly: AssemblyProduct("")>
-<assembly: AssemblyCopyright("")>
-<assembly: AssemblyTrademark("")>
-<assembly: AssemblyCulture("")>
-
-' The assembly version has following format :
-'
-' Major.Minor.Build.Revision
-'
-' You can specify all values by your own or you can build default build and revision
-' numbers with the '*' character (the default):
-
-<assembly: AssemblyVersion("1.0.*")>
-
-' The following attributes specify the key for the sign of your assembly. See the
-' .NET Framework documentation for more information about signing.
-' This is not required, if you don't want signing let these attributes like they're.
-<assembly: AssemblyDelaySign(false)>
-<assembly: AssemblyKeyFile("")>]]></File>
-			</Files>
-		</Project>
-	</Combine>	
-</Template>




More information about the Monodevelop-patches-list mailing list