Пример #1
0
        private void btnDepartments_Click(object sender, EventArgs e)
        {
            frmAllFiles frm = new frmAllFiles();

            this.Hide();
            frm.BringToFront();
            frm.ShowDialog();
            this.Close();
        }
Пример #2
0
        private void btnAllFiles_Click(object sender, EventArgs e)
        {
            frmAllFiles allFiles = new frmAllFiles();

            allFiles.ShowDialog();
        }