private void listView1_DoubleClick(object sender, EventArgs e) { string str = this.listView1.SelectedItems[0].Text.ToString(); frmHouse fh = new frmHouse(); fh.M_str_Show = str; this.Close(); fh.Show(); }
private void butIHouse_Click(object sender, EventArgs e) { frmHouse fh = new frmHouse(); frmMain fm = new frmMain(); fh.M_str_temp = cu.id; fh.Show(); }