Ejemplo n.º 1
0
 private void button2_Click(object sender, EventArgs e)
 {
     ClassLibrary.JFindPersonForm FindP = new ClassLibrary.JFindPersonForm();
     FindP.ShowDialog();
     if (FindP.SelectedPerson != null)
     {
         txtPerson.Text = FindP.SelectedPerson.Name;
         txtPerson.Tag  = FindP.SelectedPersonCode;
     }
 }
Ejemplo n.º 2
0
 private void button2_Click(object sender, EventArgs e)
 {
     ClassLibrary.JFindPersonForm FindP = new ClassLibrary.JFindPersonForm();
     FindP.ShowDialog();
     if (FindP.SelectedPerson != null)
     {
         JMessages.Message("شخصی پیدا نشد", "", JMessageType.Error);
     }
     else
     {
         txtOwner.Text = FindP.SelectedPerson.Name;
         txtOwner.Tag  = FindP.SelectedPersonCode;
     }
 }