亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? groupsmsform.cs

?? 飛信的收發(fā)使用csharp進(jìn)行開(kāi)發(fā)
?? CS
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
?namespace Imps.Client.Pc
{
    using Imps.Client;
    using Imps.Client.Core;
    using Imps.Client.Pc.BizControls;
    using Imps.Client.Pc.BizControls.Conversation;
    using Imps.Client.Pc.Controls;
    using Imps.Client.Resource;
    using Imps.Client.Utils;
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Drawing;
    using System.Windows.Forms;

    public class GroupSMSForm : XIMDialog
    {
        private int _alreadySendCount;
        private SendSMSItem _currentSendingItem;
        private IFrameworkWindow _frameworkWin;
        private GroupSMSFailedForm _groupSMSFailedForm;
        private ChatEditCtrlManager _historyChatManager;
        private bool _sendFrequent;
        private Queue<SendSMSItem> _stackSMSItems;
        private XButton btnAddMyMobileNo;
        private XButton btnCancel;
        private SendMessageButton btnSend;
        private IContainer components;
        private InviteControl inviteControl;
        private HtmlLabel lblInputInfo;
        private Label lblSendInfo;
        private bool m_fIsProcessKey;
        private menu_widget menuSendType;
        private AsyncBizOperation op;
        private Panel panel1;
        private Panel panel2;
        private Panel panel3;
        private Panel panel4;
        private Panel plInviteContacts;
        private Panel pnlMain;
        private bool sending;
        private SplitContainer splitContainer1;
        private ToolStripMenuItem tsSendCtrlEnter;
        private ToolStripMenuItem tsSendEnter;
        private ChatRichTextBox txtHistory;
        private TextBox txtSendContent;

        public GroupSMSForm(IFrameworkWindow frameworkWin) : this(frameworkWin, null)
        {
        }

        public GroupSMSForm(IFrameworkWindow frameworkWin, List<Imps.Client.Core.Contact> list)
        {
            EventHandler<SplitterEventArgs> handler = null;
            EventHandler handler2 = null;
            EventHandler handler3 = null;
            this._stackSMSItems = new Queue<SendSMSItem>();
            this.InitializeComponent();
            this._frameworkWin = frameworkWin;
            this.initComponentRegion();
            try
            {
                this.inviteControl = new InviteControl(frameworkWin, list);
                this.inviteControl.Message = StringTable.Conversation.MsgSelectSMSContacts;
                this.inviteControl.MaxSelectedCount = this.CurrentUser.Configuration.SystemSetting.SysSmsSetting.MaxFriendsNumBatchSms;
                this.inviteControl.OnlyShowOnline = false;
                this.inviteControl.ShowSMSOnline = true;
                this.inviteControl.ShowGroup = true;
                this.inviteControl.ShowSelf = true;
                this.inviteControl.ShowMobileBuddy = true;
                this.inviteControl.ShowSMSOffline = false;
                this.inviteControl.Dock = DockStyle.Fill;
                this.inviteControl.MessageLabelHeight = 20;
                this.plInviteContacts.Controls.Add(this.inviteControl);
                if (handler == null)
                {
                    handler = delegate {
                        this.txtSendContent.Focus();
                    };
                }
                this.inviteControl.SplitterMoved += handler;
                if (handler2 == null)
                {
                    handler2 = delegate {
                        this.txtSendContent.Focus();
                    };
                }
                base.Shown += handler2;
                if (handler3 == null)
                {
                    handler3 = delegate {
                        this.txtSendContent.Focus();
                    };
                }
                base.Activated += handler3;
                this.lblInputInfo.Text = string.Format(StringTable.Conversation.MsgSMSInputInfo, this.MaxInputLength.ToString());
                base.ShowIcon = true;
                base.Icon = ImpsIcons.Logo;
                this.btnSend.Disabled = true;
                this.CurrentUser.StatusChanged += new EventHandler<UserSatusChangedEventArgs>(this.CurrentUser_StatusChanged);
                this.btnSend.ToolTipText = StringTable.Conversation.MsgSendMessageTip;
                ControlHelper.ForceControlImeHangul(this.txtSendContent);
            }
            catch (Exception exception)
            {
                ClientLogger.WriteException(exception);
            }
            this._historyChatManager = new ChatEditCtrlManager(this.txtHistory, true);
            this._historyChatManager.LinkButtonClick += new ChatEditClickEventHandler(this._historyChatManager_LinkButtonClick);
            this._historyChatManager.DefaultTextFont = this.CurrentUser.Configuration.UserSetting.ConversationSetting.DefaultFont;
            this._historyChatManager.SelectionFont = this.CurrentUser.Configuration.UserSetting.ConversationSetting.DefaultFont;
            this._historyChatManager.ForeColor = SystemColors.ControlText;
        }

        private int _historyChatManager_LinkButtonClick(object sender, ChatEditClickEventArgs e)
        {
            try
            {
                if ((e.EventType == ChatEditEventType.LinkButton) && (e.Command == "frequent"))
                {
                    if (this._groupSMSFailedForm == null)
                    {
                        if (this._currentSendingItem != null)
                        {
                            this._stackSMSItems.Enqueue(this._currentSendingItem);
                        }
                        this._groupSMSFailedForm = new GroupSMSFailedForm(this._stackSMSItems);
                    }
                    this._groupSMSFailedForm.Location = base.Location;
                    this._groupSMSFailedForm.Show();
                }
            }
            catch
            {
            }
            return 1;
        }

        private void btnAddMyMobileNo_Click(object sender, EventArgs e)
        {
            if (((this.txtSendContent.Text.Length + 11) + 2) > this.MaxInputLength)
            {
                this._frameworkWin.UnifiedMessageBox.ShowInfo(string.Format("您一條信息最多只能輸入{0}個(gè)字符", this.MaxInputLength));
            }
            else
            {
                this.txtSendContent.SelectionStart = this.txtSendContent.Text.Length;
                if (string.IsNullOrEmpty(this.CurrentUser.MobileNo))
                {
                    ClientLogger.WriteGeneral("群發(fā)短信的時(shí)候,嘗試加入手機(jī)號(hào)失敗,MobileNo屬性為空!");
                }
                if (this.txtSendContent.Text != "")
                {
                    this.txtSendContent.AppendText("\r\n" + this.CurrentUser.MobileNo);
                }
                else
                {
                    this.txtSendContent.AppendText(this.CurrentUser.MobileNo);
                }
            }
        }

        private void btnCancel_Click(object sender, EventArgs e)
        {
            base.Close();
        }

        private void btnSend_Click(object sender, EventArgs e)
        {
            this.SendSMS();
        }

        private void CurrentUser_StatusChanged(object sender, UserSatusChangedEventArgs e)
        {
            if ((e.NewStatus == UserAccountStatus.Logoff) || (e.NewStatus == UserAccountStatus.Disconnected))
            {
                base.Close();
            }
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void FormatSendInfo()
        {
            this.lblSendInfo.Text = string.Format(StringTable.Conversation.MsgAlreadySends, this._alreadySendCount);
        }

        private void InitializeComponent()
        {
            this.components = new Container();
            ComponentResourceManager manager = new ComponentResourceManager(typeof(GroupSMSForm));
            this.plInviteContacts = new Panel();
            this.panel2 = new Panel();
            this.splitContainer1 = new SplitContainer();
            this.panel1 = new Panel();
            this.txtHistory = new ChatRichTextBox();
            this.lblSendInfo = new Label();
            this.lblInputInfo = new HtmlLabel();
            this.panel3 = new Panel();
            this.panel4 = new Panel();
            this.txtSendContent = new TextBox();
            this.btnSend = new SendMessageButton();
            this.menuSendType = new menu_widget(this.components);
            this.tsSendEnter = new ToolStripMenuItem();
            this.tsSendCtrlEnter = new ToolStripMenuItem();
            this.btnCancel = new XButton();
            this.btnAddMyMobileNo = new XButton();
            this.pnlMain = new Panel();
            this.panel2.SuspendLayout();
            this.splitContainer1.Panel1.SuspendLayout();
            this.splitContainer1.Panel2.SuspendLayout();
            this.splitContainer1.SuspendLayout();
            this.panel1.SuspendLayout();
            this.panel3.SuspendLayout();
            this.panel4.SuspendLayout();
            this.menuSendType.SuspendLayout();
            this.pnlMain.SuspendLayout();
            base.SuspendLayout();
            base.menubar.Location = new Point(3, 30);
            this.plInviteContacts.Anchor = AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
            this.plInviteContacts.Location = new Point(4, 10);
            this.plInviteContacts.Name = "plInviteContacts";
            this.plInviteContacts.Size = new Size(0xf3, 0x1c0);
            this.plInviteContacts.TabIndex = 0;
            this.panel2.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
            this.panel2.Controls.Add(this.splitContainer1);
            this.panel2.Location = new Point(0xfb, 0x11);
            this.panel2.Name = "panel2";
            this.panel2.RightToLeft = RightToLeft.No;
            this.panel2.Size = new Size(0x16c, 440);
            this.panel2.TabIndex = 2;
            this.splitContainer1.Dock = DockStyle.Fill;
            this.splitContainer1.IsSplitterFixed = true;
            this.splitContainer1.Location = new Point(0, 0);
            this.splitContainer1.Name = "splitContainer1";
            this.splitContainer1.Orientation = Orientation.Horizontal;
            this.splitContainer1.Panel1.Controls.Add(this.panel1);
            this.splitContainer1.Panel1.Controls.Add(this.lblSendInfo);
            this.splitContainer1.Panel1.RightToLeft = RightToLeft.No;
            this.splitContainer1.Panel1MinSize = 120;
            this.splitContainer1.Panel2.Controls.Add(this.lblInputInfo);
            this.splitContainer1.Panel2.Controls.Add(this.panel3);
            this.splitContainer1.Panel2.RightToLeft = RightToLeft.No;
            this.splitContainer1.RightToLeft = RightToLeft.No;
            this.splitContainer1.Size = new Size(0x16c, 440);
            this.splitContainer1.SplitterDistance = 330;
            this.splitContainer1.TabIndex = 0;
            this.splitContainer1.TabStop = false;
            this.splitContainer1.SplitterMoved += new SplitterEventHandler(this.splitContainer1_SplitterMoved);
            this.panel1.BackColor = Color.FromArgb(0xa4, 170, 220);
            this.panel1.Controls.Add(this.txtHistory);
            this.panel1.Dock = DockStyle.Fill;
            this.panel1.Location = new Point(0, 13);
            this.panel1.Name = "panel1";
            this.panel1.Padding = new Padding(1);
            this.panel1.Size = new Size(0x16c, 0x13d);
            this.panel1.TabIndex = 1;
            this.txtHistory.BackColor = Color.White;
            this.txtHistory.BorderColor = Color.Empty;
            this.txtHistory.BorderStyle = BorderStyle.None;
            this.txtHistory.Dock = DockStyle.Fill;
            this.txtHistory.Location = new Point(1, 1);
            this.txtHistory.MinimumSize = new Size(4, 100);
            this.txtHistory.Name = "txtHistory";
            this.txtHistory.ReadOnly = true;
            this.txtHistory.RightToLeft = RightToLeft.No;
            this.txtHistory.ScrollBars = RichTextBoxScrollBars.Vertical;
            this.txtHistory.Size = new Size(0x16a, 0x13b);
            this.txtHistory.TabIndex = 4;
            this.txtHistory.TabStop = false;
            this.txtHistory.Text = "";
            this.txtHistory.KeyDown += new KeyEventHandler(this.txtHistory_KeyDown);
            this.lblSendInfo.AutoSize = true;
            this.lblSendInfo.Dock = DockStyle.Top;
            this.lblSendInfo.ForeColor = Color.MediumBlue;
            this.lblSendInfo.Location = new Point(0, 0);
            this.lblSendInfo.Name = "lblSendInfo";
            this.lblSendInfo.Size = new Size(0x9c, 13);
            this.lblSendInfo.TabIndex = 0;
            this.lblSendInfo.Text = "您已經(jīng)發(fā)送短信{0}條,如下:";
            this.lblInputInfo.ForeColor = Color.MediumBlue;
            this.lblInputInfo.LinkColor = Color.Blue;
            this.lblInputInfo.Location = new Point(0, 0);
            this.lblInputInfo.Name = "label1";
            this.lblInputInfo.ShowBackgroundImage = false;
            this.lblInputInfo.Size = new Size(0xce, 15);
            this.lblInputInfo.TabIndex = 8;
            this.lblInputInfo.Text = "123";
            this.panel3.BackColor = Color.FromArgb(0xa4, 170, 220);
            this.panel3.Controls.Add(this.panel4);
            this.panel3.Dock = DockStyle.Bottom;
            this.panel3.Location = new Point(0, 0x1b);
            this.panel3.Name = "panel3";
            this.panel3.Padding = new Padding(1);
            this.panel3.Size = new Size(0x16c, 0x4f);
            this.panel3.TabIndex = 7;
            this.panel4.BackColor = Color.White;
            this.panel4.Controls.Add(this.txtSendContent);
            this.panel4.Dock = DockStyle.Fill;
            this.panel4.Location = new Point(1, 1);
            this.panel4.Name = "panel4";
            this.panel4.Padding = new Padding(4, 4, 1, 1);
            this.panel4.Size = new Size(0x16a, 0x4d);
            this.panel4.TabIndex = 0;
            this.txtSendContent.BackColor = Color.White;
            this.txtSendContent.BorderStyle = BorderStyle.None;
            this.txtSendContent.Dock = DockStyle.Fill;
            this.txtSendContent.Location = new Point(4, 4);
            this.txtSendContent.MinimumSize = new Size(2, 40);
            this.txtSendContent.Multiline = true;
            this.txtSendContent.Name = "txtSendContent";
            this.txtSendContent.RightToLeft = RightToLeft.No;
            this.txtSendContent.ScrollBars = ScrollBars.Vertical;
            this.txtSendContent.Size = new Size(0x165, 0x48);
            this.txtSendContent.TabIndex = 0;
            this.txtSendContent.TextChanged += new EventHandler(this.txtSendContent_TextChanged);
            this.txtSendContent.KeyDown += new KeyEventHandler(this.txtSendContent_KeyDown);

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品系列免费在线观看| 一区二区三区自拍| 91丨九色porny丨蝌蚪| 日日摸夜夜添夜夜添精品视频| 2019国产精品| 欧美色图在线观看| yourporn久久国产精品| 久久99精品国产.久久久久| 亚洲激情自拍偷拍| 中文字幕一区二区三区在线观看 | 精品一区二区免费在线观看| 一区二区三区免费看视频| 水野朝阳av一区二区三区| 处破女av一区二区| 麻豆精品国产传媒mv男同 | 国产亚洲欧美日韩在线一区| 91精品国产综合久久久久久久| 99视频在线观看一区三区| 成人黄色片在线观看| 国产成人亚洲精品青草天美| 韩国一区二区三区| 韩国在线一区二区| 国产精品一区二区无线| 狠狠色丁香久久婷婷综合_中| 日韩高清中文字幕一区| 免费成人av在线播放| 蜜臀av一级做a爰片久久| 日产精品久久久久久久性色| 日本不卡一区二区三区| 另类小说综合欧美亚洲| 国产一区二区三区四区五区美女 | 精品少妇一区二区三区免费观看| 欧美一级二级三级乱码| 日韩欧美国产综合一区 | 麻豆国产91在线播放| 国产一区二区主播在线| 99热精品一区二区| 欧美三区在线观看| 久久久亚洲高清| 最新中文字幕一区二区三区| 亚州成人在线电影| 国产麻豆精品在线观看| 99久久综合色| 制服丝袜亚洲播放| 中文字幕乱码日本亚洲一区二区| 有坂深雪av一区二区精品| 免费看欧美女人艹b| 99国产精品久久| 欧美成人一区二区| 亚洲美女淫视频| 国产在线视频一区二区| 色老汉av一区二区三区| 精品国产精品网麻豆系列| 一区二区三区中文在线观看| 激情偷乱视频一区二区三区| 欧美体内she精高潮| 久久久91精品国产一区二区精品| 亚洲精品videosex极品| 丁香桃色午夜亚洲一区二区三区| 欧美中文字幕一区二区三区| 久久久亚洲欧洲日产国码αv| 亚洲成人资源网| 欧美视频一区二区| 亚洲一级片在线观看| 91小视频在线观看| 亚洲视频一二区| aaa国产一区| 亚洲激情网站免费观看| 99久久精品一区二区| 国产日韩精品一区二区三区| 久久不见久久见中文字幕免费| 欧美偷拍一区二区| 一区二区三区日韩欧美精品| 国产成人午夜精品影院观看视频 | 欧美在线观看18| 一区二区三区在线免费观看| 色妹子一区二区| 亚洲午夜av在线| 日韩欧美中文字幕制服| 蜜臀av国产精品久久久久| 91精品国产手机| 美女一区二区在线观看| 久久综合网色—综合色88| 国产一区二区三区免费看| 久久久国产精华| 99久久久无码国产精品| 日本一道高清亚洲日美韩| 国产成人精品一区二| 亚洲天堂成人网| 欧美高清视频在线高清观看mv色露露十八| 亚洲福利视频一区| 久久久久久久久久美女| 97成人超碰视| 精品一区二区三区香蕉蜜桃| 国产欧美日韩综合精品一区二区| 99久久婷婷国产| 麻豆精品国产传媒mv男同| 精品成人免费观看| 欧美探花视频资源| 久久激五月天综合精品| 中文字幕在线一区免费| 日韩亚洲欧美在线| 色综合久久久久综合| 国产高清不卡一区| 日韩一区欧美二区| 亚洲女与黑人做爰| 国产欧美一区二区三区在线看蜜臀| 欧美亚洲国产一卡| 国产精品一区二区在线观看网站| 亚洲综合一二区| 中文字幕在线不卡| 久久久久久免费| 精品国精品自拍自在线| 欧美精品日韩一区| 91福利在线播放| 91天堂素人约啪| 99re热这里只有精品免费视频| 国产高清在线观看免费不卡| 激情国产一区二区| 激情图片小说一区| 久久99精品久久久久久久久久久久| 亚洲国产欧美在线| 一区二区三区在线免费视频| 亚洲伦在线观看| 一区二区三区在线观看国产| 亚洲人成网站在线| 亚洲免费av高清| 亚洲自拍偷拍网站| 亚洲国产精品久久人人爱| 亚洲一区二区精品3399| 亚洲成av人片在线| 久久精品国产99久久6| 日韩av一二三| 国产69精品久久99不卡| 成人福利电影精品一区二区在线观看| 成人免费视频一区二区| 91婷婷韩国欧美一区二区| 欧美在线不卡一区| 欧美成人精品二区三区99精品| 久久蜜臀中文字幕| 亚洲免费观看高清完整版在线 | 国产精品资源在线| 99久久久国产精品免费蜜臀| 91久久久免费一区二区| 欧美久久高跟鞋激| 国产欧美日产一区| 亚洲永久免费av| 国产大陆精品国产| 色综合婷婷久久| 欧美mv和日韩mv的网站| 亚洲日韩欧美一区二区在线| 久久99热99| 欧美在线|欧美| 国产精品三级av| 精一区二区三区| 欧美日韩精品一区二区在线播放| 欧美精品一区二区不卡| 艳妇臀荡乳欲伦亚洲一区| 国产一区二区三区免费播放| 欧美综合一区二区| 中文字幕国产精品一区二区| 亚洲成av人在线观看| 色中色一区二区| 中文字幕av一区二区三区免费看 | 中文字幕欧美国产| 精品一区在线看| 日韩午夜激情视频| 午夜精品福利一区二区三区av| 99re66热这里只有精品3直播| 国产日本欧美一区二区| 精品一区二区三区在线播放| 这里是久久伊人| 蜜桃视频一区二区三区| 精品视频一区三区九区| 亚洲一区二区三区小说| 欧美午夜电影一区| 亚洲一区二区视频在线观看| 亚洲午夜在线视频| 蜜桃视频第一区免费观看| 91麻豆精品国产自产在线观看一区| 一色桃子久久精品亚洲| 91在线观看视频| 亚洲高清免费在线| 91精品国产欧美一区二区成人| 美女网站色91| 久久精品视频网| a级高清视频欧美日韩| 亚洲免费观看高清完整版在线观看熊| a级高清视频欧美日韩| 亚洲自拍偷拍网站| 日韩免费成人网| 国产91在线观看| 亚洲精品视频在线| 日韩欧美国产三级| 99久久精品国产导航| 亚洲一区二区美女| 国产欧美一区二区精品性| 色婷婷综合久久久久中文一区二区| 日本不卡一区二区三区| 中文一区在线播放|