public CardDvbC(string name, int cardNumber) : base(name) { _cardNumber = cardNumber; InitializeComponent(); //insert complete ci menu dialog to tab Card dbCard = Card.Retrieve(_cardNumber); if (dbCard.CAM == true) { ciMenuDialog = new CI_Menu_Dialog(_cardNumber); this.tabPageCIMenu.Controls.Add(ciMenuDialog); } else { this.tabPageCIMenu.Dispose(); } base.Text = name; Init(); }
public void SetCaller(CI_Menu_Dialog caller) { refDlg = caller; }