c# forms not linking correctly -


in current code, have multiple c# windows forms linking , working, once make new form, cannot link previous form, can still link other forms idea why happening?

private void closebtn_click(object sender, eventargs e)     {         form1 frm = new form1();         frm.show();         this.close();     } //this 1 works go close form      private void passengerbtn_click(object sender, eventargs e)     {         lsum frm = new lsum();         frm.show();         this.close();     }  //this 1 not link form,whilst code //is same , form name correct // 

i have used same open , close code throughout program , been working fine untill point

(currently 9 forms 10th 1 wont link, there limit on forms

sorry if dumb question)

edit: after time of stressing out why not work , taking account comments found out why wouldn't work fig1:http://prntscr.com/btmw5z creating form inside "luton" folder causing not link somehow, why wouldnt link im unsure been fixed now, guys :d


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -