private void InitializeComponent()
 {
     new ComponentResourceManager(typeof(ConfirmPlayCardPopup));
     this.confirmPanel = new ConfirmPlayCardPanel();
     base.SuspendLayout();
     this.confirmPanel.Location = new Point(0, 0);
     this.confirmPanel.Name = "confirmPanel";
     this.confirmPanel.Size = new Size(400, 400);
     this.confirmPanel.TabIndex = 0;
     base.AutoScaleDimensions = new SizeF(6f, 13f);
     base.AutoScaleMode = AutoScaleMode.None;
     base.ClientSize = new Size(400, 400);
     base.ControlBox = false;
     base.Controls.Add(this.confirmPanel);
     base.FormBorderStyle = FormBorderStyle.None;
     base.Icon = Resources.shk_icon;
     base.MaximizeBox = false;
     base.MinimizeBox = false;
     base.Name = "ConfirmPlayCardPopup";
     base.StartPosition = FormStartPosition.Manual;
     this.Text = "ConfirmPlayCardPopup";
     base.FormClosing += new FormClosingEventHandler(this.ConfirmPlayCardPopup_FormClosing);
     base.ResumeLayout(false);
 }
Exemplo n.º 2
0
 private void InitializeComponent()
 {
     new ComponentResourceManager(typeof(ConfirmPlayCardPopup));
     this.confirmPanel = new ConfirmPlayCardPanel();
     base.SuspendLayout();
     this.confirmPanel.Location = new Point(0, 0);
     this.confirmPanel.Name     = "confirmPanel";
     this.confirmPanel.Size     = new Size(400, 400);
     this.confirmPanel.TabIndex = 0;
     base.AutoScaleDimensions   = new SizeF(6f, 13f);
     base.AutoScaleMode         = AutoScaleMode.None;
     base.ClientSize            = new Size(400, 400);
     base.ControlBox            = false;
     base.Controls.Add(this.confirmPanel);
     base.FormBorderStyle = FormBorderStyle.None;
     base.Icon            = Resources.shk_icon;
     base.MaximizeBox     = false;
     base.MinimizeBox     = false;
     base.Name            = "ConfirmPlayCardPopup";
     base.StartPosition   = FormStartPosition.Manual;
     this.Text            = "ConfirmPlayCardPopup";
     base.FormClosing    += new FormClosingEventHandler(this.ConfirmPlayCardPopup_FormClosing);
     base.ResumeLayout(false);
 }
Exemplo n.º 3
0
 public ConfirmPlayCardPopup openConfirmPlayCardPopup(CardTypes.CardDefinition def, ConfirmPlayCardPanel.CardClickPlayDelegate callback)
 {
     this.closePopupWindow(this.m_confirmPlayCardPopup);
     this.m_confirmPlayCardPopup = new ConfirmPlayCardPopup();
     this.positionWindow(this.m_confirmPlayCardPopup, false, false);
     this.m_confirmPlayCardPopup.init(def, callback);
     this.m_confirmPlayCardPopup.Show(this.getCardWindow());
     return this.m_confirmPlayCardPopup;
 }
 public void init(CardTypes.CardDefinition def, ConfirmPlayCardPanel.CardClickPlayDelegate callback)
 {
     this.confirmPanel.init(def, callback);
 }