コード例 #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.m_dtFrom        = new System.Windows.Forms.DateTimePicker();
     this.m_dtTo          = new System.Windows.Forms.DateTimePicker();
     this.label1          = new System.Windows.Forms.Label();
     this.label2          = new System.Windows.Forms.Label();
     this.m_lvHistory     = new System.Windows.Forms.ListView();
     this.columnHeader4   = new System.Windows.Forms.ColumnHeader();
     this.columnHeader2   = new System.Windows.Forms.ColumnHeader();
     this.columnHeader3   = new System.Windows.Forms.ColumnHeader();
     this.m_lblName       = new ActiveWave.Controls.TitleBar();
     this.m_lnkRefresh    = new System.Windows.Forms.LinkLabel();
     this.m_lblEventCount = new System.Windows.Forms.Label();
     this.m_lblName.SuspendLayout();
     this.SuspendLayout();
     //
     // m_dtFrom
     //
     this.m_dtFrom.Checked      = false;
     this.m_dtFrom.CustomFormat = "MM/dd/yyyy hh:mm:ss tt";
     this.m_dtFrom.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.m_dtFrom.Location     = new System.Drawing.Point(48, 32);
     this.m_dtFrom.Name         = "m_dtFrom";
     this.m_dtFrom.ShowCheckBox = true;
     this.m_dtFrom.Size         = new System.Drawing.Size(168, 20);
     this.m_dtFrom.TabIndex     = 1;
     this.m_dtFrom.Value        = new System.DateTime(2005, 9, 1, 21, 20, 58, 825);
     //
     // m_dtTo
     //
     this.m_dtTo.Checked      = false;
     this.m_dtTo.CustomFormat = "MM/dd/yyyy hh:mm:ss tt";
     this.m_dtTo.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.m_dtTo.Location     = new System.Drawing.Point(256, 32);
     this.m_dtTo.Name         = "m_dtTo";
     this.m_dtTo.ShowCheckBox = true;
     this.m_dtTo.Size         = new System.Drawing.Size(168, 20);
     this.m_dtTo.TabIndex     = 0;
     this.m_dtTo.Value        = new System.DateTime(2005, 9, 1, 21, 20, 58, 765);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(232, 34);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(21, 16);
     this.label1.TabIndex = 2;
     this.label1.Text     = "To:";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(8, 34);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(34, 16);
     this.label2.TabIndex = 3;
     this.label2.Text     = "From:";
     //
     // m_lvHistory
     //
     this.m_lvHistory.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                      | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.m_lvHistory.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.m_lvHistory.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader4,
         this.columnHeader2,
         this.columnHeader3
     });
     this.m_lvHistory.FullRowSelect = true;
     this.m_lvHistory.GridLines     = true;
     this.m_lvHistory.Location      = new System.Drawing.Point(8, 64);
     this.m_lvHistory.Name          = "m_lvHistory";
     this.m_lvHistory.Size          = new System.Drawing.Size(568, 208);
     this.m_lvHistory.TabIndex      = 4;
     this.m_lvHistory.View          = System.Windows.Forms.View.Details;
     this.m_lvHistory.ColumnClick  += new System.Windows.Forms.ColumnClickEventHandler(this.ListViewHistory_ColumnClick);
     //
     // columnHeader4
     //
     this.columnHeader4.Text  = "Name";
     this.columnHeader4.Width = 150;
     //
     // columnHeader2
     //
     this.columnHeader2.Text  = "Event";
     this.columnHeader2.Width = 120;
     //
     // columnHeader3
     //
     this.columnHeader3.Text  = "Timestamp";
     this.columnHeader3.Width = 140;
     //
     // m_lblName
     //
     this.m_lblName.AllowDrop = true;
     this.m_lblName.Anchor    = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.m_lblName.BackColor   = System.Drawing.Color.Navy;
     this.m_lblName.BorderColor = System.Drawing.Color.White;
     this.m_lblName.Controls.Add(this.m_lnkRefresh);
     this.m_lblName.Font          = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.m_lblName.ForeColor     = System.Drawing.Color.White;
     this.m_lblName.GradientColor = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(192)));
     this.m_lblName.GradientMode  = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
     this.m_lblName.Location      = new System.Drawing.Point(0, 0);
     this.m_lblName.Name          = "m_lblName";
     this.m_lblName.ShadowColor   = System.Drawing.Color.Black;
     this.m_lblName.ShadowOffset  = new System.Drawing.Size(1, 1);
     this.m_lblName.Size          = new System.Drawing.Size(584, 24);
     this.m_lblName.TabIndex      = 5;
     this.m_lblName.Text          = "Title";
     //
     // m_lnkRefresh
     //
     this.m_lnkRefresh.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.m_lnkRefresh.AutoSize     = true;
     this.m_lnkRefresh.BackColor    = System.Drawing.Color.Transparent;
     this.m_lnkRefresh.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this.m_lnkRefresh.Font         = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.m_lnkRefresh.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline;
     this.m_lnkRefresh.LinkColor    = System.Drawing.Color.White;
     this.m_lnkRefresh.Location     = new System.Drawing.Point(528, 4);
     this.m_lnkRefresh.Name         = "m_lnkRefresh";
     this.m_lnkRefresh.Size         = new System.Drawing.Size(48, 17);
     this.m_lnkRefresh.TabIndex     = 6;
     this.m_lnkRefresh.TabStop      = true;
     this.m_lnkRefresh.Text         = "Refresh";
     this.m_lnkRefresh.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.Refresh_LinkClicked);
     //
     // m_lblEventCount
     //
     this.m_lblEventCount.Location = new System.Drawing.Point(440, 34);
     this.m_lblEventCount.Name     = "m_lblEventCount";
     this.m_lblEventCount.Size     = new System.Drawing.Size(88, 16);
     this.m_lblEventCount.TabIndex = 7;
     this.m_lblEventCount.Text     = "0 Events";
     //
     // TagHistoryView
     //
     this.Controls.Add(this.m_lblEventCount);
     this.Controls.Add(this.m_lblName);
     this.Controls.Add(this.m_lvHistory);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.m_dtFrom);
     this.Controls.Add(this.m_dtTo);
     this.Controls.Add(this.label1);
     this.Name = "TagHistoryView";
     this.Size = new System.Drawing.Size(584, 280);
     this.m_lblName.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.m_titleBar    = new ActiveWave.Controls.TitleBar();
     this.panel1        = new System.Windows.Forms.Panel();
     this.m_picImage    = new System.Windows.Forms.PictureBox();
     this.label3        = new System.Windows.Forms.Label();
     this.label4        = new System.Windows.Forms.Label();
     this.m_lblTagId    = new System.Windows.Forms.Label();
     this.label2        = new System.Windows.Forms.Label();
     this.m_lblLocation = new System.Windows.Forms.Label();
     this.label1        = new System.Windows.Forms.Label();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // m_titleBar
     //
     this.m_titleBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this.m_titleBar.BackColor     = System.Drawing.Color.Navy;
     this.m_titleBar.BorderColor   = System.Drawing.Color.White;
     this.m_titleBar.Font          = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.m_titleBar.ForeColor     = System.Drawing.Color.White;
     this.m_titleBar.GradientColor = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(0)), ((System.Byte)(192)));
     this.m_titleBar.GradientMode  = System.Drawing.Drawing2D.LinearGradientMode.Vertical;
     this.m_titleBar.Location      = new System.Drawing.Point(0, 0);
     this.m_titleBar.Name          = "m_titleBar";
     this.m_titleBar.ShadowColor   = System.Drawing.Color.Black;
     this.m_titleBar.ShadowOffset  = new System.Drawing.Size(1, 1);
     this.m_titleBar.Size          = new System.Drawing.Size(190, 24);
     this.m_titleBar.TabIndex      = 0;
     this.m_titleBar.Text          = "Name: ";
     //
     // panel1
     //
     this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel1.Controls.Add(this.m_picImage);
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.m_lblTagId);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.m_lblLocation);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Location = new System.Drawing.Point(10, 32);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(168, 188);
     this.panel1.TabIndex = 22;
     //
     // m_picImage
     //
     this.m_picImage.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.m_picImage.Location    = new System.Drawing.Point(26, 76);
     this.m_picImage.Name        = "m_picImage";
     this.m_picImage.Size        = new System.Drawing.Size(114, 100);
     this.m_picImage.SizeMode    = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
     this.m_picImage.TabIndex    = 29;
     this.m_picImage.TabStop     = false;
     //
     // label3
     //
     this.label3.AutoSize  = true;
     this.label3.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label3.Location  = new System.Drawing.Point(6, 26);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(75, 16);
     this.label3.TabIndex  = 28;
     this.label3.Text      = "Apartment Nr:";
     //
     // label4
     //
     this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label4.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label4.Location  = new System.Drawing.Point(84, 26);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(76, 16);
     this.label4.TabIndex  = 27;
     //
     // m_lblTagId
     //
     this.m_lblTagId.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this.m_lblTagId.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.m_lblTagId.Location  = new System.Drawing.Point(52, 8);
     this.m_lblTagId.Name      = "m_lblTagId";
     this.m_lblTagId.Size      = new System.Drawing.Size(110, 16);
     this.m_lblTagId.TabIndex  = 26;
     //
     // label2
     //
     this.label2.AutoSize  = true;
     this.label2.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label2.Location  = new System.Drawing.Point(6, 44);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(76, 16);
     this.label2.TabIndex  = 25;
     this.label2.Text      = "Telephone Nr:";
     //
     // m_lblLocation
     //
     this.m_lblLocation.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.m_lblLocation.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.m_lblLocation.Location  = new System.Drawing.Point(84, 44);
     this.m_lblLocation.Name      = "m_lblLocation";
     this.m_lblLocation.Size      = new System.Drawing.Size(78, 16);
     this.m_lblLocation.TabIndex  = 24;
     //
     // label1
     //
     this.label1.AutoSize  = true;
     this.label1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label1.Location  = new System.Drawing.Point(6, 8);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(41, 16);
     this.label1.TabIndex  = 23;
     this.label1.Text      = "Tag ID:";
     //
     // AccessImageView
     //
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.m_titleBar);
     this.Name = "AccessImageView";
     this.Size = new System.Drawing.Size(190, 234);
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }