Beispiel #1
0
        public TabPageAction()
        {
            this.panelActionToolbar           = new RPG.PanelActionToolbar();
            this.panelActionToolbar.Location  = new System.Drawing.Point(8, 600);
            this.panelActionToolbar.Size      = new System.Drawing.Size(992, 100);
            this.panelActionToolbar.Name      = "panelActionToolbar1";
            this.panelActionToolbar.BackColor = Color.Red;
            this.Controls.Add(this.panelActionToolbar);

            this.panelAction           = new RPG.PanelAction(panelActionToolbar);
            this.panelAction.Location  = new System.Drawing.Point(8, 6);
            this.panelAction.Name      = "panelAction1";
            this.panelAction.Size      = new System.Drawing.Size(PanelAction.PANEL_WIDTH, PanelAction.PANEL_HEIGHT);
            this.panelAction.BackColor = Color.Green;
            this.Controls.Add(this.panelAction);
        }
Beispiel #2
0
 public PanelAction(PanelActionToolbar toolbar)
 {
     m_toolbar        = toolbar;
     this.MouseClick += new MouseEventHandler(PanelAction_MouseClick);
 }