Mercurial > repos > IBBoard.WarFoundry.GUI.WinForms
view FrmAbout.cs @ 159:964f946d3cac
Fixes #288: WarFoundry WinForms assumes that army tree will be open
* Add a getter method that returns a new army tree if the old one was disposed or non exists
* Unhook the army tree from the army changed events on dispose
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Fri, 04 Jun 2010 19:31:02 +0000 |
parents | 0bb9f40d44eb |
children |
line wrap: on
line source
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using IBBoard.Lang; using IBBoard.Windows.Forms; using IBBoard.Windows.Forms.I18N; namespace IBBoard.WarFoundry.GUI.WinForms { public partial class FrmAbout : IBBForm { public FrmAbout() { InitializeComponent(); ControlTranslator.TranslateControl(this); lblVersion.Text = Translation.GetTranslation("lblVersion", "Version: {0}", FrmMain.VERSION); } } }