public void SetDefaultContextMenu()
{
ContextMenu.Clear();
ContextMenu_Animation.Clear();
ContextMenu.Add(new { name = "Close", func = MenuFuncs.CLOSE });
ContextMenu.Add(new { name = "-", func = "-" });
ContextMenu.Add(new { name = "Next Image", func = MenuFuncs.NEXT_IMAGE });
ContextMenu.Add(new { name = "Prev Image", func = MenuFuncs.PREV_IMAGE });
ContextMenu.Add("Sort by");
List<object> SubMenu_SortBy = new List<object>();
SubMenu_SortBy.Add(new { name = "Name", func = MenuFuncs.SORT_NAME });
SubMenu_SortBy.Add(new { name = "Date", func = MenuFuncs.SORT_DATE });
SubMenu_SortBy.Add(new { name = "Date modified", func = MenuFuncs.SORT_DATE_MODIFIED });
SubMenu_SortBy.Add(new { name = "Date created", func = MenuFuncs.SORT_DATE_CREATED });
SubMenu_SortBy.Add(new { name = "Size", func = MenuFuncs.SORT_SIZE });
SubMenu_SortBy.Add(new { name = "-", func = "-" });
SubMenu_SortBy.Add(new { name = "Ascending", func = MenuFuncs.SORT_ASCENDING });
SubMenu_SortBy.Add(new { name = "Descending", func = MenuFuncs.SORT_DESCENDING });
ContextMenu.Add(SubMenu_SortBy);
ContextMenu.Add(new { name = "-", func = "-" });
ContextMenu.Add(new { name = "Rotate Clockwise", func = MenuFuncs.ROTATE_CLOCKWISE });
ContextMenu.Add(new { name = "Rotate Anti-Clockwise", func = MenuFuncs.ROTATE_ANTICLOCKWISE });
ContextMenu.Add(new { name = "Flip", func = MenuFuncs.FLIP });
ContextMenu.Add(new { name = "Fit to monitor height", func = MenuFuncs.FIT_TO_HEIGHT });
ContextMenu.Add(new { name = "Fit to monitor width", func = MenuFuncs.FIT_TO_WIDTH });
ContextMenu.Add(new { name = "Reset Image", func = MenuFuncs.RESET_IMAGE });
ContextMenu.Add(new { name = "Smoothing", func = MenuFuncs.TOGGLE_SMOOTHING });
ContextMenu.Add(new { name = "Background", func = MenuFuncs.TOGGLE_BACKGROUND });
ContextMenu.Add(new { name = "Always on top", func = MenuFuncs.ALWAYS_ON_TOP });
ContextMenu.Add(new { name = "-", func = "-" });
ContextMenu.Add(new { name = "Open file location", func = MenuFuncs.OPEN_FILE_LOCATION });
ContextMenu.Add(new { name = "Copy", func = MenuFuncs.COPY });
ContextMenu.Add(new { name = "Copy as image", func = MenuFuncs.COPY_AS_IMAGE });
ContextMenu.Add(new { name = "Delete", func = MenuFuncs.DELETE });
ContextMenu.Add(new { name = "-", func = "-" });
ContextMenu.Add(new { name = "Settings", func = MenuFuncs.OPEN_SETTINGS });
ContextMenu.Add(new { name = "", func = MenuFuncs.VERSION_NAME });
ContextMenu_Animation.Add(new { name = "Next Frame", func = MenuFuncs.NEXT_FRAME });
ContextMenu_Animation.Add(new { name = "Prev Frame", func = MenuFuncs.PREV_FRAME });
ContextMenu_Animation.Add(new { name = "Pause/Play Animation", func = MenuFuncs.TOGGLE_ANIMATION });
ContextMenu_Animation.Add(new { name = "-", func = "-" });
}