Пример #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            string         a  = treeView1.SelectedNode.Text;
            SearchResident fm = new SearchResident(a);

            fm.ShowDialog();
        }
Пример #2
0
        private void rESIDENTToolStripMenuItem2_Click(object sender, EventArgs e)
        {
            SearchResident sr = new SearchResident();

            sr.ShowDialog();
        }