void ShowFormSearch()
        {
            if (formSearch != null)
            {
                formSearch.Activate();
                return;
            }

            formSearch             = new VgcApis.WinForms.FormSearch(luaEditor);
            formSearch.FormClosed += (s, a) => formSearch = null;
        }
Exemple #2
0
        void ShowFormSearchHandler(object sender, EventArgs args)
        {
            if (formSearch != null)
            {
                formSearch.Activate();
                return;
            }

            formSearch             = VgcApis.WinForms.FormSearch.CreateForm(editor);
            formSearch.FormClosed += (s, a) => formSearch = null;
        }