Exemplo n.º 1
0
        private void mnuAddGroupChat_Click(object sender, EventArgs e)
        {
            using (frmAddChat frmCreateChat = new frmAddChat())
            {
                if (frmCreateChat.ShowDialog(this) == System.Windows.Forms.DialogResult.OK)
                {
                    BitChat chat = _service.CreateBitChat(frmCreateChat.txtNetworkNameOrPeerEmailAddress.Text, frmCreateChat.txtPassword.Text);

                    AddChatView(chat);
                }
            }
        }
Exemplo n.º 2
0
        private void mnuAddPrivateChat_Click(object sender, EventArgs e)
        {
            using (frmAddChat frmCreateChat = new frmAddChat(BitChatClient.Network.BitChatNetworkType.PrivateChat))
            {
                if (frmCreateChat.ShowDialog(this) == System.Windows.Forms.DialogResult.OK)
                {
                    BitChat chat = _service.CreateBitChat(new System.Net.Mail.MailAddress(frmCreateChat.txtNetworkNameOrPeerEmailAddress.Text.ToLower()), frmCreateChat.txtPassword.Text);

                    AddChatView(chat);
                }
            }
        }
Exemplo n.º 3
0
        private void mnuAddPrivateChat_Click(object sender, EventArgs e)
        {
            using (frmAddChat frmCreateChat = new frmAddChat(BitChatClient.Network.BitChatNetworkType.PrivateChat))
            {
                if (frmCreateChat.ShowDialog(this) == System.Windows.Forms.DialogResult.OK)
                {
                    BitChat chat = _service.CreateBitChat(new System.Net.Mail.MailAddress(frmCreateChat.txtNetworkNameOrPeerEmailAddress.Text.ToLower()), frmCreateChat.txtPassword.Text);

                    AddChatView(chat);
                }
            }
        }
Exemplo n.º 4
0
        private void mnuAddGroupChat_Click(object sender, EventArgs e)
        {
            using (frmAddChat frmCreateChat = new frmAddChat())
            {
                if (frmCreateChat.ShowDialog(this) == System.Windows.Forms.DialogResult.OK)
                {
                    BitChat chat = _service.CreateBitChat(frmCreateChat.txtNetworkNameOrPeerEmailAddress.Text, frmCreateChat.txtPassword.Text);

                    AddChatView(chat);
                }
            }
        }