public MainClientWindow()
        {
            InitializeComponent();

            datacontext = new Model.DataContext()
            {
                PlayerInfo = new PlayerInfoModel()
                {
                    Exp = 0
                }
            };

            this.DataContext = datacontext;
        }
Ejemplo n.º 2
0
        public MainClientWindow()
        {
            InitializeComponent();

            datacontext = new Model.DataContext()
            {
                PlayerInfo = new PlayerInfoModel()
                {
                    Exp = 0
                }
            };

            this.DataContext = datacontext;
            txtCmdInput.Text = TinyIoCContainer.Current.Resolve <UITranslation>().InputCommand;
        }