Example #1
0
        protected static void MucLoginInternal(Service service, string forceNick)
        {
            try
            {
                RoomLogin roomLogin = new RoomLogin(service, forceNick);

                roomLogin.Show();
                roomLogin.Activate();
            }

            catch (WindowExistsException e)
            {
                e.ActivateControl();
            }
        }
Example #2
0
        protected static void MucLoginInternalMark(MucMark mucMark)
        {
            try
            {
                RoomLogin roomLogin = new RoomLogin(mucMark, null);

                roomLogin.Show();
                roomLogin.Activate();
            }

            catch (WindowExistsException e)
            {
                e.ActivateControl();
            }
        }