public GraphExternForm()
        {
            flagReload = false;
            extData = new ExtData();
            dataOpen = new myclass[11];
            int i = 0;
            while (i != 11)
            {
                dataOpen[i] = new myclass();
                i++;
            }
            CallBackMy.callbackEventHandler = new CallBackMy.callbackEvent(this.ReloadWork);

            if (!externTimer.Enabled)
            {
                externTimer.Tick += new EventHandler(timer_extern); //подписываемся на события Tick
                externTimer.Interval = 1000;
                externTimer.Start();
            }
            InitializeComponent();
        }
Esempio n. 2
0
 static void ReloadExtPoint(ExtData ext)
 {
     extData = ext;
 }
Esempio n. 3
0
 static void ReloadData(myclass[] what)
 {
     dataClass = what;
     extData = dataClass[10].ExtDataPoint;
 }