public void Stop() { if (app != null) { app.closeFile(); app = null; } }
public bool Start(bool usePCTime) { if ((app = new APEX.Application()) == null) { return(false); } app.Visible = 0; app.UsePCTime = usePCTime ? 1 : 0; return(true); }