示例#1
0
        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;
        }
示例#2
0
 public ReportDesign()
 {
     InitializeComponent();
     //panMain.Visible = false;
     _UndoMgr = new DIYReport.UndoManager.UndoMgr();
 }