<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2194950546963017639</id><updated>2012-02-15T22:50:01.108-08:00</updated><title type='text'>How to write event handlers for dynamic controls</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://eventhandling.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194950546963017639/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://eventhandling.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Naqvi</name><uri>http://www.blogger.com/profile/03576691457259883543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2194950546963017639.post-3624879309662759654</id><published>2009-06-28T22:09:00.000-07:00</published><updated>2009-06-28T22:16:47.700-07:00</updated><title type='text'>Text Box Creation</title><content type='html'>you always have to create an array to keep track of how many your ae going to create.&lt;br /&gt;newTextBox = new TextBox[1];&lt;br /&gt;private void CreateTextBox()&lt;br /&gt;  {&lt;br /&gt;   newTextBox[m_nTextBoxCounter] = new TextBox();&lt;br /&gt;   newTextBox[m_nTextBoxCounter].AutoSize = false;&lt;br /&gt;   newTextBox[m_nTextBoxCounter].Name = "TextBox" + m_nTextBoxCounter.ToString();&lt;br /&gt;   newTextBox[m_nTextBoxCounter].Size = new System.Drawing.Size(360, 24);&lt;br /&gt;   newTextBox[m_nTextBoxCounter].Location = new System.Drawing.Point(144, 15 + (30*m_nTextBoxCounter));&lt;br /&gt;   newTextBox[m_nTextBoxCounter].TabIndex = m_nTextBoxCounter;&lt;br /&gt;   newTextBox[m_nTextBoxCounter].Text = "";&lt;br /&gt;   Controls.Add(newTextBox[m_nTextBoxCounter]);&lt;br /&gt;   m_nTextBoxCounter++;&lt;br /&gt;  }&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2194950546963017639-3624879309662759654?l=eventhandling.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://eventhandling.blogspot.com/feeds/3624879309662759654/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://eventhandling.blogspot.com/2009/06/text-box-creation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2194950546963017639/posts/default/3624879309662759654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2194950546963017639/posts/default/3624879309662759654'/><link rel='alternate' type='text/html' href='http://eventhandling.blogspot.com/2009/06/text-box-creation.html' title='Text Box Creation'/><author><name>Naqvi</name><uri>http://www.blogger.com/profile/03576691457259883543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
