Esempio 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;
        }
Esempio n. 2
0
        public Form()
        {
            InitializeComponent();
            CardPanel   cardPanel = PanelRemote.GetPanel();
            PanelButton panel     = new PanelButton(cardPanel);

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