Exemple #1
0
        private IQ muc_OnRoomConfig(Room room, IQ parent)
        {
            muzzle.XDataForm form = new muzzle.XDataForm(parent);
            if (form.ShowDialog() != DialogResult.OK)
            {
                return(null);
            }

            return((IQ)form.GetResponse());
        }
Exemple #2
0
 private void jc_OnMessage(object sender, jabber.protocol.client.Message msg)
 {
     jabber.protocol.x.Data x = msg["x", URI.XDATA] as jabber.protocol.x.Data;
     if (x != null)
     {
         muzzle.XDataForm f = new muzzle.XDataForm(msg);
         f.ShowDialog(this);
         jc.Write(f.GetResponse());
     }
     else
     {
         MessageBox.Show(this, msg.Body, msg.From, MessageBoxButtons.OK);
     }
 }
Exemple #3
0
 private void jc_OnMessage(object sender, jabber.protocol.client.Message msg)
 {
     jabber.protocol.x.Data x = msg["x", URI.XDATA] as jabber.protocol.x.Data;
     if (x != null)
     {
         muzzle.XDataForm f = new muzzle.XDataForm(msg);
         f.ShowDialog(this);
         jc.Write(f.GetResponse());
     }
     else
         MessageBox.Show(this, msg.Body, msg.From, MessageBoxButtons.OK);
 }
Exemple #4
0
        private IQ muc_OnRoomConfig(Room room, IQ parent)
        {
            muzzle.XDataForm form = new muzzle.XDataForm(parent);
            if (form.ShowDialog() != DialogResult.OK)
                return null;

            return (IQ)form.GetResponse();
        }