예제 #1
0
        private void performSearch()
        {
            MessageView messageView = new MessageView();
            messageView.Text = "Search results for " + txtSearchQuery.Text;

            messageView.IsGroupMessage = false;
            messageView.InitializeMessages(0, connectionString, txtSearchQuery.Text);
            messageView.Show();

            this.Close();
        }
예제 #2
0
        private void performSearch()
        {
            MessageView messageView = new MessageView();

            messageView.Text = "Search results for " + txtSearchQuery.Text;

            messageView.IsGroupMessage = false;
            messageView.InitializeMessages(0, connectionString, txtSearchQuery.Text);
            messageView.Show();

            this.Close();
        }
예제 #3
0
        private void lbConversationList_DoubleClick(object sender, EventArgs e)
        {
            if (lbConversationList.SelectedIndex == -1)
            {
                return;
            }
            MessageView messageView = new MessageView();

            messageView.Text = lbConversationList.SelectedItem.ToString();



            if (selectedConversationIsGroup)
            {
                messageView.IsGroupMessage = true;
            }
            else
            {
                messageView.IsGroupMessage = false;
            }
            messageView.InitializeMessages(selectedConversationPk, connectionString);
            messageView.Show();
        }
예제 #4
0
        private void lbConversationList_DoubleClick(object sender, EventArgs e)
        {
            if (lbConversationList.SelectedIndex == -1)
            {
                return;
            }
            MessageView messageView = new MessageView();
            messageView.Text = lbConversationList.SelectedItem.ToString();

            if (selectedConversationIsGroup)
            {
                messageView.IsGroupMessage = true;
            }
            else
            {
                messageView.IsGroupMessage = false;
            }
            messageView.InitializeMessages(selectedConversationPk, connectionString);
            messageView.Show();
        }