In this example, we will use C-Sharp’s SplitContainer to split two panels. We will also explore how to split the panels horizontally and vertically with different splitter widths. Finally, we will learn how to expand and collapse a panel in the splitter.
In this Article, we will use ExecuteScalar function to find the number of records in a table. The article uses employees table from NorthWnd database. But still one can use any table in any database while proceeding through the article.
The operator ‘++’ and ‘–‘ are Unary operators in C++. This example overloads the increment operator ++. It covers overloading of both postfix and prefix operations.
This example requires preliminary knowledge on the AWT Frame Window, Nested Containers. You can read the articles from the below Links in the order specified. Article on AWT Frame Window From Hub Pages Net work => Hub Page Article Article on Panel and Nested Containers => Coding-Examples Article […]
This article shows how one can overload an Binary Operator. It shows the implementation as Member Function and when one should implement it as a Global Friend Function.
A Panel can act as Component as well as a Container. So one can use it to hold component and add it to other container as a component. Panels are useful for creating the Nested Containers.
The Border Layout lays out controls in a specific regions of the Container. In this example, we will create five components and then place them in five different regions of the Border Layout.
1. Introduction to Grid Layout In Java, we can arrange the controls in rows and columns using Grid Layout Manager. For example in the calculator, the buttons are formed in grids. We can easily achieve this through Grid Layout Manager. Each controls in the grid holds same space. […]
1. Introduction We all know that one can not access private members of a class outside. There is an alternative for this concept and we call the alternative as a Friend Functions. A Friend Function can access the private member of the class, and a Friend Class can […]
The list of parameters passed to the Constructor is called ‘Constructor Initializer List’. When we pass the parameters the List order is important. It is helpful for setting a constant data member as well as Reference members.