Article View: alt.pl.comp.lang.csharp
Article #22316Rysowanie na starcie programu
From: Borneq
Date: Sat, 03 Dec 2011 19:28
Date: Sat, 03 Dec 2011 19:28
12 lines
1349 bytes
1349 bytes
Przesiadam się z Delphi na C#. Chcę na początku programu wpisać tekst do
pictureBox lub bezpośrednio na formę.
Korzystam z przykładu
http://stackoverflow.com/questions/849359/how-to-draw-text-on-picturebox
Dla
private void button1_Click(object sender, EventArgs e)
{
DrawText();
}
Natomiast dla Form1_Load nie, może tekst jest zamazywany? Podobnie nie
działa dla Form1_Activated i Form1_Shown.
Co można zrobić aby tekst był na samym starcie programu?
Technical Details
Message-ID:
<jbdt8v$doc$1@inews.gazeta.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail From: Borneq <borneq@antyspam.hidden.pl> Newsgroups: alt.pl.comp.lang.csharp Subject: Rysowanie na starcie programu Date: Sat, 03 Dec 2011 20:28:39 +0100 Organization: "Portal Gazeta.pl -> http://www.gazeta.pl" Lines: 12 Message-ID: <jbdt8v$doc$1@inews.gazeta.pl> NNTP-Posting-Host: 194.117.241.226 Mime-Version: 1.0 X-Trace: inews.gazeta.pl 1322940511 14092 194.117.241.226 (3 Dec 2011 19:28:31 GMT) X-Complaints-To: usenet@agora.pl NNTP-Posting-Date: Sat, 3 Dec 2011 19:28:31 +0000 (UTC) X-User: bornega X-Antivirus: avast! (VPS 111203-1, 2011-12-03), Outbound message X-Antivirus-Status: Clean User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit