Example #1
0
        /**
         * 显示已提交任务窗体
         */
        private void button2_Click(object sender, EventArgs e)
        {
            splitContainer1.Panel2.Controls.Clear();
            Submitted submitted = new Submitted();

            submitted.TopLevel        = false;
            submitted.Dock            = DockStyle.Fill;
            submitted.FormBorderStyle = FormBorderStyle.None;
            splitContainer1.Panel2.Controls.Add(submitted);
            submitted.Show();
        }
Example #2
0
 public FormInfo_Sub(Task task, Submitted submitted)
 {
     this.task      = task;
     this.submitted = submitted;
     InitializeComponent();
 }