Ejemplo n.º 1
0
        internal void AddCellLabel(Point position)
        {
            Index index = Index.GetCellCornerPoint((int)position.X, (int)position.Y, CaseWidth, CaseHeight);
            var   label = new CellLabelVM(this, index.X, index.Y);

            CellLabels.Add(label);
            LoggerController.Log($"Added Label to {index.X.ToString()}, {index.Y.ToString()}");
        }
Ejemplo n.º 2
0
 internal void RemoveLabel(CellLabelVM cellLabelVM)
 {
     CasesStatesOperations.RemoveLabel(cellLabelVM.Guid, _previousQueue, TabHeader);
     CellLabels.Remove(cellLabelVM);
 }