Esempio n. 1
0
 private void barBtnChart_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (filepath == null)
     {
         MessageBox.Show("未输入文件!");
         return;
     }
     else
     {
         frmSampleOverview Overview = new frmSampleOverview(filepath);
         Overview.ShowDialog();
     }
 }
Esempio n. 2
0
 private void barBtnChart_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (filepath == null)
     {
         MessageBox.Show("未输入文件!");
         return;
     }
     else
     {
         if (Overview == null || Overview.IsDisposed)
         {
             Overview       = new frmSampleOverview(sampleSumTable, _pFtLayer);
             Overview.Owner = this;
             Overview.Show();
         }
         else
         {
             Overview.Activate();
         }
         //注册事件
         Overview.TransfEvent += Overview_TransfEvent;
     }
 }