partial void mnuService_Click(NSObject sender) { PortEntry row = GetSelectedRow(); if (row != null) { W.CopyString(row.Service); } }
partial void mnuCopyData_Click(NSObject sender) { PortEntry row = GetSelectedRow(); if (row != null) { W.CopyString(row.Data); } }
public PortEntry GetRow(nint index) { PortEntry row = new PortEntry(); row.Port = DataSource.Ports[(int)index].Port; row.Service = DataSource.Ports[(int)index].Service; row.Data = DataSource.Ports[(int)index].Data; return(row); }
partial void mnuViewData_Click(NSObject sender) { PortEntry row = GetSelectedRow(); if (row != null) { DataViewerWindowController dataView = new DataViewerWindowController(HostInfo, row); dataView.ShowWindow(this); } }
partial void mnyRow_Click(NSObject sender) { PortEntry row = GetSelectedRow(); if (row != null) { string delim = GetDelimiter(); W.CopyString( row.Port + delim + row.Service + delim + row.Data); } }
public DataViewerWindowController(AddressEntry host, PortEntry row) : base("DataViewerWindow") { portData = row.Data; ipAddress = host.Address; ipPort = row.Port; }