Toolstrip C# Example

C# ToolStrip with Toolbar Buttons & Icons

In this Example, we will create Toolbar and Toolbar buttons using the C# ToolStrip Control. After adding the Toolbar buttons to the ToolStrip Control, we study various properties of it. First, we learn how to right justify some toolbar buttons. Then we will learn how to show toolbars buttons with Image and Icon. Finally, we learn how to manage the visibility of the toolbar buttons when it overflows.

C# TableLayoutPanel Example

C# TableLayoutPanel Example

Do you know how the Table works in html? The “TableLayoutPanel” works almost the same way how the table works in html. In this example, we will see how the C# TableLayoutPanel can be used & how each cell of this panel behaves. Also, we will nest some other layout panel with this one. At the end we will see a small professional looking form that can be used by any hospital management application. OK. The C# TableLayoutPanel is collection cells and these cells can be arranged in rows and columns. We can imagine each cell as a special container. Why we say that it is a special container? Because each cell can hold only one control in it. What if we need to have multiple controls in one cell? Actually, that is not required most of the time for this container. But if we still need an answer, place a container you like in that cell and start placing the controls inside the container which occupying the cell. Say, for example, we can place a Panel in a cell and add multiple controls to that Panel.

C# MenuStrip Control Example

C# MenuStrip & ContextMenuStrip Controls

A Strip is a nearly thin slice of an object. Dot net has three great strip controls, namely MenuStrip, StatusStrip and ToolStrip. In this Example, we will explore the C# MenuStrip and ContextMenuStrip Controls. All the strip controls accommodate some other UI elements in it. A menu strip allows us to add Menu and Menu allows us to add Menu Items. Similarly, the ToolStrip control allows us to add one or more Tool Bar buttons in it. OK, let us go to the MenuStrip. The below screenshot shows our example:

CSharp FlowLayoutPanel Example

C# FlowLayoutPanel Container Example

The C# FlowLayoutPanel Container keeps the controls in a specific flow. When user resizes the container, it works out the controls so that the flow is kept intact. In this example, we will place some controls inside the FlowLayoutPanel Container and learn some vital properties and methods that control the container’s content.

Self Join SQL Example
SQL Server

Table Join Explored With Examples

“Table Joins” are useful for bringing data together from different tables based on their database relations. First, we will see how the join operates between tables. Then we will test the Order of Execution when Join and where condition both lies. Finally, we will move our exploration to Importance of the Join order. It is a good idea to know about database table relationships before reading this article.

Ad Banner and Advertisement Info in XML File
Asp, C#

ASP AdRotator Control & Advertisements

ASP’s AdRotator Control is useful for showing the Ads. This control acts as a placeholder for the image and the image is actually a link to the advertised website. AdRotator control regularly changes the image display and when the user clicks the image, they navigate to the target website. To use AdRotator, we must first create the images to the external websites. Then an XML file tells the AdRotator Control which site to navigate when a user clicks the image.

C# TabControl Example

C# TabControl Container Explained

Tab Controls arranges related controls in a group and shows that as a Tab Page. This C# example shows how to create Tab Pages dynamically and add it to the tab control. Then the example shows displaying the Tabs in multiple lines, changing its alignment and Tab button styles.

Client Activated Remote Objects - C# Dotnet Example

Client Activated Dotnet Remote Objects

In the past articles, we read about “Server Activated” remote objects. We also ran through separate article for Single Call and Singleton on the Server activated remote objects. In this post, we will try how to use the “Client activated” remote objects. Before we go on Client Activated remote objects, we have to know what is activation and where the object lives. The clear fact whether it is server activated or client activated is that the remote object lives in the “Remote Pool” of the server.  Client activation means, the client sets up the object on the server’s remote pool using the operator new in the client. So, if you are building up a class for the Client Activated Remote object, you have the power of using the overloaded constructors.