Example #1
0
        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");
            }
        }
Example #2
0
 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");
     }
 }
Example #3
0
 protected virtual void EmitDrop()
 {
     Dataphoria.EvaluateAndEdit(GetScriptDropExpression(), "d4");
 }
Example #4
0
 protected virtual void EmitCreate()
 {
     Dataphoria.EvaluateAndEdit(String.Format(".System.Script('{0}')", ObjectName), "d4");
 }
Example #5
0
 private void EmitDropLibraryScriptClicked(object sender, EventArgs args)
 {
     Dataphoria.EvaluateAndEdit(String.Format("ScriptDropLibrary('{0}')", LibraryName), "d4");
 }
Example #6
0
 private void EmitCreateScriptClicked(object sender, EventArgs args)
 {
     Dataphoria.EvaluateAndEdit(String.Format(".Frontend.ScriptApplication('{0}')", _iD), "d4");
 }