Esempio n. 1
0
 private void MainContentWindow_CellSelected(object sender, CellSelectedEventArgs e)
 {
     if (m_droppingItem)
     {
         MainContentWindow.AddItem(m_ItemToBeDropped, e.SelectedCell);
         m_ItemToBeDropped = null;
         m_ControlPanel.ListViewItems.ClearActiveItem();
         m_droppingItem = false;
     }
     else if (m_removingItem)
     {
         MainContentWindow.RemoveItem(e.SelectedCell);
         m_removingItem = false;
     }
     else if (m_addingMask)
     {
         m_NewMask.AddCellToMask(e.SelectedCell);
         m_ControlPanel.MaskedCells.Text     = m_NewMask.MaskText;
         MainContentWindow.IsCellSelectionOn = true;
         MainContentWindow.Invalidate();
     }
 }
Esempio n. 2
0
 public ActiveItemChangedEventArgs(GifImage image)
 {
     m_image = image;
 }