If you look at the designer file, you'll find some more code: of nothing else there will be a Controls.Add method call to add the new control instance to the forms Controls collection - that's the line which actually makes it display within the form. (For your app, it'll eventually be in the TabPage.Controls collection to make it a "child" of that control rather than the firm itself, but that's the advanced bit )
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
you´re graduating and you have no clue how to develop something more descent than this?
Don´t get me wrong, I like the fact you´re willing to improve, but when I was graduating I had to do way and way and way better then this...
OK apologies. In that case, best way to learn is go through a good book. Digest it from A to Z and do all the exercises starting with the "Hello World" program. Tutorials on the internet are not always that good.
Also look up encapsulation, inheritence and polymorphism, the corner stones for OO programming.
That should help you getting a good structure in your application.
may I ask you for a suggestion where can I find some information about following topic?
I am trying to do something like this:
In MS SQL I have two tables Objects, Attributes. I have relation one to many via object_id (one object can have multiple attributes).
I would like to have a listbox with Objects and a e.g. gridview with attributes for selected object. How can I achieve that?
So far I created a m_DataSet [DataSet] which contains records returned by inner join select.
I have a m_ObjectsBS [BindingSource]. I filled binding source as this: m_ObjectsBS.DataSource = m_DataSet.Tables.DefaultView.ToTable(true, "ObjectName"); (in order to have distinct names there).
I filled listbox as this:
This will binary-AND two integer operands. The result will equal zero if the oparands don't share a common bit set to '1'. Therefore 'pp' will not result in the expression to equal zero whenever any one of the bits of 'Both' are set in 'pp'.
This makes no sense at all since you cannot make an actual "login" do anything. It's a process that authenticates user credentials, nothing else.
can i read a file.txt and fill collectionbase
Whatever this is...
You need to learn how to ask questions. For instance, start with CONTEXT. What is the environment you're talking about? What are the circumstances where you want to do this stuff? What kind of application are you talking about? ...? ...?