public FChannel(FSocketInConfiguration frm, XCollection <SocketInChannel> channels) { InitializeComponent(); parentForm = frm; channelSet = channels; type = "Add"; channel = new SocketInChannel(); criteriaList = new XCollection <SocketInQueryCriteriaItem>(); resultList = new XCollection <SocketInQueryResultItem>(); this.Text = "Add Channel"; GetChannelNameSet(channels); }
public FLUTable(FSocketInConfiguration frm, XCollection <LookupTable> tables) { InitializeComponent(); parentForm = frm; this.tableSet = tables; type = "Add"; table = new LookupTable(); LUItemList = new XCollection <LookupItem>(); this.Text = "Add Translation Table"; GetTableNameSet(tables); lblNo.Text = "0 item(s)"; }
public FLUTable(FSocketInConfiguration frm, XCollection <LookupTable> tables, int index) { InitializeComponent(); this.parentForm = frm; this.tableSet = tables; this.type = "Edit"; this.table = tables[index]; tableIndex = index; this.LUItemList = tables[index].Table; this.Text = "Edit Translation Table"; GetTableNameSet(tables); ShowTable(); }
public FChannel(FSocketInConfiguration frm, XCollection <SocketInChannel> channels, int index) { InitializeComponent(); parentForm = frm; channelSet = channels; type = "Edit"; channel = channels[index]; channelIndex = index; criteriaList = channel.Rule.QueryCriteria.MappingList; resultList = channel.Rule.QueryResult.MappingList; this.Text = "Edit Channel"; GetChannelNameSet(channels); ShowChannel(); }
/// <summary> /// Copy Channel /// </summary> /// <param name="frm"></param> /// <param name="channels"></param> /// <param name="copyChannel"></param> public FChannel(FSocketInConfiguration frm, XCollection <SocketInChannel> channels, SocketInChannel copyChannel) { InitializeComponent(); parentForm = frm; channelSet = channels; type = "Add"; channel = copyChannel; criteriaList = channel.Rule.QueryCriteria.MappingList; resultList = channel.Rule.QueryResult.MappingList; this.Text = "Add Channel"; GetChannelNameSet(channels); ShowChannel(); }