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

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

?? inviteiicform.cs

?? 飛信的收發(fā)使用csharp進(jìn)行開發(fā)
?? CS
字號:
?namespace Imps.Client.Pc.UIContactList
{
    using Imps.Client.Core;
    using Imps.Client.Pc;
    using Imps.Client.Pc.BizControls;
    using Imps.Client.Pc.Controls;
    using Imps.Client.Pc.Utils;
    using Imps.Client.Resource;
    using Imps.Client.Utils;
    using Imps.Utils;
    using System;
    using System.ComponentModel;
    using System.Drawing;
    using System.Windows.Forms;

    public class InviteIICForm : XIMDialog
    {
        private IFrameworkWindow _iFrameworkWindow;
        private string _mobileNo = string.Empty;
        private Imps.Client.Core.User _user;
        private XButton buttonCancel;
        private XButton buttonOK;
        private IContainer components;
        private XLabel labelMobileNo;
        private XLabel labelMyName;
        private Panel panel1;
        private XTextBox textBoxMobileNo;
        private XTextBox textBoxMyName;

        public InviteIICForm(IFrameworkWindow iFrameworWindow, string mobileNo)
        {
            this.InitializeComponent();
            this._iFrameworkWindow = iFrameworWindow;
            this._user = this._iFrameworkWindow.AccountManager.CurrentUser;
            this._mobileNo = mobileNo ?? string.Empty;
            ControlHelper.ForceControlImeHangul(this.textBoxMyName);
            this.Init();
        }

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

        private void buttonOK_Click(object sender, EventArgs e)
        {
            if (this.textBoxMobileNo.Text.Trim().Length == 0)
            {
                BalloonHelper.ShowBallon(this.textBoxMobileNo, StringTable.Contact.AddBuddy_MobileNoEmpty, "錯誤!", ToolTipIcon.Error, 0x7d0);
            }
            else if (!ImpsHelper.IsCmccMobileNo(Convert.ToInt64(this.textBoxMobileNo.Text)))
            {
                BalloonHelper.ShowBallon(this.textBoxMobileNo, StringTable.Contact.InvalidCmccMobileNo, "錯誤!", ToolTipIcon.Error, 0x7d0);
            }
            else if (this.textBoxMyName.Text.Trim().Length == 0)
            {
                this._iFrameworkWindow.UnifiedMessageBox.ShowInfo(StringTable.Contact.AddBuddy_MyNameEmptyMobileNo);
            }
            else
            {
                this._mobileNo = this.textBoxMobileNo.Text;
                AsyncBizOperation op = new AsyncBizOperation();
                if (Imps.Client.Core.Contact.AsyncInviteMobileOpenIMPSService(this._mobileNo, this.textBoxMyName.Text.Trim(), this._user, op))
                {
                    base.Close();
                }
            }
        }

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

        private void Init()
        {
            base.Text = string.Format(base.Text, AppDictionary.ShortEnglishName);
            ControlHelper.SetAcceptDigitOnly(this.textBoxMobileNo, true);
        }

        private void InitializeComponent()
        {
            this.components = new Container();
            ComponentResourceManager manager = new ComponentResourceManager(typeof(InviteIICForm));
            this.labelMobileNo = new XLabel();
            this.textBoxMobileNo = new XTextBox();
            this.labelMyName = new XLabel();
            this.textBoxMyName = new XTextBox();
            this.buttonCancel = new XButton();
            this.buttonOK = new XButton();
            this.panel1 = new Panel();
            this.panel1.SuspendLayout();
            base.SuspendLayout();
            base.menubar.Location = new Point(3, 30);
            this.labelMobileNo.AutoSize = true;
            this.labelMobileNo.BackColor = Color.Transparent;
            this.labelMobileNo.Location = new Point(20, 15);
            this.labelMobileNo.Name = "labelMobileNo";
            this.labelMobileNo.Size = new Size(0x43, 13);
            this.labelMobileNo.TabIndex = 0;
            this.labelMobileNo.Text = "對方手機號";
            this.textBoxMobileNo.Location = new Point(0x2d, 0x1f);
            this.textBoxMobileNo.MaxLength = 11;
            this.textBoxMobileNo.Name = "textBoxMobileNo";
            this.textBoxMobileNo.Size = new Size(0xba, 20);
            this.textBoxMobileNo.TabIndex = 1;
            this.labelMyName.AutoSize = true;
            this.labelMyName.Location = new Point(20, 0x3f);
            this.labelMyName.Name = "labelMyName";
            this.labelMyName.Size = new Size(0x99, 13);
            this.labelMyName.TabIndex = 2;
            this.labelMyName.Text = "輸入您的名稱(限{0}個字)";
            this.textBoxMyName.Location = new Point(0x2f, 0x4f);
            this.textBoxMyName.Name = "textBoxMyName";
            this.textBoxMyName.Size = new Size(0xba, 20);
            this.textBoxMyName.TabIndex = 3;
            this.buttonCancel.DialogResult = DialogResult.Cancel;
            this.buttonCancel.Location = new Point(0xdf, 0x74);
            this.buttonCancel.Name = "buttonCancel";
            this.buttonCancel.Size = new Size(0x4b, 0x17);
            this.buttonCancel.TabIndex = 5;
            this.buttonCancel.Text = "取消";
            this.buttonCancel.UseVisualStyleBackColor = true;
            this.buttonCancel.Click += new EventHandler(this.buttonCancel_Click);
            this.buttonOK.Location = new Point(0x8e, 0x74);
            this.buttonOK.Name = "buttonOK";
            this.buttonOK.Size = new Size(0x4b, 0x17);
            this.buttonOK.TabIndex = 4;
            this.buttonOK.Text = "確定";
            this.buttonOK.UseVisualStyleBackColor = true;
            this.buttonOK.Click += new EventHandler(this.buttonOK_Click);
            this.panel1.BackColor = Color.Transparent;
            this.panel1.Controls.Add(this.labelMobileNo);
            this.panel1.Controls.Add(this.buttonCancel);
            this.panel1.Controls.Add(this.textBoxMobileNo);
            this.panel1.Controls.Add(this.buttonOK);
            this.panel1.Controls.Add(this.labelMyName);
            this.panel1.Controls.Add(this.textBoxMyName);
            this.panel1.Dock = DockStyle.Fill;
            this.panel1.Location = new Point(8, 8);
            this.panel1.Name = "panel1";
            this.panel1.Size = new Size(0x146, 0xc5);
            this.panel1.TabIndex = 0;
            base.AcceptButton = this.buttonOK;
            base.AutoScaleDimensions = new SizeF(6f, 13f);
            base.AutoScaleMode = AutoScaleMode.Font;
            base.CancelButton = this.buttonCancel;
            base.ClientSize = new Size(0x156, 0xd5);
            base.Controls.Add(this.panel1);
            base.Icon = (Icon) manager.GetObject("$this.Icon");
            base.MinimizeBox = false;
            base.Name = "InviteIICForm";
            base.Padding = new Padding(8, 8, 8, 8);
            base.StartPosition = FormStartPosition.CenterScreen;
            base.Text = "邀請好友開通{0}";
            base.Load += new EventHandler(this.InviteIICForm_Load);
            base.Controls.SetChildIndex(this.panel1, 0);
            base.Controls.SetChildIndex(base.menubar, 0);
            this.panel1.ResumeLayout(false);
            this.panel1.PerformLayout();
            base.ResumeLayout(false);
        }

        private void InviteIICForm_Load(object sender, EventArgs e)
        {
            this.labelMyName.Text = string.Format(this.labelMyName.Text, Imps.Client.Core.FixedClientSetting.Instance.MaxInviteRequestNameLength);
            if (string.IsNullOrEmpty(this._mobileNo))
            {
                this.textBoxMobileNo.Text = "";
                this.textBoxMobileNo.ReadOnly = false;
            }
            else
            {
                this.textBoxMobileNo.Text = Convert.ToString(this._mobileNo);
                this.textBoxMobileNo.ReadOnly = true;
            }
            this.textBoxMyName.MaxLength = Imps.Client.Core.FixedClientSetting.Instance.MaxInviteRequestNameLength;
            this.textBoxMyName.Text = "";
            if (this._user.PersonalInfo.Name.Value.Length != 0)
            {
                if (this._user.PersonalInfo.Name.Value.Length > this.textBoxMyName.MaxLength)
                {
                    this.textBoxMyName.Text = this._user.PersonalInfo.Name.Value.Substring(0, this.textBoxMyName.MaxLength);
                }
                else
                {
                    this.textBoxMyName.Text = this._user.PersonalInfo.Name.Value;
                }
            }
            else if (this._user.PersonalInfo.Nickname.Value.Length != 0)
            {
                if (this._user.PersonalInfo.Nickname.Value.Length > this.textBoxMyName.MaxLength)
                {
                    this.textBoxMyName.Text = this._user.PersonalInfo.Nickname.Value.Substring(0, this.textBoxMyName.MaxLength);
                }
                else
                {
                    this.textBoxMyName.Text = this._user.PersonalInfo.Nickname.Value;
                }
            }
        }

        protected override void OnShown(EventArgs e)
        {
            this.textBoxMobileNo.Focus();
        }

        public string MobileNo
        {
            get
            {
                return this._mobileNo;
            }
            set
            {
                this._mobileNo = value ?? string.Empty;
            }
        }
    }
}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
韩国欧美国产一区| 一区二区三区影院| 91浏览器在线视频| 另类小说欧美激情| 亚洲激情一二三区| 国产日韩v精品一区二区| 在线91免费看| 色素色在线综合| 丁香婷婷综合色啪| 蜜臀av在线播放一区二区三区| 亚洲精选一二三| 国产丝袜欧美中文另类| 欧美一区二区成人| 欧美日韩精品一区二区天天拍小说 | 国产一区二区三区最好精华液| 亚洲一区在线视频| 亚洲欧美综合另类在线卡通| 欧美v日韩v国产v| 91精品国产91热久久久做人人| 日本高清视频一区二区| 不卡一区在线观看| 国产91在线观看| 国产一二三精品| 久久99国产精品久久| 奇米精品一区二区三区在线观看一| 亚洲精品国产一区二区三区四区在线| 国产精品国产三级国产普通话99| 久久久久国产精品人| 精品国产一区二区亚洲人成毛片| 欧美浪妇xxxx高跟鞋交| 欧美日韩一卡二卡| 欧美色图12p| 欧美日韩情趣电影| 欧美精品在线一区二区三区| 在线免费观看日本欧美| 欧美视频一区二区在线观看| 欧洲亚洲精品在线| 69堂成人精品免费视频| 3atv在线一区二区三区| 欧美一区二区视频观看视频| 日韩一区和二区| 日韩一区二区影院| 日韩欧美一级二级三级| www欧美成人18+| 久久久久久99久久久精品网站| 久久久亚洲欧洲日产国码αv| 久久久久99精品一区| 中文字幕免费不卡| 成人欧美一区二区三区视频网页| 亚洲欧美在线高清| 亚洲一区影音先锋| 日本美女一区二区三区| 国产一区二区三区观看| 国产成人精品综合在线观看 | 欧美视频中文字幕| 欧美视频一二三区| 91麻豆精品国产自产在线| 91精品国产一区二区三区香蕉| 日韩免费观看高清完整版 | 欧美一级黄色片| 久久一区二区三区国产精品| 国产欧美精品一区| 亚洲自拍都市欧美小说| 日韩精品三区四区| 国产一区二区三区精品欧美日韩一区二区三区 | 国产精品久久久久桃色tv| 亚洲伦在线观看| 日韩vs国产vs欧美| 成人激情小说乱人伦| 在线观看免费视频综合| 精品国产1区2区3区| 国产精品国模大尺度视频| 国产美女精品在线| 色综合久久久久| 欧美xxxxxxxxx| 亚洲欧美日韩久久| 美女性感视频久久| 色噜噜狠狠色综合欧洲selulu | 亚洲国产高清不卡| 亚洲综合精品自拍| 国产做a爰片久久毛片| 91免费版在线| 日韩精品一区二区三区视频播放| 国产精品视频线看| 国产原创一区二区三区| 91丝袜美女网| 欧美乱熟臀69xxxxxx| wwwwww.欧美系列| 亚洲人成在线播放网站岛国| 日韩在线a电影| 成年人国产精品| 666欧美在线视频| 国产精品二三区| 美女国产一区二区三区| 91论坛在线播放| 久久久久99精品国产片| 亚洲成人www| 99re这里只有精品首页| 精品人在线二区三区| 一区二区三区四区在线播放| 国产一区二区三区四区五区美女| 欧美日韩中文字幕精品| 国产精品看片你懂得| 久久疯狂做爰流白浆xx| 日本精品视频一区二区| 国产精品久久久久久久久免费桃花| 伦理电影国产精品| 欧洲一区在线电影| 综合av第一页| 中文字幕巨乱亚洲| 欧美日韩在线精品一区二区三区激情| 久久综合成人精品亚洲另类欧美 | 午夜欧美视频在线观看| 丁香六月综合激情| 日韩亚洲欧美成人一区| 亚洲综合色丁香婷婷六月图片| 丁香激情综合国产| 亚洲精品一区二区三区蜜桃下载| 天堂在线亚洲视频| 91久久人澡人人添人人爽欧美| 中文字幕一区二区三区色视频| 在线综合视频播放| 亚洲欧美一区二区久久| 白白色 亚洲乱淫| 国产女人18水真多18精品一级做| 激情久久久久久久久久久久久久久久 | 高清beeg欧美| 国产欧美一区二区精品久导航| 国产一区二区三区精品欧美日韩一区二区三区| 91麻豆精品91久久久久久清纯| 亚洲va国产va欧美va观看| 欧美在线你懂的| 91精品国产一区二区三区蜜臀| 国产一本一道久久香蕉| 4438成人网| 午夜国产不卡在线观看视频| 在线精品视频小说1| 一区二区三区丝袜| 欧洲精品一区二区| 亚洲大片精品永久免费| 欧美卡1卡2卡| 毛片不卡一区二区| 久久久综合视频| 国产a视频精品免费观看| 亚洲国产精品高清| 色综合天天综合色综合av | 成人激情动漫在线观看| 国产精品美女一区二区在线观看| 成人激情开心网| 亚洲制服丝袜在线| 欧美高清视频在线高清观看mv色露露十八| 水野朝阳av一区二区三区| 日韩一区二区在线看片| 国产一区二区网址| 亚洲欧洲一区二区三区| 欧美午夜在线观看| 男女视频一区二区| 国产日本亚洲高清| 欧美怡红院视频| 日韩成人av影视| 亚洲成精国产精品女| 欧美揉bbbbb揉bbbbb| 午夜精品福利在线| 亚洲精品v日韩精品| 亚洲综合免费观看高清完整版 | 久久精品国产免费| 国产色产综合色产在线视频| 成人一级片网址| 亚洲福利一二三区| 精品福利二区三区| www.亚洲在线| 五月婷婷综合在线| 国产女人aaa级久久久级| 91丨九色丨国产丨porny| 婷婷中文字幕综合| 久久久噜噜噜久久人人看| 99riav久久精品riav| 秋霞电影网一区二区| 久久精品日产第一区二区三区高清版 | 亚洲视频免费在线观看| 欧美精品xxxxbbbb| 懂色av噜噜一区二区三区av| 亚洲国产成人高清精品| 国产欧美一区二区精品性色| 欧美日本免费一区二区三区| 国产精品99久久久久久宅男| 亚洲综合视频在线观看| 国产拍揄自揄精品视频麻豆| 欧美日韩成人综合| 成人激情黄色小说| 老司机精品视频一区二区三区| 亚洲欧美色一区| 久久久久久久久久电影| 欧美精品18+| 日本福利一区二区| 高清不卡在线观看| 精品一区二区三区免费视频| 亚洲午夜一二三区视频| 国产精品久久久久久久久久免费看| 欧美一区二区二区|