private void StartClicked(object sender, EventArgs args) { Frontend.Client.Windows.Session session = Dataphoria.GetLiveDesignableFrontendSession(); try { session.SetLibrary(LibraryName); session.StartCallback(GetDocumentExpression(), null); } catch { session.Dispose(); throw; } }
protected void BrowseClicked(object sender, EventArgs args) { Frontend.Client.Windows.Session session = Dataphoria.GetLiveDesignableFrontendSession(); try { session.SetFormDesigner(); session.StartCallback(String.Format(".Frontend.Derive('{0}', 'Browse')", ObjectName), null); } catch { session.Dispose(); throw; } }
private void StartClicked(object sender, EventArgs args) { Frontend.Client.Windows.Session session = Dataphoria.GetLiveDesignableFrontendSession(); try { session.StartCallback(session.SetApplication(_iD), null); } catch { session.Dispose(); throw; } Dataphoria.RefreshLibraries(); }