예제 #1
0
파일: XtraGrid.cs 프로젝트: labeuze/source
 public XtraGridControlManager(XtraGridFormManager formManager, XElement xe, GridControl grid, XtraGridControlManager parentGrid)
 {
     gFormManager = formManager;
     gsName = xe.zAttribValue("Name");
     gGridDefinition = xe;
     gGridControl = grid;
     gParentGrid = parentGrid;
     Init();
 }
예제 #2
0
파일: XtraGrid.cs 프로젝트: labeuze/source
 public XtraGridControlManager(XtraGridFormManager formManager, string name, GridControl grid, XtraGridControlManager parentGrid)
 {
     gFormManager = formManager;
     gsName = name;
     gGridControl = grid;
     gParentGrid = parentGrid;
     Init();
 }
예제 #3
0
파일: XtraGrid.cs 프로젝트: labeuze/source
 public XtraGridControlManager GetGrid(XElement xe, XtraGridControlManager parentGrid)
 {
     //string sName = xe.zAttribValue("Name");
     //if (sName == null || sName == "") throw new XtraGridException("error creating grid name is not defined");
     //XtraGridControlManager gridManager = new XtraGridControlManager(this, xe, parentGrid);
     //gGridControls.Add(sName, gridManager);
     //return gridManager;
     return GetGrid(xe, null, parentGrid);
 }
예제 #4
0
파일: XtraGrid.cs 프로젝트: labeuze/source
 public XtraGridControlManager GetGrid(XElement xe, GridControl grid, XtraGridControlManager parentGrid)
 {
     if (xe == null) return null;
     string sName = xe.zAttribValue("Name");
     if (sName == null || sName == "") throw new XtraGridException("error creating grid name is not defined");
     if (gGridControls.ContainsKey(sName)) return gGridControls[sName];
     XtraGridControlManager gridManager = new XtraGridControlManager(this, xe, grid, parentGrid);
     gGridControls.Add(sName, gridManager);
     return gridManager;
 }
예제 #5
0
파일: XtraGrid.cs 프로젝트: labeuze/source
 public XtraGridControlManager GetGrid(string name, GridControl grid, XtraGridControlManager parentGrid)
 {
     if (name == null || name == "") throw new XtraGridException("error creating grid name is not defined");
     if (gGridControls.ContainsKey(name)) return gGridControls[name];
     XtraGridControlManager gridManager = new XtraGridControlManager(this, name, grid, parentGrid);
     gGridControls.Add(name, gridManager);
     return gridManager;
 }