示例#1
0
 private void button1_Click(object sender, EventArgs e)
 {
     UserForm userForm = new UserForm();
     userForm.ShowDialog();
     client = userForm.SelectedClient;
     if (client!=null)
     {
         clientTBox.Text = "";
         for (int i = 1; i < 4; i++)
             clientTBox.Text += client.Cells[i].Value.ToString() + " ";
     }
 }
示例#2
0
 public void SaveParent(UserForm parent)
 {
     this.parent = parent;
 }
示例#3
0
 private void openUserBtn_Click(object sender, EventArgs e)
 {
     UserForm uf = new UserForm();
     uf.Show();
 }