Esempio n. 1
0
 private void tbReports_LinkClick(object sender, C1TopicBarClickEventArgs e)
 {
     if (c1FlexReport1.IsBusy)
     {
         return;
     }
     c1FlexReport1.Load(@"..\..\" + c_FlexCommonTasks, e.Link.Text);
     c1FlexViewer1.DocumentSource = c1FlexReport1;
 }
Esempio n. 2
0
        void tbReports_LinkClick(object sender, C1TopicBarClickEventArgs e)
        {
            var coll = comboReports.Items;

            for (int i = 0; i < coll.Count; i++)
            {
                if (((RibbonButton)coll[i]).Text == e.Link.Text)
                {
                    comboReports.SelectedIndex = i;
                    break;
                }
            }
        }