Ejemplo n.º 1
0
 private void viewMeChatsToolStripMenuItem_Click(object sender, EventArgs e)
 {
     lookUpForm = new UserLookUp(meChats.UserChatMessages, meChats.ToString(), textBox_UserFilter.Text, tools_ButCaseSensitive.Checked); //Creates the lookUpForm.
     lookUpForm.StartPosition = FormStartPosition.CenterParent; //Centers the lookUpForm to the parent.
     lookUpForm.ShowDialog(this); //Shows the form.
 }
Ejemplo n.º 2
0
 private void listBox_Users_DoubleClick(object sender, EventArgs e)
 {
     if (listBox_Users.SelectedIndex != -1)
     {
         User u = (User)listBox_Users.SelectedItem;
         lookUpForm = new UserLookUp(u.UserChatMessages, u.ToString(), textBox_UserFilter.Text, tools_ButCaseSensitive.Checked); //Creates the lookUpForm.
         lookUpForm.StartPosition = FormStartPosition.CenterParent; //Centers the lookUpForm to the parent.
         lookUpForm.ShowDialog(this); //Shows the form.
     }
 }