view FrmAbout.cs @ 79:592930d28da4

Re #308: Make GTK# UI translatable * Extend new TranslatableWindowWithActions so that we can start to translate the menu items as well
author IBBoard <dev@ibboard.co.uk>
date Mon, 27 Dec 2010 20:56:31 +0000
parents 68804784bf6f
children 9c9af2ce8c43
line wrap: on
line source

//  This file (FrmAbout.cs) is a part of the IBBoard.WarFoundry.GUI.GTK project and is copyright 2010 IBBoard
// 
//  The file and the library/program it is in are licensed and distributed, without warranty, under the GNU Affero GPL license, either version 3 of the License or (at your option) any later version. Please see COPYING for more information and the full license.

using System;
using Gtk;

namespace IBBoard.WarFoundry.GUI.GTK
{
	public partial class FrmAbout : Gtk.Dialog
	{
		private static FrmAbout frm;

		public static FrmAbout GetForm()
		{
			if (frm == null)
			{
				frm = new FrmAbout();
			}
			
			return frm;
		}

		private FrmAbout()
		{
			this.Build();
		}

		protected virtual void OkayClicked(object sender, System.EventArgs e)
		{
			Respond(ResponseType.Ok);
		}		
	}
}