Esempio n. 1
0
        private void RegEmoticonClicked(object sender, EmoticonShortcutEventArgs e)
        {
            if (this.callback != null)
            {
                this.callback.EmoticonCallback(e.Shortcut);
                this.callback = null;
            }

            this.Hide();
        }
Esempio n. 2
0
        private void EmoticonClicked(object sender, EventArgs e)
        {
            String shortcut = (String)((PictureBox)sender).Tag;

            if (this.callback != null)
            {
                this.callback.EmoticonCallback("(" + shortcut + ")");
                this.callback = null;
            }

            this.Hide();
        }
Esempio n. 3
0
 public void SetCallback(RoomPanel cb)
 {
     this.callback = cb;
 }
Esempio n. 4
0
 private void EmoticonMenu_Deactivate(object sender, EventArgs e)
 {
     this.callback = null;
     this.Hide();
 }
Esempio n. 5
0
 public void SetCallback(RoomPanel cb, bool bg)
 {
     this.callback = cb;
     this.bg       = bg;
 }