Article View: alt.pl.comp.lang.csharp
Article #21588pytanie proste [zielony]
From: qaz
Date: Thu, 17 Jun 2010 09:36
Date: Thu, 17 Jun 2010 09:36
21 lines
1478 bytes
1478 bytes
mam:
...
button1_Click( object sender, EventArgs e)
{
... ;
... ;
MessageBox.Show( conn.State.ToString(), "Stan połączenia" );
}
button2_Click( object sender, EventArgs e)
{
... ;
... ;
// i tu chciałbym, by wykonał się cały kod button1_Click()
// jak to wywołać i co podać jako parametry wywołania metody
button1_Click( sender, e)
}
pzdr qaz
Technical Details
Message-ID:
<4c19ecb1$0$19179$65785112@news.neostrada.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!feeder.erje.net!feeder.news-service.com!feeder2.cambriumusenet.nl!feed.tweaknews.nl!209.197.12.246.MISMATCH!nx02.iad01.newshosting.com!newshosting.com!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!unt-spo-a-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!feeder.erje.net!feeder.news-service.com!feeder2.cambriumusenet.nl!feed.tweaknews.nl!209.197.12.246.MISMATCH!nx02.iad01.newshosting.com!newshosting.com!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!unt-spo-a-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail From: "qaz" <qazvox29a@wp.pl> Newsgroups: alt.pl.comp.lang.csharp Subject: pytanie proste [zielony] Date: Thu, 17 Jun 2010 11:36:48 +0200 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 X-RFC2646: Format=Flowed; Original Lines: 23 Message-ID: <4c19ecb1$0$19179$65785112@news.neostrada.pl> Organization: Telekomunikacja Polska NNTP-Posting-Host: 83.11.2.95 X-Trace: 1276767409 unt-rea-a-01.news.neostrada.pl 19179 83.11.2.95:1552 X-Complaints-To: abuse@news.neostrada.pl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit