Ejemplo n.º 1
0
        private void btViewChannels_Click(object sender, EventArgs e)
        {
            var ucAllChan  = new UcAllChannels(CurrentUserId);
            var actionForm = new ActionForm(ucAllChan)
            {
                Text = @"Loaded channels and programms",
                Icon = new Icon(@"icons\download-16.ico")
            };

            if (ParentForm != null)
            {
                ParentForm.Visible = false;
                actionForm.ShowDialog();
                ParentForm.Visible = true;
            }
        }
Ejemplo n.º 2
0
 private void LoadControls()
 {
     AllChannelControl = new UcAllChannels(CurrentUserId);
     tabPan_AllChannels.Controls.Add(AllChannelControl);
 }