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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? receiverequestbymobilenoform.cs

?? 飛信的收發使用csharp進行開發
?? CS
?? 第 1 頁 / 共 2 頁
字號:
?namespace Imps.Client.Pc.UIContactList.AddBuddy
{
    using Imps.Client;
    using Imps.Client.Core;
    using Imps.Client.Pc;
    using Imps.Client.Pc.BizControls;
    using Imps.Client.Pc.Controls;
    using Imps.Client.Resource;
    using Imps.Common;
    using System;
    using System.ComponentModel;
    using System.Drawing;
    using System.Windows.Forms;

    public class ReceiveRequestByMobileNoForm : XIMDialog
    {
        private Imps.Client.Core.Contact _contact;
        private string _desc;
        private bool _hasHandleRequest;
        private IFrameworkWindow _iFarmeworkWindow;
        private int? _initTargetGroupId;
        private Imps.Client.Core.User _user;
        private XButton buttonCancel;
        private XButton buttonOK;
        private CheckBox checkBoxBlock;
        private XComboBox comboBoxGroup;
        private IContainer components;
        private XLabel label1;
        private XLabel labelHello;
        private XLabel labelNickname;
        private XLabel labelRemind;
        private LinkLabel linkLabelDetail;
        private LinkLabel linkLabelNewGroup;
        private Panel panel1;
        private Panel panel2;
        private Panel panel3;
        private Panel panelInfo;
        private PictureBox pictureBoxAlert;
        private DisplayPortrait pictureBoxPortrait;
        private RadioButton radioButtonAgree;
        private RadioButton radioButtonReject;

        public ReceiveRequestByMobileNoForm(IFrameworkWindow iFrameworkWindow, Imps.Client.Core.Contact contact, string desc)
        {
            this.InitializeComponent();
            this._iFarmeworkWindow = iFrameworkWindow;
            this._user = iFrameworkWindow.AccountManager.CurrentUser;
            this._contact = contact;
            this._desc = desc;
            this.initComponentRegion();
            this._user.StatusChanged += new EventHandler<UserSatusChangedEventArgs>(this._user_StatusChanged);
            this._user.ContactList.ContactGroupChanged += new EventHandler<ContactGroupChangedEventArgs>(this.ContactList_ContactGroupChanged);
        }

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

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

        private void buttonOK_Click(object sender, EventArgs e)
        {
            try
            {
                if (!this.radioButtonAgree.Checked && !this.radioButtonReject.Checked)
                {
                    this._iFarmeworkWindow.UnifiedMessageBox.ShowInfo(StringTable.FormAddBuddy.MustCheckOne);
                }
                else
                {
                    int? targetGroupId = null;
                    if (this.radioButtonAgree.Checked && (this.comboBoxGroup.Items.Count > 0))
                    {
                        if ((this.comboBoxGroup.SelectedIndex == -1) || (this.comboBoxGroup.SelectedItem == null))
                        {
                            this._iFarmeworkWindow.UnifiedMessageBox.ShowInfo(StringTable.FormAddBuddy.MustSelectGroup);
                            return;
                        }
                        ComboBoxItem selectedItem = (ComboBoxItem) this.comboBoxGroup.SelectedItem;
                        targetGroupId = new int?((int) selectedItem.Value);
                        if (((int) selectedItem.Value) <= 0)
                        {
                            this._iFarmeworkWindow.UnifiedMessageBox.ShowInfo(StringTable.FormAddBuddy.MustSelectGroup);
                            return;
                        }
                    }
                    int result = this.radioButtonAgree.Checked ? 1 : 0;
                    this._hasHandleRequest = true;
                    bool? isBlock = null;
                    if (result == 0)
                    {
                        isBlock = new bool?(this.checkBoxBlock.Checked);
                    }
                    AsyncBizOperation op = new AsyncBizOperation();
                    this._user.ContactList.AsyncHandleContactRequest(this._contact.Uri.ToString(), result, isBlock, targetGroupId, true, string.Empty, op);
                    if (this.checkBoxBlock.Checked)
                    {
                        this._user.ContactList.AsyncAddToBlackList(this._contact.Uri, op);
                    }
                    base.Close();
                }
            }
            catch
            {
            }
        }

        private void ContactList_ContactGroupChanged(object sender, ContactGroupChangedEventArgs e)
        {
            if (e.Type == ContactGroupEventType.Added)
            {
                this._initTargetGroupId = new int?(e.ContactGroup.Id);
            }
            else if ((e.Type == ContactGroupEventType.Deleted) && (e.ContactGroup.Id == this._initTargetGroupId))
            {
                this._initTargetGroupId = null;
            }
            this.InitGroup();
        }

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

        private void InitGroup()
        {
            this.comboBoxGroup.DropDownStyle = ComboBoxStyle.DropDownList;
            this.comboBoxGroup.Items.Clear();
            lock (this._user.ContactList.Groups.SyncRoot)
            {
                foreach (Imps.Client.Core.ContactGroup group in this._user.ContactList.Groups)
                {
                    if (group.Id != -1)
                    {
                        ComboBoxItem item = new ComboBoxItem(group.Name, group.Id);
                        this.comboBoxGroup.Items.Add(item);
                        if (this._initTargetGroupId.HasValue && (this._initTargetGroupId == group.Id))
                        {
                            this.comboBoxGroup.SelectedItem = item;
                        }
                    }
                }
            }
            if ((!this._initTargetGroupId.HasValue || (this._initTargetGroupId == -1)) && (this.comboBoxGroup.Items.Count > 0))
            {
                this.comboBoxGroup.SelectedIndex = 0;
            }
        }

        private void InitializeComponent()
        {
            this.components = new Container();
            ComponentResourceManager manager = new ComponentResourceManager(typeof(ReceiveRequestByMobileNoForm));
            this.buttonCancel = new XButton();
            this.buttonOK = new XButton();
            this.checkBoxBlock = new CheckBox();
            this.radioButtonReject = new RadioButton();
            this.radioButtonAgree = new RadioButton();
            this.labelRemind = new XLabel();
            this.panel1 = new Panel();
            this.label1 = new XLabel();
            this.panel2 = new Panel();
            this.pictureBoxPortrait = new DisplayPortrait();
            this.labelNickname = new XLabel();
            this.linkLabelDetail = new LinkLabel();
            this.labelHello = new XLabel();
            this.pictureBoxAlert = new PictureBox();
            this.panelInfo = new Panel();
            this.comboBoxGroup = new XComboBox();
            this.panel3 = new Panel();
            this.linkLabelNewGroup = new LinkLabel();
            XLabel label = new XLabel();
            XLabel label2 = new XLabel();
            this.panel1.SuspendLayout();
            this.panel2.SuspendLayout();
            ((ISupportInitialize) this.pictureBoxAlert).BeginInit();
            this.panelInfo.SuspendLayout();
            this.panel3.SuspendLayout();
            base.SuspendLayout();
            base.menubar.Location = new Point(3, 0x19);
            label.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
            label.BorderColor = Color.Empty;
            label.BorderStyle = BorderStyle.Fixed3D;
            label.ButtonBorderStyle = ButtonBorderStyle.None;
            label.Location = new Point(40, 0x9c);
            label.Name = "label4";
            label.Size = new Size(460, 2);
            label.TabIndex = 2;
            label.Text = "label4";
            label.UseMnemonic = false;
            label2.AutoSize = true;
            label2.BackColor = Color.Transparent;
            label2.BorderColor = Color.Empty;
            label2.ButtonBorderStyle = ButtonBorderStyle.None;
            label2.Font = new Font("Microsoft Sans Serif", 9f, FontStyle.Bold, GraphicsUnit.Point, 0);
            label2.ForeColor = Color.RoyalBlue;
            label2.Location = new Point(2, 0x93);
            label2.Name = "label6";
            label2.Size = new Size(0x21, 15);
            label2.TabIndex = 1;
            label2.Text = "回應";
            label2.UseMnemonic = false;
            this.buttonCancel.DialogResult = DialogResult.Cancel;
            this.buttonCancel.Location = new Point(0x16e, 0x12e);
            this.buttonCancel.Name = "buttonCancel";
            this.buttonCancel.Size = new Size(0x4b, 0x17);
            this.buttonCancel.TabIndex = 9;
            this.buttonCancel.Text = "取消";
            this.buttonCancel.UseVisualStyleBackColor = true;
            this.buttonCancel.Click += new EventHandler(this.buttonCancel_Click);
            this.buttonOK.Location = new Point(0x11d, 0x12e);
            this.buttonOK.Name = "buttonOK";
            this.buttonOK.Size = new Size(0x4b, 0x17);
            this.buttonOK.TabIndex = 8;
            this.buttonOK.Text = "確定";
            this.buttonOK.UseVisualStyleBackColor = true;
            this.buttonOK.Click += new EventHandler(this.buttonOK_Click);
            this.checkBoxBlock.AutoSize = true;
            this.checkBoxBlock.BackColor = Color.Transparent;
            this.checkBoxBlock.Location = new Point(0x67, 0x114);
            this.checkBoxBlock.Name = "checkBoxBlock";
            this.checkBoxBlock.Size = new Size(0x86, 0x11);
            this.checkBoxBlock.TabIndex = 7;
            this.checkBoxBlock.Text = "拒絕此人再和我聯系";
            this.checkBoxBlock.UseVisualStyleBackColor = false;
            this.radioButtonReject.AutoSize = true;
            this.radioButtonReject.BackColor = Color.Transparent;
            this.radioButtonReject.Location = new Point(0x49, 0xff);
            this.radioButtonReject.Name = "radioButtonReject";
            this.radioButtonReject.Size = new Size(0x3d, 0x11);
            this.radioButtonReject.TabIndex = 6;
            this.radioButtonReject.TabStop = true;
            this.radioButtonReject.Text = "不同意";
            this.radioButtonReject.UseVisualStyleBackColor = false;
            this.radioButtonReject.CheckedChanged += new EventHandler(this.radioButtonReject_CheckedChanged);
            this.radioButtonAgree.AutoSize = true;
            this.radioButtonAgree.BackColor = Color.Transparent;
            this.radioButtonAgree.Location = new Point(0x49, 0xe4);
            this.radioButtonAgree.Name = "radioButtonAgree";
            this.radioButtonAgree.Size = new Size(0x79, 0x11);
            this.radioButtonAgree.TabIndex = 4;
            this.radioButtonAgree.TabStop = true;
            this.radioButtonAgree.Text = "同意,添加到該組";
            this.radioButtonAgree.UseVisualStyleBackColor = false;
            this.radioButtonAgree.CheckedChanged += new EventHandler(this.radioButtonAgree_CheckedChanged);
            this.labelRemind.BorderColor = Color.Empty;
            this.labelRemind.ButtonBorderStyle = ButtonBorderStyle.None;
            this.labelRemind.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0x86);
            this.labelRemind.Location = new Point(0x57, 4);
            this.labelRemind.Name = "labelRemind";
            this.labelRemind.Size = new Size(0x157, 0x34);
            this.labelRemind.TabIndex = 0;
            this.labelRemind.Text = "提醒:";
            this.labelRemind.UseMnemonic = false;
            this.panel1.BackColor = Color.Transparent;
            this.panel1.Controls.Add(this.label1);
            this.panel1.Controls.Add(this.panel2);
            this.panel1.Controls.Add(this.labelHello);
            this.panel1.Dock = DockStyle.Top;
            this.panel1.Location = new Point(0, 0);
            this.panel1.Name = "panel1";
            this.panel1.Size = new Size(0x1d0, 150);
            this.panel1.TabIndex = 0;
            this.label1.AutoSize = true;
            this.label1.BorderColor = Color.Empty;
            this.label1.ButtonBorderStyle = ButtonBorderStyle.None;
            this.label1.Location = new Point(0x41, 10);
            this.label1.Name = "label1";
            this.label1.Size = new Size(0x2b, 13);
            this.label1.TabIndex = 0;
            this.label1.Text = "您好:";
            this.label1.UseMnemonic = false;
            this.panel2.Controls.Add(this.pictureBoxPortrait);
            this.panel2.Controls.Add(this.labelNickname);
            this.panel2.Controls.Add(this.linkLabelDetail);
            this.panel2.Location = new Point(0xd9, 0x49);
            this.panel2.Name = "panel2";
            this.panel2.Size = new Size(0xe4, 0x4b);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品久99| 91精品国产一区二区三区蜜臀 | 99精品一区二区三区| 成人丝袜高跟foot| 91国产视频在线观看| 成人精品视频网站| 欧美视频在线播放| 欧美日韩一区二区三区四区| 91精品国产综合久久精品麻豆| 欧美日韩日本视频| 久久久噜噜噜久久人人看| 国产亚洲一二三区| 亚洲国产中文字幕在线视频综合 | 色噜噜狠狠成人网p站| 欧洲另类一二三四区| 26uuu色噜噜精品一区二区| 亚洲色图在线视频| 九九**精品视频免费播放| 91在线观看污| 国产日产欧美一区| 免费在线观看精品| 欧美日韩久久不卡| 国产精品白丝在线| 蜜臀av在线播放一区二区三区| 风流少妇一区二区| 日韩亚洲欧美在线| 亚洲国产精品久久久久婷婷884 | 欧美va亚洲va香蕉在线| 一区二区三区美女| 91在线丨porny丨国产| 久久亚区不卡日本| 另类小说综合欧美亚洲| 91网上在线视频| 国产精品久久久久aaaa樱花 | 日韩国产欧美视频| 欧美性生活久久| 亚洲成a人v欧美综合天堂 | 亚洲激情图片一区| 97se亚洲国产综合自在线不卡| 91精品蜜臀在线一区尤物| 午夜精品爽啪视频| 欧美精品1区2区| 免费三级欧美电影| 日韩手机在线导航| 国产精品99久久久久久宅男| 久久亚洲综合色| 国产成人自拍在线| 亚洲欧美日韩成人高清在线一区| 成人小视频在线观看| 亚洲免费在线看| 精品视频999| 国产成人在线视频免费播放| 国产精品私人影院| 欧美日产在线观看| 麻豆久久久久久久| 中文字幕一区二区三区精华液| 在线免费不卡电影| 经典三级在线一区| 一区二区成人在线观看| 欧美精品tushy高清| 粉嫩一区二区三区性色av| 国产精品成人一区二区三区夜夜夜| 色婷婷av久久久久久久| 美国一区二区三区在线播放| 国产精品免费看片| 日韩视频永久免费| 91理论电影在线观看| 国产资源精品在线观看| 亚洲电影一区二区| 国产精品国产精品国产专区不蜜| 欧美久久久久久久久| 91香蕉国产在线观看软件| 久国产精品韩国三级视频| 午夜不卡av在线| 亚洲黄色免费电影| 欧美激情中文不卡| 国产精品国产三级国产普通话三级 | 91丝袜美女网| av影院午夜一区| av亚洲精华国产精华精华| 成人aaaa免费全部观看| 国产99久久久久久免费看农村| 国产一区二区三区久久久| 久久99深爱久久99精品| 毛片一区二区三区| 精品一区二区三区免费毛片爱| 日韩电影免费在线看| 日本sm残虐另类| 蜜臀av性久久久久蜜臀av麻豆| 欧美aⅴ一区二区三区视频| 免费成人av在线| 国产一区二区导航在线播放| 成人性生交大片免费看中文| 国产精品亚洲а∨天堂免在线| 国产成人免费在线观看| 不卡的av在线| 777奇米成人网| 国产午夜精品一区二区三区嫩草 | 国产成人aaa| 一本大道综合伊人精品热热| 欧美日韩色综合| 久久久一区二区三区| 一区二区三区高清在线| 日韩精品一二三四| 成人性生交大片免费看在线播放| 欧美在线视频全部完| 26uuu亚洲| 美女性感视频久久| 一本在线高清不卡dvd| 日韩一区二区三区四区| 久久美女艺术照精彩视频福利播放 | 一区二区三区波多野结衣在线观看| 亚洲一区二区在线免费观看视频| 韩国精品久久久| 欧美挠脚心视频网站| 国产网站一区二区| 狠狠色丁香久久婷婷综合_中 | 尤物av一区二区| 国产成人在线视频网站| 日韩一区二区电影网| 亚洲国产色一区| 一本色道久久综合狠狠躁的推荐| 久久久99免费| 激情欧美一区二区| 欧美一级在线免费| 日韩黄色片在线观看| 欧美日韩精品一区二区三区蜜桃| 亚洲女子a中天字幕| av成人动漫在线观看| 国产精品嫩草影院av蜜臀| www..com久久爱| 国产精品乱人伦| 91官网在线免费观看| 亚洲午夜精品在线| 欧美日韩精品高清| 蓝色福利精品导航| 精品久久99ma| 91亚洲精品一区二区乱码| 日韩毛片在线免费观看| 欧美日韩精品一区二区三区| 天天做天天摸天天爽国产一区| 欧美一区二区三区视频免费播放| 蜜臀av性久久久久蜜臀aⅴ四虎 | 在线日韩av片| 日韩国产精品久久久久久亚洲| 欧美一区二区免费| 国产成人啪免费观看软件| 亚洲伦理在线精品| 日韩欧美国产午夜精品| 成人av网站免费| 日本在线不卡视频| 亚洲欧洲国产专区| 日韩三级.com| 在线欧美小视频| 国产成a人亚洲精| 免费在线观看日韩欧美| 国产精品久久久久久福利一牛影视| 欧美少妇bbb| 99久久99久久久精品齐齐| 乱一区二区av| 日韩电影网1区2区| 亚洲精品福利视频网站| 久久精品一区二区三区不卡牛牛 | 在线亚洲一区观看| jlzzjlzz亚洲女人18| 国产自产视频一区二区三区| 日韩电影在线观看电影| 日日夜夜免费精品| 亚洲一区二区三区四区不卡| 中文av一区特黄| 中文在线一区二区 | 色欧美88888久久久久久影院| 狠狠色丁香婷婷综合| 国产综合色在线视频区| 久久99在线观看| 国模套图日韩精品一区二区| 天堂在线一区二区| 免费欧美在线视频| 久久黄色级2电影| 亚洲国产精品久久久久秋霞影院| 国产精品国模大尺度视频| 亚洲欧洲美洲综合色网| 日韩一区欧美一区| 亚洲一区影音先锋| 亚洲高清久久久| 久久97超碰国产精品超碰| 五月婷婷综合激情| 国产亚洲欧美日韩在线一区| 日韩精品一区在线| 久久久久久97三级| 中文字幕中文字幕在线一区| 亚洲欧美日韩综合aⅴ视频| 亚洲激情中文1区| 久久国产人妖系列| 国产精品一区二区三区99| 在线日韩一区二区| 久久色在线视频| 亚洲精品国产一区二区精华液| 五月婷婷激情综合| 91免费版pro下载短视频|