/MControls

Custom user controls

Primary LanguageVisual Basic .NET

MControl - Custom Controls Repository (VB.NET)

Welcome to the Custom Controls Repository for VB.NET! This repository contains a collection of custom controls that you can use in your VB.NET projects to enhance the user interface and functionality. These controls have been developed to simplify common tasks and provide additional features beyond what is available in the default controls provided by Visual Studio.

Table of Contents

Installation

To use the custom controls in your VB.NET project, follow these steps:

  1. Clone or download this repository to your local machine.
  2. Open your VB.NET project in Visual Studio.
  3. In the Solution Explorer, right-click on your project name, and select Add -> Existing Item.
  4. Navigate to the location where you cloned or downloaded this repository and select the desired control(s) from the Controls folder.
  5. Click the Add button to add the control(s) to your project.
  6. Build your project to ensure that the controls are properly integrated.

Usage

Once you have added the custom control(s) to your VB.NET project, you can use them in your forms or user controls just like any other control. To add a control to a form, follow these steps:

  1. Open the form or user control in the Visual Studio designer.
  2. In the Toolbox, locate the custom control(s) under the Custom Controls category.
  3. Drag and drop the control onto your form.
  4. Adjust the control's properties using the Properties window.
  5. Customize the control's behavior by handling its events.

For detailed usage instructions and examples, refer to the documentation provided with each control.

Controls

This repository currently includes the following custom controls:

  1. MCheckBox
  2. MCirclePictureBox
  3. MCircleProgressBar
  4. MComboBox
  5. MDataGridView
  6. MDatePicker
  7. MDatePicker2
  8. MDatePickerEditable
  9. MDropdownMenu
  10. MErrorLabel
  11. MLookupBox
  12. MLookupList
  13. MPanel
  14. MPictureBox
  15. MPopupForm
  16. MPopupMsg
  17. MRadioButton
  18. MSearchBox
  19. MTabControl
  20. MText
  21. MTextBox
  22. MToggleButton

Each control is contained in the MControls directory. The folder typically includes the control's source code file, any additional files required for the control (such as images or resources), and a README.md file with usage instructions specific to that control.

Contributing

Contributions to the Custom Controls Repository are welcome! If you have developed a custom control that you would like to share with the community, follow these steps:

  1. Fork this repository and clone it to your local machine.
  2. Create a new branch for your feature or bug fix.
  3. Implement your custom control and add it to the appropriate directory within the Controls folder.
  4. Update the README.md file with a brief description of your control.
  5. Commit your changes and push them to your forked repository.
  6. Create a pull request from your branch to the main repository.

Please ensure that your custom control follows best practices, is well-documented, and does not infringe on any third-party licenses.

License

The Custom Controls Repository is licensed under the MIT License. Feel free to use, modify, and distribute the controls in your VB.NET projects, both personal and commercial. However, please note that the controls are provided "as is," without any warranties or support from the repository maintainers.

If you use this repository or any of its controls in your projects, attribution is appreciated but not required.