Beispiel #1
0
 private void frmCR2WDocument_OnSelectChunk(object sender, SelectChunkArgs e)
 {
     // Update Selected Chunk in the ViewModel
     vm.SelectedChunks = new List <CR2WExportWrapper>()
     {
         e.Chunk
     };
 }
Beispiel #2
0
        public void frmCR2WDocument_OnSelectChunk(object sender, SelectChunkArgs e)
        {
            if (propertyWindow == null || propertyWindow.IsDisposed)
            {
                propertyWindow = new frmChunkProperties();
                propertyWindow.Show(dockPanel, DockState.DockBottom);
            }

            propertyWindow.Chunk = e.Chunk;
        }
 private void editor_OnSelectChunk(object sender, SelectChunkArgs e)
 {
     OnSelectChunk?.Invoke(sender, e);
 }