Esempio n. 1
0
 public override void Run()
 {
     KMsgBox msgbox = new KMsgBox(m_userName + " would like you to create a new " + Base.GetKwsString() + " concerning " +
                                    m_subject + ".\nTo create it, go to your " + Base.GetKwmString() + " and click on the New Teambox button.",
                                  "Attachment Management",
                                  KMsgBoxButton.OK,
                                  MessageBoxIcon.Information);
     msgbox.Show();
 }
Esempio n. 2
0
 public override void Run()
 {
     KMsgBox msgbox = new KMsgBox(m_userName + " would like to chat with you concerning " + m_subject + ".\n",
                                  "Attachment Management",
                                  KMsgBoxButton.OKCancel,
                                  MessageBoxIcon.Question,
                                  (int)m_timeout);
     if (msgbox.Show() == KMsgBoxResult.OK)
     {
         AnpMsg cmd = m_helper.NewKAnpCmd(KAnpType.KANP_CMD_PB_ACCEPT_CHAT);
         cmd.AddUInt64(m_reqID);
         cmd.AddUInt32(m_userID);
         cmd.AddUInt32(m_userID);
         m_app.PostKasQuery(cmd, null, HandleAcceptChatReply);
     }
 }