public void DestroyPluginWindows(JinxBot.Plugins.UI.IProfileDocument profileDocument) { lock (m_forms) { foreach (string key in m_forms.Keys) { WhisperTab tab = m_forms[key]; tab.Close(); tab.Dispose(); } m_forms.Clear(); } }
public void DestroyPluginWindows(JinxBot.Plugins.UI.IProfileDocument profileDocument) { }
public void CreatePluginWindows(JinxBot.Plugins.UI.IProfileDocument profileDocument) { }
private void listBox1_FilteringItem(object sender, JinxBot.Views.Chat.ItemFilteringEventArgs e) { ChatUser user = e.Item as ChatUser; if (user.Username.IndexOf(e.Filter, StringComparison.CurrentCultureIgnoreCase) == -1) e.ShouldBeRemoved = true; }
public void DestroyPluginWindows(JinxBot.Plugins.UI.IProfileDocument profileDocument) { profileDocument.RemoveDocument(m_doc); profileDocument.RemoveToolWindow(m_replay); }
public void CreatePluginWindows(JinxBot.Plugins.UI.IProfileDocument profileDocument) { profileDocument.AddDocument(m_doc); profileDocument.AddToolWindow(m_replay); }
void attrib(out JinxBot.Controls.CSS.Attribute atb) { atb = new JinxBot.Controls.CSS.Attribute(); string quote = null; string ident = null; Expect(34); identity(out ident); atb.Operand = ident; if (StartOf(13)) { switch (la.kind) { case 35: { Get(); atb.Operator = AttributeOperator.Equals; break; } case 36: { Get(); atb.Operator = AttributeOperator.InList; break; } case 37: { Get(); atb.Operator = AttributeOperator.Hyphenated; break; } case 38: { Get(); atb.Operator = AttributeOperator.EndsWith; break; } case 39: { Get(); atb.Operator = AttributeOperator.BeginsWith; break; } case 40: { Get(); atb.Operator = AttributeOperator.Contains; break; } } if (StartOf(3)) { identity(out ident); atb.Value = ident; } else if (la.kind == 7 || la.kind == 8) { QuotedString(out quote); atb.Value = quote; } else SynErr(55); } Expect(41); }
public void CreatePluginWindows(JinxBot.Plugins.UI.IProfileDocument profileDocument) { // no windows necessary }