Jump to content

Recommended Posts

Posted

Paidia thelw na rwthsw merika pragmata.

 

Yparxoun merikes efarmoges opou otan paradeigma thes na alaksis window, apla sou fortonoun to window panw sto allo, yparxoun omos kai efarmoges poy o xoros (TO UI) einai 1, ekei pera ginontai poles allages.

 

tha ithela na mathw tis texnikes poy xrisimopoioune...

pos diladi paradeigma kapios otan pataei ena koubi tou allazi to window (prosoxi oxi na aniksi ena new window, aplos allazi to yparxon) mipos xrisimopoiontas panels?

 

*opios katalave katalave ti thelw na pw ;ppp

 

PS: Sthn c# poy exw dei, h c# ta antimetopizei ola (otidipote, buttons,images,textboxes...)  san controls, thiladi oti ftiaxnis tha prepei na to diloseis... thelw na pw oti paradeigma... mipos ginete enalagi panels? opou to kathe panel exei kapia dika toy pragmata...

 

paradeigma

 

this.Controls.Add(Panel1);

private void Button_OnClick(object send, EventArgs e)
{
    this.Controls.Remove(Panel1);
    this.Controls.Add(Panel2);
}

 

den nomizw na einai toso hlithios o tropos....

Posted

Αυτό που ψάχνεις λέγεται BringToFront.

Πχ. Panel1.BringToFront()

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock