Exemple #1
0
        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            FormTaskEdit form = new FormTaskEdit();

            form.Text = "添加任务";
            form.ShowDialog();
            FormHelper.LoadTask2Grid(this.myGridView1, false);
        }
Exemple #2
0
        private void toolStripButton2_Click(object sender, EventArgs e)
        {
            FormTaskEdit form1 = new FormTaskEdit();

            form1.Text   = "修改任务";
            form1.Entity = this.FindSelect();
            form1.ShowDialog();

            FormHelper.LoadTask2Grid(this.myGridView1, false);
        }