示例#1
0
文件: Form1.cs 项目: DrZhang/GMD_DV
 public Form1()
 {
     InitializeComponent();
     r = new relation_updata();
     charT = ChartHelper.getinstance(this.webBrowser1);
     charT.openpage("Chart_Relation");
 }
示例#2
0
 public static ChartHelper getinstance(WebBrowser wbb)
 {
     lock(synroot)
     {
         if (m_chart==null)
         {
             lock (synroot)
             {
                 if (WEBCHART == null)
                 {
                     m_chart = new ChartHelper(wbb);
                 }
             }
         }
     }
     return m_chart;
 }