void ReleaseDesignerOutlets() { if (SearchDirectoriesArrayController != null) { SearchDirectoriesArrayController.Dispose(); SearchDirectoriesArrayController = null; } }
void ReleaseDesignerOutlets() { if (BackupDirectoriesArrayController != null) { BackupDirectoriesArrayController.Dispose(); BackupDirectoriesArrayController = null; } }
void ReleaseDesignerOutlets() { if (SerialPortReadChunkSizesArrayController != null) { SerialPortReadChunkSizesArrayController.Dispose(); SerialPortReadChunkSizesArrayController = null; } }
private void observeValueForKeyPath(NSString keyPath, NSArrayController ofObject, NSDictionary change, IntPtr context) { Console.Write(String.Format("Table selection changed: keyPath = {0} : ", keyPath.ToString())); for (uint idx = 0; idx < ofObject.SelectionIndexes.Count; idx++) { Console.Write(ofObject.SelectionIndexes.IndexGreaterThanOrEqual(idx) + " "); } Console.WriteLine(); }
void ReleaseDesignerOutlets() { if (DisplayResolutionsArrayController != null) { DisplayResolutionsArrayController.Dispose(); DisplayResolutionsArrayController = null; } if (JzIntvDisplayModesController != null) { JzIntvDisplayModesController.Dispose(); JzIntvDisplayModesController = null; } }
private void observeValueForKeyPath(NSString keyPath, NSArrayController ofObject, NSDictionary change, IntPtr context) { Console.Write(String.Format("Table selection changed: keyPath = {0} : ", keyPath.ToString())); for(uint idx = 0; idx < ofObject.SelectionIndexes.Count; idx++) { Console.Write(ofObject.SelectionIndexes.IndexGreaterThanOrEqual(idx) + " "); } Console.WriteLine(); }
/// <summary> /// Initializes a new instance of the /// <see cref="INTV.Shared.View.SerialPortSelectorController+SerialPortsListTableViewDelegate"/> class. /// </summary> /// <param name="dataContext">The data context.</param> /// <param name="ports">The ports that can be selected.</param> internal SerialPortsListTableViewDelegate(SerialPortSelectorViewModel dataContext, NSArrayController ports) { DataContext = dataContext; Ports = ports; }
/// <summary> /// Initializes a new instance of the RomListTableViewDelegate type. /// </summary> /// <param name="programs">Array controller for the program list.</param> /// <param name="viewModel">The data context to use.</param> internal RomListTableViewDelegate(NSArrayController programs, RomListViewModel viewModel) { Programs = programs; ViewModel = viewModel; }
/// <summary> /// Initializes a new instance of the RomListDataSource type. /// </summary> /// <param name="romListArrayController">The array controller for the list of ROMs</param> public RomListDataSource(NSArrayController romListArrayController) { RomListData = romListArrayController; }