예제 #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            FormIndividualSearch f = new FormIndividualSearch();

            f.ShowDialog();
            if (f.DialogResult == System.Windows.Forms.DialogResult.OK)
            {
                new IndiviualForm(f.Individual).ShowDialog();
            }
        }
예제 #2
0
        private void buttonFindIndividual_Click(object sender, EventArgs e)
        {
            FormIndividualSearch indSearch = new FormIndividualSearch();
            DialogResult         result    = indSearch.ShowDialog();

            if (result == System.Windows.Forms.DialogResult.OK)
            {
                new IndiviualForm(indSearch.Individual).ShowDialog();
            }
        }