Esempio 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;
            }
        }
Esempio n. 2
0
 private void LoadControls()
 {
     AllChannelControl = new UcAllChannels(CurrentUserId);
     tabPan_AllChannels.Controls.Add(AllChannelControl);
 }