コード例 #1
0
        private void btnSelect_Click(object sender, EventArgs e)
        {
            SelectClient sc     = new SelectClient();
            DialogResult result = sc.ShowDialog();

            if (result == DialogResult.OK)
            {
                tbServiceClient.Text = sc.Person;
            }
        }
コード例 #2
0
        private void btnSelectClient_Click(object sender, EventArgs e)
        {
            var sc     = new SelectClient();
            var result = sc.ShowDialog();

            if (result == DialogResult.OK)
            {
                tbClient.Text = sc.Person;
            }
        }