实例介绍
【实例简介】实现qq群发功能
【实例截图】
【核心代码】
【实例截图】

【核心代码】
namespace QQUN
{
partial class MessageEdit
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MessageEdit));
this.itemPanel1 = new DevComponents.DotNetBar.ItemPanel();
this.label1 = new System.Windows.Forms.Label();
this.checkBoxX3 = new DevComponents.DotNetBar.Controls.CheckBoxX();
this.checkBoxX2 = new DevComponents.DotNetBar.Controls.CheckBoxX();
this.checkBoxX1 = new DevComponents.DotNetBar.Controls.CheckBoxX();
this.btnClose = new DevComponents.DotNetBar.ButtonX();
this.btnSave = new DevComponents.DotNetBar.ButtonX();
this.labelX4 = new DevComponents.DotNetBar.LabelX();
this.lblSize = new DevComponents.DotNetBar.LabelX();
this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
this.comboBoxEdit1 = new DevExpress.XtraEditors.ComboBoxEdit();
this.fontEdit1 = new DevExpress.XtraEditors.FontEdit();
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
this.colorDialog1 = new System.Windows.Forms.ColorDialog();
this.itemPanel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit1.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.fontEdit1.Properties)).BeginInit();
this.SuspendLayout();
//
// itemPanel1
//
//
//
//
this.itemPanel1.BackgroundStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
this.itemPanel1.BackgroundStyle.BackColorGradientAngle = 90;
this.itemPanel1.BackgroundStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
this.itemPanel1.BackgroundStyle.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.itemPanel1.BackgroundStyle.BorderBottomWidth = 1;
this.itemPanel1.BackgroundStyle.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.itemPanel1.BackgroundStyle.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.itemPanel1.BackgroundStyle.BorderLeftWidth = 1;
this.itemPanel1.BackgroundStyle.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.itemPanel1.BackgroundStyle.BorderRightWidth = 1;
this.itemPanel1.BackgroundStyle.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
this.itemPanel1.BackgroundStyle.BorderTopWidth = 1;
this.itemPanel1.Controls.Add(this.label1);
this.itemPanel1.Controls.Add(this.checkBoxX3);
this.itemPanel1.Controls.Add(this.checkBoxX2);
this.itemPanel1.Controls.Add(this.checkBoxX1);
this.itemPanel1.Controls.Add(this.btnClose);
this.itemPanel1.Controls.Add(this.btnSave);
this.itemPanel1.Controls.Add(this.labelX4);
this.itemPanel1.Controls.Add(this.lblSize);
this.itemPanel1.Controls.Add(this.buttonX2);
this.itemPanel1.Controls.Add(this.buttonX1);
this.itemPanel1.Controls.Add(this.comboBoxEdit1);
this.itemPanel1.Controls.Add(this.fontEdit1);
this.itemPanel1.Controls.Add(this.richTextBox1);
this.itemPanel1.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical;
this.itemPanel1.Location = new System.Drawing.Point(-2, 0);
this.itemPanel1.Name = "itemPanel1";
this.itemPanel1.Size = new System.Drawing.Size(445, 240);
this.itemPanel1.TabIndex = 0;
this.itemPanel1.Text = "itemPanel1";
//
// label1
//
this.label1.AutoSize = true;
this.label1.BackColor = System.Drawing.Color.Transparent;
this.label1.Location = new System.Drawing.Point(268, 150);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(29, 12);
this.label1.TabIndex = 16;
this.label1.Text = "颜色";
this.label1.Click = new System.EventHandler(this.label1_Click);
//
// checkBoxX3
//
this.checkBoxX3.BackColor = System.Drawing.Color.Transparent;
this.checkBoxX3.Font = new System.Drawing.Font("微软雅黑", 11F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.checkBoxX3.Location = new System.Drawing.Point(218, 147);
this.checkBoxX3.Name = "checkBoxX3";
this.checkBoxX3.Size = new System.Drawing.Size(37, 23);
this.checkBoxX3.TabIndex = 15;
this.checkBoxX3.Text = "U";
//
// checkBoxX2
//
this.checkBoxX2.BackColor = System.Drawing.Color.Transparent;
this.checkBoxX2.Font = new System.Drawing.Font("微软雅黑", 11F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.checkBoxX2.Location = new System.Drawing.Point(182, 147);
this.checkBoxX2.Name = "checkBoxX2";
this.checkBoxX2.Size = new System.Drawing.Size(32, 23);
this.checkBoxX2.TabIndex = 14;
this.checkBoxX2.Text = "I";
//
// checkBoxX1
//
this.checkBoxX1.BackColor = System.Drawing.Color.Transparent;
this.checkBoxX1.Font = new System.Drawing.Font("微软雅黑", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.checkBoxX1.Location = new System.Drawing.Point(149, 147);
this.checkBoxX1.Name = "checkBoxX1";
this.checkBoxX1.Size = new System.Drawing.Size(38, 23);
this.checkBoxX1.TabIndex = 13;
this.checkBoxX1.Text = "B";
this.checkBoxX1.CheckedChanged = new System.EventHandler(this.checkBoxX1_CheckedChanged);
//
// btnClose
//
this.btnClose.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnClose.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnClose.Location = new System.Drawing.Point(234, 204);
this.btnClose.Name = "btnClose";
this.btnClose.Size = new System.Drawing.Size(75, 23);
this.btnClose.TabIndex = 12;
this.btnClose.Text = "关闭";
this.btnClose.Click = new System.EventHandler(this.btnClose_Click);
//
// btnSave
//
this.btnSave.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnSave.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnSave.Location = new System.Drawing.Point(136, 204);
this.btnSave.Name = "btnSave";
this.btnSave.Size = new System.Drawing.Size(75, 23);
this.btnSave.TabIndex = 11;
this.btnSave.Text = "保存";
this.btnSave.Click = new System.EventHandler(this.btnSave_Click);
//
// labelX4
//
this.labelX4.BackColor = System.Drawing.Color.Transparent;
this.labelX4.Location = new System.Drawing.Point(139, 172);
this.labelX4.Name = "labelX4";
this.labelX4.Size = new System.Drawing.Size(187, 23);
this.labelX4.TabIndex = 10;
this.labelX4.Text = "发送讨论组信息时,请尽量简短";
//
// lblSize
//
this.lblSize.BackColor = System.Drawing.Color.Transparent;
this.lblSize.Location = new System.Drawing.Point(2, 173);
this.lblSize.Name = "lblSize";
this.lblSize.Size = new System.Drawing.Size(125, 23);
this.lblSize.TabIndex = 9;
this.lblSize.Text = "以输入字数:0";
//
// buttonX2
//
this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.buttonX2.Location = new System.Drawing.Point(348, 173);
this.buttonX2.Name = "buttonX2";
this.buttonX2.Size = new System.Drawing.Size(86, 23);
this.buttonX2.TabIndex = 8;
this.buttonX2.Text = "插入随机日期";
this.buttonX2.Click = new System.EventHandler(this.buttonX2_Click);
//
// buttonX1
//
this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.buttonX1.Location = new System.Drawing.Point(360, 145);
this.buttonX1.Name = "buttonX1";
this.buttonX1.Size = new System.Drawing.Size(75, 23);
this.buttonX1.TabIndex = 7;
this.buttonX1.Text = "插入图片";
this.buttonX1.Click = new System.EventHandler(this.buttonX1_Click);
//
// comboBoxEdit1
//
this.comboBoxEdit1.EditValue = "9";
this.comboBoxEdit1.Location = new System.Drawing.Point(100, 145);
this.comboBoxEdit1.Name = "comboBoxEdit1";
this.comboBoxEdit1.Properties.Appearance.BackColor = System.Drawing.SystemColors.GradientActiveCaption;
this.comboBoxEdit1.Properties.Appearance.Options.UseBackColor = true;
this.comboBoxEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.comboBoxEdit1.Properties.Items.AddRange(new object[] {
"9",
"10",
"11",
"12",
"13",
"14",
"15",
"16",
"17",
"18",
"19",
"20",
"21",
"22",
"23",
"24"});
this.comboBoxEdit1.Size = new System.Drawing.Size(48, 21);
this.comboBoxEdit1.TabIndex = 6;
this.comboBoxEdit1.SelectedIndexChanged = new System.EventHandler(this.comboBoxEdit1_SelectedIndexChanged);
//
// fontEdit1
//
this.fontEdit1.Location = new System.Drawing.Point(3, 144);
this.fontEdit1.Name = "fontEdit1";
this.fontEdit1.Properties.Appearance.BackColor = System.Drawing.SystemColors.GradientActiveCaption;
this.fontEdit1.Properties.Appearance.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.fontEdit1.Properties.Appearance.Options.UseBackColor = true;
this.fontEdit1.Properties.Appearance.Options.UseFont = true;
this.fontEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.fontEdit1.Size = new System.Drawing.Size(90, 23);
this.fontEdit1.TabIndex = 1;
this.fontEdit1.TextChanged = new System.EventHandler(this.fontEdit1_TextChanged);
//
// richTextBox1
//
this.richTextBox1.Location = new System.Drawing.Point(3, -1);
this.richTextBox1.Name = "richTextBox1";
this.richTextBox1.Size = new System.Drawing.Size(437, 138);
this.richTextBox1.TabIndex = 0;
this.richTextBox1.Text = "";
this.richTextBox1.TextChanged = new System.EventHandler(this.richTextBox1_TextChanged);
//
// openFileDialog1
//
this.openFileDialog1.FileName = "openFileDialog1";
//
// MessageEdit
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(444, 239);
this.Controls.Add(this.itemPanel1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "MessageEdit";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "内容编辑器";
this.itemPanel1.ResumeLayout(false);
this.itemPanel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit1.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.fontEdit1.Properties)).EndInit();
this.ResumeLayout(false);
}
#endregion
private DevComponents.DotNetBar.ItemPanel itemPanel1;
private DevExpress.XtraEditors.FontEdit fontEdit1;
private System.Windows.Forms.RichTextBox richTextBox1;
private DevExpress.XtraEditors.ComboBoxEdit comboBoxEdit1;
private DevComponents.DotNetBar.ButtonX buttonX2;
private DevComponents.DotNetBar.ButtonX buttonX1;
private DevComponents.DotNetBar.ButtonX btnClose;
private DevComponents.DotNetBar.ButtonX btnSave;
private DevComponents.DotNetBar.LabelX labelX4;
private DevComponents.DotNetBar.LabelX lblSize;
private DevComponents.DotNetBar.Controls.CheckBoxX checkBoxX3;
private DevComponents.DotNetBar.Controls.CheckBoxX checkBoxX2;
private DevComponents.DotNetBar.Controls.CheckBoxX checkBoxX1;
private System.Windows.Forms.OpenFileDialog openFileDialog1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.ColorDialog colorDialog1;
}
}
好例子网口号:伸出你的我的手 — 分享!
相关软件
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明


网友评论
我要评论