<?xml version="1.0" encoding="iso-8859-9" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwizguide.com/rss_namespace/">
 <channel>
  <title>Datakent Forum : Butona Tıklattırmak</title>
  <link>http://forum.datakent.com/</link>
  <description>XML içerik linki; Datakent Forum : C# &amp; ASP.NET : Butona Tıklattırmak</description>
  <pubDate>Mon, 27 Apr 2026 14:54:35 +0000</pubDate>
  <lastBuildDate>Mon, 08 Apr 2013 21:19:03 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.54</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.datakent.com/RSS_post_feed.asp?TID=1598</WebWizForums:feedURL>
  <image>
   <title>Datakent Forum</title>
   <url>http://forum.datakent.com/forum_images/datakent.com_forums.png</url>
   <link>http://forum.datakent.com/</link>
  </image>
  <item>
   <title>Butona Tıklattırmak : Tab tu&#351;unu yakalamak i&#231;in-----...</title>
   <link>http://forum.datakent.com/forum_posts.asp?TID=1598&amp;PID=5257#5257</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://forum.datakent.com/member_profile.asp?PF=4094" rel="nofollow">aziz.alkurt</a><br /><strong>Konu:</strong> 1598<br /><strong>Gönderim Zamanı:</strong> 08.Nisan.2013 Saat 21:19<br /><br />Tab tuşunu yakalamak için<br><br>----------------------------------------------------<br><br>public class XTextBox : TextBox<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; protected override bool ProcessCmdKey(ref Message msg, Keys keyData)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (keyData.Equals(Keys.Tab))<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; base.OnKeyDown(new KeyEventArgs(keyData));<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /*KeyDown fonksiyonuna event yolladım*/<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return base.ProcessCmdKey(ref msg, keyData);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; }<br><br>----------------------------------------------------<br>............<br>XTextBox xx=new XTextBox();<br>xx.KeyDown += new System.Windows.Forms.KeyEventHandler(this.xx_KeyDown);<br>............<br><br>private void xx_KeyDown(object sender, KeyEventArgs e)<br>{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (e.KeyCode.Equals(Keys.Tab))<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Console.WriteLine("Tab tuşuna basıldı");<br>}<br><br><br><br><br><br><span style="font-size:10px"><br /><br />Düzenleyen aziz.alkurt - 08.Nisan.2013 Saat 21:26</span>]]>
   </description>
   <pubDate>Mon, 08 Apr 2013 21:19:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.datakent.com/forum_posts.asp?TID=1598&amp;PID=5257#5257</guid>
  </item> 
  <item>
   <title>Butona Tıklattırmak : C# kodu;  //&#246;ncelikle form&amp;#039;un...</title>
   <link>http://forum.datakent.com/forum_posts.asp?TID=1598&amp;PID=3421#3421</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://forum.datakent.com/member_profile.asp?PF=1" rel="nofollow">murat turan</a><br /><strong>Konu:</strong> 1598<br /><strong>Gönderim Zamanı:</strong> 27.Kasim.2008 Saat 17:24<br /><br />C# kodu; <DIV>//öncelikle form'un KeyPreview özelliğini True yapmanız gerekiyor.</DIV><DIV><FONT size=2><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>private</FONT></FONT><FONT size=2> </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>void</FONT></FONT><FONT size=2> </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>textBox1_KeyDown</FONT></FONT><FONT size=2>(</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>object</FONT></FONT><FONT size=2> </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>sender</FONT></FONT><FONT size=2>, </FONT><FONT color=#2b91af size=2><FONT color=#2b91af size=2>KeyEventArgs</FONT></FONT><FONT size=2> </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>e</FONT></FONT><FONT size=2>){<BR></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>if</FONT></FONT><FONT size=2> (</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>e</FONT></FONT><FONT size=2>.</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>KeyCode</FONT></FONT><FONT size=2> == </FONT><FONT color=#2b91af size=2><FONT color=#2b91af size=2>Keys</FONT></FONT><FONT size=2>.</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>Enter</FONT></FONT><FONT size=2>)</P><DIV></FONT><FONT color=#2b91af size=2><FONT color=#2b91af size=2>MessageBox</FONT></FONT><FONT size=2>.</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>Show</FONT></FONT><FONT size=2>(</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>this</FONT></FONT><FONT size=2>, </FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>"Enter\'a basıldı!"</FONT></FONT><FONT size=2>, </FONT><FONT color=#a31515 size=2><FONT color=#a31515 size=2>"Uyarı"</FONT></FONT><FONT size=2>, </FONT><FONT color=#2b91af size=2><FONT color=#2b91af size=2>MessageBoxButtons</FONT></FONT><FONT size=2>.</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>OK</FONT></FONT><FONT size=2>, </FONT><FONT color=#2b91af size=2><FONT color=#2b91af size=2>MessageBoxIcon</FONT></FONT><FONT size=2>.</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>Information</FONT></FONT><FONT size=2>);</DIV><DIV>}</DIV></FONT></DIV><span style="font-size:10px"><br /><br />Düzenleyen murat turan - 27.Kasim.2008 Saat 17:25</span>]]>
   </description>
   <pubDate>Thu, 27 Nov 2008 17:24:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.datakent.com/forum_posts.asp?TID=1598&amp;PID=3421#3421</guid>
  </item> 
  <item>
   <title>Butona Tıklattırmak : Merhaba Forma Bi Tane TextBox...</title>
   <link>http://forum.datakent.com/forum_posts.asp?TID=1598&amp;PID=3418#3418</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://forum.datakent.com/member_profile.asp?PF=3122" rel="nofollow">turknetyazilim</a><br /><strong>Konu:</strong> 1598<br /><strong>Gönderim Zamanı:</strong> 26.Kasim.2008 Saat 10:19<br /><br />Merhaba<DIV>Forma Bi Tane TextBox ve Bi Tanede Button Atın</DIV><DIV>Ondan Sonra Texbox nesnesinin KeyDown Olayına Aşağıdaki Kodu Yazın</DIV><DIV><FONT color=#0000ff size=2></FONT>&nbsp;</DIV><DIV><FONT color=#0000ff size=2>If</FONT><FONT size=2> e.KeyCode = Keys.Enter </FONT><FONT color=#0000ff size=2>Then</DIV><DIV><DIV></FONT><FONT size=2>Button1_Click(</FONT><FONT color=#0000ff size=2>Nothing</FONT><FONT size=2>, </FONT><FONT color=#0000ff size=2>Nothing</FONT><FONT size=2>)</FONT></DIV><DIV><FONT color=#0000ff size=2>End</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>If</FONT></DIV><DIV><FONT color=#0000ff size=2></FONT>&nbsp;</DIV><DIV><FONT color=#0000ff size=2><FONT color=#000000>Buton nesnesinin OnClick Olayına Herhangi Bi Kod Yazabilirsiniz.Örn :MsgBox</FONT><img src="http://forum.datakent.com/smileys/smiley4.gif" height="17" width="17" border="0" alt="Big smile" title="Big smile" /></FONT></DIV><DIV><FONT color=#000000 size=2>Daha Sonra Programı Çalıştırdıktan sonra Cursor TextBox Nesnesinin içindeyken Enter'a Basın Olayı Görün</FONT></DIV><DIV><FONT color=#000000 size=2>Ben işin Basic Kısmını Örnekledim.C# dada siz Kodlayın.Zaten Pek Fazla Değişen Bi Şey Yok</FONT></DIV><DIV><FONT color=#0000ff size=2></FONT>&nbsp;</DIV><DIV><FONT color=#0000ff size=2>İyi Çalışmalar</FONT></DIV><DIV><FONT color=#0000ff size=2>&nbsp;</DIV></FONT></DIV>]]>
   </description>
   <pubDate>Wed, 26 Nov 2008 10:19:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.datakent.com/forum_posts.asp?TID=1598&amp;PID=3418#3418</guid>
  </item> 
 </channel>
</rss>