예제 #1
0
        private void SaveNote_Click(object sender, EventArgs e)
        {
            NoteManager.SaveNote(_viewingProfile.SteamID64, textBoxNotes.Text);

            SetEditingNote(false);
        }
예제 #2
0
        private void CancelNote_Click(object sender, EventArgs e)
        {
            textBoxNotes.Text = NoteManager.GetNote(_viewingProfile.SteamID64);

            SetEditingNote(false);
        }
예제 #3
0
 private void TextBoxNotes_TextChanged(object sender, EventArgs e)
 {
     SetEditingNote(NoteManager.GetNote(_viewingProfile.SteamID64) != textBoxNotes.Text, false);
 }