示例#1
0
        private void btnVendeg_Click(object sender, EventArgs e)
        {
            VendegForm vendegF = new VendegForm();

            panelFo.Controls.Clear();
            vendegF.TopLevel = false;
            panelFo.Controls.Add(vendegF);
            vendegF.Dock = DockStyle.Fill;
            vendegF.Show();
            MenuSzinez(1);
        }
示例#2
0
        private void buttonVendegHozzaAd_Click(object sender, EventArgs e)
        {
            Foablak    fablak  = new Foablak();
            VendegForm vendegF = new VendegForm();

            fablak.panelFo.Controls.Clear();
            vendegF.TopLevel = false;
            fablak.panelFo.Controls.Add(vendegF);
            vendegF.Dock = DockStyle.Fill;
            vendegF.Show();
        }
示例#3
0
        public Foablak()
        {
            InitializeComponent();
            MenuSzinez(1);
            VendegForm vendegF = new VendegForm();

            panelFo.Controls.Clear();
            vendegF.TopLevel = false;
            panelFo.Controls.Add(vendegF);
            vendegF.Dock = DockStyle.Fill;
            vendegF.Show();
            this.Cursor = Form1.CreateCursor((Bitmap)imageList2.Images[0], new Size(30, 30));
        }