public MainClientWindow() { InitializeComponent(); datacontext = new Model.DataContext() { PlayerInfo = new PlayerInfoModel() { Exp = 0 } }; this.DataContext = datacontext; }
public MainClientWindow() { InitializeComponent(); datacontext = new Model.DataContext() { PlayerInfo = new PlayerInfoModel() { Exp = 0 } }; this.DataContext = datacontext; txtCmdInput.Text = TinyIoCContainer.Current.Resolve <UITranslation>().InputCommand; }