What is Split Container control in C# ? Split Container control provides functionality of a splitter to divide and resize two controls.You can place it at form horizontally or vertically by specifiying Orientation property each represents left/top and right/bottom panels respectively. Useful properties: AutoScroll: This property when set to true, allows scroll bars to be displayed. BackColor: The background color of the SplitContainer is defaulted to System.Drawing.SystemColors.Control, but this can be set to any color you like. The whole of the SplitContainer changes color, however, each Panel can have its own background color. BackgroundImage : Instead of a single color, an image can be displayed as the background. The image only appears in the splitter bar. BorderStyle: This property determines if the panel is outlined with no visible border (None), a plain line (FixedSingle), or a shadowed line (Fixed3D). Dock: Determines which SplitContainer borders are attac
Popular posts from this blog
The following video clips are showing how we can use state machine method to control vending machine . By the way, I post this because I'm just starting to learn state machine for my research.... hehehe Thus, I would like to share with this examples which I found it very useful for beginner. LabView State Based Machine Tutorial pt1 from LabView Tutorials on Vimeo . LabView State Based Machine Tutorial pt 2 from LabView Tutorials on Vimeo . LabView State Based Machine Tutorial pt 3 from LabView Tutorials on Vimeo . LabView State Based Machine Tutorial pt 4 from LabView Tutorials on Vimeo . LabView State Based Machine Tutorial pt 5 from LabView Tutorials on Vimeo . LabView State Based Machine Tutorial pt6 from LabView Tutorials on Vimeo . Hope it helps u...
Unmanaged Code BOOL MessageBeep( UINT uType // beep type ); Managed Code [DllImport ("User32.dll")] static extern Boolean MessageBeep (UInt32 beepType); Note: Static 1.The MessageBeep method was declared as static. 2.This is a requirement for P/Invoke methods because there is no consistent notion of an instance in the Window API. Extern 1. It is not a method call, but an extern method definition. 2. This is your hint to the compiler that you mean for the method to be implemented by a function exported from a DLL, and therefore there is no need for you to supply a method body. 3. P/Invoke methods are nothing more than metadata that the just-in-time (JIT) compiler uses to wire managed code to an unmanaged DLL function at run time. 4. An important piece of information required to perform this wiring to the unmanaged world is the name of the DLL from which the unmanaged method is exported . 6. The DllImport custom attribu