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

            this.Hide();
        }
예제 #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();
        }
예제 #3
0
 public void SetCallback(RoomPanel cb)
 {
     this.callback = cb;
 }
예제 #4
0
 private void EmoticonMenu_Deactivate(object sender, EventArgs e)
 {
     this.callback = null;
     this.Hide();
 }
예제 #5
0
 public void SetCallback(RoomPanel cb, bool bg)
 {
     this.callback = cb;
     this.bg       = bg;
 }