Пример #1
0
        /// <summary>
        /// 关闭此窗体
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btn_Close_Click(object sender, EventArgs e)
        {
            this.Close();
            FrmMain    fr  = new FrmMain();
            FrmAllData frm = new FrmAllData();

            frm.Show(fr);
        }
Пример #2
0
        private void 查看ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.PanMain.Controls.Clear();
            FrmAllData fad = new FrmAllData();

            fad.TopLevel = false;
            PanMain.Controls.Add(fad);
            fad.Show();
        }