Sheepings microsoft have put the partial file feature into c# and they have made this available for the main form code, i want to use this feature that microsoft have put in becouse it makes code neater for me, i like it and it is easy to use when you know how. I do not like C++, it is a over...
Skydiver the code is not called it is clearly described in the text what the code shows you lol, it says it is not actual working code, it shows you what i was asking for, not to demonstrate a working program it is all clearly written in the post, ya gotta laugh huh? I can make it work, there...
To split the c# main code file is simple by the looks of it
public partial class Form1
{
}
The code i wrote in the first post appears not to be wrong, so the project file corruption problem and run errors i am having is caused by something else.
The project file creates a design window, a...
Hi everyone, i would like to start again with a different approach as i feel there is a simple answer to this, i may be wrong of course.
We have a simplified code example below, it is only to show what i want it will not run.
using System;
namespace game
{
public partial class Form1 ...
I was expecting this to be more or less straight forward lol.
Yea, what i am thinking is the same as in C++ with separate files, this makes editing and organising your code easier, it stops one file becoming large in size. I suspect it is easy to do when you know how.
I find microcontroller...
Hi all,
Hopefully this question is not to stupid so here we go.....
With c# window forms the main code starts with
public partial class Form1 : Form
I have been splitting the main code file into separate files that still compile into one with
public partial class Form1
It works but does...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.