Esempio n. 1
0
        private void tsbEmployee_Click(object sender, EventArgs e)
        {
            FrmEmpSearch frmEmpSearch = new FrmEmpSearch()
            {
                Dock = DockStyle.Fill, AutoSize = false, AutoScaleMode = AutoScaleMode.None
            };

            CreateNewPage(tsbEmployee.Text, frmEmpSearch);
        }
Esempio n. 2
0
        private void sbtnEmployee_Click(object sender, EventArgs e)
        {
            FrmEmpSearch frmEmpSearch = new FrmEmpSearch()
            {
                Name = sbtnEmployee.Text,
                Text = sbtnEmployee.Text,
                Dock = DockStyle.Fill
            };

            CreatNewPag(sbtnEmployee.Text, frmEmpSearch);
        }