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

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

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