2015-07-01 23:17:14 -04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.Data;
|
|
|
|
|
using System.Drawing;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using System.Windows.Forms;
|
2015-07-03 00:12:02 -04:00
|
|
|
|
using Mesen.GUI.Config;
|
2015-07-01 23:17:14 -04:00
|
|
|
|
|
|
|
|
|
namespace Mesen.GUI.Forms.NetPlay
|
|
|
|
|
{
|
|
|
|
|
public partial class frmPlayerProfile : BaseConfigForm
|
|
|
|
|
{
|
|
|
|
|
public frmPlayerProfile()
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
|
|
|
|
|
this.txtPlayerName.Text = ConfigManager.Config.Profile.PlayerName;
|
|
|
|
|
}
|
2015-07-11 08:27:22 -04:00
|
|
|
|
|
2015-07-01 23:17:14 -04:00
|
|
|
|
protected override void UpdateConfig()
|
|
|
|
|
{
|
|
|
|
|
PlayerProfile profile = new PlayerProfile();
|
|
|
|
|
profile.PlayerName = this.txtPlayerName.Text;
|
|
|
|
|
ConfigManager.Config.Profile = profile;
|
2015-07-11 08:27:22 -04:00
|
|
|
|
}
|
2015-07-01 23:17:14 -04:00
|
|
|
|
}
|
|
|
|
|
}
|