Exemplo n.º 1
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.panelBottom     = new System.Windows.Forms.Panel();
     this.lbNewNotice     = new System.Windows.Forms.Label();
     this.btnNext         = new System.Windows.Forms.Button();
     this.ckShowEveryDay  = new System.Windows.Forms.CheckBox();
     this.btnRead         = new System.Windows.Forms.Button();
     this.btnCancel       = new System.Windows.Forms.Button();
     this.ucNotice1       = new Manager.Notice.ucNotice();
     this.panelTop        = new System.Windows.Forms.Panel();
     this.btnQuery        = new System.Windows.Forms.Button();
     this.label2          = new System.Windows.Forms.Label();
     this.label1          = new System.Windows.Forms.Label();
     this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
     this.dateTimePicker2 = new System.Windows.Forms.DateTimePicker();
     this.panelBottom.SuspendLayout();
     this.panelTop.SuspendLayout();
     this.SuspendLayout();
     //
     // panelBottom
     //
     this.panelBottom.Controls.Add(this.lbNewNotice);
     this.panelBottom.Controls.Add(this.btnNext);
     this.panelBottom.Controls.Add(this.ckShowEveryDay);
     this.panelBottom.Controls.Add(this.btnRead);
     this.panelBottom.Controls.Add(this.btnCancel);
     this.panelBottom.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.panelBottom.Location = new System.Drawing.Point(0, 330);
     this.panelBottom.Name     = "panelBottom";
     this.panelBottom.Size     = new System.Drawing.Size(598, 38);
     this.panelBottom.TabIndex = 0;
     //
     // lbNewNotice
     //
     this.lbNewNotice.ForeColor = System.Drawing.Color.Red;
     this.lbNewNotice.Location  = new System.Drawing.Point(139, 11);
     this.lbNewNotice.Name      = "lbNewNotice";
     this.lbNewNotice.Size      = new System.Drawing.Size(197, 17);
     this.lbNewNotice.TabIndex  = 2;
     this.lbNewNotice.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // btnNext
     //
     this.btnNext.BackColor = System.Drawing.Color.MintCream;
     this.btnNext.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.btnNext.Location  = new System.Drawing.Point(337, 8);
     this.btnNext.Name      = "btnNext";
     this.btnNext.Size      = new System.Drawing.Size(98, 23);
     this.btnNext.TabIndex  = 1;
     this.btnNext.Text      = "显示下一条(N)";
     //
     // ckShowEveryDay
     //
     this.ckShowEveryDay.Location  = new System.Drawing.Point(4, 11);
     this.ckShowEveryDay.Name      = "ckShowEveryDay";
     this.ckShowEveryDay.Size      = new System.Drawing.Size(143, 17);
     this.ckShowEveryDay.TabIndex  = 0;
     this.ckShowEveryDay.Text      = "启动时显示每日信息";
     this.ckShowEveryDay.TextAlign = System.Drawing.ContentAlignment.TopLeft;
     //
     // btnRead
     //
     this.btnRead.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.btnRead.Location  = new System.Drawing.Point(440, 8);
     this.btnRead.Name      = "btnRead";
     this.btnRead.Size      = new System.Drawing.Size(73, 23);
     this.btnRead.TabIndex  = 1;
     this.btnRead.Text      = "已读(R)";
     //
     // btnCancel
     //
     this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.btnCancel.Location  = new System.Drawing.Point(519, 8);
     this.btnCancel.Name      = "btnCancel";
     this.btnCancel.Size      = new System.Drawing.Size(73, 23);
     this.btnCancel.TabIndex  = 1;
     this.btnCancel.Text      = "取消(C)";
     //
     // ucNotice1
     //
     this.ucNotice1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.ucNotice1.Location = new System.Drawing.Point(0, 35);
     this.ucNotice1.Name     = "ucNotice1";
     this.ucNotice1.Size     = new System.Drawing.Size(598, 295);
     this.ucNotice1.TabIndex = 1;
     //
     // panelTop
     //
     this.panelTop.Controls.Add(this.btnQuery);
     this.panelTop.Controls.Add(this.label2);
     this.panelTop.Controls.Add(this.label1);
     this.panelTop.Controls.Add(this.dateTimePicker1);
     this.panelTop.Controls.Add(this.dateTimePicker2);
     this.panelTop.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panelTop.Location = new System.Drawing.Point(0, 0);
     this.panelTop.Name     = "panelTop";
     this.panelTop.Size     = new System.Drawing.Size(598, 35);
     this.panelTop.TabIndex = 2;
     this.panelTop.Visible  = false;
     //
     // btnQuery
     //
     this.btnQuery.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.btnQuery.Location  = new System.Drawing.Point(440, 5);
     this.btnQuery.Name      = "btnQuery";
     this.btnQuery.Size      = new System.Drawing.Size(73, 23);
     this.btnQuery.TabIndex  = 3;
     this.btnQuery.Text      = "查询(Q)";
     this.btnQuery.Click    += new EventHandler(btnQuery_Click);
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(188, 7);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(18, 23);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "-";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(6, 7);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(72, 23);
     this.label1.TabIndex  = 1;
     this.label1.Text      = "发布日期:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // dateTimePicker1
     //
     this.dateTimePicker1.CustomFormat = "yyyy-MM-dd";
     this.dateTimePicker1.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dateTimePicker1.Location     = new System.Drawing.Point(78, 7);
     this.dateTimePicker1.Name         = "dateTimePicker1";
     this.dateTimePicker1.Size         = new System.Drawing.Size(102, 21);
     this.dateTimePicker1.TabIndex     = 0;
     //
     // dateTimePicker2
     //
     this.dateTimePicker2.CustomFormat = "yyyy-MM-dd";
     this.dateTimePicker2.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dateTimePicker2.Location     = new System.Drawing.Point(217, 8);
     this.dateTimePicker2.Name         = "dateTimePicker2";
     this.dateTimePicker2.Size         = new System.Drawing.Size(102, 21);
     this.dateTimePicker2.TabIndex     = 0;
     //
     // frmNotice
     //
     this.AutoScale         = false;
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.BackColor         = System.Drawing.Color.MintCream;
     this.ClientSize        = new System.Drawing.Size(598, 368);
     this.Controls.Add(this.ucNotice1);
     this.Controls.Add(this.panelTop);
     this.Controls.Add(this.panelBottom);
     this.MaximizeBox   = false;
     this.MinimizeBox   = false;
     this.Name          = "frmNotice";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "frmNotice";
     this.panelBottom.ResumeLayout(false);
     this.panelTop.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Exemplo n.º 2
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources   = new System.ComponentModel.ComponentResourceManager(typeof(frmNoticeManager));
     Neusoft.HISFC.Models.Base.Notice          notice1          = new Neusoft.HISFC.Models.Base.Notice();
     Neusoft.FrameWork.Models.NeuObject        neuObject1       = new Neusoft.FrameWork.Models.NeuObject();
     Neusoft.FrameWork.Models.NeuObject        neuObject2       = new Neusoft.FrameWork.Models.NeuObject();
     Neusoft.FrameWork.Models.NeuObject        neuObject3       = new Neusoft.FrameWork.Models.NeuObject();
     Neusoft.HISFC.Models.Base.OperEnvironment operEnvironment1 = new Neusoft.HISFC.Models.Base.OperEnvironment();
     Neusoft.FrameWork.Models.NeuObject        neuObject4       = new Neusoft.FrameWork.Models.NeuObject();
     Neusoft.HISFC.Models.Base.Operator        _operator1       = new Neusoft.HISFC.Models.Base.Operator();
     this.toolBar1       = new System.Windows.Forms.ToolBar();
     this.tbbDate        = new System.Windows.Forms.ToolBarButton();
     this.tbQuery        = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton1 = new System.Windows.Forms.ToolBarButton();
     this.tbAdd          = new System.Windows.Forms.ToolBarButton();
     this.tbDel          = new System.Windows.Forms.ToolBarButton();
     this.tbSave         = new System.Windows.Forms.ToolBarButton();
     this.tbPrint        = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton2 = new System.Windows.Forms.ToolBarButton();
     this.tbExit         = new System.Windows.Forms.ToolBarButton();
     this.imageList1     = new System.Windows.Forms.ImageList(this.components);
     this.treeView1      = new System.Windows.Forms.TreeView();
     this.imageList2     = new System.Windows.Forms.ImageList(this.components);
     this.splitter1      = new System.Windows.Forms.Splitter();
     this.ucNotice1      = new Manager.Notice.ucNotice();
     this.SuspendLayout();
     //
     // statusBar1
     //
     this.statusBar1.Location = new System.Drawing.Point(0, 368);
     this.statusBar1.Size     = new System.Drawing.Size(634, 24);
     //
     // toolBar1
     //
     this.toolBar1.Appearance  = System.Windows.Forms.ToolBarAppearance.Flat;
     this.toolBar1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.tbbDate,
         this.tbQuery,
         this.toolBarButton1,
         this.tbAdd,
         this.tbDel,
         this.tbSave,
         this.tbPrint,
         this.toolBarButton2,
         this.tbExit
     });
     this.toolBar1.DropDownArrows = true;
     this.toolBar1.ImageList      = this.imageList1;
     this.toolBar1.Location       = new System.Drawing.Point(0, 0);
     this.toolBar1.Name           = "toolBar1";
     this.toolBar1.ShowToolTips   = true;
     this.toolBar1.Size           = new System.Drawing.Size(634, 45);
     this.toolBar1.TabIndex       = 1;
     //
     // tbbDate
     //
     this.tbbDate.ImageIndex = 2;
     this.tbbDate.Name       = "tbbDate";
     this.tbbDate.Text       = "时间";
     //
     // tbQuery
     //
     this.tbQuery.ImageIndex = 0;
     this.tbQuery.Name       = "tbQuery";
     this.tbQuery.Text       = "查询";
     //
     // toolBarButton1
     //
     this.toolBarButton1.Name  = "toolBarButton1";
     this.toolBarButton1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // tbAdd
     //
     this.tbAdd.ImageIndex = 5;
     this.tbAdd.Name       = "tbAdd";
     this.tbAdd.Text       = "增加";
     //
     // tbDel
     //
     this.tbDel.ImageIndex = 3;
     this.tbDel.Name       = "tbDel";
     this.tbDel.Text       = "删除";
     //
     // tbSave
     //
     this.tbSave.ImageIndex = 7;
     this.tbSave.Name       = "tbSave";
     this.tbSave.Text       = "保存";
     //
     // tbPrint
     //
     this.tbPrint.ImageIndex = 6;
     this.tbPrint.Name       = "tbPrint";
     this.tbPrint.Text       = "打印";
     //
     // toolBarButton2
     //
     this.toolBarButton2.Name  = "toolBarButton2";
     this.toolBarButton2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // tbExit
     //
     this.tbExit.ImageIndex = 4;
     this.tbExit.Name       = "tbExit";
     this.tbExit.Text       = "退出";
     //
     // imageList1
     //
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "");
     this.imageList1.Images.SetKeyName(1, "");
     this.imageList1.Images.SetKeyName(2, "");
     this.imageList1.Images.SetKeyName(3, "");
     this.imageList1.Images.SetKeyName(4, "");
     this.imageList1.Images.SetKeyName(5, "");
     this.imageList1.Images.SetKeyName(6, "");
     this.imageList1.Images.SetKeyName(7, "");
     //
     // treeView1
     //
     this.treeView1.Dock               = System.Windows.Forms.DockStyle.Left;
     this.treeView1.ImageIndex         = 0;
     this.treeView1.ImageList          = this.imageList2;
     this.treeView1.Location           = new System.Drawing.Point(0, 45);
     this.treeView1.Name               = "treeView1";
     this.treeView1.SelectedImageIndex = 0;
     this.treeView1.Size               = new System.Drawing.Size(156, 323);
     this.treeView1.TabIndex           = 2;
     //
     // imageList2
     //
     this.imageList2.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList2.ImageStream")));
     this.imageList2.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList2.Images.SetKeyName(0, "");
     this.imageList2.Images.SetKeyName(1, "");
     this.imageList2.Images.SetKeyName(2, "");
     //
     // splitter1
     //
     this.splitter1.Location = new System.Drawing.Point(156, 45);
     this.splitter1.Name     = "splitter1";
     this.splitter1.Size     = new System.Drawing.Size(3, 323);
     this.splitter1.TabIndex = 3;
     this.splitter1.TabStop  = false;
     //
     // ucNotice1
     //
     this.ucNotice1.BackColor = System.Drawing.SystemColors.Control;
     this.ucNotice1.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.ucNotice1.Location  = new System.Drawing.Point(159, 45);
     this.ucNotice1.Name      = "ucNotice1";
     neuObject1.ID            = "AAAA";
     neuObject1.Memo          = "";
     neuObject1.Name          = "";
     notice1.Dept             = neuObject1;
     notice1.ExtFlag          = "";
     neuObject2.ID            = "AAAA";
     neuObject2.Memo          = "";
     neuObject2.Name          = "";
     notice1.Group            = neuObject2;
     notice1.ID            = "";
     notice1.Memo          = "";
     notice1.Name          = "";
     notice1.NoticeDate    = new System.DateTime(((long)(0)));
     neuObject3.ID         = "";
     neuObject3.Memo       = "";
     neuObject3.Name       = "";
     notice1.NoticeDept    = neuObject3;
     notice1.NoticeInfo    = "";
     notice1.NoticeTitle   = "";
     neuObject4.ID         = "";
     neuObject4.Memo       = "";
     neuObject4.Name       = "";
     operEnvironment1.Dept = neuObject4;
     operEnvironment1.ID   = "";
     operEnvironment1.Memo = "";
     operEnvironment1.Name = "";
     _operator1.ID         = "";
     _operator1.Memo       = "";
     _operator1.Name       = "";
     //operEnvironment1.Oper = _operator1;
     operEnvironment1.OperTime = new System.DateTime(((long)(0)));
     notice1.OperEnvironment   = operEnvironment1;
     this.ucNotice1.Notice     = notice1;
     this.ucNotice1.Size       = new System.Drawing.Size(475, 323);
     this.ucNotice1.TabIndex   = 4;
     //
     // frmNoticeManager
     //
     this.ClientSize = new System.Drawing.Size(634, 392);
     this.Controls.Add(this.ucNotice1);
     this.Controls.Add(this.splitter1);
     this.Controls.Add(this.treeView1);
     this.Controls.Add(this.toolBar1);
     this.KeyPreview    = true;
     this.Name          = "frmNoticeManager";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "信息发布";
     this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
     this.Controls.SetChildIndex(this.toolBar1, 0);
     this.Controls.SetChildIndex(this.statusBar1, 0);
     this.Controls.SetChildIndex(this.treeView1, 0);
     this.Controls.SetChildIndex(this.splitter1, 0);
     this.Controls.SetChildIndex(this.ucNotice1, 0);
     this.ResumeLayout(false);
     this.PerformLayout();
 }