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();
     }
 }
Esempio n. 2
0
 public void DestroyPluginWindows(JinxBot.Plugins.UI.IProfileDocument profileDocument)
 {
 }
Esempio n. 3
0
 public void CreatePluginWindows(JinxBot.Plugins.UI.IProfileDocument profileDocument)
 {
 }
Esempio n. 4
0
 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;
 }
Esempio n. 5
0
 public void DestroyPluginWindows(JinxBot.Plugins.UI.IProfileDocument profileDocument)
 {
     profileDocument.RemoveDocument(m_doc);
     profileDocument.RemoveToolWindow(m_replay);
 }
Esempio n. 6
0
 public void CreatePluginWindows(JinxBot.Plugins.UI.IProfileDocument profileDocument)
 {
     profileDocument.AddDocument(m_doc);
     profileDocument.AddToolWindow(m_replay);
 }
Esempio n. 7
0
        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);
        }
Esempio n. 8
0
 public void CreatePluginWindows(JinxBot.Plugins.UI.IProfileDocument profileDocument)
 {
     // no windows necessary
 }