Exemplo n.º 1
0
 public MessHist(ContactForm cnt, List<MyDict> l)
 {
     InitializeComponent();
     this.cnt = cnt;
     list = l;
     MessageHist();
     this.textBox2.Text = mainstr;
 }
Exemplo n.º 2
0
 // тут все ясно
 private void ContactBox_SelectedIndexChanged(object sender, EventArgs e)
 {
     int index  = ContactListBox.SelectedIndex;
     ContactForm Contact = new ContactForm(this, users[index], mainUser.ListReturner(users[index].firstname));
     Contact.Show();
 }