コード例 #1
0
        //DESCRIPTION: Opens account settings page
        private void btnAccount_Click(object sender, EventArgs e)
        {
            var accountSettings = new AccountSettings(UserID);

            accountSettings.FormClosed += new FormClosedEventHandler(accountSettings_FormClosed);
            this.Hide();
            accountSettings.Show();
        }
コード例 #2
0
ファイル: MainMenu.cs プロジェクト: hakrrr/Chaos-to-Go
 public void OnPressAccount()
 {
     PlayAudio("PickUp");
     Freeze();
     accountSettings.Show();
 }