Exemplo n.º 1
0
        private void InfiniumTilesContainer_RightMouseClicked(object sender, string FormName)
        {
            CurFormName = FormName;

            if (InfiniumStartMenu.Selected == 0)
            {
                MenuRemoveFromFavorite.Visible = true;
                MenuAddToFavorite.Visible      = false;
            }
            else
            {
                MenuRemoveFromFavorite.Visible = false;
                MenuAddToFavorite.Visible      = true;
            }

            TileContextMenu.Show(InfiniumTilesContainer);
        }
Exemplo n.º 2
0
        private void MapView_TileContext(object sender, EventArgs e)
        {
            Point mouse = MapView.PointToClient(Cursor.Position);

            TileContextMenu.Show(MapView, mouse);
        }