public JsonResult RemoveLine(String SourceFile, String LineName)
        {
            GoldVisionDataAccess gv = new GoldVisionDataAccess();

            gv.RemoveLineFromOverlay(SourceFile, LineName);

            JsonResult result = new JsonResult();

            result.Data = new { success = true };
            return(result);
        }
Exemple #2
0
        private void removeOverlayItem_Click(object sender, EventArgs e)
        {
            GoldVisionDataAccess da = new GoldVisionDataAccess();

            da.RemoveLineFromOverlay("menueditor", txtOverlayItemToRemove.Text);
        }