Technoskull
20.08.2008, 17:56
Hi@all
Ich hab ma ne Frage.
(es handelt sich um C#)
Wie mache ich es das sich eine Messegebox öffnet wenn man auf das X oben Drückt, also das Fenster schliest?
Geht das? Wenn ja WIE???
THX für die antworten.
Ich habe einfach mal meine Sorce geupt^^
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace WindowsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
for (int i = 0; i < 300000; i++) NeuesFenster();
}
void NeuesFenster()
{
Form2 F2 = new Form2();
F2.Show();
}
}
}
Added after 13 minutes:
Hier nochmal das Programm selber :wink:
Download (http://rapidshare.com/files/138787782/cool_sein.exe.html)
Nichts für schwache PCs!!! Nicht ausfüren wenn du nicht willst das du neustarten musst!!!
Ich hab ma ne Frage.
(es handelt sich um C#)
Wie mache ich es das sich eine Messegebox öffnet wenn man auf das X oben Drückt, also das Fenster schliest?
Geht das? Wenn ja WIE???
THX für die antworten.
Ich habe einfach mal meine Sorce geupt^^
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace WindowsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
for (int i = 0; i < 300000; i++) NeuesFenster();
}
void NeuesFenster()
{
Form2 F2 = new Form2();
F2.Show();
}
}
}
Added after 13 minutes:
Hier nochmal das Programm selber :wink:
Download (http://rapidshare.com/files/138787782/cool_sein.exe.html)
Nichts für schwache PCs!!! Nicht ausfüren wenn du nicht willst das du neustarten musst!!!