private void buttonEmoticonPicker_Click(object sender, EventArgs e) { //show the emoticon picker form FormEmoticons fe = new FormEmoticons(); fe.Top = (FormMain.Instance.Top + FormMain.Instance.Height) - 220; fe.Left = FormMain.Instance.Left + 10; fe.ShowDialog(this); FormMain.Instance.FocusInputBox(); }