Example #1
0
        public PlaceAdd(PlaceForm parentForm)
        {
            InitializeComponent();

            this.pid        = parentForm.currentPlace.C_id;
            this.parentForm = parentForm;
            lblPid.Text     = pid;
            this.grade      = parentForm.currentPlace.I_grade;

            Init();
        }
Example #2
0
        public PlaceAddSingle(PlaceForm parForm)
        {
            InitializeComponent();

            this.parForm    = parForm;
            this.pid        = parForm.currentPlace.C_id;
            this.grade      = parForm.currentPlace.I_grade;
            lblId.Text      = bll.GetNextCode(pid);
            lblPid.Text     = pid;
            cbInuse.Checked = true;
        }