예제 #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();
        }
예제 #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;
        }