private void pb_selectperson_Click(object sender, EventArgs e) { WFperson mywin = new WFperson(); if (mywin.ShowDialog() == DialogResult.OK) { tb_fankuiduixiang.Text = string.Join(",", mywin.list_selected); } }
private void pb_renyuan_Click(object sender, EventArgs e) { WFperson mywin = new WFperson(); if (mywin.ShowDialog() == DialogResult.OK) { tb_yuedufanwei.Text = string.Join(",", mywin.list_selected); } }
private void pb_person2_Click(object sender, EventArgs e) { WFperson mywin = new WFperson() { StartPosition = FormStartPosition.CenterParent }; if (mywin.ShowDialog() == DialogResult.OK) { tb_shenherenyuan.Text = string.Join(",", mywin.list_selected); } }