private void ShowInputs(DestinationListItem dli, IDestinationHandler handler) { this.panelBonjour.Visible = false; this.panelDetails.Visible = true; DestinationSettingsPanel panel = handler.GetSettingsPanel(this.dbEdit); this.settingsPanel = panel; panel.ValidChanged += new DestinationSettingsPanel.ValidChangedEventHandler(panel_ValidChanged); this.panelDetails.Controls.Add(panel); panel.Visible = true; panel.Initialize(this.isSubscription, dli, this.dbEdit); this.buttonSave.Visible = true; }
void dli_Selected(object sender, EventArgs e) { DestinationListItem dli = (DestinationListItem)sender; ShowInputs(dli); }
public Growl.Destinations.DestinationSettingsPanel GetSettingsPanel(DestinationListItem fdli) { return(new Growl.UI.ProwlForwardInputs()); }
public Growl.UI.DestinationSettingsPanel GetSettingsPanel(DestinationListItem fdli) { return new Growl.UI.RssSubscriptionInputs(); }
public DestinationSettingsPanel GetSettingsPanel(DestinationListItem dbli) { return(new Growl.UI.ToastyForwardInputs()); }
public Growl.UI.DestinationSettingsPanel GetSettingsPanel(DestinationListItem fdli) { return(new Growl.UI.RssSubscriptionInputs()); }
private void ShowInputs(DestinationListItem dli) { ShowInputs(dli, dli.Handler); }