public void FrameStep(object sender) { if (parent.GetsUpdated) { int state = Sim_INF_DLL.GetWireState(WireID); memorycounter = (memorycounter + 1) % 1000; values[memorycounter] = state; } }
public void ReloadComponentBox(object sender) { ChangedUpdate2True(); CompLibrary.ReloadComponentData(); UI_Handler.InitComponents(); string[] libfiles = (from s in CompLibrary.AllUsedLibraries select s.SaveFile).ToArray(); Sim_INF_DLL.LoadLibrarys(libfiles); //Sim_INF_DLL.GenerateDllCodeAndCompile(); }