About Box - C#

Hardware, software, mobiteli, programiranje, internet...

Moderator: Bobi

Post Reply
User avatar
aNTropocentrio
Posts: 1055
Joined: 01/07/2006 12:05
Location: zapadni krak Mliječnog puta

About Box - C#

Post by aNTropocentrio » 11/07/2006 22:56

Ovako,
u C# projektu sam napravio dvije forme. Jedna je glavna, a druga bi trebala biti About Box.
Kako god da pokušam da aktiviram AboutBox formu, program mi se sruši.

Pomagajte :(


forUMASH
Posts: 2181
Joined: 24/01/2006 04:12
Location: Razjedinjene Drzave BIH

Post by forUMASH » 11/07/2006 23:00

...daj code....daj error message.... :D

ztluhcs
Posts: 3377
Joined: 28/04/2006 09:17
Location: Life isn't fair. It's just fairer than death, that's all.
Contact:

Post by ztluhcs » 12/07/2006 09:15

Konceptualno ne ba¹ neka svemirska nauka

private void button1_Click(object sender, System.EventArgs e)
{
Form aboutBox = new Form();
aboutBox.Show();

ILI

aboutBox.ShowDialog();
}

ali bez informacija ti niko ni¹ta neæe reæi niti pomoæi...

Forme prazne? Kako ih poziva¹? ©ta radi¹ u formama? Gre¹ka? Exception message?

User avatar
Mahalac
Posts: 2752
Joined: 19/11/2002 00:00
Location: Anarhija all over...

Post by Mahalac » 12/07/2006 09:33

promjeni dihtung

ulicar
Posts: 443
Joined: 27/02/2004 00:00

Re: About Box - C#

Post by ulicar » 14/07/2006 06:59

Predpotstavka je da ti se AboutBox zove AboutBox :)

private void button1_Click(object sender, System.EventArgs e)
{
AboutBox b = new AboutBox();
b.ShowDialog(this);
}


Ovako ces pokazati modalno about box (a to je ono sto hoces da uradis).

aNTropocentrio wrote:Ovako,
u C# projektu sam napravio dvije forme. Jedna je glavna, a druga bi trebala biti About Box.
Kako god da pokušam da aktiviram AboutBox formu, program mi se sruši.

Pomagajte :(

User avatar
aNTropocentrio
Posts: 1055
Joined: 01/07/2006 12:05
Location: zapadni krak Mliječnog puta

Post by aNTropocentrio » 14/07/2006 13:54

Zahvaljujem!

Post Reply