示例#1
0
 private void HyForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     //保存表格样式
     WindDataManager.SaveGridViewLayout(gridView1, this.Name);
     //保存布局样式
     WindDataManager.SaveControlLayout(layoutControl1, this.Name);
 }
示例#2
0
 private void btnSave_Click(object sender, EventArgs e)
 {
     this.Cursor = Cursors.WaitCursor;
     try
     {
         WindDataManager.SaveGridViewLayout(this.gridView1, this.Name);
     }
     catch (Exception ex)
     {
         UserMessages.ShowInfoBox(ex.Message);
     }
     finally
     {
         this.Cursor = Cursors.Default;
     }
 }
示例#3
0
 private void btnSaveLayout_Click(object sender, EventArgs e)
 {
     WindDataManager.SaveGridViewLayout(vW_AllAccountantSalaryGridview, this.Name);
 }