示例#1
0
        /// <summary>
        /// Opens the Chat Form as a user, creating a new instance of it;
        /// </summary>


        public void logIntoChatUser()
        {
            Messager chatForm = new Messager("null", userNickname, false);

            chatForm.Show();
            Hide();
        }
示例#2
0
        /// <summary>
        /// Opens the Chat Form as an admin, creating a new instance of it;
        /// </summary>

        public void logIntoChatAdmin()
        {
            Messager chatForm = new Messager("null", userNickname, true);

            chatForm.Show();
            Hide();
        }
示例#3
0
        /// <summary>
        /// Opens the Chat Form as a user, creating a new instance of it;
        /// </summary>

        public void logIntoChat()
        {
            Messager chatForm = new Messager(userID, userNickname, false);

            chatForm.Show();
            Hide();
        }