⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 importform.cs

📁 破解的飞信源代码
💻 CS
📖 第 1 页 / 共 5 页
字号:
            this.btnPrevious.set_UseVisualStyleBackColor(false);
            this.btnPrevious.Click += new EventHandler(this.btnPrevious_Click);
            this.pnlContainer.BackColor = Color.Transparent;
            this.pnlContainer.Controls.Add(this.pnlStep_SelContact);
            this.pnlContainer.Controls.Add(this.pnlStep_Result);
            this.pnlContainer.Controls.Add(this.pnlStep_MyInfo);
            this.pnlContainer.Controls.Add(this.pnlStep_SelSource);
            this.pnlContainer.Location = new System.Drawing.Point(0x97, 0);
            this.pnlContainer.Name = "pnlContainer";
            this.pnlContainer.Size = new Size(0x157, 0x13c);
            this.pnlContainer.TabIndex = 5;
            this.pnlContainer.Paint += new PaintEventHandler(this.pnlContainer_Paint);
            this.pnlStep_SelContact.BackColor = Color.Transparent;
            this.pnlStep_SelContact.Controls.Add(this.checkBoxSelAll);
            this.pnlStep_SelContact.Controls.Add(this.xLabelFind);
            this.pnlStep_SelContact.Controls.Add(this.lblSelectInfo);
            this.pnlStep_SelContact.Controls.Add(this.lstContacts);
            this.pnlStep_SelContact.Location = new System.Drawing.Point(0xd4, 13);
            this.pnlStep_SelContact.Name = "pnlStep_SelContact";
            this.pnlStep_SelContact.Size = new Size(200, 0x98);
            this.pnlStep_SelContact.TabIndex = 0;
            this.checkBoxSelAll.set_AutoSize(true);
            this.checkBoxSelAll.Location = new System.Drawing.Point(13, 0x125);
            this.checkBoxSelAll.Name = "checkBoxSelAll";
            this.checkBoxSelAll.Size = new Size(50, 0x11);
            this.checkBoxSelAll.TabIndex = 0x18;
            this.checkBoxSelAll.Text = "全选";
            this.checkBoxSelAll.set_UseVisualStyleBackColor(true);
            this.checkBoxSelAll.CheckedChanged += new EventHandler(this.checkBoxSelAll_CheckedChanged);
            this.checkBoxSelAll.CheckStateChanged += new EventHandler(this.checkBoxSelAll_CheckStateChanged);
            this.xLabelFind.set_AutoSize(true);
            this.xLabelFind.BorderColor = Color.Empty;
            this.xLabelFind.ButtonBorderStyle = ButtonBorderStyle.None;
            this.xLabelFind.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
            this.xLabelFind.Location = new System.Drawing.Point(6, 8);
            this.xLabelFind.Name = "xLabelFind";
            this.xLabelFind.Size = new Size(0xbd, 13);
            this.xLabelFind.TabIndex = 0x17;
            this.xLabelFind.Text = "请选择你想添加为好友的联系人";
            this.lblSelectInfo.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
            this.lblSelectInfo.set_AutoSize(true);
            this.lblSelectInfo.BackColor = Color.Transparent;
            this.lblSelectInfo.BorderColor = Color.Empty;
            this.lblSelectInfo.ButtonBorderStyle = ButtonBorderStyle.None;
            this.lblSelectInfo.Location = new System.Drawing.Point(140, 0x81);
            this.lblSelectInfo.Name = "lblSelectInfo";
            this.lblSelectInfo.Size = new Size(40, 13);
            this.lblSelectInfo.TabIndex = 0x16;
            this.lblSelectInfo.Text = "{0}/{1}";
            this.lstContacts.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
            this.lstContacts.BackColor = Color.White;
            this.lstContacts.CheckBoxes = true;
            this.lstContacts.Columns.AddRange(new ColumnHeader[] { this.chCheckBox, this.chName, this.chNickname, this.chMobileNo, this.chFetionNo });
            this.lstContacts.FullRowSelect = true;
            this.lstContacts.Location = new System.Drawing.Point(10, 0x22);
            this.lstContacts.MultiSelect = false;
            this.lstContacts.Name = "lstContacts";
            this.lstContacts.Size = new Size(0xb7, 0x58);
            this.lstContacts.Sorting = SortOrder.Ascending;
            this.lstContacts.TabIndex = 1;
            this.lstContacts.set_UseCompatibleStateImageBehavior(false);
            this.lstContacts.View = View.Details;
            this.lstContacts.add_ItemChecked(new ItemCheckedEventHandler(this, (IntPtr) this.lstContacts_ItemChecked));
            this.chCheckBox.Text = "选中";
            this.chCheckBox.Width = 0x2f;
            this.chName.Text = "姓名";
            this.chName.TextAlign = HorizontalAlignment.Center;
            this.chName.Width = 0x3d;
            this.chNickname.Text = "昵称";
            this.chNickname.TextAlign = HorizontalAlignment.Center;
            this.chNickname.Width = 80;
            this.chMobileNo.Text = "手机号码";
            this.chMobileNo.TextAlign = HorizontalAlignment.Center;
            this.chMobileNo.Width = 100;
            this.chFetionNo.Text = "飞信号";
            this.chFetionNo.TextAlign = HorizontalAlignment.Center;
            this.chFetionNo.Width = 70;
            this.pnlStep_Result.Controls.Add(this.label4);
            this.pnlStep_Result.Controls.Add(this.lblImportContactName);
            this.pnlStep_Result.Controls.Add(this.progressBarExport);
            this.pnlStep_Result.Controls.Add(this.listBox1);
            this.pnlStep_Result.Location = new System.Drawing.Point(0xc6, 0xc6);
            this.pnlStep_Result.Name = "pnlStep_Result";
            this.pnlStep_Result.Size = new Size(0x97, 0x80);
            this.pnlStep_Result.TabIndex = 2;
            this.pnlStep_Result.Paint += new PaintEventHandler(this.pnlStep5_Paint);
            this.label4.set_AutoSize(true);
            this.label4.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
            this.label4.Location = new System.Drawing.Point(6, 8);
            this.label4.Name = "label4";
            this.label4.Size = new Size(0x3b, 13);
            this.label4.TabIndex = 9;
            this.label4.Text = "导入结果";
            this.lblImportContactName.set_AutoSize(true);
            this.lblImportContactName.BorderColor = Color.Empty;
            this.lblImportContactName.ButtonBorderStyle = ButtonBorderStyle.None;
            this.lblImportContactName.Location = new System.Drawing.Point(9, 0x126);
            this.lblImportContactName.Name = "lblImportContactName";
            this.lblImportContactName.Size = new Size(0x37, 13);
            this.lblImportContactName.TabIndex = 7;
            this.lblImportContactName.Text = "正在导入";
            this.progressBarExport.Location = new System.Drawing.Point(10, 0x10b);
            this.progressBarExport.Name = "progressBarExport";
            this.progressBarExport.Size = new Size(0x144, 20);
            this.progressBarExport.TabIndex = 6;
            this.listBox1.set_FormattingEnabled(true);
            this.listBox1.Location = new System.Drawing.Point(10, 0x22);
            this.listBox1.Name = "listBox1";
            this.listBox1.Size = new Size(0x144, 0xdf);
            this.listBox1.HorizontalScrollbar = true;
            this.listBox1.TabIndex = 11;
            this.columnHeader1.Width = 500;
            this.pnlStep_MyInfo.Controls.Add(this.buttonNewGrp);
            this.pnlStep_MyInfo.Controls.Add(this.label1);
            this.pnlStep_MyInfo.Controls.Add(this.chkInviteStartService);
            this.pnlStep_MyInfo.Controls.Add(this.comboBoxGroup);
            this.pnlStep_MyInfo.Controls.Add(label);
            this.pnlStep_MyInfo.Controls.Add(this.textBoxMyName);
            this.pnlStep_MyInfo.Controls.Add(this.labelName);
            this.pnlStep_MyInfo.Controls.Add(this.labelRealName);
            this.pnlStep_MyInfo.Location = new System.Drawing.Point(10, 190);
            this.pnlStep_MyInfo.Name = "pnlStep_MyInfo";
            this.pnlStep_MyInfo.Size = new Size(0x9f, 0x7e);
            this.pnlStep_MyInfo.TabIndex = 3;
            this.buttonNewGrp.BackgroundImage = (Image) manager.GetObject("buttonNewGrp.BackgroundImage");
            this.buttonNewGrp.DisabledBackgroundImage = null;
            this.buttonNewGrp.HoverBackgroundImage = (Image) manager.GetObject("buttonNewGrp.HoverBackgroundImage");
            this.buttonNewGrp.Location = new System.Drawing.Point(0xc6, 0xc9);
            this.buttonNewGrp.Name = "buttonNewGrp";
            this.buttonNewGrp.NormalBackgroundImage = (Image) manager.GetObject("buttonNewGrp.NormalBackgroundImage");
            this.buttonNewGrp.PushedBackgroundImage = (Image) manager.GetObject("buttonNewGrp.PushedBackgroundImage");
            this.buttonNewGrp.Size = new Size(0x53, 0x15);
            this.buttonNewGrp.TabIndex = 0x1c;
            this.buttonNewGrp.Text = "    添加新组";
            this.buttonNewGrp.set_UseVisualStyleBackColor(true);
            this.buttonNewGrp.Click += new EventHandler(this.buttonNewGrp_Click);
            this.label1.set_AutoSize(true);
            this.label1.Font = new Font("Microsoft Sans Serif", 8.25f, FontStyle.Bold, GraphicsUnit.Point, 0);
            this.label1.Location = new System.Drawing.Point(6, 8);
            this.label1.Name = "label1";
            this.label1.Size = new Size(0x6f, 13);
            this.label1.TabIndex = 0x1b;
            this.label1.Text = "发送添加好友申请";
            this.chkInviteStartService.set_AutoSize(true);
            this.chkInviteStartService.Location = new System.Drawing.Point(15, 0x11c);
            this.chkInviteStartService.Name = "chkInviteStartService";
            this.chkInviteStartService.Size = new Size(0x88, 0x11);
            this.chkInviteStartService.TabIndex = 14;
            this.chkInviteStartService.Text = "邀请对方开通Fetion...";
            this.chkInviteStartService.set_UseVisualStyleBackColor(true);
            this.chkInviteStartService.Visible = false;
            this.comboBoxGroup.DropDownStyle = ComboBoxStyle.DropDownList;
            this.comboBoxGroup.set_FormattingEnabled(true);
            this.comboBoxGroup.Location = new System.Drawing.Point(15, 0xc9);
            this.comboBoxGroup.Name = "comboBoxGroup";
            this.comboBoxGroup.Size = new Size(0xaf, 0x15);
            this.comboBoxGroup.TabIndex = 12;
            this.textBoxMyName.Location = new System.Drawing.Point(15, 0x49);
            this.textBoxMyName.Name = "textBoxMyName";
            this.textBoxMyName.Size = new Size(0xb1, 20);
            this.textBoxMyName.TabIndex = 10;
            this.textBoxMyName.KeyPress += new KeyPressEventHandler(this.textBoxMyName_KeyPress);
            this.labelName.set_AutoSize(true);
            this.labelName.BackColor = Color.Transparent;
            this.labelName.BorderColor = Color.Empty;
            this.labelName.ButtonBorderStyle = ButtonBorderStyle.None;
            this.labelName.Font = new Font("Microsoft Sans Serif", 9f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.labelName.ForeColor = SystemColors.ControlText;
            this.labelName.Location = new System.Drawing.Point(15, 0x34);
            this.labelName.Name = "labelName";
            this.labelName.Size = new Size(0xf3, 15);
            this.labelName.TabIndex = 9;
            this.labelName.Text = "请输入您的姓名(限5个汉字或10个英文/数字)";
            this.labelRealName.LinkColor = Color.Blue;
            this.labelRealName.Location = new System.Drawing.Point(15, 100);
            this.labelRealName.Name = "labelRealName";
            this.labelRealName.ShowBackgroundImage = false;
            this.labelRealName.Size = new Size(0x13b, 0x27);
            this.labelRealName.TabIndex = 0x1a;
            this.labelRealName.Text = "建议";
            this.pbImportExport.BackColor = Color.Transparent;
            this.pbImportExport.Image = (Image) manager.GetObject("pbImportExport.Image");
            this.pbImportExport.Location = new System.Drawing.Point(0, 0);
            this.pbImportExport.Name = "pbImportExport";
            this.pbImportExport.Size = new Size(0x97, 0x13c);
            this.pbImportExport.TabIndex = 10;
            this.pbImportExport.TabStop = false;
            this.pnlMainContainer.BackColor = Color.Transparent;
            this.pnlMainContainer.Controls.Add(this.pbImportExport);
            this.pnlMainContainer.Controls.Add(this.pnlContainer);
            this.pnlMainContainer.Location = new System.Drawing.Point(3, 3);
            this.pnlMainContainer.Name = "pnlMainContainer";
            this.pnlMainContainer.Size = new Size(500, 0x13c);
            this.pnlMainContainer.TabIndex = 0;
            base.set_AutoScaleDimensions(new SizeF(6f, 13f));
            base.set_AutoScaleMode(1);
            base.BaseHeight = 0x185;
            base.BaseWidth = 0x20b;
            base.ClientSize = new Size(0x205, 0x165);
            base.Controls.Add(this.pnlMainContainer);
            base.Controls.Add(this.btnCancel);
            base.Controls.Add(this.btnNext);
            base.Controls.Add(this.btnPrevious);
            base.DisplayLocation = new System.Drawing.Point(0x12, 2);
            base.MinimizeBox = false;
            base.Name = "ImportForm";
            base.set_Padding(new Padding(6, 0x1f, 0x13, 8));
            base.StartPosition = FormStartPosition.CenterScreen;
            base.Text = "导入联系人";
            base.Load += new EventHandler(this.ImportForm_Load);
            this.pnlStep_SelSource.ResumeLayout(false);
            this.pnlStep_SelSource.PerformLayout();
            this.groupBox1.ResumeLayout(false);
            this.panelOutlookRead.ResumeLayout(false);
            this.panelOutlookRead.PerformLayout();
            this.panelFileSel.ResumeLayout(false);
            this.panelFileSel.PerformLayout();
            this.panelOutlookDes.ResumeLayout(false);
            this.pnlContainer.ResumeLayout(false);
            this.pnlStep_SelContact.ResumeLayout(false);
            this.pnlStep_SelContact.PerformLayout();
            this.pnlStep_Result.ResumeLayout(false);
            this.pnlStep_Result.PerformLayout();
            this.pnlStep_MyInfo.ResumeLayout(false);
            this.pnlStep_MyInfo.PerformLayout();
            this.pbImportExport.EndInit();
            this.pnlMainContainer.ResumeLayout(false);
            base.ResumeLayout(false);
        }

        private void initOutlookPanelWhenError()
        {
            this.panelOutlookDes.Dock = DockStyle.Fill;
            this.panelOutlookDes.BringToFront();
        }

        private void linkLabelHelp_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            FunctionHelper.StartFunc(WebFunction.Charge, string.Empty);
        }

        private void lstContacts_ItemChecked(object sender, ItemCheckedEventArgs e)
        {
            if (!this._checkByFunction)
            {
                if (e.get_Item().Checked)
                {
                    if (this.AllowChecked > this._totalChecked)
                    {
                        this._totalChecked++;
                    }
                    else
                    {
                        this._checkByFunction = true;
                        e.get_Item().Checked = false;
                        this._checkByFunction = false;
                        this._frameworkWin.UnifiedMessageBox.ShowInfo(this, string.Format("您最多只能选择{0}个联系人", this.AllowChecked));
                    }
                }
                else
                {
                    this._totalChecked--;
                }
                this.FormatSelectInfo();
                this.btnNext.Enabled = this._totalChecked > 0;
            }
        }

        protected override void OnFormClosed(FormClosedEventArgs e)
        {
            try
            {
                this.CurrentUser.ContactList.ContactGroupChanged -= new EventHandler<ContactGroupChangedEventArgs>(this, (IntPtr) this.ContactList_ContactGroupChanged);
                this.CurrentUser.StatusChanged -= new EventHandler<UserSatusChangedEventArgs>(this, (IntPtr) this.CurrentUser_StatusChanged);
                this._importXMLContent = nu

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -