/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); mainMenu_ = new System.Windows.Forms.MenuStrip(); fileMi_ = new System.Windows.Forms.ToolStripMenuItem(); exitMi_ = new System.Windows.Forms.ToolStripMenuItem(); serverMi_ = new System.Windows.Forms.ToolStripMenuItem(); connectMi_ = new System.Windows.Forms.ToolStripMenuItem(); disconnecMi_ = new System.Windows.Forms.ToolStripMenuItem(); separatorS1_ = new System.Windows.Forms.ToolStripMenuItem(); viewStatusMi_ = new System.Windows.Forms.ToolStripMenuItem(); browseMi_ = new System.Windows.Forms.ToolStripMenuItem(); separatorS2_ = new System.Windows.Forms.ToolStripMenuItem(); readMi_ = new System.Windows.Forms.ToolStripMenuItem(); writeMi_ = new System.Windows.Forms.ToolStripMenuItem(); menuItem1_ = new System.Windows.Forms.ToolStripMenuItem(); outputMi_ = new System.Windows.Forms.ToolStripMenuItem(); outputClearMi_ = new System.Windows.Forms.ToolStripMenuItem(); optionsMi_ = new System.Windows.Forms.ToolStripMenuItem(); clearHistoryMi_ = new System.Windows.Forms.ToolStripMenuItem(); forceDa20UsageMenuItem_ = new System.Windows.Forms.ToolStripMenuItem(); helpMi_ = new System.Windows.Forms.ToolStripMenuItem(); aboutMi_ = new System.Windows.Forms.ToolStripMenuItem(); toolBar_ = new System.Windows.Forms.ToolStrip(); toolBarImageList_ = new System.Windows.Forms.ImageList(components); connectBtn_ = new System.Windows.Forms.ToolStripButton(); disconnectBtn_ = new System.Windows.Forms.ToolStripButton(); viewStatusBtn_ = new System.Windows.Forms.ToolStripButton(); browseBtn_ = new System.Windows.Forms.ToolStripButton(); toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); readBtn_ = new System.Windows.Forms.ToolStripButton(); writeBtn_ = new System.Windows.Forms.ToolStripButton(); toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); aboutBtn_ = new System.Windows.Forms.ToolStripButton(); bottomPn_ = new System.Windows.Forms.Panel(); outputCtrl_ = new System.Windows.Forms.RichTextBox(); splitterH_ = new System.Windows.Forms.Splitter(); splitterV_ = new System.Windows.Forms.Splitter(); leftPn_ = new System.Windows.Forms.Panel(); subscriptionCtrl_ = new SampleClients.Da.Subscription.SubscriptionsTreeCtrl(); rightPn_ = new System.Windows.Forms.Panel(); updatesCtrl_ = new SampleClients.Da.UpdatesListViewCtrl(); updateTimerControl_ = new System.Windows.Forms.Timer(components); statusCtrl_ = new SampleClients.Da.Server.ServerStatusCtrl(); selectServerCtrl_ = new SampleClients.Common.SelectServerCtrl(); mainMenu_.SuspendLayout(); toolBar_.SuspendLayout(); bottomPn_.SuspendLayout(); leftPn_.SuspendLayout(); rightPn_.SuspendLayout(); SuspendLayout(); // // mainMenu_ // mainMenu_.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { fileMi_, serverMi_, outputMi_, optionsMi_, helpMi_ }); mainMenu_.Location = new System.Drawing.Point(0, 0); mainMenu_.Name = "mainMenu_"; mainMenu_.Size = new System.Drawing.Size(200, 24); mainMenu_.TabIndex = 0; // // fileMi_ // fileMi_.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { exitMi_ }); fileMi_.Name = "fileMi_"; fileMi_.Size = new System.Drawing.Size(37, 20); fileMi_.Text = "&File"; // // exitMi_ // exitMi_.Name = "exitMi_"; exitMi_.Size = new System.Drawing.Size(93, 22); exitMi_.Text = "&Exit"; exitMi_.Click += new System.EventHandler(ExitMI_Click); // // serverMi_ // serverMi_.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { connectMi_, disconnecMi_, separatorS1_, viewStatusMi_, browseMi_, separatorS2_, readMi_, writeMi_, menuItem1_ }); serverMi_.Name = "serverMi_"; serverMi_.Size = new System.Drawing.Size(51, 20); serverMi_.Text = "&Server"; // // connectMi_ // connectMi_.Name = "connectMi_"; connectMi_.Size = new System.Drawing.Size(134, 22); connectMi_.Text = "&Connect"; connectMi_.Click += new System.EventHandler(ConnectMI_Click); // // disconnecMi_ // disconnecMi_.Name = "disconnecMi_"; disconnecMi_.Size = new System.Drawing.Size(134, 22); disconnecMi_.Text = "&Disconnect"; disconnecMi_.Click += new System.EventHandler(DisconnectMI_Click); // // separatorS1_ // separatorS1_.Name = "separatorS1_"; separatorS1_.Size = new System.Drawing.Size(134, 22); separatorS1_.Text = "-"; // // viewStatusMi_ // viewStatusMi_.Name = "viewStatusMi_"; viewStatusMi_.Size = new System.Drawing.Size(134, 22); viewStatusMi_.Text = "&View Status"; viewStatusMi_.Click += new System.EventHandler(ViewStatusMI_Click); // // browseMi_ // browseMi_.Name = "browseMi_"; browseMi_.Size = new System.Drawing.Size(134, 22); browseMi_.Text = "&Browse..."; browseMi_.Click += new System.EventHandler(BrowseMI_Click); // // separatorS2_ // separatorS2_.Name = "separatorS2_"; separatorS2_.Size = new System.Drawing.Size(134, 22); separatorS2_.Text = "-"; // // readMi_ // readMi_.Name = "readMi_"; readMi_.Size = new System.Drawing.Size(134, 22); readMi_.Text = "&Read..."; readMi_.Click += new System.EventHandler(ReadMI_Click); // // writeMi_ // writeMi_.Name = "writeMi_"; writeMi_.Size = new System.Drawing.Size(134, 22); writeMi_.Text = "&Write..."; writeMi_.Click += new System.EventHandler(WriteMI_Click); // // menuItem1_ // menuItem1_.Name = "menuItem1_"; menuItem1_.Size = new System.Drawing.Size(134, 22); menuItem1_.Text = "-"; // // outputMi_ // outputMi_.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { outputClearMi_ }); outputMi_.Name = "outputMi_"; outputMi_.Size = new System.Drawing.Size(57, 20); outputMi_.Text = "&Output"; // // outputClearMi_ // outputClearMi_.Name = "outputClearMi_"; outputClearMi_.Size = new System.Drawing.Size(101, 22); outputClearMi_.Text = "&Clear"; outputClearMi_.Click += new System.EventHandler(OutputClearMI_Click); // // optionsMi_ // optionsMi_.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { clearHistoryMi_, forceDa20UsageMenuItem_ }); optionsMi_.Name = "optionsMi_"; optionsMi_.Size = new System.Drawing.Size(61, 20); optionsMi_.Text = "O&ptions"; // // clearHistoryMi_ // clearHistoryMi_.Name = "clearHistoryMi_"; clearHistoryMi_.Size = new System.Drawing.Size(175, 22); clearHistoryMi_.Text = "&Clear History"; clearHistoryMi_.Click += new System.EventHandler(ClearHistoryMI_Click); // // forceDa20UsageMenuItem_ // forceDa20UsageMenuItem_.Name = "forceDa20UsageMenuItem_"; forceDa20UsageMenuItem_.Size = new System.Drawing.Size(175, 22); forceDa20UsageMenuItem_.Text = "&Force DA 2.0 Usage"; forceDa20UsageMenuItem_.Click += new System.EventHandler(OnForceDa20Usage); // // helpMi_ // helpMi_.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { aboutMi_ }); helpMi_.Name = "helpMi_"; helpMi_.Size = new System.Drawing.Size(44, 20); helpMi_.Text = "&Help"; // // aboutMi_ // aboutMi_.Name = "aboutMi_"; aboutMi_.Size = new System.Drawing.Size(116, 22); aboutMi_.Text = "&About..."; aboutMi_.Click += new System.EventHandler(AboutMI_Click); // // toolBar_ // toolBar_.ImageList = toolBarImageList_; toolBar_.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { connectBtn_, disconnectBtn_, viewStatusBtn_, browseBtn_, toolStripSeparator1, readBtn_, writeBtn_, toolStripSeparator2, aboutBtn_ }); toolBar_.Location = new System.Drawing.Point(3, 0); toolBar_.Name = "toolBar_"; toolBar_.Size = new System.Drawing.Size(1010, 25); toolBar_.TabIndex = 0; // // toolBarImageList_ // toolBarImageList_.ColorDepth = System.Windows.Forms.ColorDepth.Depth24Bit; toolBarImageList_.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("toolBarImageList_.ImageStream"))); toolBarImageList_.TransparentColor = System.Drawing.Color.Teal; toolBarImageList_.Images.SetKeyName(0, ""); toolBarImageList_.Images.SetKeyName(1, ""); toolBarImageList_.Images.SetKeyName(2, ""); toolBarImageList_.Images.SetKeyName(3, ""); toolBarImageList_.Images.SetKeyName(4, ""); toolBarImageList_.Images.SetKeyName(5, ""); toolBarImageList_.Images.SetKeyName(6, ""); toolBarImageList_.Images.SetKeyName(7, ""); toolBarImageList_.Images.SetKeyName(8, ""); toolBarImageList_.Images.SetKeyName(9, ""); toolBarImageList_.Images.SetKeyName(10, ""); toolBarImageList_.Images.SetKeyName(11, ""); toolBarImageList_.Images.SetKeyName(12, ""); toolBarImageList_.Images.SetKeyName(13, ""); // // connectBtn_ // connectBtn_.ImageIndex = 0; connectBtn_.Name = "connectBtn_"; connectBtn_.Size = new System.Drawing.Size(23, 22); connectBtn_.ToolTipText = "Connect to Server"; connectBtn_.Click += new System.EventHandler(ConnectMI_Click); // // disconnectBtn_ // disconnectBtn_.ImageIndex = 1; disconnectBtn_.Name = "disconnectBtn_"; disconnectBtn_.Size = new System.Drawing.Size(23, 22); disconnectBtn_.ToolTipText = "Disconnect from Server"; disconnectBtn_.Click += new System.EventHandler(DisconnectMI_Click); // // viewStatusBtn_ // viewStatusBtn_.ImageIndex = 4; viewStatusBtn_.Name = "viewStatusBtn_"; viewStatusBtn_.Size = new System.Drawing.Size(23, 22); viewStatusBtn_.ToolTipText = "View Server Status"; viewStatusBtn_.Click += new System.EventHandler(ViewStatusMI_Click); // // browseBtn_ // browseBtn_.ImageIndex = 6; browseBtn_.Name = "browseBtn_"; browseBtn_.Size = new System.Drawing.Size(23, 22); browseBtn_.ToolTipText = "Browse Address Space"; browseBtn_.Click += new System.EventHandler(BrowseMI_Click); // // toolStripSeparator1 // toolStripSeparator1.Name = "toolStripSeparator1"; toolStripSeparator1.Size = new System.Drawing.Size(6, 25); // // readBtn_ // readBtn_.ImageIndex = 7; readBtn_.Name = "readBtn_"; readBtn_.Size = new System.Drawing.Size(23, 22); readBtn_.ToolTipText = "Read Items"; readBtn_.Click += new System.EventHandler(ReadMI_Click); // // writeBtn_ // writeBtn_.ImageIndex = 8; writeBtn_.Name = "writeBtn_"; writeBtn_.Size = new System.Drawing.Size(23, 22); writeBtn_.ToolTipText = "Write Items"; writeBtn_.Click += new System.EventHandler(WriteMI_Click); // // toolStripSeparator2 // toolStripSeparator2.Name = "toolStripSeparator2"; toolStripSeparator2.Size = new System.Drawing.Size(6, 25); // // aboutBtn_ // aboutBtn_.ImageIndex = 13; aboutBtn_.Name = "aboutBtn_"; aboutBtn_.Size = new System.Drawing.Size(23, 22); aboutBtn_.ToolTipText = "About"; aboutBtn_.Click += new System.EventHandler(AboutMI_Click); // // bottomPn_ // bottomPn_.Controls.Add(outputCtrl_); bottomPn_.Dock = System.Windows.Forms.DockStyle.Bottom; bottomPn_.Location = new System.Drawing.Point(3, 463); bottomPn_.Name = "bottomPn_"; bottomPn_.Size = new System.Drawing.Size(1010, 123); bottomPn_.TabIndex = 3; // // outputCtrl_ // outputCtrl_.Dock = System.Windows.Forms.DockStyle.Fill; outputCtrl_.Location = new System.Drawing.Point(0, 0); outputCtrl_.Name = "outputCtrl_"; outputCtrl_.Size = new System.Drawing.Size(1010, 123); outputCtrl_.TabIndex = 0; outputCtrl_.Text = ""; // // splitterH_ // splitterH_.Dock = System.Windows.Forms.DockStyle.Bottom; splitterH_.Location = new System.Drawing.Point(3, 459); splitterH_.Name = "splitterH_"; splitterH_.Size = new System.Drawing.Size(1010, 4); splitterH_.TabIndex = 4; splitterH_.TabStop = false; // // splitterV_ // splitterV_.Location = new System.Drawing.Point(319, 52); splitterV_.Name = "splitterV_"; splitterV_.Size = new System.Drawing.Size(4, 407); splitterV_.TabIndex = 5; splitterV_.TabStop = false; // // leftPn_ // leftPn_.Controls.Add(subscriptionCtrl_); leftPn_.Dock = System.Windows.Forms.DockStyle.Left; leftPn_.Location = new System.Drawing.Point(3, 52); leftPn_.Name = "leftPn_"; leftPn_.Padding = new System.Windows.Forms.Padding(0, 3, 0, 0); leftPn_.Size = new System.Drawing.Size(316, 407); leftPn_.TabIndex = 6; // // subscriptionCtrl_ // subscriptionCtrl_.Dock = System.Windows.Forms.DockStyle.Fill; subscriptionCtrl_.Location = new System.Drawing.Point(0, 3); subscriptionCtrl_.Name = "subscriptionCtrl_"; subscriptionCtrl_.Size = new System.Drawing.Size(316, 404); subscriptionCtrl_.TabIndex = 0; // // rightPn_ // rightPn_.Controls.Add(updatesCtrl_); rightPn_.Dock = System.Windows.Forms.DockStyle.Fill; rightPn_.Location = new System.Drawing.Point(323, 52); rightPn_.Name = "rightPn_"; rightPn_.Padding = new System.Windows.Forms.Padding(0, 3, 0, 0); rightPn_.Size = new System.Drawing.Size(690, 407); rightPn_.TabIndex = 7; // // updatesCtrl_ // updatesCtrl_.AllowDrop = true; updatesCtrl_.Dock = System.Windows.Forms.DockStyle.Fill; updatesCtrl_.Location = new System.Drawing.Point(0, 3); updatesCtrl_.Name = "updatesCtrl_"; updatesCtrl_.Size = new System.Drawing.Size(690, 404); updatesCtrl_.TabIndex = 0; // // updateTimerControl_ // updateTimerControl_.Interval = 10000; updateTimerControl_.Tick += new System.EventHandler(UpdateTimerCtrlTick); // // statusCtrl_ // statusCtrl_.Location = new System.Drawing.Point(3, 586); statusCtrl_.Name = "statusCtrl_"; statusCtrl_.Size = new System.Drawing.Size(1010, 22); statusCtrl_.TabIndex = 8; // // selectServerCtrl_ // selectServerCtrl_.Dock = System.Windows.Forms.DockStyle.Top; selectServerCtrl_.Label = "Server"; selectServerCtrl_.Location = new System.Drawing.Point(3, 25); selectServerCtrl_.Name = "selectServerCtrl_"; selectServerCtrl_.Padding = new System.Windows.Forms.Padding(4, 0, 4, 0); selectServerCtrl_.Size = new System.Drawing.Size(1010, 27); selectServerCtrl_.TabIndex = 0; // // MainForm // AutoScaleBaseSize = new System.Drawing.Size(6, 16); ClientSize = new System.Drawing.Size(1016, 608); Controls.Add(rightPn_); Controls.Add(splitterV_); Controls.Add(leftPn_); Controls.Add(splitterH_); Controls.Add(bottomPn_); Controls.Add(statusCtrl_); Controls.Add(selectServerCtrl_); Controls.Add(toolBar_); MainMenuStrip = mainMenu_; Name = "MainForm"; Padding = new System.Windows.Forms.Padding(3, 0, 3, 0); Text = "OPC DA Sample Client"; mainMenu_.ResumeLayout(false); mainMenu_.PerformLayout(); toolBar_.ResumeLayout(false); toolBar_.PerformLayout(); bottomPn_.ResumeLayout(false); leftPn_.ResumeLayout(false); rightPn_.ResumeLayout(false); ResumeLayout(false); PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); this.MainMenu = new System.Windows.Forms.MainMenu(this.components); this.FileMI = new System.Windows.Forms.MenuItem(); this.ExitMI = new System.Windows.Forms.MenuItem(); this.ServerMI = new System.Windows.Forms.MenuItem(); this.ConnectMI = new System.Windows.Forms.MenuItem(); this.DisconnecMI = new System.Windows.Forms.MenuItem(); this.SeparatorS1 = new System.Windows.Forms.MenuItem(); this.ViewStatusMI = new System.Windows.Forms.MenuItem(); this.BrowseMI = new System.Windows.Forms.MenuItem(); this.SeparatorS2 = new System.Windows.Forms.MenuItem(); this.ReadMI = new System.Windows.Forms.MenuItem(); this.WriteMI = new System.Windows.Forms.MenuItem(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.OutputMI = new System.Windows.Forms.MenuItem(); this.OutputClearMI = new System.Windows.Forms.MenuItem(); this.OptionsMI = new System.Windows.Forms.MenuItem(); this.ClearHistoryMI = new System.Windows.Forms.MenuItem(); this.ForceDa20UsageMenuItem = new System.Windows.Forms.MenuItem(); this.HelpMI = new System.Windows.Forms.MenuItem(); this.AboutMI = new System.Windows.Forms.MenuItem(); this.ToolBar = new System.Windows.Forms.ToolBar(); this.ConnectBTN = new System.Windows.Forms.ToolBarButton(); this.DisconnectBTN = new System.Windows.Forms.ToolBarButton(); this.ViewStatusBTN = new System.Windows.Forms.ToolBarButton(); this.BrowseBTN = new System.Windows.Forms.ToolBarButton(); this.SeparatorT2 = new System.Windows.Forms.ToolBarButton(); this.ReadBTN = new System.Windows.Forms.ToolBarButton(); this.WriteBTN = new System.Windows.Forms.ToolBarButton(); this.SeparatorT3 = new System.Windows.Forms.ToolBarButton(); this.AboutBTN = new System.Windows.Forms.ToolBarButton(); this.ToolBarImageList = new System.Windows.Forms.ImageList(this.components); this.BottomPN = new System.Windows.Forms.Panel(); this.OutputCTRL = new System.Windows.Forms.RichTextBox(); this.SplitterH = new System.Windows.Forms.Splitter(); this.SplitterV = new System.Windows.Forms.Splitter(); this.LeftPN = new System.Windows.Forms.Panel(); this.SubscriptionCTRL = new Client.SubscriptionsTreeCtrl(); this.RightPN = new System.Windows.Forms.Panel(); this.UpdatesCTRL = new Client.UpdatesListViewCtrl(); this.updateTimerControl_ = new System.Windows.Forms.Timer(this.components); this.StatusCTRL = new Client.ServerStatusCtrl(); this.SelectTargetCTRL = new SelectServerCtrl(); this.SelectServerCTRL = new SelectServerCtrl(); this.BottomPN.SuspendLayout(); this.LeftPN.SuspendLayout(); this.RightPN.SuspendLayout(); this.SuspendLayout(); // // MainMenu // this.MainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.FileMI, this.ServerMI, this.OutputMI, this.OptionsMI, this.HelpMI }); // // FileMI // this.FileMI.Index = 0; this.FileMI.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.ExitMI }); this.FileMI.Text = "&File"; // // ExitMI // this.ExitMI.Index = 0; this.ExitMI.Text = "&Exit"; this.ExitMI.Click += new System.EventHandler(this.ExitMI_Click); // // ServerMI // this.ServerMI.Index = 1; this.ServerMI.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.ConnectMI, this.DisconnecMI, this.SeparatorS1, this.ViewStatusMI, this.BrowseMI, this.SeparatorS2, this.ReadMI, this.WriteMI, this.menuItem1 }); this.ServerMI.Text = "&Server"; // // ConnectMI // this.ConnectMI.Index = 0; this.ConnectMI.Text = "&Connect"; this.ConnectMI.Click += new System.EventHandler(this.ConnectMI_Click); // // DisconnecMI // this.DisconnecMI.Index = 1; this.DisconnecMI.Text = "&Disconnect"; this.DisconnecMI.Click += new System.EventHandler(this.DisconnectMI_Click); // // SeparatorS1 // this.SeparatorS1.Index = 2; this.SeparatorS1.Text = "-"; // // ViewStatusMI // this.ViewStatusMI.Index = 3; this.ViewStatusMI.Text = "&View Status"; this.ViewStatusMI.Click += new System.EventHandler(this.ViewStatusMI_Click); // // BrowseMI // this.BrowseMI.Index = 4; this.BrowseMI.Text = "&Browse..."; this.BrowseMI.Click += new System.EventHandler(this.BrowseMI_Click); // // SeparatorS2 // this.SeparatorS2.Index = 5; this.SeparatorS2.Text = "-"; // // ReadMI // this.ReadMI.Index = 6; this.ReadMI.Text = "&Read..."; this.ReadMI.Click += new System.EventHandler(this.ReadMI_Click); // // WriteMI // this.WriteMI.Index = 7; this.WriteMI.Text = "&Write..."; this.WriteMI.Click += new System.EventHandler(this.WriteMI_Click); // // menuItem1 // this.menuItem1.Index = 8; this.menuItem1.Text = "-"; // // OutputMI // this.OutputMI.Index = 2; this.OutputMI.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.OutputClearMI }); this.OutputMI.Text = "&Output"; // // OutputClearMI // this.OutputClearMI.Index = 0; this.OutputClearMI.Text = "&Clear"; this.OutputClearMI.Click += new System.EventHandler(this.OutputClearMI_Click); // // OptionsMI // this.OptionsMI.Index = 3; this.OptionsMI.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.ClearHistoryMI, this.ForceDa20UsageMenuItem }); this.OptionsMI.Text = "O&ptions"; // // ClearHistoryMI // this.ClearHistoryMI.Index = 0; this.ClearHistoryMI.Text = "&Clear History"; this.ClearHistoryMI.Click += new System.EventHandler(this.ClearHistoryMI_Click); // // ForceDa20UsageMenuItem // this.ForceDa20UsageMenuItem.Index = 1; this.ForceDa20UsageMenuItem.Text = "&Force DA 2.0 Usage"; this.ForceDa20UsageMenuItem.Click += new System.EventHandler(this.menuItem2_Click); // // HelpMI // this.HelpMI.Index = 4; this.HelpMI.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.AboutMI }); this.HelpMI.Text = "&Help"; // // AboutMI // this.AboutMI.Index = 0; this.AboutMI.Text = "&About..."; this.AboutMI.Click += new System.EventHandler(this.AboutMI_Click); // // ToolBar // this.ToolBar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat; this.ToolBar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.ConnectBTN, this.DisconnectBTN, this.ViewStatusBTN, this.BrowseBTN, this.SeparatorT2, this.ReadBTN, this.WriteBTN, this.SeparatorT3, this.AboutBTN }); this.ToolBar.ButtonSize = new System.Drawing.Size(16, 16); this.ToolBar.DropDownArrows = true; this.ToolBar.ImageList = this.ToolBarImageList; this.ToolBar.Location = new System.Drawing.Point(3, 0); this.ToolBar.Name = "ToolBar"; this.ToolBar.ShowToolTips = true; this.ToolBar.Size = new System.Drawing.Size(1010, 30); this.ToolBar.TabIndex = 0; this.ToolBar.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.ToolBar_ButtonClick); // // ConnectBTN // this.ConnectBTN.ImageIndex = 0; this.ConnectBTN.Name = "ConnectBTN"; this.ConnectBTN.ToolTipText = "Connect to Server"; // // DisconnectBTN // this.DisconnectBTN.ImageIndex = 1; this.DisconnectBTN.Name = "DisconnectBTN"; this.DisconnectBTN.ToolTipText = "Disconnect from Server"; // // ViewStatusBTN // this.ViewStatusBTN.ImageIndex = 4; this.ViewStatusBTN.Name = "ViewStatusBTN"; this.ViewStatusBTN.ToolTipText = "View Server Status"; // // BrowseBTN // this.BrowseBTN.ImageIndex = 6; this.BrowseBTN.Name = "BrowseBTN"; this.BrowseBTN.ToolTipText = "Browse Address Space"; // // SeparatorT2 // this.SeparatorT2.Name = "SeparatorT2"; this.SeparatorT2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // ReadBTN // this.ReadBTN.ImageIndex = 7; this.ReadBTN.Name = "ReadBTN"; this.ReadBTN.ToolTipText = "Read Items"; // // WriteBTN // this.WriteBTN.ImageIndex = 8; this.WriteBTN.Name = "WriteBTN"; this.WriteBTN.ToolTipText = "Write Items"; // // SeparatorT3 // this.SeparatorT3.Name = "SeparatorT3"; this.SeparatorT3.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // AboutBTN // this.AboutBTN.ImageIndex = 13; this.AboutBTN.Name = "AboutBTN"; this.AboutBTN.ToolTipText = "About"; // // ToolBarImageList // this.ToolBarImageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ToolBarImageList.ImageStream"))); this.ToolBarImageList.TransparentColor = System.Drawing.Color.Teal; this.ToolBarImageList.Images.SetKeyName(0, ""); this.ToolBarImageList.Images.SetKeyName(1, ""); this.ToolBarImageList.Images.SetKeyName(2, ""); this.ToolBarImageList.Images.SetKeyName(3, ""); this.ToolBarImageList.Images.SetKeyName(4, ""); this.ToolBarImageList.Images.SetKeyName(5, ""); this.ToolBarImageList.Images.SetKeyName(6, ""); this.ToolBarImageList.Images.SetKeyName(7, ""); this.ToolBarImageList.Images.SetKeyName(8, ""); this.ToolBarImageList.Images.SetKeyName(9, ""); this.ToolBarImageList.Images.SetKeyName(10, ""); this.ToolBarImageList.Images.SetKeyName(11, ""); this.ToolBarImageList.Images.SetKeyName(12, ""); this.ToolBarImageList.Images.SetKeyName(13, ""); // // BottomPN // this.BottomPN.Controls.Add(this.OutputCTRL); this.BottomPN.Dock = System.Windows.Forms.DockStyle.Bottom; this.BottomPN.Location = new System.Drawing.Point(3, 492); this.BottomPN.Name = "BottomPN"; this.BottomPN.Size = new System.Drawing.Size(1010, 100); this.BottomPN.TabIndex = 3; // // OutputCTRL // this.OutputCTRL.Dock = System.Windows.Forms.DockStyle.Fill; this.OutputCTRL.Location = new System.Drawing.Point(0, 0); this.OutputCTRL.Name = "OutputCTRL"; this.OutputCTRL.Size = new System.Drawing.Size(1010, 100); this.OutputCTRL.TabIndex = 0; this.OutputCTRL.Text = ""; // // SplitterH // this.SplitterH.Dock = System.Windows.Forms.DockStyle.Bottom; this.SplitterH.Location = new System.Drawing.Point(3, 489); this.SplitterH.Name = "SplitterH"; this.SplitterH.Size = new System.Drawing.Size(1010, 3); this.SplitterH.TabIndex = 4; this.SplitterH.TabStop = false; // // SplitterV // this.SplitterV.Location = new System.Drawing.Point(267, 74); this.SplitterV.Name = "SplitterV"; this.SplitterV.Size = new System.Drawing.Size(3, 415); this.SplitterV.TabIndex = 5; this.SplitterV.TabStop = false; // // LeftPN // this.LeftPN.Controls.Add(this.SubscriptionCTRL); this.LeftPN.Dock = System.Windows.Forms.DockStyle.Left; this.LeftPN.Location = new System.Drawing.Point(3, 74); this.LeftPN.Name = "LeftPN"; this.LeftPN.Padding = new System.Windows.Forms.Padding(0, 3, 0, 0); this.LeftPN.Size = new System.Drawing.Size(264, 415); this.LeftPN.TabIndex = 6; // // SubscriptionCTRL // this.SubscriptionCTRL.Dock = System.Windows.Forms.DockStyle.Fill; this.SubscriptionCTRL.Location = new System.Drawing.Point(0, 3); this.SubscriptionCTRL.Name = "SubscriptionCTRL"; this.SubscriptionCTRL.Size = new System.Drawing.Size(264, 412); this.SubscriptionCTRL.TabIndex = 0; // // RightPN // this.RightPN.Controls.Add(this.UpdatesCTRL); this.RightPN.Dock = System.Windows.Forms.DockStyle.Fill; this.RightPN.Location = new System.Drawing.Point(270, 74); this.RightPN.Name = "RightPN"; this.RightPN.Padding = new System.Windows.Forms.Padding(0, 3, 0, 0); this.RightPN.Size = new System.Drawing.Size(743, 415); this.RightPN.TabIndex = 7; // // UpdatesCTRL // this.UpdatesCTRL.AllowDrop = true; this.UpdatesCTRL.Dock = System.Windows.Forms.DockStyle.Fill; this.UpdatesCTRL.Location = new System.Drawing.Point(0, 3); this.UpdatesCTRL.Name = "UpdatesCTRL"; this.UpdatesCTRL.Size = new System.Drawing.Size(743, 412); this.UpdatesCTRL.TabIndex = 0; // // updateTimerControl_ // this.updateTimerControl_.Interval = 10000; this.updateTimerControl_.Tick += new System.EventHandler(this.UpdateTimerCtrlTick); // // StatusCTRL // this.StatusCTRL.Location = new System.Drawing.Point(3, 592); this.StatusCTRL.Name = "StatusCTRL"; this.StatusCTRL.Size = new System.Drawing.Size(1010, 16); this.StatusCTRL.TabIndex = 8; // // SelectTargetCTRL // this.SelectTargetCTRL.Dock = System.Windows.Forms.DockStyle.Top; this.SelectTargetCTRL.Label = "Target"; this.SelectTargetCTRL.Location = new System.Drawing.Point(3, 52); this.SelectTargetCTRL.Name = "SelectTargetCTRL"; this.SelectTargetCTRL.Padding = new System.Windows.Forms.Padding(4, 0, 4, 0); this.SelectTargetCTRL.Size = new System.Drawing.Size(1010, 22); this.SelectTargetCTRL.TabIndex = 0; this.SelectTargetCTRL.Visible = false; // // SelectServerCTRL // this.SelectServerCTRL.Dock = System.Windows.Forms.DockStyle.Top; this.SelectServerCTRL.Label = "Server"; this.SelectServerCTRL.Location = new System.Drawing.Point(3, 30); this.SelectServerCTRL.Name = "SelectServerCTRL"; this.SelectServerCTRL.Padding = new System.Windows.Forms.Padding(4, 0, 4, 0); this.SelectServerCTRL.Size = new System.Drawing.Size(1010, 22); this.SelectServerCTRL.TabIndex = 0; // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(1016, 608); this.Controls.Add(this.RightPN); this.Controls.Add(this.SplitterV); this.Controls.Add(this.LeftPN); this.Controls.Add(this.SplitterH); this.Controls.Add(this.BottomPN); this.Controls.Add(this.StatusCTRL); this.Controls.Add(this.SelectTargetCTRL); this.Controls.Add(this.SelectServerCTRL); this.Controls.Add(this.ToolBar); this.Menu = this.MainMenu; this.Name = "MainForm"; this.Padding = new System.Windows.Forms.Padding(3, 0, 3, 0); this.Text = "OPC DA Client SDK .NET Standard Sample Application"; this.BottomPN.ResumeLayout(false); this.LeftPN.ResumeLayout(false); this.RightPN.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { components_ = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); mainMenu_ = new System.Windows.Forms.MenuStrip(); fileMi_ = new System.Windows.Forms.ToolStripMenuItem(); exitMi_ = new System.Windows.Forms.ToolStripMenuItem(); serverMi_ = new System.Windows.Forms.ToolStripMenuItem(); connectMi_ = new System.Windows.Forms.ToolStripMenuItem(); disconnecMi_ = new System.Windows.Forms.ToolStripMenuItem(); separatorS1_ = new System.Windows.Forms.ToolStripMenuItem(); viewStatusMi_ = new System.Windows.Forms.ToolStripMenuItem(); viewAttributesMi_ = new System.Windows.Forms.ToolStripMenuItem(); viewAggregatesMi_ = new System.Windows.Forms.ToolStripMenuItem(); browseItemsMi_ = new System.Windows.Forms.ToolStripMenuItem(); outputMi_ = new System.Windows.Forms.ToolStripMenuItem(); outputClearMi_ = new System.Windows.Forms.ToolStripMenuItem(); optionsMi_ = new System.Windows.Forms.ToolStripMenuItem(); clearHistoryMi_ = new System.Windows.Forms.ToolStripMenuItem(); helpMi_ = new System.Windows.Forms.ToolStripMenuItem(); aboutMi_ = new System.Windows.Forms.ToolStripMenuItem(); toolBar_ = new System.Windows.Forms.ToolStrip(); toolBarImageList_ = new System.Windows.Forms.ImageList(components_); connectBtn_ = new System.Windows.Forms.ToolStripButton(); disconnectBtn_ = new System.Windows.Forms.ToolStripButton(); viewStatusBtn_ = new System.Windows.Forms.ToolStripButton(); browseBtn_ = new System.Windows.Forms.ToolStripButton(); aboutBtn_ = new System.Windows.Forms.ToolStripButton(); bottomPn_ = new System.Windows.Forms.Panel(); outputCtrl_ = new System.Windows.Forms.RichTextBox(); splitterH_ = new System.Windows.Forms.Splitter(); splitterV_ = new System.Windows.Forms.Splitter(); leftPn_ = new System.Windows.Forms.Panel(); trendsCtrl_ = new SampleClients.Hda.Trend.TrendTreeCtrl(); rightPn_ = new System.Windows.Forms.Panel(); valuesCtrl_ = new SampleClients.Hda.Item.ItemValuesCtrl(); selectServerCtrl_ = new SampleClients.Common.SelectServerCtrl(); statusCtrl_ = new SampleClients.Hda.Server.ServerStatusCtrl(); updateTimerControl_ = new System.Windows.Forms.Timer(components_); mainMenu_.SuspendLayout(); toolBar_.SuspendLayout(); bottomPn_.SuspendLayout(); leftPn_.SuspendLayout(); rightPn_.SuspendLayout(); SuspendLayout(); // // mainMenu_ // mainMenu_.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { fileMi_, serverMi_, outputMi_, optionsMi_, helpMi_ }); mainMenu_.Location = new System.Drawing.Point(0, 0); mainMenu_.Name = "mainMenu_"; mainMenu_.Size = new System.Drawing.Size(200, 24); mainMenu_.TabIndex = 0; // // fileMi_ // fileMi_.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { exitMi_ }); fileMi_.Name = "fileMi_"; fileMi_.Size = new System.Drawing.Size(37, 20); fileMi_.Text = "&File"; // // exitMi_ // exitMi_.Name = "exitMi_"; exitMi_.Size = new System.Drawing.Size(93, 22); exitMi_.Text = "&Exit"; exitMi_.Click += new System.EventHandler(ExitMI_Click); // // serverMi_ // serverMi_.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { connectMi_, disconnecMi_, separatorS1_, viewStatusMi_, viewAttributesMi_, viewAggregatesMi_, browseItemsMi_ }); serverMi_.Name = "serverMi_"; serverMi_.Size = new System.Drawing.Size(51, 20); serverMi_.Text = "&Server"; // // connectMi_ // connectMi_.Name = "connectMi_"; connectMi_.Size = new System.Drawing.Size(171, 22); connectMi_.Text = "&Connect"; connectMi_.Click += new System.EventHandler(ConnectMI_Click); // // disconnecMi_ // disconnecMi_.Name = "disconnecMi_"; disconnecMi_.Size = new System.Drawing.Size(171, 22); disconnecMi_.Text = "&Disconnect"; disconnecMi_.Click += new System.EventHandler(DisconnectMI_Click); // // separatorS1_ // separatorS1_.Name = "separatorS1_"; separatorS1_.Size = new System.Drawing.Size(171, 22); separatorS1_.Text = "-"; // // viewStatusMi_ // viewStatusMi_.Name = "viewStatusMi_"; viewStatusMi_.Size = new System.Drawing.Size(171, 22); viewStatusMi_.Text = "&View Status..."; viewStatusMi_.Click += new System.EventHandler(ViewStatusMI_Click); // // viewAttributesMi_ // viewAttributesMi_.Name = "viewAttributesMi_"; viewAttributesMi_.Size = new System.Drawing.Size(171, 22); viewAttributesMi_.Text = "View &Attributes..."; viewAttributesMi_.Click += new System.EventHandler(ViewAttributesMI_Click); // // viewAggregatesMi_ // viewAggregatesMi_.Name = "viewAggregatesMi_"; viewAggregatesMi_.Size = new System.Drawing.Size(171, 22); viewAggregatesMi_.Text = "View A&ggregates..."; viewAggregatesMi_.Click += new System.EventHandler(ViewAggregatesMI_Click); // // browseItemsMi_ // browseItemsMi_.Name = "browseItemsMi_"; browseItemsMi_.Size = new System.Drawing.Size(171, 22); browseItemsMi_.Text = "&Browse Items..."; browseItemsMi_.Click += new System.EventHandler(BrowseMI_Click); // // outputMi_ // outputMi_.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { outputClearMi_ }); outputMi_.Name = "outputMi_"; outputMi_.Size = new System.Drawing.Size(57, 20); outputMi_.Text = "&Output"; // // outputClearMi_ // outputClearMi_.Name = "outputClearMi_"; outputClearMi_.Size = new System.Drawing.Size(101, 22); outputClearMi_.Text = "&Clear"; outputClearMi_.Click += new System.EventHandler(OutputClearMI_Click); // // optionsMi_ // optionsMi_.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { clearHistoryMi_ }); optionsMi_.Name = "optionsMi_"; optionsMi_.Size = new System.Drawing.Size(61, 20); optionsMi_.Text = "O&ptions"; // // clearHistoryMi_ // clearHistoryMi_.Name = "clearHistoryMi_"; clearHistoryMi_.Size = new System.Drawing.Size(142, 22); clearHistoryMi_.Text = "&Clear History"; clearHistoryMi_.Click += new System.EventHandler(ClearHistoryMI_Click); // // helpMi_ // helpMi_.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { aboutMi_ }); helpMi_.Name = "helpMi_"; helpMi_.Size = new System.Drawing.Size(44, 20); helpMi_.Text = "&Help"; // // aboutMi_ // aboutMi_.Name = "aboutMi_"; aboutMi_.Size = new System.Drawing.Size(116, 22); aboutMi_.Text = "&About..."; aboutMi_.Click += new System.EventHandler(AboutMI_Click); // // toolBar_ // toolBar_.ImageList = toolBarImageList_; toolBar_.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { connectBtn_, disconnectBtn_, viewStatusBtn_, browseBtn_, aboutBtn_ }); toolBar_.Location = new System.Drawing.Point(0, 0); toolBar_.Name = "toolBar_"; toolBar_.Size = new System.Drawing.Size(1016, 25); toolBar_.TabIndex = 0; // // toolBarImageList_ // toolBarImageList_.ColorDepth = System.Windows.Forms.ColorDepth.Depth24Bit; toolBarImageList_.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("toolBarImageList_.ImageStream"))); toolBarImageList_.TransparentColor = System.Drawing.Color.Teal; toolBarImageList_.Images.SetKeyName(0, ""); toolBarImageList_.Images.SetKeyName(1, ""); toolBarImageList_.Images.SetKeyName(2, ""); toolBarImageList_.Images.SetKeyName(3, ""); toolBarImageList_.Images.SetKeyName(4, ""); toolBarImageList_.Images.SetKeyName(5, ""); toolBarImageList_.Images.SetKeyName(6, ""); toolBarImageList_.Images.SetKeyName(7, ""); toolBarImageList_.Images.SetKeyName(8, ""); toolBarImageList_.Images.SetKeyName(9, ""); toolBarImageList_.Images.SetKeyName(10, ""); toolBarImageList_.Images.SetKeyName(11, ""); toolBarImageList_.Images.SetKeyName(12, ""); toolBarImageList_.Images.SetKeyName(13, ""); // // connectBtn_ // connectBtn_.ImageIndex = 0; connectBtn_.Name = "connectBtn_"; connectBtn_.Size = new System.Drawing.Size(23, 22); connectBtn_.ToolTipText = "Connect to Server"; connectBtn_.Click += new System.EventHandler(ConnectMI_Click); // // disconnectBtn_ // disconnectBtn_.ImageIndex = 1; disconnectBtn_.Name = "disconnectBtn_"; disconnectBtn_.Size = new System.Drawing.Size(23, 22); disconnectBtn_.ToolTipText = "Disconnect from Server"; disconnectBtn_.Click += new System.EventHandler(DisconnectMI_Click); // // viewStatusBtn_ // viewStatusBtn_.ImageIndex = 4; viewStatusBtn_.Name = "viewStatusBtn_"; viewStatusBtn_.Size = new System.Drawing.Size(23, 22); viewStatusBtn_.ToolTipText = "View Server Status"; viewStatusBtn_.Click += new System.EventHandler(ViewStatusMI_Click); // // browseBtn_ // browseBtn_.ImageIndex = 6; browseBtn_.Name = "browseBtn_"; browseBtn_.Size = new System.Drawing.Size(23, 22); browseBtn_.ToolTipText = "Browse Address Space"; browseBtn_.Click += new System.EventHandler(BrowseMI_Click); // // aboutBtn_ // aboutBtn_.ImageIndex = 13; aboutBtn_.Name = "aboutBtn_"; aboutBtn_.Size = new System.Drawing.Size(23, 22); aboutBtn_.ToolTipText = "About"; aboutBtn_.Click += new System.EventHandler(AboutMI_Click); // // bottomPn_ // bottomPn_.Controls.Add(outputCtrl_); bottomPn_.Dock = System.Windows.Forms.DockStyle.Bottom; bottomPn_.Location = new System.Drawing.Point(0, 568); bottomPn_.Name = "bottomPn_"; bottomPn_.Size = new System.Drawing.Size(1016, 123); bottomPn_.TabIndex = 3; // // outputCtrl_ // outputCtrl_.Dock = System.Windows.Forms.DockStyle.Fill; outputCtrl_.Location = new System.Drawing.Point(0, 0); outputCtrl_.Name = "outputCtrl_"; outputCtrl_.Size = new System.Drawing.Size(1016, 123); outputCtrl_.TabIndex = 0; outputCtrl_.Text = ""; // // splitterH_ // splitterH_.Dock = System.Windows.Forms.DockStyle.Bottom; splitterH_.Location = new System.Drawing.Point(0, 565); splitterH_.Name = "splitterH_"; splitterH_.Size = new System.Drawing.Size(1016, 3); splitterH_.TabIndex = 4; splitterH_.TabStop = false; // // splitterV_ // splitterV_.Location = new System.Drawing.Point(317, 52); splitterV_.Name = "splitterV_"; splitterV_.Size = new System.Drawing.Size(3, 513); splitterV_.TabIndex = 5; splitterV_.TabStop = false; // // leftPn_ // leftPn_.Controls.Add(trendsCtrl_); leftPn_.Dock = System.Windows.Forms.DockStyle.Left; leftPn_.Location = new System.Drawing.Point(0, 52); leftPn_.Name = "leftPn_"; leftPn_.Padding = new System.Windows.Forms.Padding(0, 3, 0, 0); leftPn_.Size = new System.Drawing.Size(317, 513); leftPn_.TabIndex = 6; // // trendsCtrl_ // trendsCtrl_.Dock = System.Windows.Forms.DockStyle.Fill; trendsCtrl_.Location = new System.Drawing.Point(0, 3); trendsCtrl_.Name = "trendsCtrl_"; trendsCtrl_.Size = new System.Drawing.Size(317, 510); trendsCtrl_.TabIndex = 0; trendsCtrl_.TrendChanged += new SampleClients.Hda.Trend.TrendTreeCtrl.TrendChangedEventHandler(TrendsCTRL_TrendChanged); trendsCtrl_.TrendSelected += new SampleClients.Hda.Trend.TrendTreeCtrl.TrendSelectedEventHandler(TrendsCTRL_TrendSelected); // // rightPn_ // rightPn_.Controls.Add(valuesCtrl_); rightPn_.Dock = System.Windows.Forms.DockStyle.Fill; rightPn_.Location = new System.Drawing.Point(320, 52); rightPn_.Name = "rightPn_"; rightPn_.Padding = new System.Windows.Forms.Padding(0, 3, 0, 0); rightPn_.Size = new System.Drawing.Size(696, 513); rightPn_.TabIndex = 7; // // valuesCtrl_ // valuesCtrl_.DisplayGraph = true; valuesCtrl_.Dock = System.Windows.Forms.DockStyle.Fill; valuesCtrl_.Location = new System.Drawing.Point(0, 3); valuesCtrl_.Name = "valuesCtrl_"; valuesCtrl_.ReadOnly = false; valuesCtrl_.Size = new System.Drawing.Size(696, 510); valuesCtrl_.TabIndex = 0; // // selectServerCtrl_ // selectServerCtrl_.Dock = System.Windows.Forms.DockStyle.Top; selectServerCtrl_.Label = "Server"; selectServerCtrl_.Location = new System.Drawing.Point(0, 25); selectServerCtrl_.Name = "selectServerCtrl_"; selectServerCtrl_.Padding = new System.Windows.Forms.Padding(4, 0, 4, 0); selectServerCtrl_.Size = new System.Drawing.Size(1016, 27); selectServerCtrl_.TabIndex = 0; // // statusCtrl_ // statusCtrl_.Location = new System.Drawing.Point(0, 691); statusCtrl_.Name = "statusCtrl_"; statusCtrl_.Size = new System.Drawing.Size(1016, 22); statusCtrl_.TabIndex = 8; // // updateTimerControl_ // updateTimerControl_.Interval = 10000; updateTimerControl_.Tick += new System.EventHandler(UpdateTimerCtrlTick); // // MainForm // AutoScaleBaseSize = new System.Drawing.Size(6, 16); ClientSize = new System.Drawing.Size(1016, 713); Controls.Add(rightPn_); Controls.Add(splitterV_); Controls.Add(leftPn_); Controls.Add(splitterH_); Controls.Add(bottomPn_); Controls.Add(statusCtrl_); Controls.Add(selectServerCtrl_); Controls.Add(toolBar_); MainMenuStrip = mainMenu_; Name = "MainForm"; Text = "OPC HDA Sample Client"; mainMenu_.ResumeLayout(false); mainMenu_.PerformLayout(); toolBar_.ResumeLayout(false); toolBar_.PerformLayout(); bottomPn_.ResumeLayout(false); leftPn_.ResumeLayout(false); rightPn_.ResumeLayout(false); ResumeLayout(false); PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); this.MainMenu = new System.Windows.Forms.MainMenu(this.components); this.FileMI = new System.Windows.Forms.MenuItem(); this.ExitMI = new System.Windows.Forms.MenuItem(); this.ServerMI = new System.Windows.Forms.MenuItem(); this.ConnectMI = new System.Windows.Forms.MenuItem(); this.DisconnecMI = new System.Windows.Forms.MenuItem(); this.SeparatorS1 = new System.Windows.Forms.MenuItem(); this.ViewStatusMI = new System.Windows.Forms.MenuItem(); this.ViewAttributesMI = new System.Windows.Forms.MenuItem(); this.ViewAggregatesMI = new System.Windows.Forms.MenuItem(); this.BrowseItemsMI = new System.Windows.Forms.MenuItem(); this.OutputMI = new System.Windows.Forms.MenuItem(); this.OutputClearMI = new System.Windows.Forms.MenuItem(); this.OptionsMI = new System.Windows.Forms.MenuItem(); this.ClearHistoryMI = new System.Windows.Forms.MenuItem(); this.HelpMI = new System.Windows.Forms.MenuItem(); this.AboutMI = new System.Windows.Forms.MenuItem(); this.ToolBar = new System.Windows.Forms.ToolBar(); this.ConnectBTN = new System.Windows.Forms.ToolBarButton(); this.DisconnectBTN = new System.Windows.Forms.ToolBarButton(); this.ViewStatusBTN = new System.Windows.Forms.ToolBarButton(); this.BrowseBTN = new System.Windows.Forms.ToolBarButton(); this.SeparatorT2 = new System.Windows.Forms.ToolBarButton(); this.AboutBTN = new System.Windows.Forms.ToolBarButton(); this.ToolBarImageList = new System.Windows.Forms.ImageList(this.components); this.BottomPN = new System.Windows.Forms.Panel(); this.OutputCTRL = new System.Windows.Forms.RichTextBox(); this.SplitterH = new System.Windows.Forms.Splitter(); this.SplitterV = new System.Windows.Forms.Splitter(); this.LeftPN = new System.Windows.Forms.Panel(); this.TrendsCTRL = new OpcClientSdk.Hda.SampleClient.TrendTreeCtrl(); this.RightPN = new System.Windows.Forms.Panel(); this.ValuesCTRL = new OpcClientSdk.Hda.SampleClient.ItemValuesCtrl(); this.SelectServerCTRL = new SelectServerCtrl(); this.StatusCTRL = new OpcClientSdk.Hda.SampleClient.ServerStatusCtrl(); this.updateTimerControl_ = new System.Windows.Forms.Timer(this.components); this.BottomPN.SuspendLayout(); this.LeftPN.SuspendLayout(); this.RightPN.SuspendLayout(); this.SuspendLayout(); // // MainMenu // this.MainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.FileMI, this.ServerMI, this.OutputMI, this.OptionsMI, this.HelpMI }); // // FileMI // this.FileMI.Index = 0; this.FileMI.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.ExitMI }); this.FileMI.Text = "&File"; // // ExitMI // this.ExitMI.Index = 0; this.ExitMI.Text = "&Exit"; this.ExitMI.Click += new System.EventHandler(this.ExitMI_Click); // // ServerMI // this.ServerMI.Index = 1; this.ServerMI.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.ConnectMI, this.DisconnecMI, this.SeparatorS1, this.ViewStatusMI, this.ViewAttributesMI, this.ViewAggregatesMI, this.BrowseItemsMI }); this.ServerMI.Text = "&Server"; // // ConnectMI // this.ConnectMI.Index = 0; this.ConnectMI.Text = "&Connect"; this.ConnectMI.Click += new System.EventHandler(this.ConnectMI_Click); // // DisconnecMI // this.DisconnecMI.Index = 1; this.DisconnecMI.Text = "&Disconnect"; this.DisconnecMI.Click += new System.EventHandler(this.DisconnectMI_Click); // // SeparatorS1 // this.SeparatorS1.Index = 2; this.SeparatorS1.Text = "-"; // // ViewStatusMI // this.ViewStatusMI.Index = 3; this.ViewStatusMI.Text = "&View Status..."; this.ViewStatusMI.Click += new System.EventHandler(this.ViewStatusMI_Click); // // ViewAttributesMI // this.ViewAttributesMI.Index = 4; this.ViewAttributesMI.Text = "View &Attributes..."; this.ViewAttributesMI.Click += new System.EventHandler(this.ViewAttributesMI_Click); // // ViewAggregatesMI // this.ViewAggregatesMI.Index = 5; this.ViewAggregatesMI.Text = "View A&ggregates..."; this.ViewAggregatesMI.Click += new System.EventHandler(this.ViewAggregatesMI_Click); // // BrowseItemsMI // this.BrowseItemsMI.Index = 6; this.BrowseItemsMI.Text = "&Browse Items..."; this.BrowseItemsMI.Click += new System.EventHandler(this.BrowseMI_Click); // // OutputMI // this.OutputMI.Index = 2; this.OutputMI.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.OutputClearMI }); this.OutputMI.Text = "&Output"; // // OutputClearMI // this.OutputClearMI.Index = 0; this.OutputClearMI.Text = "&Clear"; this.OutputClearMI.Click += new System.EventHandler(this.OutputClearMI_Click); // // OptionsMI // this.OptionsMI.Index = 3; this.OptionsMI.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.ClearHistoryMI }); this.OptionsMI.Text = "O&ptions"; // // ClearHistoryMI // this.ClearHistoryMI.Index = 0; this.ClearHistoryMI.Text = "&Clear History"; this.ClearHistoryMI.Click += new System.EventHandler(this.ClearHistoryMI_Click); // // HelpMI // this.HelpMI.Index = 4; this.HelpMI.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.AboutMI }); this.HelpMI.Text = "&Help"; // // AboutMI // this.AboutMI.Index = 0; this.AboutMI.Text = "&About..."; this.AboutMI.Click += new System.EventHandler(this.AboutMI_Click); // // ToolBar // this.ToolBar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat; this.ToolBar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.ConnectBTN, this.DisconnectBTN, this.ViewStatusBTN, this.BrowseBTN, this.SeparatorT2, this.AboutBTN }); this.ToolBar.ButtonSize = new System.Drawing.Size(16, 16); this.ToolBar.DropDownArrows = true; this.ToolBar.ImageList = this.ToolBarImageList; this.ToolBar.Location = new System.Drawing.Point(3, 0); this.ToolBar.Name = "ToolBar"; this.ToolBar.ShowToolTips = true; this.ToolBar.Size = new System.Drawing.Size(1010, 30); this.ToolBar.TabIndex = 0; this.ToolBar.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.ToolBar_ButtonClick); // // ConnectBTN // this.ConnectBTN.ImageIndex = 0; this.ConnectBTN.Name = "ConnectBTN"; this.ConnectBTN.ToolTipText = "Connect to Server"; // // DisconnectBTN // this.DisconnectBTN.ImageIndex = 1; this.DisconnectBTN.Name = "DisconnectBTN"; this.DisconnectBTN.ToolTipText = "Disconnect from Server"; // // ViewStatusBTN // this.ViewStatusBTN.ImageIndex = 4; this.ViewStatusBTN.Name = "ViewStatusBTN"; this.ViewStatusBTN.ToolTipText = "View Server Status"; // // BrowseBTN // this.BrowseBTN.ImageIndex = 6; this.BrowseBTN.Name = "BrowseBTN"; this.BrowseBTN.ToolTipText = "Browse Address Space"; // // SeparatorT2 // this.SeparatorT2.Name = "SeparatorT2"; this.SeparatorT2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // AboutBTN // this.AboutBTN.ImageIndex = 13; this.AboutBTN.Name = "AboutBTN"; this.AboutBTN.ToolTipText = "About"; // // ToolBarImageList // this.ToolBarImageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ToolBarImageList.ImageStream"))); this.ToolBarImageList.TransparentColor = System.Drawing.Color.Teal; this.ToolBarImageList.Images.SetKeyName(0, ""); this.ToolBarImageList.Images.SetKeyName(1, ""); this.ToolBarImageList.Images.SetKeyName(2, ""); this.ToolBarImageList.Images.SetKeyName(3, ""); this.ToolBarImageList.Images.SetKeyName(4, ""); this.ToolBarImageList.Images.SetKeyName(5, ""); this.ToolBarImageList.Images.SetKeyName(6, ""); this.ToolBarImageList.Images.SetKeyName(7, ""); this.ToolBarImageList.Images.SetKeyName(8, ""); this.ToolBarImageList.Images.SetKeyName(9, ""); this.ToolBarImageList.Images.SetKeyName(10, ""); this.ToolBarImageList.Images.SetKeyName(11, ""); this.ToolBarImageList.Images.SetKeyName(12, ""); this.ToolBarImageList.Images.SetKeyName(13, ""); // // BottomPN // this.BottomPN.Controls.Add(this.OutputCTRL); this.BottomPN.Dock = System.Windows.Forms.DockStyle.Bottom; this.BottomPN.Location = new System.Drawing.Point(3, 597); this.BottomPN.Name = "BottomPN"; this.BottomPN.Size = new System.Drawing.Size(1010, 100); this.BottomPN.TabIndex = 3; // // OutputCTRL // this.OutputCTRL.Dock = System.Windows.Forms.DockStyle.Fill; this.OutputCTRL.Location = new System.Drawing.Point(0, 0); this.OutputCTRL.Name = "OutputCTRL"; this.OutputCTRL.Size = new System.Drawing.Size(1010, 100); this.OutputCTRL.TabIndex = 0; this.OutputCTRL.Text = ""; // // SplitterH // this.SplitterH.Dock = System.Windows.Forms.DockStyle.Bottom; this.SplitterH.Location = new System.Drawing.Point(3, 594); this.SplitterH.Name = "SplitterH"; this.SplitterH.Size = new System.Drawing.Size(1010, 3); this.SplitterH.TabIndex = 4; this.SplitterH.TabStop = false; // // SplitterV // this.SplitterV.Location = new System.Drawing.Point(267, 52); this.SplitterV.Name = "SplitterV"; this.SplitterV.Size = new System.Drawing.Size(3, 542); this.SplitterV.TabIndex = 5; this.SplitterV.TabStop = false; // // LeftPN // this.LeftPN.Controls.Add(this.TrendsCTRL); this.LeftPN.Dock = System.Windows.Forms.DockStyle.Left; this.LeftPN.Location = new System.Drawing.Point(3, 52); this.LeftPN.Name = "LeftPN"; this.LeftPN.Padding = new System.Windows.Forms.Padding(0, 3, 0, 0); this.LeftPN.Size = new System.Drawing.Size(264, 542); this.LeftPN.TabIndex = 6; // // TrendsCTRL // this.TrendsCTRL.Dock = System.Windows.Forms.DockStyle.Fill; this.TrendsCTRL.Location = new System.Drawing.Point(0, 3); this.TrendsCTRL.Name = "TrendsCTRL"; this.TrendsCTRL.Size = new System.Drawing.Size(264, 539); this.TrendsCTRL.TabIndex = 0; this.TrendsCTRL.TrendChanged += new OpcClientSdk.Hda.SampleClient.TrendTreeCtrl.TrendChangedEventHandler(this.TrendsCTRL_TrendChanged); this.TrendsCTRL.TrendSelected += new OpcClientSdk.Hda.SampleClient.TrendTreeCtrl.TrendSelectedEventHandler(this.TrendsCTRL_TrendSelected); // // RightPN // this.RightPN.Controls.Add(this.ValuesCTRL); this.RightPN.Dock = System.Windows.Forms.DockStyle.Fill; this.RightPN.Location = new System.Drawing.Point(270, 52); this.RightPN.Name = "RightPN"; this.RightPN.Padding = new System.Windows.Forms.Padding(0, 3, 0, 0); this.RightPN.Size = new System.Drawing.Size(743, 542); this.RightPN.TabIndex = 7; // // ValuesCTRL // this.ValuesCTRL.DisplayGraph = true; this.ValuesCTRL.Dock = System.Windows.Forms.DockStyle.Fill; this.ValuesCTRL.Location = new System.Drawing.Point(0, 3); this.ValuesCTRL.Name = "ValuesCTRL"; this.ValuesCTRL.ReadOnly = false; this.ValuesCTRL.Size = new System.Drawing.Size(743, 539); this.ValuesCTRL.TabIndex = 0; // // SelectServerCTRL // this.SelectServerCTRL.Dock = System.Windows.Forms.DockStyle.Top; this.SelectServerCTRL.Label = "Server"; this.SelectServerCTRL.Location = new System.Drawing.Point(3, 30); this.SelectServerCTRL.Name = "SelectServerCTRL"; this.SelectServerCTRL.Padding = new System.Windows.Forms.Padding(4, 0, 4, 0); this.SelectServerCTRL.Size = new System.Drawing.Size(1010, 22); this.SelectServerCTRL.TabIndex = 0; // // StatusCTRL // this.StatusCTRL.Location = new System.Drawing.Point(3, 697); this.StatusCTRL.Name = "StatusCTRL"; this.StatusCTRL.Size = new System.Drawing.Size(1010, 16); this.StatusCTRL.TabIndex = 8; // // updateTimerControl_ // this.updateTimerControl_.Interval = 10000; this.updateTimerControl_.Tick += new System.EventHandler(this.UpdateTimerCtrlTick); // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(1016, 713); this.Controls.Add(this.RightPN); this.Controls.Add(this.SplitterV); this.Controls.Add(this.LeftPN); this.Controls.Add(this.SplitterH); this.Controls.Add(this.BottomPN); this.Controls.Add(this.StatusCTRL); this.Controls.Add(this.SelectServerCTRL); this.Controls.Add(this.ToolBar); this.Menu = this.MainMenu; this.Name = "MainForm"; this.Text = "OPC HDA Client SDK .NET Standard Sample Application"; this.BottomPN.ResumeLayout(false); this.LeftPN.ResumeLayout(false); this.RightPN.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { components_ = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); mainMenu_ = new System.Windows.Forms.MenuStrip(); fileMi_ = new System.Windows.Forms.ToolStripMenuItem(); exitMi_ = new System.Windows.Forms.ToolStripMenuItem(); serverMi_ = new System.Windows.Forms.ToolStripMenuItem(); connectMi_ = new System.Windows.Forms.ToolStripMenuItem(); disconnecMi_ = new System.Windows.Forms.ToolStripMenuItem(); separatorS1_ = new System.Windows.Forms.ToolStripMenuItem(); viewStatusMi_ = new System.Windows.Forms.ToolStripMenuItem(); browseAreasMi_ = new System.Windows.Forms.ToolStripMenuItem(); separatorS2_ = new System.Windows.Forms.ToolStripMenuItem(); viewFiltersMi_ = new System.Windows.Forms.ToolStripMenuItem(); viewCategoriesMi_ = new System.Windows.Forms.ToolStripMenuItem(); menuItem1_ = new System.Windows.Forms.ToolStripMenuItem(); createSubscriptionMi_ = new System.Windows.Forms.ToolStripMenuItem(); outputMi_ = new System.Windows.Forms.ToolStripMenuItem(); outputClearMi_ = new System.Windows.Forms.ToolStripMenuItem(); optionsMi_ = new System.Windows.Forms.ToolStripMenuItem(); clearHistoryMi_ = new System.Windows.Forms.ToolStripMenuItem(); helpMi_ = new System.Windows.Forms.ToolStripMenuItem(); aboutMi_ = new System.Windows.Forms.ToolStripMenuItem(); toolBar_ = new System.Windows.Forms.ToolStrip(); connectBtn_ = new System.Windows.Forms.ToolStripButton(); disconnectBtn_ = new System.Windows.Forms.ToolStripButton(); viewStatusBtn_ = new System.Windows.Forms.ToolStripButton(); browseBtn_ = new System.Windows.Forms.ToolStripButton(); aboutBtn_ = new System.Windows.Forms.ToolStripButton(); toolBarImageList_ = new System.Windows.Forms.ImageList(components_); bottomPn_ = new System.Windows.Forms.Panel(); outputCtrl_ = new System.Windows.Forms.RichTextBox(); splitterH_ = new System.Windows.Forms.Splitter(); splitterV_ = new System.Windows.Forms.Splitter(); leftPn_ = new System.Windows.Forms.Panel(); subscriptionsCtrl_ = new Technosoftware.AeSampleClient.SubscriptionsCtrl(); rightPn_ = new System.Windows.Forms.Panel(); eventListCtrl_ = new Technosoftware.AeSampleClient.EventListCtrl(); selectServerCtrl_ = new SampleClients.Common.SelectServerCtrl(); statusCtrl_ = new Technosoftware.AeSampleClient.ServerStatusCtrl(); updateTimerControl_ = new System.Windows.Forms.Timer(components_); separatorT2_ = new System.Windows.Forms.ToolStripSeparator(); mainMenu_.SuspendLayout(); toolBar_.SuspendLayout(); bottomPn_.SuspendLayout(); leftPn_.SuspendLayout(); rightPn_.SuspendLayout(); SuspendLayout(); // // mainMenu_ // mainMenu_.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { fileMi_, serverMi_, outputMi_, optionsMi_, helpMi_ }); mainMenu_.Location = new System.Drawing.Point(0, 0); mainMenu_.Name = "mainMenu_"; mainMenu_.Size = new System.Drawing.Size(200, 24); mainMenu_.TabIndex = 0; // // fileMi_ // fileMi_.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { exitMi_ }); fileMi_.Name = "fileMi_"; fileMi_.Size = new System.Drawing.Size(37, 20); fileMi_.Text = "&File"; // // exitMi_ // exitMi_.Name = "exitMi_"; exitMi_.Size = new System.Drawing.Size(93, 22); exitMi_.Text = "&Exit"; exitMi_.Click += new System.EventHandler(ExitMI_Click); // // serverMi_ // serverMi_.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { connectMi_, disconnecMi_, separatorS1_, viewStatusMi_, browseAreasMi_, separatorS2_, viewFiltersMi_, viewCategoriesMi_, menuItem1_, createSubscriptionMi_ }); serverMi_.Name = "serverMi_"; serverMi_.Size = new System.Drawing.Size(51, 20); serverMi_.Text = "&Server"; // // connectMi_ // connectMi_.Name = "connectMi_"; connectMi_.Size = new System.Drawing.Size(186, 22); connectMi_.Text = "&Connect"; connectMi_.Click += new System.EventHandler(ConnectMI_Click); // // disconnecMi_ // disconnecMi_.Name = "disconnecMi_"; disconnecMi_.Size = new System.Drawing.Size(186, 22); disconnecMi_.Text = "&Disconnect"; disconnecMi_.Click += new System.EventHandler(DisconnectMI_Click); // // separatorS1_ // separatorS1_.Name = "separatorS1_"; separatorS1_.Size = new System.Drawing.Size(186, 22); separatorS1_.Text = "-"; // // viewStatusMi_ // viewStatusMi_.Name = "viewStatusMi_"; viewStatusMi_.Size = new System.Drawing.Size(186, 22); viewStatusMi_.Text = "&View Status..."; viewStatusMi_.Click += new System.EventHandler(ViewStatusMI_Click); // // browseAreasMi_ // browseAreasMi_.Name = "browseAreasMi_"; browseAreasMi_.Size = new System.Drawing.Size(186, 22); browseAreasMi_.Text = "&Browse Areas..."; browseAreasMi_.Click += new System.EventHandler(BrowseMI_Click); // // separatorS2_ // separatorS2_.Name = "separatorS2_"; separatorS2_.Size = new System.Drawing.Size(186, 22); separatorS2_.Text = "-"; // // viewFiltersMi_ // viewFiltersMi_.Name = "viewFiltersMi_"; viewFiltersMi_.Size = new System.Drawing.Size(186, 22); viewFiltersMi_.Text = "View Filters..."; viewFiltersMi_.Click += new System.EventHandler(ViewFiltersMI_Click); // // viewCategoriesMi_ // viewCategoriesMi_.Name = "viewCategoriesMi_"; viewCategoriesMi_.Size = new System.Drawing.Size(186, 22); viewCategoriesMi_.Text = "View Categories..."; viewCategoriesMi_.Click += new System.EventHandler(ViewCategoriesMI_Click); // // menuItem1_ // menuItem1_.Name = "menuItem1_"; menuItem1_.Size = new System.Drawing.Size(186, 22); menuItem1_.Text = "-"; // // createSubscriptionMi_ // createSubscriptionMi_.Name = "createSubscriptionMi_"; createSubscriptionMi_.Size = new System.Drawing.Size(186, 22); createSubscriptionMi_.Text = "Create Subscription..."; createSubscriptionMi_.Click += new System.EventHandler(CreateSubscriptionMI_Click); // // outputMi_ // outputMi_.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { outputClearMi_ }); outputMi_.Name = "outputMi_"; outputMi_.Size = new System.Drawing.Size(57, 20); outputMi_.Text = "&Output"; // // outputClearMi_ // outputClearMi_.Name = "outputClearMi_"; outputClearMi_.Size = new System.Drawing.Size(101, 22); outputClearMi_.Text = "&Clear"; outputClearMi_.Click += new System.EventHandler(OutputClearMI_Click); // // optionsMi_ // optionsMi_.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { clearHistoryMi_ }); optionsMi_.Name = "optionsMi_"; optionsMi_.Size = new System.Drawing.Size(61, 20); optionsMi_.Text = "O&ptions"; // // clearHistoryMi_ // clearHistoryMi_.Name = "clearHistoryMi_"; clearHistoryMi_.Size = new System.Drawing.Size(142, 22); clearHistoryMi_.Text = "&Clear History"; clearHistoryMi_.Click += new System.EventHandler(ClearHistoryMI_Click); // // helpMi_ // helpMi_.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { aboutMi_ }); helpMi_.Name = "helpMi_"; helpMi_.Size = new System.Drawing.Size(44, 20); helpMi_.Text = "&Help"; // // aboutMi_ // aboutMi_.Name = "aboutMi_"; aboutMi_.Size = new System.Drawing.Size(116, 22); aboutMi_.Text = "&About..."; aboutMi_.Click += new System.EventHandler(AboutMI_Click); // // toolBar_ // toolBar_.ImageList = toolBarImageList_; toolBar_.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { connectBtn_, disconnectBtn_, viewStatusBtn_, browseBtn_, separatorT2_, aboutBtn_ }); toolBar_.Location = new System.Drawing.Point(3, 0); toolBar_.Name = "toolBar_"; toolBar_.Size = new System.Drawing.Size(1010, 25); toolBar_.TabIndex = 0; // // connectBtn_ // connectBtn_.ImageIndex = 0; connectBtn_.Name = "connectBtn_"; connectBtn_.Size = new System.Drawing.Size(23, 22); connectBtn_.ToolTipText = "Connect to Server"; connectBtn_.Click += new System.EventHandler(ConnectMI_Click); // // disconnectBtn_ // disconnectBtn_.ImageIndex = 1; disconnectBtn_.Name = "disconnectBtn_"; disconnectBtn_.Size = new System.Drawing.Size(23, 22); disconnectBtn_.ToolTipText = "Disconnect from Server"; disconnectBtn_.Click += new System.EventHandler(DisconnectMI_Click); // // viewStatusBtn_ // viewStatusBtn_.ImageIndex = 4; viewStatusBtn_.Name = "viewStatusBtn_"; viewStatusBtn_.Size = new System.Drawing.Size(23, 22); viewStatusBtn_.ToolTipText = "View Server Status"; viewStatusBtn_.Click += new System.EventHandler(ViewStatusMI_Click); // // browseBtn_ // browseBtn_.ImageIndex = 6; browseBtn_.Name = "browseBtn_"; browseBtn_.Size = new System.Drawing.Size(23, 22); browseBtn_.ToolTipText = "Browse Address Space"; browseBtn_.Click += new System.EventHandler(BrowseMI_Click); // // aboutBtn_ // aboutBtn_.ImageIndex = 13; aboutBtn_.Name = "aboutBtn_"; aboutBtn_.Size = new System.Drawing.Size(23, 22); aboutBtn_.ToolTipText = "About"; aboutBtn_.Click += new System.EventHandler(AboutMI_Click); // // toolBarImageList_ // toolBarImageList_.ColorDepth = System.Windows.Forms.ColorDepth.Depth24Bit; toolBarImageList_.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("toolBarImageList_.ImageStream"))); toolBarImageList_.TransparentColor = System.Drawing.Color.Teal; toolBarImageList_.Images.SetKeyName(0, ""); toolBarImageList_.Images.SetKeyName(1, ""); toolBarImageList_.Images.SetKeyName(2, ""); toolBarImageList_.Images.SetKeyName(3, ""); toolBarImageList_.Images.SetKeyName(4, ""); toolBarImageList_.Images.SetKeyName(5, ""); toolBarImageList_.Images.SetKeyName(6, ""); toolBarImageList_.Images.SetKeyName(7, ""); toolBarImageList_.Images.SetKeyName(8, ""); toolBarImageList_.Images.SetKeyName(9, ""); toolBarImageList_.Images.SetKeyName(10, ""); toolBarImageList_.Images.SetKeyName(11, ""); toolBarImageList_.Images.SetKeyName(12, ""); toolBarImageList_.Images.SetKeyName(13, ""); // // bottomPn_ // bottomPn_.Controls.Add(outputCtrl_); bottomPn_.Dock = System.Windows.Forms.DockStyle.Bottom; bottomPn_.Location = new System.Drawing.Point(3, 526); bottomPn_.Name = "bottomPn_"; bottomPn_.Size = new System.Drawing.Size(1010, 123); bottomPn_.TabIndex = 3; // // outputCtrl_ // outputCtrl_.Dock = System.Windows.Forms.DockStyle.Fill; outputCtrl_.Location = new System.Drawing.Point(0, 0); outputCtrl_.Name = "outputCtrl_"; outputCtrl_.Size = new System.Drawing.Size(1010, 123); outputCtrl_.TabIndex = 0; outputCtrl_.Text = ""; // // splitterH_ // splitterH_.Dock = System.Windows.Forms.DockStyle.Bottom; splitterH_.Location = new System.Drawing.Point(3, 522); splitterH_.Name = "splitterH_"; splitterH_.Size = new System.Drawing.Size(1010, 4); splitterH_.TabIndex = 4; splitterH_.TabStop = false; // // splitterV_ // splitterV_.Location = new System.Drawing.Point(319, 52); splitterV_.Name = "splitterV_"; splitterV_.Size = new System.Drawing.Size(4, 470); splitterV_.TabIndex = 5; splitterV_.TabStop = false; // // leftPn_ // leftPn_.Controls.Add(subscriptionsCtrl_); leftPn_.Dock = System.Windows.Forms.DockStyle.Left; leftPn_.Location = new System.Drawing.Point(3, 52); leftPn_.Name = "leftPn_"; leftPn_.Padding = new System.Windows.Forms.Padding(0, 3, 0, 0); leftPn_.Size = new System.Drawing.Size(316, 470); leftPn_.TabIndex = 6; // // subscriptionsCtrl_ // subscriptionsCtrl_.Dock = System.Windows.Forms.DockStyle.Fill; subscriptionsCtrl_.Location = new System.Drawing.Point(0, 3); subscriptionsCtrl_.Name = "subscriptionsCtrl_"; subscriptionsCtrl_.Size = new System.Drawing.Size(316, 467); subscriptionsCtrl_.TabIndex = 0; subscriptionsCtrl_.SubscriptionAction += new Technosoftware.AeSampleClient.SubscriptionsCtrl.SubscriptionActionEventHandler(SubscriptionsCTRL_SubscriptionAction); // // rightPn_ // rightPn_.Controls.Add(eventListCtrl_); rightPn_.Dock = System.Windows.Forms.DockStyle.Fill; rightPn_.Location = new System.Drawing.Point(323, 52); rightPn_.Name = "rightPn_"; rightPn_.Padding = new System.Windows.Forms.Padding(0, 3, 0, 0); rightPn_.Size = new System.Drawing.Size(690, 470); rightPn_.TabIndex = 7; // // eventListCtrl_ // eventListCtrl_.Dock = System.Windows.Forms.DockStyle.Fill; eventListCtrl_.Location = new System.Drawing.Point(0, 3); eventListCtrl_.Name = "eventListCtrl_"; eventListCtrl_.Size = new System.Drawing.Size(690, 467); eventListCtrl_.TabIndex = 0; // // selectServerCtrl_ // selectServerCtrl_.Dock = System.Windows.Forms.DockStyle.Top; selectServerCtrl_.Label = "Server"; selectServerCtrl_.Location = new System.Drawing.Point(3, 25); selectServerCtrl_.Name = "selectServerCtrl_"; selectServerCtrl_.Padding = new System.Windows.Forms.Padding(4, 0, 4, 0); selectServerCtrl_.Size = new System.Drawing.Size(1010, 27); selectServerCtrl_.TabIndex = 0; // // statusCtrl_ // statusCtrl_.Location = new System.Drawing.Point(3, 649); statusCtrl_.Name = "statusCtrl_"; statusCtrl_.Size = new System.Drawing.Size(1010, 22); statusCtrl_.TabIndex = 8; // // updateTimerControl_ // updateTimerControl_.Interval = 10000; updateTimerControl_.Tick += new System.EventHandler(UpdateTimerCtrlTick); // // separatorT2_ // separatorT2_.Name = "separatorT2_"; separatorT2_.Size = new System.Drawing.Size(6, 25); // // MainForm // AutoScaleBaseSize = new System.Drawing.Size(6, 16); ClientSize = new System.Drawing.Size(1016, 671); Controls.Add(rightPn_); Controls.Add(splitterV_); Controls.Add(leftPn_); Controls.Add(splitterH_); Controls.Add(bottomPn_); Controls.Add(selectServerCtrl_); Controls.Add(statusCtrl_); Controls.Add(toolBar_); MainMenuStrip = mainMenu_; Name = "MainForm"; Padding = new System.Windows.Forms.Padding(3, 0, 3, 0); Text = "OPC AE Sample Client"; mainMenu_.ResumeLayout(false); mainMenu_.PerformLayout(); toolBar_.ResumeLayout(false); toolBar_.PerformLayout(); bottomPn_.ResumeLayout(false); leftPn_.ResumeLayout(false); rightPn_.ResumeLayout(false); ResumeLayout(false); PerformLayout(); }