Beispiel #1
0
        private void btnSearchPlace_Click(object sender, EventArgs e)
        {
            JPlacesForm placeForm = new JPlacesForm();

            if (placeForm.ShowDialog() == DialogResult.OK)
            {
                txtPlaceCode.Text = ((JCustomTreeNode)placeForm.SelectedItem).Code.ToString();
                txtPlaceName.Text = ((JCustomTreeNode)placeForm.SelectedItem).ToString();
            }
        }
Beispiel #2
0
        public void Show()
        {
            JPlacesForm form = new JPlacesForm();

            form.ShowDialog();
        }