예제 #1
0
        // Constructor
        public Form_Chat(User currentuser, User otheruser)
        {
            InitializeComponent();

            chathandler = new ChatHandler();
            currentUser = currentuser;
            otherUser = otheruser;
            snd = new SoundPlayer(Properties.Resources.Notification);
            currentchat = OpenChat(currentUser, otherUser);
            Timer_Refresh.Start();
        }
예제 #2
0
        // Constructor
        public Form_Chat(User currentuser, User otheruser)
        {
            InitializeComponent();

            chathandler = new ChatHandler();
            currentUser = currentuser;
            otherUser   = otheruser;
            snd         = new SoundPlayer(Properties.Resources.Notification);
            currentchat = OpenChat(currentUser, otherUser);
            Timer_Refresh.Start();
        }