public XDesignPanel() { InitializeComponent(); //panMain.Visible = false; _UndoMgr = new DIYReport.UndoManager.UndoMgr(); _UndoMgr.UndoMgrChanged += new EventHandler(_UndoMgr_UndoMgrChanged); _CMenuCommands = new Hashtable(); _RptDesignExec = new RptDesignCommandsExecutor(this); contextMenu1.Popup += new EventHandler(contextMenu1_Popup); //contextMenu1.Images = imageList1; //foreach(System.Drawing.Image image in imageList1 //contextMenu1.i XCMenuItem.Images = imageList1.Images; iniContextMenu(); rulerLeft.DesignPanel = this; rulerTop.DesignPanel = this; }
public ReportDesign() { InitializeComponent(); //panMain.Visible = false; _UndoMgr = new DIYReport.UndoManager.UndoMgr(); }