protected void DeriveClicked(object sender, EventArgs args) { Frontend.Client.Windows.Session session = Dataphoria.GetLiveDesignableFrontendSession(); try { session.SetFormDesigner(); Frontend.Client.Windows.IWindowsFormInterface form = session.LoadForm(null, ".Frontend.Form('.Frontend', 'DerivedFormLauncher')"); try { ((Frontend.Client.ISource)form.FindNode("Main")).DataView.Fields["Query"].AsString = ObjectName; form.Show(); } catch { form.HostNode.Dispose(); throw; } } catch { session.Dispose(); throw; } }
protected void ManageUsersClicked(object ASender, EventArgs AArgs) { Frontend.Client.Windows.IWindowsFormInterface LForm = Dataphoria.FrontendSession.LoadForm(null, "Form('Security', 'UserBrowse')"); LForm.Show(); }
protected void ManageUsersClicked(object sender, EventArgs args) { Dataphoria.EnsureSecurityRegistered(); Frontend.Client.Windows.IWindowsFormInterface form = Dataphoria.FrontendSession.LoadForm(null, "Form('Security', 'UserBrowse')"); form.Show(); }