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

📄 initexprofile.cs

📁 飞信的收发使用csharp进行开发
💻 CS
📖 第 1 页 / 共 2 页
字号:
            this.txtOtherEmail.Size = new Size(0xa1, 20);
            this.txtOtherEmail.TabIndex = 0x17;
            this.txtWorkEmail.Location = new Point(0xb1, 0xe1);
            this.txtWorkEmail.MaxLength = 0x40;
            this.txtWorkEmail.Name = "txtWorkEmail";
            this.txtWorkEmail.Size = new Size(160, 20);
            this.txtWorkEmail.TabIndex = 0x13;
            this.txtPersonalEmail.Location = new Point(0xb1, 0xb1);
            this.txtPersonalEmail.MaxLength = 0x40;
            this.txtPersonalEmail.Name = "txtPersonalEmail";
            this.txtPersonalEmail.Size = new Size(160, 20);
            this.txtPersonalEmail.TabIndex = 15;
            this.txtOtherPhone.Location = new Point(20, 0x112);
            this.txtOtherPhone.MaxLength = 0x20;
            this.txtOtherPhone.Name = "txtOtherPhone";
            this.txtOtherPhone.Size = new Size(0x7f, 20);
            this.txtOtherPhone.TabIndex = 0x15;
            this.txtWorkPhone.Location = new Point(20, 0xe1);
            this.txtWorkPhone.MaxLength = 0x20;
            this.txtWorkPhone.Name = "txtWorkPhone";
            this.txtWorkPhone.Size = new Size(0x7f, 20);
            this.txtWorkPhone.TabIndex = 0x11;
            this.txtHomePhone.Location = new Point(20, 0xb1);
            this.txtHomePhone.MaxLength = 0x20;
            this.txtHomePhone.Name = "txtHomePhone";
            this.txtHomePhone.Size = new Size(0x7f, 20);
            this.txtHomePhone.TabIndex = 13;
            this.lblOtherEmail.AutoEllipsis = false;
            this.lblOtherEmail.AutoSize = true;
            this.lblOtherEmail.BorderColor = Color.Black;
            this.lblOtherEmail.BorderStyle = BorderStyle.None;
            this.lblOtherEmail.ButtonBorderStyle = ButtonBorderStyle.Solid;
            this.lblOtherEmail.Location = new Point(0xaf, 0xff);
            this.lblOtherEmail.Name = "lblOtherEmail";
            this.lblOtherEmail.Size = new Size(0x51, 13);
            this.lblOtherEmail.TabIndex = 0x16;
            this.lblOtherEmail.Text = "其他电子邮件";
            this.lblOtherEmail.TextAlign = ContentAlignment.TopLeft;
            this.lblOtherEmail.UseMnemonic = false;
            this.lblWorkEmail_Nav.AutoEllipsis = false;
            this.lblWorkEmail_Nav.AutoSize = true;
            this.lblWorkEmail_Nav.BorderColor = Color.Black;
            this.lblWorkEmail_Nav.BorderStyle = BorderStyle.None;
            this.lblWorkEmail_Nav.ButtonBorderStyle = ButtonBorderStyle.Solid;
            this.lblWorkEmail_Nav.Location = new Point(0xae, 0xce);
            this.lblWorkEmail_Nav.Name = "lblWorkEmail_Nav";
            this.lblWorkEmail_Nav.Size = new Size(0x51, 13);
            this.lblWorkEmail_Nav.TabIndex = 0x12;
            this.lblWorkEmail_Nav.Text = "工作电子邮件";
            this.lblWorkEmail_Nav.TextAlign = ContentAlignment.TopLeft;
            this.lblWorkEmail_Nav.UseMnemonic = false;
            this.lblPersonalEmail_Nav.AutoEllipsis = false;
            this.lblPersonalEmail_Nav.AutoSize = true;
            this.lblPersonalEmail_Nav.BorderColor = Color.Black;
            this.lblPersonalEmail_Nav.BorderStyle = BorderStyle.None;
            this.lblPersonalEmail_Nav.ButtonBorderStyle = ButtonBorderStyle.Solid;
            this.lblPersonalEmail_Nav.Location = new Point(0xae, 0x9d);
            this.lblPersonalEmail_Nav.Name = "lblPersonalEmail_Nav";
            this.lblPersonalEmail_Nav.Size = new Size(0x51, 13);
            this.lblPersonalEmail_Nav.TabIndex = 14;
            this.lblPersonalEmail_Nav.Text = "个人电子邮件";
            this.lblPersonalEmail_Nav.TextAlign = ContentAlignment.TopLeft;
            this.lblPersonalEmail_Nav.UseMnemonic = false;
            this.label1.AutoEllipsis = false;
            this.label1.AutoSize = true;
            this.label1.BorderColor = Color.Black;
            this.label1.BorderStyle = BorderStyle.None;
            this.label1.ButtonBorderStyle = ButtonBorderStyle.Solid;
            this.label1.Location = new Point(0x11, 0x12f);
            this.label1.Name = "label1";
            this.label1.Size = new Size(0x51, 13);
            this.label1.TabIndex = 0x18;
            this.label1.Text = "首选电子邮件";
            this.label1.TextAlign = ContentAlignment.TopLeft;
            this.label1.UseMnemonic = false;
            this.lblOtherPhone_Nav.AutoEllipsis = false;
            this.lblOtherPhone_Nav.AutoSize = true;
            this.lblOtherPhone_Nav.BorderColor = Color.Black;
            this.lblOtherPhone_Nav.BorderStyle = BorderStyle.None;
            this.lblOtherPhone_Nav.ButtonBorderStyle = ButtonBorderStyle.Solid;
            this.lblOtherPhone_Nav.Location = new Point(0x11, 0xff);
            this.lblOtherPhone_Nav.Name = "lblOtherPhone_Nav";
            this.lblOtherPhone_Nav.Size = new Size(0x39, 13);
            this.lblOtherPhone_Nav.TabIndex = 20;
            this.lblOtherPhone_Nav.Text = "其他电话";
            this.lblOtherPhone_Nav.TextAlign = ContentAlignment.TopLeft;
            this.lblOtherPhone_Nav.UseMnemonic = false;
            this.lblWorkPhone_Nav.AutoEllipsis = false;
            this.lblWorkPhone_Nav.AutoSize = true;
            this.lblWorkPhone_Nav.BorderColor = Color.Black;
            this.lblWorkPhone_Nav.BorderStyle = BorderStyle.None;
            this.lblWorkPhone_Nav.ButtonBorderStyle = ButtonBorderStyle.Solid;
            this.lblWorkPhone_Nav.Location = new Point(0x11, 0xce);
            this.lblWorkPhone_Nav.Name = "lblWorkPhone_Nav";
            this.lblWorkPhone_Nav.Size = new Size(0x39, 13);
            this.lblWorkPhone_Nav.TabIndex = 0x10;
            this.lblWorkPhone_Nav.Text = "工作电话";
            this.lblWorkPhone_Nav.TextAlign = ContentAlignment.TopLeft;
            this.lblWorkPhone_Nav.UseMnemonic = false;
            this.lblHomePhone_Nav.AutoEllipsis = false;
            this.lblHomePhone_Nav.AutoSize = true;
            this.lblHomePhone_Nav.BorderColor = Color.Black;
            this.lblHomePhone_Nav.BorderStyle = BorderStyle.None;
            this.lblHomePhone_Nav.ButtonBorderStyle = ButtonBorderStyle.Solid;
            this.lblHomePhone_Nav.Location = new Point(0x11, 0x9d);
            this.lblHomePhone_Nav.Name = "lblHomePhone_Nav";
            this.lblHomePhone_Nav.Size = new Size(0x39, 13);
            this.lblHomePhone_Nav.TabIndex = 12;
            this.lblHomePhone_Nav.Text = "家庭电话";
            this.lblHomePhone_Nav.TextAlign = ContentAlignment.TopLeft;
            this.lblHomePhone_Nav.UseMnemonic = false;
            this.lblExtend.AutoEllipsis = false;
            this.lblExtend.AutoSize = true;
            this.lblExtend.BorderColor = Color.Black;
            this.lblExtend.BorderStyle = BorderStyle.None;
            this.lblExtend.ButtonBorderStyle = ButtonBorderStyle.Solid;
            this.lblExtend.ForeColor = SystemColors.ControlText;
            this.lblExtend.Location = new Point(5, 11);
            this.lblExtend.Name = "lblExtend";
            this.lblExtend.Size = new Size(0x39, 13);
            this.lblExtend.TabIndex = 0;
            this.lblExtend.Text = "扩展信息";
            this.lblExtend.TextAlign = ContentAlignment.TopLeft;
            this.lblExtend.UseMnemonic = false;
            this.lblSeperate.AutoEllipsis = false;
            this.lblSeperate.BorderColor = Color.Black;
            this.lblSeperate.BorderStyle = BorderStyle.Fixed3D;
            this.lblSeperate.ButtonBorderStyle = ButtonBorderStyle.Solid;
            this.lblSeperate.Location = new Point(0x44, 0x11);
            this.lblSeperate.Name = "lblSeperate";
            this.lblSeperate.Size = new Size(300, 2);
            this.lblSeperate.TabIndex = 1;
            this.lblSeperate.TextAlign = ContentAlignment.TopLeft;
            this.lblSeperate.UseMnemonic = false;
            this.lblBirthday.AutoEllipsis = false;
            this.lblBirthday.AutoSize = true;
            this.lblBirthday.BorderColor = Color.Black;
            this.lblBirthday.BorderStyle = BorderStyle.None;
            this.lblBirthday.ButtonBorderStyle = ButtonBorderStyle.Solid;
            this.lblBirthday.Location = new Point(0x11, 0x25);
            this.lblBirthday.Name = "lblBirthday";
            this.lblBirthday.Size = new Size(0x39, 13);
            this.lblBirthday.TabIndex = 2;
            this.lblBirthday.Text = "出生日期";
            this.lblBirthday.TextAlign = ContentAlignment.TopLeft;
            this.lblBirthday.UseMnemonic = false;
            this.lblBloodType.AutoEllipsis = false;
            this.lblBloodType.AutoSize = true;
            this.lblBloodType.BorderColor = Color.Black;
            this.lblBloodType.BorderStyle = BorderStyle.None;
            this.lblBloodType.ButtonBorderStyle = ButtonBorderStyle.Solid;
            this.lblBloodType.Location = new Point(0x11, 80);
            this.lblBloodType.Name = "lblBloodType";
            this.lblBloodType.Size = new Size(0x21, 13);
            this.lblBloodType.TabIndex = 6;
            this.lblBloodType.Text = "血型";
            this.lblBloodType.TextAlign = ContentAlignment.TopLeft;
            this.lblBloodType.UseMnemonic = false;
            this.label2.AutoEllipsis = false;
            this.label2.AutoSize = true;
            this.label2.BorderColor = Color.Black;
            this.label2.BorderStyle = BorderStyle.None;
            this.label2.ButtonBorderStyle = ButtonBorderStyle.Solid;
            this.label2.Location = new Point(0xd6, 0x24);
            this.label2.Name = "label2";
            this.label2.Size = new Size(0x21, 13);
            this.label2.TabIndex = 8;
            this.label2.Text = "生肖";
            this.label2.TextAlign = ContentAlignment.TopLeft;
            this.label2.UseMnemonic = false;
            this.lblRelation.AutoEllipsis = false;
            this.lblRelation.AutoSize = true;
            this.lblRelation.BorderColor = Color.Black;
            this.lblRelation.BorderStyle = BorderStyle.None;
            this.lblRelation.ButtonBorderStyle = ButtonBorderStyle.Solid;
            this.lblRelation.ForeColor = SystemColors.ControlText;
            this.lblRelation.Location = new Point(7, 0x85);
            this.lblRelation.Name = "lblRelation";
            this.lblRelation.Size = new Size(0x39, 13);
            this.lblRelation.TabIndex = 10;
            this.lblRelation.Text = "联系方式";
            this.lblRelation.TextAlign = ContentAlignment.TopLeft;
            this.lblRelation.UseMnemonic = false;
            this.label3.AutoEllipsis = false;
            this.label3.BorderColor = Color.Black;
            this.label3.BorderStyle = BorderStyle.Fixed3D;
            this.label3.ButtonBorderStyle = ButtonBorderStyle.Solid;
            this.label3.Location = new Point(0x41, 0x8b);
            this.label3.Name = "label3";
            this.label3.Size = new Size(300, 2);
            this.label3.TabIndex = 11;
            this.label3.Text = "星座";
            this.label3.TextAlign = ContentAlignment.TopLeft;
            this.label3.UseMnemonic = false;
            this.label4.AutoEllipsis = false;
            this.label4.AutoSize = true;
            this.label4.BorderColor = Color.Black;
            this.label4.BorderStyle = BorderStyle.None;
            this.label4.ButtonBorderStyle = ButtonBorderStyle.Solid;
            this.label4.Location = new Point(0xd5, 80);
            this.label4.Name = "label4";
            this.label4.Size = new Size(0x21, 13);
            this.label4.TabIndex = 4;
            this.label4.Text = "星座";
            this.label4.TextAlign = ContentAlignment.TopLeft;
            this.label4.UseMnemonic = false;
            base.AutoScaleDimensions = new SizeF(6f, 13f);
            base.AutoScaleMode = AutoScaleMode.Font;
            base.Controls.Add(this.label4);
            base.Controls.Add(this.cboPrimaryEmail);
            base.Controls.Add(this.txtOtherEmail);
            base.Controls.Add(this.txtWorkEmail);
            base.Controls.Add(this.txtPersonalEmail);
            base.Controls.Add(this.txtOtherPhone);
            base.Controls.Add(this.txtWorkPhone);
            base.Controls.Add(this.txtHomePhone);
            base.Controls.Add(this.lblOtherEmail);
            base.Controls.Add(this.lblWorkEmail_Nav);
            base.Controls.Add(this.lblPersonalEmail_Nav);
            base.Controls.Add(this.label1);
            base.Controls.Add(this.lblOtherPhone_Nav);
            base.Controls.Add(this.lblWorkPhone_Nav);
            base.Controls.Add(this.lblHomePhone_Nav);
            base.Controls.Add(this.lblRelation);
            base.Controls.Add(this.label3);
            base.Controls.Add(this.cboBloodType);
            base.Controls.Add(this.txtLunarAnimal);
            base.Controls.Add(this.txtHoroscope);
            base.Controls.Add(this.ctlDateTime);
            base.Controls.Add(this.label2);
            base.Controls.Add(this.lblBloodType);
            base.Controls.Add(this.lblBirthday);
            base.Controls.Add(this.lblExtend);
            base.Controls.Add(this.lblSeperate);
            base.Name = "InitExProfile";
            base.Size = new Size(360, 400);
            base.ResumeLayout(false);
            base.PerformLayout();
        }

        private void LoadResource()
        {
        }

        private void ShowUserProfile()
        {
            this.ctlDateTime.SelectedDateTime = (DateTime?) base._pdata.ProvsionUserInfo.BirthDate;
            if (base._pdata.ProvsionUserInfo.BirthDate.Value.Value.Year == this.ctlDateTime.NullYear)
            {
                this.ctlDateTime.SelectedYearText = string.Empty;
            }
            if (base._pdata.ProvsionUserInfo.BirthDateValid == null)
            {
                this.ctlDateTime.SelectedMonth = 0;
                this.ctlDateTime.SelectedDay = 0;
            }
            this.cboBloodType.SelectedValue = base._pdata.ProvsionUserInfo.BloodType;
            this.txtHomePhone.Text = (string) base._pdata.ProvsionUserInfo.HomePhone;
            this.txtOtherPhone.Text = (string) base._pdata.ProvsionUserInfo.OtherPhone;
            this.txtWorkPhone.Text = (string) base._pdata.ProvsionUserInfo.WorkPhone;
            this.txtOtherEmail.Text = (string) base._pdata.ProvsionUserInfo.OtherEmail;
            this.txtPersonalEmail.Text = (string) base._pdata.ProvsionUserInfo.PersonalEmail;
            this.txtWorkEmail.Text = (string) base._pdata.ProvsionUserInfo.WorkEmail;
            this.cboPrimaryEmail.SelectedValue = EnumHelper.Int32ToEnum<EmailUseType>(base._pdata.ProvsionUserInfo.PrimaryEmail.Value, EmailUseType.PersonalEmail);
            this.FormatHoroscopeAndLunarAnimal();
        }

        public override int ID
        {
            get
            {
                return 1;
            }
        }
    }
}

⌨️ 快捷键说明

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