public void SetGamePath(string path) { if (m_user != null) { m_user.setGamePath(path); } }
public User GetUser() { if (string.IsNullOrEmpty(cb_username.Text)) { return(null); } m_User = new User(cb_username.Text, tb_password.Text); m_User.setGamePath(tb_gamepath.Text); m_User.setGameArgs(tb_args.Text); m_User.setRecord(chkb_record.Checked); return(m_User); }
public User GetUser(){ if(string.IsNullOrEmpty(cb_username.Text)){ return null; } m_User=new User(cb_username.Text, tb_password.Text); m_User.setGamePath(tb_gamepath.Text); m_User.setGameArgs(tb_args.Text); m_User.setRecord(chkb_record.Checked); return m_User; }