private void buttonSub_Click(object sender, EventArgs e) { var context = new PXTriggerContext { Id = "niubi", Key = "rss", Config = new Dictionary <string, string>() { { "Url", textBoxRssAddress.Text } } }; master.AddTrigger(context); }
public void AddTrigger(PXTriggerContext context) { var trigger = TriggerM.Add(context); TriggerM.Start(trigger); }
public RSS(PXTriggerContext context) : base(context) { }