Ejemplo n.º 1
0
        public void Execute(System.Windows.Forms.Form x)
        {
            CardPanel temp = new CardPanel();

            temp.Init_Card(x);
            x.Controls.Add(temp);
            x.Width  = temp.Width + 23;
            x.Height = temp.Height + 48;
        }
Ejemplo n.º 2
0
        public Form()
        {
            InitializeComponent();
            CardPanel   cardPanel = PanelRemote.GetPanel();
            PanelButton panel     = new PanelButton(cardPanel);

            panel.Execute(this);
            Controls.Add(new ScorePanel(this));
        }