public override void create()
        {
            var title = "O2 REPL Script Editor - with Panel";

            this.ButtonText = title;
            this.ToolTip    = "Opens the O2 Script GUI (with a top panel)";
            this.TargetMenu = "O2 Platform";
            base.create();
            this.Execute = () =>
            {
                var o2Script = "ascx_Quick_Development_GUI.cs.o2";
                var type     = "ascx_Panel_With_Inspector";
                O2AddIn.add_WinForm_Control_from_O2Script(title, o2Script, type, 500, 300);
            };
        }
예제 #2
0
        public override void create()
        {
            this.ButtonText = "O2 Script Gui";
            this.ToolTip    = "Opens the O2 Script GUI";
            this.TargetMenu = "O2 Platform";
            base.create();

            this.Execute = () =>
            {
                var title    = "O2 Simple Script Editor";
                var o2Script = "ascx_Simple_Script_Editor.cs.o2";
                var type     = "ascx_Simple_Script_Editor";
                O2AddIn.add_WinForm_Control_from_O2Script(title, o2Script, type, 500, 300);
            };
        }
예제 #3
0
        public override void create()
        {
            this.ButtonText = "O2 REPL Script Editor";
            this.ToolTip    = "Opens the O2 Script GUI";
            this.TargetMenu = "O2 Platform";
            base.create();

            this.Execute = () =>
            {
                var title = "O2 REPL Script Editor (Read-Eval-Print-Loop)";
                //var o2Script = "ascx_Simple_Script_Editor.cs.o2";
                //var type	 = "ascx_Simple_Script_Editor";
                //O2AddIn.add_WinForm_Control_from_O2Script(title, o2Script, type, 500,300);
                O2AddIn.add_WinForm_Panel(title, 500, 300).add_Script();
            };
        }