Public Class Form1 Inherits System.Windows.Forms.Form #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Sub 'Form overrides dispose to clean up the component list. Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean) If disposing Then If Not (components Is Nothing) Then components.Dispose() End If End If MyBase.Dispose(disposing) End Sub 'Required by the Windows Form Designer Private components As System.ComponentModel.IContainer 'NOTE: The following procedure is required by the Windows Form Designer 'It can be modified using the Windows Form Designer. 'Do not modify it using the code editor. Friend WithEvents Tabs As System.Windows.Forms.TabControl Friend WithEvents TabPage1 As System.Windows.Forms.TabPage Friend WithEvents TabPage2 As System.Windows.Forms.TabPage Friend WithEvents TabPage3 As System.Windows.Forms.TabPage Friend WithEvents MainMenu1 As System.Windows.Forms.MainMenu Friend WithEvents MenuItem1 As System.Windows.Forms.MenuItem Friend WithEvents MenuItem2 As System.Windows.Forms.MenuItem Friend WithEvents MenuItem3 As System.Windows.Forms.MenuItem Friend WithEvents MenuItem4 As System.Windows.Forms.MenuItem Friend WithEvents MenuItem5 As System.Windows.Forms.MenuItem Friend WithEvents MenuItem6 As System.Windows.Forms.MenuItem Friend WithEvents MenuItem7 As System.Windows.Forms.MenuItem Friend WithEvents MenuItem8 As System.Windows.Forms.MenuItem Friend WithEvents MenuItem9 As System.Windows.Forms.MenuItem Friend WithEvents MenuItem10 As System.Windows.Forms.MenuItem Friend WithEvents MenuItem11 As System.Windows.Forms.MenuItem Friend WithEvents MenuItem12 As System.Windows.Forms.MenuItem Friend WithEvents MenuItem13 As System.Windows.Forms.MenuItem Friend WithEvents MenuItem14 As System.Windows.Forms.MenuItem Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox Friend WithEvents RadioButton1 As System.Windows.Forms.RadioButton Friend WithEvents RadioButton2 As System.Windows.Forms.RadioButton Friend WithEvents RadioButton3 As System.Windows.Forms.RadioButton Friend WithEvents RadioButton4 As System.Windows.Forms.RadioButton Friend WithEvents ComboBox1 As System.Windows.Forms.ComboBox Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox Friend WithEvents ComboBox2 As System.Windows.Forms.ComboBox Friend WithEvents ComboBox3 As System.Windows.Forms.ComboBox Friend WithEvents ComboBox4 As System.Windows.Forms.ComboBox Friend WithEvents ComboBox5 As System.Windows.Forms.ComboBox Friend WithEvents ComboBox6 As System.Windows.Forms.ComboBox Friend WithEvents ComboBox7 As System.Windows.Forms.ComboBox Friend WithEvents GroupBox3 As System.Windows.Forms.GroupBox Friend WithEvents RadioButton5 As System.Windows.Forms.RadioButton Friend WithEvents RadioButton6 As System.Windows.Forms.RadioButton Friend WithEvents MenuItem15 As System.Windows.Forms.MenuItem Friend WithEvents ToolBar1 As System.Windows.Forms.ToolBar Friend WithEvents ToolBarButton1 As System.Windows.Forms.ToolBarButton Friend WithEvents ToolBarButton2 As System.Windows.Forms.ToolBarButton Friend WithEvents ToolBarButton3 As System.Windows.Forms.ToolBarButton Friend WithEvents ToolBarButton4 As System.Windows.Forms.ToolBarButton Friend WithEvents ToolBarButton5 As System.Windows.Forms.ToolBarButton Friend WithEvents StatusBar1 As System.Windows.Forms.StatusBar Friend WithEvents DataGrid4 As System.Windows.Forms.DataGrid Friend WithEvents DataGrid5 As System.Windows.Forms.DataGrid Friend WithEvents DataGrid6 As System.Windows.Forms.DataGrid Friend WithEvents DataGrid7 As System.Windows.Forms.DataGrid Friend WithEvents RichTextBox1 As System.Windows.Forms.RichTextBox Friend WithEvents TabPage4 As System.Windows.Forms.TabPage Friend WithEvents AxChartSpace1 As AxOWC.AxChartSpace Friend WithEvents OpenFileDialog1 As System.Windows.Forms.OpenFileDialog Private Sub InitializeComponent() Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(Form1)) Me.Tabs = New System.Windows.Forms.TabControl() Me.TabPage1 = New System.Windows.Forms.TabPage() Me.RichTextBox1 = New System.Windows.Forms.RichTextBox() Me.StatusBar1 = New System.Windows.Forms.StatusBar() Me.TabPage2 = New System.Windows.Forms.TabPage() Me.TabPage3 = New System.Windows.Forms.TabPage() Me.GroupBox3 = New System.Windows.Forms.GroupBox() Me.RadioButton6 = New System.Windows.Forms.RadioButton() Me.RadioButton5 = New System.Windows.Forms.RadioButton() Me.GroupBox2 = New System.Windows.Forms.GroupBox() Me.ComboBox7 = New System.Windows.Forms.ComboBox() Me.ComboBox6 = New System.Windows.Forms.ComboBox() Me.ComboBox5 = New System.Windows.Forms.ComboBox() Me.ComboBox4 = New System.Windows.Forms.ComboBox() Me.ComboBox3 = New System.Windows.Forms.ComboBox() Me.ComboBox2 = New System.Windows.Forms.ComboBox() Me.ComboBox1 = New System.Windows.Forms.ComboBox() Me.GroupBox1 = New System.Windows.Forms.GroupBox() Me.RadioButton4 = New System.Windows.Forms.RadioButton() Me.RadioButton3 = New System.Windows.Forms.RadioButton() Me.RadioButton2 = New System.Windows.Forms.RadioButton() Me.RadioButton1 = New System.Windows.Forms.RadioButton() Me.MainMenu1 = New System.Windows.Forms.MainMenu() Me.MenuItem1 = New System.Windows.Forms.MenuItem() Me.MenuItem11 = New System.Windows.Forms.MenuItem() Me.MenuItem12 = New System.Windows.Forms.MenuItem() Me.MenuItem15 = New System.Windows.Forms.MenuItem() Me.MenuItem13 = New System.Windows.Forms.MenuItem() Me.MenuItem14 = New System.Windows.Forms.MenuItem() Me.MenuItem2 = New System.Windows.Forms.MenuItem() Me.MenuItem3 = New System.Windows.Forms.MenuItem() Me.MenuItem6 = New System.Windows.Forms.MenuItem() Me.MenuItem7 = New System.Windows.Forms.MenuItem() Me.MenuItem8 = New System.Windows.Forms.MenuItem() Me.MenuItem9 = New System.Windows.Forms.MenuItem() Me.MenuItem10 = New System.Windows.Forms.MenuItem() Me.MenuItem4 = New System.Windows.Forms.MenuItem() Me.MenuItem5 = New System.Windows.Forms.MenuItem() Me.ToolBar1 = New System.Windows.Forms.ToolBar() Me.ToolBarButton1 = New System.Windows.Forms.ToolBarButton() Me.ToolBarButton2 = New System.Windows.Forms.ToolBarButton() Me.ToolBarButton3 = New System.Windows.Forms.ToolBarButton() Me.ToolBarButton4 = New System.Windows.Forms.ToolBarButton() Me.ToolBarButton5 = New System.Windows.Forms.ToolBarButton() Me.DataGrid4 = New System.Windows.Forms.DataGrid() Me.DataGrid5 = New System.Windows.Forms.DataGrid() Me.DataGrid6 = New System.Windows.Forms.DataGrid() Me.DataGrid7 = New System.Windows.Forms.DataGrid() Me.TabPage4 = New System.Windows.Forms.TabPage() Me.AxChartSpace1 = New AxOWC.AxChartSpace() Me.OpenFileDialog1 = New System.Windows.Forms.OpenFileDialog() Me.Tabs.SuspendLayout() Me.TabPage1.SuspendLayout() Me.TabPage3.SuspendLayout() Me.GroupBox3.SuspendLayout() Me.GroupBox2.SuspendLayout() Me.GroupBox1.SuspendLayout() CType(Me.DataGrid4, System.ComponentModel.ISupportInitialize).BeginInit() CType(Me.DataGrid5, System.ComponentModel.ISupportInitialize).BeginInit() CType(Me.DataGrid6, System.ComponentModel.ISupportInitialize).BeginInit() CType(Me.DataGrid7, System.ComponentModel.ISupportInitialize).BeginInit() Me.TabPage4.SuspendLayout() CType(Me.AxChartSpace1, System.ComponentModel.ISupportInitialize).BeginInit() Me.SuspendLayout() ' 'Tabs ' Me.Tabs.Controls.AddRange(New System.Windows.Forms.Control() {Me.TabPage1, Me.TabPage2, Me.TabPage3, Me.TabPage4}) Me.Tabs.Location = New System.Drawing.Point(96, 48) Me.Tabs.Name = "Tabs" Me.Tabs.SelectedIndex = 0 Me.Tabs.Size = New System.Drawing.Size(568, 336) Me.Tabs.TabIndex = 0 ' 'TabPage1 ' Me.TabPage1.Controls.AddRange(New System.Windows.Forms.Control() {Me.RichTextBox1, Me.StatusBar1}) Me.TabPage1.Location = New System.Drawing.Point(4, 22) Me.TabPage1.Name = "TabPage1" Me.TabPage1.Size = New System.Drawing.Size(560, 310) Me.TabPage1.TabIndex = 0 Me.TabPage1.Text = "Terminal" ' 'RichTextBox1 ' Me.RichTextBox1.Location = New System.Drawing.Point(8, 8) Me.RichTextBox1.Name = "RichTextBox1" Me.RichTextBox1.Size = New System.Drawing.Size(544, 272) Me.RichTextBox1.TabIndex = 1 Me.RichTextBox1.Text = "Terminal" ' 'StatusBar1 ' Me.StatusBar1.Location = New System.Drawing.Point(0, 288) Me.StatusBar1.Name = "StatusBar1" Me.StatusBar1.Size = New System.Drawing.Size(560, 22) Me.StatusBar1.TabIndex = 0 Me.StatusBar1.Text = "StatusBar1" ' 'TabPage2 ' Me.TabPage2.Location = New System.Drawing.Point(4, 22) Me.TabPage2.Name = "TabPage2" Me.TabPage2.Size = New System.Drawing.Size(560, 310) Me.TabPage2.TabIndex = 1 Me.TabPage2.Text = "Monitor" ' 'TabPage3 ' Me.TabPage3.Controls.AddRange(New System.Windows.Forms.Control() {Me.GroupBox3, Me.GroupBox2, Me.ComboBox1, Me.GroupBox1}) Me.TabPage3.Location = New System.Drawing.Point(4, 22) Me.TabPage3.Name = "TabPage3" Me.TabPage3.Size = New System.Drawing.Size(560, 310) Me.TabPage3.TabIndex = 2 Me.TabPage3.Text = "Options" ' 'GroupBox3 ' Me.GroupBox3.Controls.AddRange(New System.Windows.Forms.Control() {Me.RadioButton6, Me.RadioButton5}) Me.GroupBox3.Location = New System.Drawing.Point(392, 24) Me.GroupBox3.Name = "GroupBox3" Me.GroupBox3.Size = New System.Drawing.Size(152, 96) Me.GroupBox3.TabIndex = 5 Me.GroupBox3.TabStop = False Me.GroupBox3.Text = "RAM" ' 'RadioButton6 ' Me.RadioButton6.Location = New System.Drawing.Point(32, 56) Me.RadioButton6.Name = "RadioButton6" Me.RadioButton6.TabIndex = 1 Me.RadioButton6.Text = "Extended Mode" ' 'RadioButton5 ' Me.RadioButton5.Checked = True Me.RadioButton5.Location = New System.Drawing.Point(32, 24) Me.RadioButton5.Name = "RadioButton5" Me.RadioButton5.Size = New System.Drawing.Size(112, 24) Me.RadioButton5.TabIndex = 0 Me.RadioButton5.TabStop = True Me.RadioButton5.Text = "Single Chip Mode" ' 'GroupBox2 ' Me.GroupBox2.Controls.AddRange(New System.Windows.Forms.Control() {Me.ComboBox7, Me.ComboBox6, Me.ComboBox5, Me.ComboBox4, Me.ComboBox3, Me.ComboBox2}) Me.GroupBox2.Location = New System.Drawing.Point(176, 16) Me.GroupBox2.Name = "GroupBox2" Me.GroupBox2.Size = New System.Drawing.Size(192, 224) Me.GroupBox2.TabIndex = 4 Me.GroupBox2.TabStop = False Me.GroupBox2.Text = "Serial Connection" ' 'ComboBox7 ' Me.ComboBox7.Items.AddRange(New Object() {"None", "Xon/Xoff", "Hardware"}) Me.ComboBox7.Location = New System.Drawing.Point(96, 184) Me.ComboBox7.Name = "ComboBox7" Me.ComboBox7.Size = New System.Drawing.Size(80, 21) Me.ComboBox7.TabIndex = 5 Me.ComboBox7.Text = "Flow" ' 'ComboBox6 ' Me.ComboBox6.Items.AddRange(New Object() {"1 Bit", "2 Bit"}) Me.ComboBox6.Location = New System.Drawing.Point(96, 152) Me.ComboBox6.Name = "ComboBox6" Me.ComboBox6.Size = New System.Drawing.Size(80, 21) Me.ComboBox6.TabIndex = 4 Me.ComboBox6.Text = "Stop" ' 'ComboBox5 ' Me.ComboBox5.Items.AddRange(New Object() {"None", "Even", "Odd"}) Me.ComboBox5.Location = New System.Drawing.Point(96, 120) Me.ComboBox5.Name = "ComboBox5" Me.ComboBox5.Size = New System.Drawing.Size(80, 21) Me.ComboBox5.TabIndex = 3 Me.ComboBox5.Text = "Parity" ' 'ComboBox4 ' Me.ComboBox4.Items.AddRange(New Object() {"8 bit", "7 bit"}) Me.ComboBox4.Location = New System.Drawing.Point(96, 88) Me.ComboBox4.Name = "ComboBox4" Me.ComboBox4.Size = New System.Drawing.Size(80, 21) Me.ComboBox4.TabIndex = 2 Me.ComboBox4.Text = "Data" ' 'ComboBox3 ' Me.ComboBox3.Items.AddRange(New Object() {"110", "300", "600", "1200", "2400", "4800", "9600", "14400", "19200", "38400"}) Me.ComboBox3.Location = New System.Drawing.Point(96, 56) Me.ComboBox3.Name = "ComboBox3" Me.ComboBox3.Size = New System.Drawing.Size(80, 21) Me.ComboBox3.TabIndex = 1 Me.ComboBox3.Text = "Baud Rate" ' 'ComboBox2 ' Me.ComboBox2.Items.AddRange(New Object() {"COM1", "COM2", "COM3", "COM4"}) Me.ComboBox2.Location = New System.Drawing.Point(96, 24) Me.ComboBox2.Name = "ComboBox2" Me.ComboBox2.Size = New System.Drawing.Size(80, 21) Me.ComboBox2.TabIndex = 0 Me.ComboBox2.Text = "Port" ' 'ComboBox1 ' Me.ComboBox1.Items.AddRange(New Object() {"2 MHz", "4 MHz", "8 MHz", "16 MHz", "32 MHz"}) Me.ComboBox1.Location = New System.Drawing.Point(16, 200) Me.ComboBox1.Name = "ComboBox1" Me.ComboBox1.Size = New System.Drawing.Size(121, 21) Me.ComboBox1.TabIndex = 3 Me.ComboBox1.Text = "Crystal Frequency" ' 'GroupBox1 ' Me.GroupBox1.Controls.AddRange(New System.Windows.Forms.Control() {Me.RadioButton4, Me.RadioButton3, Me.RadioButton2, Me.RadioButton1}) Me.GroupBox1.Location = New System.Drawing.Point(16, 16) Me.GroupBox1.Name = "GroupBox1" Me.GroupBox1.Size = New System.Drawing.Size(120, 160) Me.GroupBox1.TabIndex = 0 Me.GroupBox1.TabStop = False Me.GroupBox1.Text = "uC type" ' 'RadioButton4 ' Me.RadioButton4.Location = New System.Drawing.Point(8, 128) Me.RadioButton4.Name = "RadioButton4" Me.RadioButton4.TabIndex = 3 Me.RadioButton4.Text = "68HCS12" ' 'RadioButton3 ' Me.RadioButton3.Location = New System.Drawing.Point(8, 96) Me.RadioButton3.Name = "RadioButton3" Me.RadioButton3.TabIndex = 2 Me.RadioButton3.Text = "68HC12B32" ' 'RadioButton2 ' Me.RadioButton2.Location = New System.Drawing.Point(8, 64) Me.RadioButton2.Name = "RadioButton2" Me.RadioButton2.Size = New System.Drawing.Size(96, 24) Me.RadioButton2.TabIndex = 1 Me.RadioButton2.Text = "68HC12D60" ' 'RadioButton1 ' Me.RadioButton1.Checked = True Me.RadioButton1.Location = New System.Drawing.Point(8, 32) Me.RadioButton1.Name = "RadioButton1" Me.RadioButton1.TabIndex = 0 Me.RadioButton1.TabStop = True Me.RadioButton1.Text = "68HC12D60A" ' 'MainMenu1 ' Me.MainMenu1.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.MenuItem1, Me.MenuItem2, Me.MenuItem3, Me.MenuItem9, Me.MenuItem4}) ' 'MenuItem1 ' Me.MenuItem1.Index = 0 Me.MenuItem1.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.MenuItem11, Me.MenuItem12, Me.MenuItem15, Me.MenuItem13, Me.MenuItem14}) Me.MenuItem1.Text = "&File" ' 'MenuItem11 ' Me.MenuItem11.Index = 0 Me.MenuItem11.Text = "&New" ' 'MenuItem12 ' Me.MenuItem12.Index = 1 Me.MenuItem12.Text = "&Open" ' 'MenuItem15 ' Me.MenuItem15.Index = 2 Me.MenuItem15.Text = "Save" ' 'MenuItem13 ' Me.MenuItem13.Index = 3 Me.MenuItem13.Text = "&Close" ' 'MenuItem14 ' Me.MenuItem14.Index = 4 Me.MenuItem14.Text = "&Reset" ' 'MenuItem2 ' Me.MenuItem2.Index = 1 Me.MenuItem2.Text = "&Edit" ' 'MenuItem3 ' Me.MenuItem3.Index = 2 Me.MenuItem3.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.MenuItem6, Me.MenuItem7, Me.MenuItem8}) Me.MenuItem3.Text = "&View" ' 'MenuItem6 ' Me.MenuItem6.Index = 0 Me.MenuItem6.Text = "Terminal Tab" ' 'MenuItem7 ' Me.MenuItem7.Index = 1 Me.MenuItem7.Text = "Monitor Tab" ' 'MenuItem8 ' Me.MenuItem8.Index = 2 Me.MenuItem8.Text = "Options Tab" ' 'MenuItem9 ' Me.MenuItem9.Index = 3 Me.MenuItem9.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.MenuItem10}) Me.MenuItem9.Text = "&Tools" ' 'MenuItem10 ' Me.MenuItem10.Index = 0 Me.MenuItem10.Text = "&Options" ' 'MenuItem4 ' Me.MenuItem4.Index = 4 Me.MenuItem4.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.MenuItem5}) Me.MenuItem4.Text = "&Help" ' 'MenuItem5 ' Me.MenuItem5.Index = 0 Me.MenuItem5.Text = "&About" ' 'ToolBar1 ' Me.ToolBar1.Buttons.AddRange(New System.Windows.Forms.ToolBarButton() {Me.ToolBarButton1, Me.ToolBarButton2, Me.ToolBarButton3, Me.ToolBarButton4, Me.ToolBarButton5}) Me.ToolBar1.DropDownArrows = True Me.ToolBar1.Name = "ToolBar1" Me.ToolBar1.ShowToolTips = True Me.ToolBar1.Size = New System.Drawing.Size(656, 25) Me.ToolBar1.TabIndex = 1 ' 'DataGrid4 ' Me.DataGrid4.DataMember = "" Me.DataGrid4.HeaderForeColor = System.Drawing.SystemColors.ControlText Me.DataGrid4.Location = New System.Drawing.Point(8, 80) Me.DataGrid4.Name = "DataGrid4" Me.DataGrid4.Size = New System.Drawing.Size(64, 48) Me.DataGrid4.TabIndex = 2 ' 'DataGrid5 ' Me.DataGrid5.DataMember = "" Me.DataGrid5.HeaderForeColor = System.Drawing.SystemColors.ControlText Me.DataGrid5.Location = New System.Drawing.Point(8, 152) Me.DataGrid5.Name = "DataGrid5" Me.DataGrid5.Size = New System.Drawing.Size(64, 48) Me.DataGrid5.TabIndex = 3 ' 'DataGrid6 ' Me.DataGrid6.DataMember = "" Me.DataGrid6.HeaderForeColor = System.Drawing.SystemColors.ControlText Me.DataGrid6.Location = New System.Drawing.Point(8, 224) Me.DataGrid6.Name = "DataGrid6" Me.DataGrid6.Size = New System.Drawing.Size(64, 48) Me.DataGrid6.TabIndex = 4 ' 'DataGrid7 ' Me.DataGrid7.DataMember = "" Me.DataGrid7.HeaderForeColor = System.Drawing.SystemColors.ControlText Me.DataGrid7.Location = New System.Drawing.Point(8, 296) Me.DataGrid7.Name = "DataGrid7" Me.DataGrid7.Size = New System.Drawing.Size(64, 48) Me.DataGrid7.TabIndex = 5 ' 'TabPage4 ' Me.TabPage4.Controls.AddRange(New System.Windows.Forms.Control() {Me.AxChartSpace1}) Me.TabPage4.Location = New System.Drawing.Point(4, 22) Me.TabPage4.Name = "TabPage4" Me.TabPage4.Size = New System.Drawing.Size(560, 310) Me.TabPage4.TabIndex = 3 Me.TabPage4.Text = "Chart" ' 'AxChartSpace1 ' Me.AxChartSpace1.ContainingControl = Me Me.AxChartSpace1.DataSource = Nothing Me.AxChartSpace1.Enabled = True Me.AxChartSpace1.Location = New System.Drawing.Point(40, 32) Me.AxChartSpace1.Name = "AxChartSpace1" Me.AxChartSpace1.OcxState = CType(resources.GetObject("AxChartSpace1.OcxState"), System.Windows.Forms.AxHost.State) Me.AxChartSpace1.Size = New System.Drawing.Size(472, 248) Me.AxChartSpace1.TabIndex = 0 ' 'Form1 ' Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13) Me.ClientSize = New System.Drawing.Size(656, 381) Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.DataGrid7, Me.DataGrid6, Me.DataGrid5, Me.DataGrid4, Me.ToolBar1, Me.Tabs}) Me.Menu = Me.MainMenu1 Me.Name = "Form1" Me.Text = "rlpOS Performance Monitor Tool" Me.Tabs.ResumeLayout(False) Me.TabPage1.ResumeLayout(False) Me.TabPage3.ResumeLayout(False) Me.GroupBox3.ResumeLayout(False) Me.GroupBox2.ResumeLayout(False) Me.GroupBox1.ResumeLayout(False) CType(Me.DataGrid4, System.ComponentModel.ISupportInitialize).EndInit() CType(Me.DataGrid5, System.ComponentModel.ISupportInitialize).EndInit() CType(Me.DataGrid6, System.ComponentModel.ISupportInitialize).EndInit() CType(Me.DataGrid7, System.ComponentModel.ISupportInitialize).EndInit() Me.TabPage4.ResumeLayout(False) CType(Me.AxChartSpace1, System.ComponentModel.ISupportInitialize).EndInit() Me.ResumeLayout(False) End Sub #End Region Private Sub File_Popup(ByVal sender As System.Object, ByVal e As System.EventArgs) End Sub Private Sub ToolBar1_ButtonClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.ToolBarButtonClickEventArgs) Handles ToolBar1.ButtonClick End Sub Private Sub PictureBox1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Me.ImageList1.Draw() End Sub End Class