Exemple #1
0
 //编辑
 private void Btn_Edit_Click(object sender, EventArgs e)
 {
     this.opState = OpState.Update;
     UIControl.SetStatus(bar1, bar2, pnlMain, gridView1, OpState.Update);
 }
Exemple #2
0
 //取消
 private void Btn_Cancel_Click(object sender, EventArgs e)
 {
     this.opState = OpState.Browse;
     UIControl.SetStatus(bar1, bar2, pnlMain, gridView1, OpState.Browse);
     //this.LoadData(curId);
 }
Exemple #3
0
        //===========================================================

        private void FmBILL_Load(object sender, EventArgs e)
        {
            UIControl.SetStatus(bar1, bar2, pnlMain, gridView1, this.opState);
            this.Get();
        }
Exemple #4
0
 //新增
 private void Btn_Add_Click(object sender, EventArgs e)
 {
     this.opState = OpState.Add;
     UIControl.SetStatus(bar1, bar2, pnlMain, gridView1, OpState.Add);
     this.Add();
 }