Ejemplo n.º 1
0
 public string ShowLuaEditor(string strCode)
 {
     if(luaForm == null) luaForm = new luaEditorForm();
     luaForm.StrCode = strCode;
     if ( luaForm.ShowDialog() == DialogResult.OK)
         return luaForm.StrCode;
     return strCode;
 }
Ejemplo n.º 2
0
 public string ShowLuaEditor(string strCode)
 {
     if (luaForm == null)
     {
         luaForm = new luaEditorForm();
     }
     luaForm.StrCode = strCode;
     if (luaForm.ShowDialog() == DialogResult.OK)
     {
         return(luaForm.StrCode);
     }
     return(strCode);
 }