Exemple #1
0
        private void btnSearchSubject_Click(object sender, EventArgs e)
        {
            JSubjectForm subject = new JSubjectForm();

            if (subject.ShowDialog() == DialogResult.OK)
            {
                txtSubjectCode.Text = ((JCustomTreeNode)subject.SelectedItem).Code.ToString();
                txtSubjectName.Text = ((JCustomTreeNode)subject.SelectedItem).ToString();
            }
        }
Exemple #2
0
        public void ShowForm()
        {
            JSubjectForm p = new JSubjectForm();

            p.ShowDialog();
        }
Exemple #3
0
        public void Show()
        {
            JSubjectForm SF = new JSubjectForm();

            SF.ShowDialog();
        }