Ejemplo n.º 1
0
        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            //窗体切换
            StaffScoreForm w2 = new StaffScoreForm();  //实例化对象

            w2.TopLevel = false;                       //将此控件设置为非顶级
            this.panel1.Controls.Add(w2);              //添加w1的控件
            w2.FormBorderStyle = FormBorderStyle.None; //将边框设置为无
            w2.Show();                                 //显示w4窗体
            w2.BringToFront();                         //将w4置于顶层
        }
Ejemplo n.º 2
0
        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            StaffScoreForm wl = new StaffScoreForm();

            wl.Show();
        }
Ejemplo n.º 3
0
 public StaffUpdateForm(DataGridView data, StaffScoreForm scoreForm)
 {
     InitializeComponent();
     sc        = data;
     scoreform = scoreForm;
 }