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

📄 ssstatusreplaycontrol.cs

📁 飞信的收发使用csharp进行开发
💻 CS
📖 第 1 页 / 共 3 页
字号:
            this.dlReply.Items.Clear();
            for (int i = 0; i < this._autoReply.Count; i++)
            {
                int num2 = i + 1;
                this.dlReply.Items.Add(num2.ToString());
            }
            this.chkAutoReply.Enabled = this.CurrentUser.Status == UserAccountStatus.Logon;
            this.dlReply.SelectedIndex = 0;
        }

        private void InitializeComponent()
        {
            this.label1 = new XLabel();
            this.chkNoAction = new CheckBox();
            this.chkLock = new CheckBox();
            this.chkFullScreen = new CheckBox();
            this.label2 = new XLabel();
            this.nudAway = new XNumericUpDown();
            this.chkAutoReply = new CheckBox();
            this.txtReply = new XTextBox();
            this.dlReply = new XComboBox();
            this.label4 = new XLabel();
            this.label5 = new XLabel();
            this.lstCustomizedPresence = new ListBox();
            this.btnDel = new XButton();
            this.btnAdd = new XButton();
            this.lbMainPresence = new XLabel();
            this.btnModify = new XButton();
            this.label7 = new XLabel();
            this.tbCustomTo = new XTextBox();
            this.lstMainPresences = new ListBox();
            this.label8 = new XLabel();
            this.chkAutoOffline = new CheckBox();
            this.numAutoOffline = new XNumericUpDown();
            this.label9 = new XLabel();
            XLabel label = new XLabel();
            XLabel label2 = new XLabel();
            XLabel label3 = new XLabel();
            this.nudAway.BeginInit();
            this.numAutoOffline.BeginInit();
            base.SuspendLayout();
            label.AutoEllipsis = false;
            label.BorderColor = Color.Black;
            label.BorderStyle = BorderStyle.Fixed3D;
            label.ButtonBorderStyle = ButtonBorderStyle.Solid;
            label.Location = new Point(0x39, 15);
            label.Name = "lbLine";
            label.Size = new Size(300, 2);
            label.TabIndex = 0x19;
            label.TextAlign = ContentAlignment.TopLeft;
            label.UseMnemonic = false;
            label2.AutoEllipsis = false;
            label2.BorderColor = Color.Black;
            label2.BorderStyle = BorderStyle.Fixed3D;
            label2.ButtonBorderStyle = ButtonBorderStyle.Solid;
            label2.Location = new Point(0x55, 0x11f);
            label2.Name = "label3";
            label2.Size = new Size(260, 2);
            label2.TabIndex = 0x15;
            label2.TextAlign = ContentAlignment.TopLeft;
            label2.UseMnemonic = false;
            label3.AutoEllipsis = false;
            label3.BorderColor = Color.Black;
            label3.BorderStyle = BorderStyle.Fixed3D;
            label3.ButtonBorderStyle = ButtonBorderStyle.Solid;
            label3.Location = new Point(0x3a, 0x86);
            label3.Name = "label6";
            label3.Size = new Size(300, 2);
            label3.TabIndex = 10;
            label3.TextAlign = ContentAlignment.TopLeft;
            label3.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(5, 9);
            this.label1.Name = "label1";
            this.label1.Size = new Size(0x38, 14);
            this.label1.TabIndex = 0;
            this.label1.Text = "状态转化";
            this.label1.TextAlign = ContentAlignment.TopLeft;
            this.label1.UseMnemonic = false;
            this.chkNoAction.AutoSize = true;
            this.chkNoAction.Location = new Point(0x10, 30);
            this.chkNoAction.Name = "chkNoAction";
            this.chkNoAction.Size = new Size(15, 14);
            this.chkNoAction.TabIndex = 1;
            this.chkNoAction.UseVisualStyleBackColor = true;
            this.chkNoAction.CheckedChanged += new EventHandler(this.chkNoAction_CheckedChanged);
            this.chkLock.AutoSize = true;
            this.chkLock.Location = new Point(0x10, 80);
            this.chkLock.Name = "chkLock";
            this.chkLock.Size = new Size(0x10b, 0x11);
            this.chkLock.TabIndex = 7;
            this.chkLock.Text = "屏幕保护/计算机锁定时自动切换到“离开”状态";
            this.chkLock.UseVisualStyleBackColor = true;
            this.chkFullScreen.AutoSize = true;
            this.chkFullScreen.Location = new Point(0x10, 0x68);
            this.chkFullScreen.Name = "chkFullScreen";
            this.chkFullScreen.Size = new Size(0xd6, 0x11);
            this.chkFullScreen.TabIndex = 8;
            this.chkFullScreen.Text = "运行全屏幕程序时设定状态为“忙碌”";
            this.chkFullScreen.UseVisualStyleBackColor = true;
            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(5, 0x11a);
            this.label2.Name = "label2";
            this.label2.Size = new Size(80, 14);
            this.label2.TabIndex = 20;
            this.label2.Text = "自动回复设置";
            this.label2.TextAlign = ContentAlignment.TopLeft;
            this.label2.UseMnemonic = false;
            this.nudAway.Location = new Point(0x22, 0x1c);
            int[] bits = new int[4];
            bits[0] = 30;
            this.nudAway.Maximum = new decimal(bits);
            this.nudAway.MaxLength = 0x7fff;
            int[] numArray2 = new int[4];
            numArray2[0] = 1;
            this.nudAway.Minimum = new decimal(numArray2);
            this.nudAway.Name = "nudAway";
            this.nudAway.Size = new Size(0x2b, 20);
            this.nudAway.TabIndex = 2;
            int[] numArray3 = new int[4];
            numArray3[0] = 5;
            this.nudAway.Value = new decimal(numArray3);
            this.chkAutoReply.AutoSize = true;
            this.chkAutoReply.Location = new Point(0x10, 0x132);
            this.chkAutoReply.Name = "chkAutoReply";
            this.chkAutoReply.Size = new Size(0xa4, 0x11);
            this.chkAutoReply.TabIndex = 0x16;
            this.chkAutoReply.Text = "离开时自动回复(50字以内)";
            this.chkAutoReply.UseVisualStyleBackColor = true;
            this.chkAutoReply.CheckedChanged += new EventHandler(this.chkAutoReply_CheckedChanged);
            this.txtReply.BackColor = Color.White;
            this.txtReply.BorderStyle = BorderStyle.FixedSingle;
            this.txtReply.Location = new Point(0x10, 330);
            this.txtReply.MaxLength = 50;
            this.txtReply.Multiline = true;
            this.txtReply.Name = "txtReply";
            this.txtReply.Size = new Size(0x147, 0x62);
            this.txtReply.TabIndex = 0x18;
            this.txtReply.TextChanged += new EventHandler(this.txtReply_TextChanged);
            this.dlReply.BackColor = Color.White;
            this.dlReply.DropDownStyle = ComboBoxStyle.DropDownList;
            this.dlReply.FormattingEnabled = true;
            this.dlReply.Items.AddRange(new object[] { "1", "2", "3", "4", "5" });
            this.dlReply.Location = new Point(0x11c, 0x12f);
            this.dlReply.Name = "dlReply";
            this.dlReply.Size = new Size(0x3b, 0x15);
            this.dlReply.TabIndex = 0x17;
            this.dlReply.SelectedIndexChanged += new EventHandler(this.dlReply_SelectedIndexChanged);
            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(0x4e, 0x21);
            this.label4.Name = "label4";
            this.label4.Size = new Size(0xee, 14);
            this.label4.TabIndex = 3;
            this.label4.Text = "分钟键盘鼠标无动作自动切换到“离开”状态";
            this.label4.TextAlign = ContentAlignment.TopLeft;
            this.label4.UseMnemonic = false;
            this.label5.AutoEllipsis = false;
            this.label5.AutoSize = true;
            this.label5.BorderColor = Color.Black;
            this.label5.BorderStyle = BorderStyle.None;
            this.label5.ButtonBorderStyle = ButtonBorderStyle.Solid;
            this.label5.Location = new Point(5, 0x80);
            this.label5.Name = "label5";
            this.label5.Size = new Size(0x44, 14);
            this.label5.TabIndex = 9;
            this.label5.Text = "自定义状态";
            this.label5.TextAlign = ContentAlignment.TopLeft;
            this.label5.UseMnemonic = false;
            this.lstCustomizedPresence.BorderStyle = BorderStyle.FixedSingle;
            this.lstCustomizedPresence.FormattingEnabled = true;
            this.lstCustomizedPresence.Location = new Point(0x10, 0xb1);
            this.lstCustomizedPresence.Name = "lstCustomizedPresence";
            this.lstCustomizedPresence.Size = new Size(0x88, 0x5d);
            this.lstCustomizedPresence.TabIndex = 12;
            this.btnDel.Location = new Point(0x9f, 0xf6);
            this.btnDel.Name = "btnDel";
            this.btnDel.Size = new Size(60, 0x19);
            this.btnDel.TabIndex = 0x11;
            this.btnDel.Text = "删除";
            this.btnDel.UseVisualStyleBackColor = true;
            this.btnDel.Click += new EventHandler(this.btnDel_Click);
            this.btnAdd.Location = new Point(0xe1, 0xf6);
            this.btnAdd.Name = "btnAdd";
            this.btnAdd.Size = new Size(60, 0x19);
            this.btnAdd.TabIndex = 0x12;
            this.btnAdd.Text = "增加";
            this.btnAdd.UseVisualStyleBackColor = true;
            this.btnAdd.Click += new EventHandler(this.btnAdd_Click);
            this.lbMainPresence.AutoEllipsis = false;
            this.lbMainPresence.AutoSize = true;
            this.lbMainPresence.BorderColor = Color.Black;
            this.lbMainPresence.BorderStyle = BorderStyle.None;
            this.lbMainPresence.ButtonBorderStyle = ButtonBorderStyle.Solid;
            this.lbMainPresence.Location = new Point(0x9e, 0x97);
            this.lbMainPresence.Name = "lbMainPresence";
            this.lbMainPresence.Size = new Size(0x3e, 14);
            this.lbMainPresence.TabIndex = 13;
            this.lbMainPresence.Text = "主 状 态:";
            this.lbMainPresence.TextAlign = ContentAlignment.TopLeft;
            this.lbMainPresence.UseMnemonic = false;
            this.btnModify.Location = new Point(0x123, 0xf6);
            this.btnModify.Name = "btnModify";
            this.btnModify.Size = new Size(60, 0x19);
            this.btnModify.TabIndex = 0x13;
            this.btnModify.Text = "修改";
            this.btnModify.UseVisualStyleBackColor = true;
            this.btnModify.Click += new EventHandler(this.btnModify_Click);
            this.label7.AutoEllipsis = false;
            this.label7.AutoSize = true;
            this.label7.BorderColor = Color.Black;
            this.label7.BorderStyle = BorderStyle.None;
            this.label7.ButtonBorderStyle = ButtonBorderStyle.Solid;
            this.label7.Location = new Point(0x9e, 0xe2);
            this.label7.Name = "label7";
            this.label7.Size = new Size(0x44, 14);
            this.label7.TabIndex = 15;
            this.label7.Text = "自定义为:";
            this.label7.TextAlign = ContentAlignment.TopLeft;
            this.label7.UseMnemonic = false;
            this.tbCustomTo.BackColor = Color.White;
            this.tbCustomTo.BorderStyle = BorderStyle.FixedSingle;
            this.tbCustomTo.Location = new Point(0xe1, 0xde);
            this.tbCustomTo.Name = "tbCustomTo";
            this.tbCustomTo.Size = new Size(0x7e, 20);
            this.tbCustomTo.TabIndex = 0x10;
            this.lstMainPresences.BorderStyle = BorderStyle.FixedSingle;
            this.lstMainPresences.FormattingEnabled = true;
            this.lstMainPresences.Location = new Point(0xe1, 0x97);
            this.lstMainPresences.Name = "lstMainPresences";
            this.lstMainPresences.Size = new Size(0x7e, 0x43);
            this.lstMainPresences.TabIndex = 14;
            this.label8.AutoEllipsis = false;
            this.label8.AutoSize = true;
            this.label8.BorderColor = Color.Black;
            this.label8.BorderStyle = BorderStyle.None;
            this.label8.ButtonBorderStyle = ButtonBorderStyle.Solid;

⌨️ 快捷键说明

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