예제 #1
0
 //на входе осциллограф
 //подрубаем обработчик к осциллографу
 public void connect(Oscilloscope OSC)
 {
     OSC.onResolutionChange += OSC_onResolutionChange; //линкуемся, нажимаем TAB
 }
예제 #2
0
 public void disconnect(Oscilloscope OSC)
 {
     OSC.onResolutionChange -= OSC_onResolutionChange;
 }
예제 #3
0
 private void sovm36_Click(object sender, EventArgs e)
 {
     if (FormManager.hlp.hlpRefresh("bsh003_sovm36"))
     {
         if (FormManager.hlp.scenarioId == 6)
         {
             FormManager.Init_e("MAH");
             FormManager.Init_e("OSC");
             FormManager.OSC.refresh(@"graph\step.txt");
             FormManager.MAH.TopMost = true;
             Top = 0;
             Left = 0;
             FormManager.MAH.Top = 0;
             FormManager.MAH.Left = Width + 10;
             FormManager.MAH.Activate();
             FormManager.hlp.hlpRefresh("");
         }
         else
         {
             var OSC = new Oscilloscope(@"graph\step.txt");
             OSC.Show();
         }
     }
 }