예제 #1
0
        private void btnMain_Click(object sender, EventArgs e)
        {
            UcOrder userControlOrder = new UcOrder(callPanel);

            callPanel.Controls.Add(userControlOrder);
            this.Hide();
        }
예제 #2
0
        public UcOrder(Panel callPanel)
        {
            InitializeComponent();

            this.Load += printProductList_Load;
            ucOrder    = this;

            this.callPanel = callPanel;
        }