ab56a9bcf7
SVN-Revision: r240
311 lines
16 KiB
C#
311 lines
16 KiB
C#
using Lskj.Control;
|
|
namespace Lskj.Notice
|
|
{
|
|
partial class FrmMain
|
|
{
|
|
/// <summary>
|
|
/// 必需的设计器变量。
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// 清理所有正在使用的资源。
|
|
/// </summary>
|
|
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows 窗体设计器生成的代码
|
|
|
|
/// <summary>
|
|
/// 设计器支持所需的方法 - 不要
|
|
/// 使用代码编辑器修改此方法的内容。
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.components = new System.ComponentModel.Container();
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmMain));
|
|
this.timer3 = new System.Windows.Forms.Timer(this.components);
|
|
this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
|
|
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
this.TsmiShow = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.tsmiSetting = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.tsmiShowWindow = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.tsmiFlicker = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.tsmiExitByMain = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.TsmiClose = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.gridControlEx = new DevExpress.XtraGrid.GridControl();
|
|
this.gridView = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
this.AuditMessages = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.repositoryItemMemoEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemMemoEdit();
|
|
this.OperateDate = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.repositoryItemMemoEdit3 = new DevExpress.XtraEditors.Repository.RepositoryItemMemoEdit();
|
|
this.CreateUserName = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.repositoryItemTextEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
|
|
this.repositoryItemMemoExEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemMemoExEdit();
|
|
this.repositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
|
|
this.repositoryItemTextEdit3 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
|
|
this.repositoryItemTimeEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTimeEdit();
|
|
this.repositoryItemMemoEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemMemoEdit();
|
|
this.blinkTimer = new System.Windows.Forms.Timer(this.components);
|
|
this.contextMenuStrip1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.gridControlEx)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.gridView)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEdit1)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEdit3)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit2)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoExEdit1)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit3)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemTimeEdit1)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEdit2)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// timer3
|
|
//
|
|
this.timer3.Interval = 4000;
|
|
this.timer3.Tick += new System.EventHandler(this.OnTimerReloadTick);
|
|
//
|
|
// notifyIcon1
|
|
//
|
|
this.notifyIcon1.ContextMenuStrip = this.contextMenuStrip1;
|
|
this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
|
|
this.notifyIcon1.Text = "任务监视工具";
|
|
this.notifyIcon1.Visible = true;
|
|
this.notifyIcon1.MouseClick += new System.Windows.Forms.MouseEventHandler(this.OnNotifyIconMouseClick);
|
|
//
|
|
// contextMenuStrip1
|
|
//
|
|
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.TsmiShow,
|
|
this.tsmiSetting,
|
|
this.TsmiClose});
|
|
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
|
this.contextMenuStrip1.Size = new System.Drawing.Size(125, 70);
|
|
//
|
|
// TsmiShow
|
|
//
|
|
this.TsmiShow.Name = "TsmiShow";
|
|
this.TsmiShow.Size = new System.Drawing.Size(124, 22);
|
|
this.TsmiShow.Text = "显示列表";
|
|
this.TsmiShow.Click += new System.EventHandler(this.OnTsmiShowClick);
|
|
//
|
|
// tsmiSetting
|
|
//
|
|
this.tsmiSetting.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.tsmiShowWindow,
|
|
this.tsmiFlicker,
|
|
this.tsmiExitByMain});
|
|
this.tsmiSetting.Name = "tsmiSetting";
|
|
this.tsmiSetting.Size = new System.Drawing.Size(124, 22);
|
|
this.tsmiSetting.Text = "系统设置";
|
|
//
|
|
// tsmiShowWindow
|
|
//
|
|
this.tsmiShowWindow.Name = "tsmiShowWindow";
|
|
this.tsmiShowWindow.Size = new System.Drawing.Size(148, 22);
|
|
this.tsmiShowWindow.Text = "新消息弹窗";
|
|
this.tsmiShowWindow.Click += new System.EventHandler(this.OnTsmiShowWindowClick);
|
|
//
|
|
// tsmiFlicker
|
|
//
|
|
this.tsmiFlicker.Name = "tsmiFlicker";
|
|
this.tsmiFlicker.Size = new System.Drawing.Size(148, 22);
|
|
this.tsmiFlicker.Text = "新消息闪烁";
|
|
this.tsmiFlicker.Click += new System.EventHandler(this.OnTsmiFlickerClick);
|
|
//
|
|
// tsmiExitByMain
|
|
//
|
|
this.tsmiExitByMain.Name = "tsmiExitByMain";
|
|
this.tsmiExitByMain.Size = new System.Drawing.Size(148, 22);
|
|
this.tsmiExitByMain.Text = "随主程序退出";
|
|
this.tsmiExitByMain.Click += new System.EventHandler(this.OnTsmiExitByMainClick);
|
|
//
|
|
// TsmiClose
|
|
//
|
|
this.TsmiClose.Name = "TsmiClose";
|
|
this.TsmiClose.Size = new System.Drawing.Size(124, 22);
|
|
this.TsmiClose.Text = "退出";
|
|
this.TsmiClose.Click += new System.EventHandler(this.OnTsmiCloseClick);
|
|
//
|
|
// gridControlEx
|
|
//
|
|
this.gridControlEx.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.gridControlEx.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(2);
|
|
this.gridControlEx.Location = new System.Drawing.Point(0, 0);
|
|
this.gridControlEx.MainView = this.gridView;
|
|
this.gridControlEx.Margin = new System.Windows.Forms.Padding(2);
|
|
this.gridControlEx.Name = "gridControlEx";
|
|
this.gridControlEx.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
|
|
this.repositoryItemMemoEdit1,
|
|
this.repositoryItemMemoExEdit1,
|
|
this.repositoryItemTextEdit1,
|
|
this.repositoryItemTextEdit2,
|
|
this.repositoryItemTextEdit3,
|
|
this.repositoryItemTimeEdit1,
|
|
this.repositoryItemMemoEdit2,
|
|
this.repositoryItemMemoEdit3});
|
|
this.gridControlEx.Size = new System.Drawing.Size(461, 290);
|
|
this.gridControlEx.TabIndex = 4;
|
|
this.gridControlEx.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
this.gridView});
|
|
this.gridControlEx.MouseEnter += new System.EventHandler(this.OnTsmiMouseEnter);
|
|
this.gridControlEx.MouseLeave += new System.EventHandler(this.OnTsmiMouseLeave);
|
|
//
|
|
// gridView
|
|
//
|
|
this.gridView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
|
this.AuditMessages,
|
|
this.OperateDate,
|
|
this.CreateUserName});
|
|
this.gridView.GridControl = this.gridControlEx;
|
|
this.gridView.Name = "gridView";
|
|
this.gridView.OptionsBehavior.Editable = false;
|
|
this.gridView.OptionsView.RowAutoHeight = true;
|
|
this.gridView.OptionsView.ShowGroupPanel = false;
|
|
this.gridView.OptionsView.ShowIndicator = false;
|
|
//
|
|
// AuditMessages
|
|
//
|
|
this.AuditMessages.Caption = "待处理审批";
|
|
this.AuditMessages.ColumnEdit = this.repositoryItemMemoEdit1;
|
|
this.AuditMessages.FieldName = "AuditMessages";
|
|
this.AuditMessages.Name = "AuditMessages";
|
|
this.AuditMessages.Visible = true;
|
|
this.AuditMessages.VisibleIndex = 0;
|
|
this.AuditMessages.Width = 225;
|
|
//
|
|
// repositoryItemMemoEdit1
|
|
//
|
|
this.repositoryItemMemoEdit1.Appearance.Options.UseTextOptions = true;
|
|
this.repositoryItemMemoEdit1.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
|
|
this.repositoryItemMemoEdit1.Name = "repositoryItemMemoEdit1";
|
|
//
|
|
// OperateDate
|
|
//
|
|
this.OperateDate.Caption = "发生时间";
|
|
this.OperateDate.ColumnEdit = this.repositoryItemMemoEdit3;
|
|
this.OperateDate.FieldName = "OperateDate";
|
|
this.OperateDate.Name = "OperateDate";
|
|
this.OperateDate.Visible = true;
|
|
this.OperateDate.VisibleIndex = 1;
|
|
this.OperateDate.Width = 91;
|
|
//
|
|
// repositoryItemMemoEdit3
|
|
//
|
|
this.repositoryItemMemoEdit3.Name = "repositoryItemMemoEdit3";
|
|
//
|
|
// CreateUserName
|
|
//
|
|
this.CreateUserName.Caption = "发起人";
|
|
this.CreateUserName.ColumnEdit = this.repositoryItemTextEdit2;
|
|
this.CreateUserName.FieldName = "CreateUserName";
|
|
this.CreateUserName.Name = "CreateUserName";
|
|
this.CreateUserName.Visible = true;
|
|
this.CreateUserName.VisibleIndex = 2;
|
|
this.CreateUserName.Width = 63;
|
|
//
|
|
// repositoryItemTextEdit2
|
|
//
|
|
this.repositoryItemTextEdit2.AutoHeight = false;
|
|
this.repositoryItemTextEdit2.Name = "repositoryItemTextEdit2";
|
|
//
|
|
// repositoryItemMemoExEdit1
|
|
//
|
|
this.repositoryItemMemoExEdit1.AutoHeight = false;
|
|
this.repositoryItemMemoExEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
this.repositoryItemMemoExEdit1.Name = "repositoryItemMemoExEdit1";
|
|
//
|
|
// repositoryItemTextEdit1
|
|
//
|
|
this.repositoryItemTextEdit1.AutoHeight = false;
|
|
this.repositoryItemTextEdit1.Name = "repositoryItemTextEdit1";
|
|
//
|
|
// repositoryItemTextEdit3
|
|
//
|
|
this.repositoryItemTextEdit3.AutoHeight = false;
|
|
this.repositoryItemTextEdit3.Name = "repositoryItemTextEdit3";
|
|
//
|
|
// repositoryItemTimeEdit1
|
|
//
|
|
this.repositoryItemTimeEdit1.AutoHeight = false;
|
|
this.repositoryItemTimeEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
this.repositoryItemTimeEdit1.Name = "repositoryItemTimeEdit1";
|
|
//
|
|
// repositoryItemMemoEdit2
|
|
//
|
|
this.repositoryItemMemoEdit2.Name = "repositoryItemMemoEdit2";
|
|
//
|
|
// blinkTimer
|
|
//
|
|
this.blinkTimer.Interval = 500;
|
|
this.blinkTimer.Tick += new System.EventHandler(this.OnBlinkTimerTick);
|
|
//
|
|
// FrmMain
|
|
//
|
|
this.Appearance.BackColor = System.Drawing.SystemColors.Control;
|
|
this.Appearance.Options.UseBackColor = true;
|
|
this.Appearance.Options.UseFont = true;
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
|
this.ClientSize = new System.Drawing.Size(461, 290);
|
|
this.Controls.Add(this.gridControlEx);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "FrmMain";
|
|
this.Text = "待处理任务";
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.OnMainFormClosing);
|
|
this.Load += new System.EventHandler(this.OnMainLoad);
|
|
this.SizeChanged += new System.EventHandler(this.OnFrmMainSizeChanged);
|
|
this.contextMenuStrip1.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.gridControlEx)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.gridView)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEdit1)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEdit3)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit2)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoExEdit1)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit3)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemTimeEdit1)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEdit2)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Timer timer3;
|
|
private System.Windows.Forms.NotifyIcon notifyIcon1;
|
|
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
|
private System.Windows.Forms.ToolStripMenuItem TsmiShow;
|
|
private System.Windows.Forms.ToolStripMenuItem TsmiClose;
|
|
private DevExpress.XtraGrid.GridControl gridControlEx;
|
|
private DevExpress.XtraGrid.Views.Grid.GridView gridView;
|
|
private DevExpress.XtraGrid.Columns.GridColumn OperateDate;
|
|
private System.Windows.Forms.Timer blinkTimer;
|
|
private System.Windows.Forms.ToolStripMenuItem tsmiSetting;
|
|
private System.Windows.Forms.ToolStripMenuItem tsmiShowWindow;
|
|
private System.Windows.Forms.ToolStripMenuItem tsmiFlicker;
|
|
private System.Windows.Forms.ToolStripMenuItem tsmiExitByMain;
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemMemoEdit repositoryItemMemoEdit1;
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemMemoExEdit repositoryItemMemoExEdit1;
|
|
private DevExpress.XtraGrid.Columns.GridColumn AuditMessages;
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemTextEdit repositoryItemTextEdit1;
|
|
private DevExpress.XtraGrid.Columns.GridColumn CreateUserName;
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemTextEdit repositoryItemTextEdit2;
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemTextEdit repositoryItemTextEdit3;
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemTimeEdit repositoryItemTimeEdit1;
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemMemoEdit repositoryItemMemoEdit2;
|
|
private DevExpress.XtraEditors.Repository.RepositoryItemMemoEdit repositoryItemMemoEdit3;
|
|
}
|
|
}
|
|
|