private void btn_addquyu_Click(object sender, EventArgs e)
 {
     MyForm.More.TableManage.QuYuEditForm quYuEdit = new MyForm.More.TableManage.QuYuEditForm("", "", "", -1, 2);
     quYuEdit.StartPosition = FormStartPosition.CenterScreen;
     quYuEdit.ShowDialog();
     RefreshGridList();
 }
        private void repositoryItemButtonEdit1_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
        {
            int floorid = Convert.ToInt32(this.gridView1.GetRowCellValue(this.gridView1.FocusedRowHandle, "floorid"));

            if (e.Button.Index == 0)
            {
                int    OpType   = 1;
                string QuYuName = this.gridView1.GetRowCellValue(this.gridView1.FocusedRowHandle, "floorname").ToString();
                string QuYuNo   = this.gridView1.GetRowCellValue(this.gridView1.FocusedRowHandle, "floorid").ToString();
                string ffuwu    = this.gridView1.GetRowCellValue(this.gridView1.FocusedRowHandle, "ffuwu").ToString();
                MyForm.More.TableManage.QuYuEditForm quYuEdit = new MyForm.More.TableManage.QuYuEditForm(QuYuName, QuYuNo, ffuwu, floorid, OpType);
                quYuEdit.StartPosition = FormStartPosition.CenterScreen;
                quYuEdit.ShowDialog();
            }
            else
            {
                BizSPInfo.DelFloor(floorid);
            }
            RefreshGridList();
        }