private void RegEmoticonClicked(object sender, EmoticonShortcutEventArgs e) { if (this.callback != null) { this.callback.EmoticonCallback(e.Shortcut); this.callback = null; } this.Hide(); }
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(); }
public void SetCallback(RoomPanel cb) { this.callback = cb; }
private void EmoticonMenu_Deactivate(object sender, EventArgs e) { this.callback = null; this.Hide(); }
public void SetCallback(RoomPanel cb, bool bg) { this.callback = cb; this.bg = bg; }