private void ScriptChangesClicked(object sender, EventArgs args) { string catalogDirectory = FolderUtility.GetDirectory(String.Empty); using (Frontend.Client.Windows.StatusForm statusForm = new Frontend.Client.Windows.StatusForm(Strings.ComparingSchema)) { Dataphoria.EvaluateAndEdit(String.Format(".System.ScriptLibraryChanges('{0}', '{1}')", catalogDirectory.Replace("'", "''"), LibraryName), "d4"); } }
private void ViewLogClicked(object sender, EventArgs args) { using (Frontend.Client.Windows.IWindowsFormInterface form = (Frontend.Client.Windows.IWindowsFormInterface)Dataphoria.FrontendSession.CreateForm()) { Dataphoria.FrontendSession.CreateHost().Load("Derive('System.ListLogs', 'List')", form); form.HostNode.Open(); form.ShowModal(Frontend.Client.FormMode.None); Dataphoria.EvaluateAndEdit("ShowLog(" + form.MainSource["Sequence"].AsString + ")", "txt"); } }
protected virtual void EmitDrop() { Dataphoria.EvaluateAndEdit(GetScriptDropExpression(), "d4"); }
protected virtual void EmitCreate() { Dataphoria.EvaluateAndEdit(String.Format(".System.Script('{0}')", ObjectName), "d4"); }
private void EmitDropLibraryScriptClicked(object sender, EventArgs args) { Dataphoria.EvaluateAndEdit(String.Format("ScriptDropLibrary('{0}')", LibraryName), "d4"); }
private void EmitCreateScriptClicked(object sender, EventArgs args) { Dataphoria.EvaluateAndEdit(String.Format(".Frontend.ScriptApplication('{0}')", _iD), "d4"); }