OK, my Form2 is named GjendjaForm, and after I rename Form2 with GjendjaForm it shows me the following errors. GjendjaForm.emriBox is inaccessible due to its protection level GjendjaForm.mbiemriBox is inaccessible due to its protection level GjendjaForm.xhirollogariaBox is inaccessible due to its protection level also it says that: Error 3 An object reference is required for the non-static field, method, or property 'LlogariaBankare.GjendjaForm.mbiemriBox' C:\Users\Driton Gashi\Documents\Visual Studio 2008\Projects\LlogariaBankare\LlogariaBankare\KlientetForm.cs 112 17 LlogariaBankare
You need to make your textboxes public, or add some properties or delegate events that allow the transfer of data between the two classes. In the second message you are trying to call a non-static method of the class without an object reference. This is basic C# object handling which you really need to understand before you go much further in this development project. Take a look at these samples[^] for further details.
One of these days I'm going to think of a really clever signature.
I tried that and it didn't work. I just don't understand why only the selected cells become visible I put a lot of work into the form and I'd prefer not to do it all again, so if anyone has any ideas - please let me know! Thanks.
just delete control from the form and try to add with same name to preserve the coding done on the variable. VS behaves odd at times. when this happens i used to close all the visual studio and start over again. will work like a charm.