DataJuggler.Win.Controls 9.1.5

dotnet add package DataJuggler.Win.Controls --version 9.1.5                
NuGet\Install-Package DataJuggler.Win.Controls -Version 9.1.5                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DataJuggler.Win.Controls" Version="9.1.5" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DataJuggler.Win.Controls --version 9.1.5                
#r "nuget: DataJuggler.Win.Controls, 9.1.5"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install DataJuggler.Win.Controls as a Cake Addin
#addin nuget:?package=DataJuggler.Win.Controls&version=9.1.5

// Install DataJuggler.Win.Controls as a Cake Tool
#tool nuget:?package=DataJuggler.Win.Controls&version=9.1.5                

News

12.15.2024: I added a new Theme to the Button called Glass

11.30.2024: This project has been udpated to .NET 9.

8.16.2024: I created a video for the Progress Bar and some cool images using Flux https://youtu.be/7X4oCUjqBZI

8.14.2024: I added a new ProgressBar control. This ProgressBar, unlike the Windows Forms ProgressBar, allows you to set a ForeColor that works.

7.24.2023: UltimateHelper was updated.

3.17.2024: Happy St. Paddy's Day - Fixed a bug in the Timer Display that seemed to come from .NET 8 and wasn't there in .NET 7

11.20.2023: DataJuggler.UltimateHelper was updated.

11.15.2023: This project has been updated to .NET8.

9.24.2023: The TabHostControl now has a ButtonLabelColor property must be passed in to the AddTabButton method.

8.13.2023: DataJuggler.UltimateHelper was updated.

DataJuggler.Win.Controls

DataJuggler.Win.Controls is a collection of C# WinForms user controls that make it simple to build user interfaces.

List of Classes

Button

This button is an image button with a few themes.

LabelCheckBoxControl

The LabelCheckBoxControl consists of a Label and a Checkbox. Set the LabelText, LabelColor and LabelWidth properties to control its appearnce.

LabelComboBoxControl

The LabelComboBoxControl consists of a Label and a ComboBox. Set the LabelText, LabelColor and LabelWidth properties to control its appearnce. The LoadItems method can load a list of objects or an enumeration can be loaded.

LabelLabelControl

The LabelLabelControl consists of a Label and a value Label. Both labels can be customized.

LabelTextBoxBrowserControl

The LabelTextBoxBrowserControl consists of a Label, a TextBox and a button. Switch the BrowseType to File, Folder or Custom.

LabelTextBoxControl

The LabelTextBoxControl consists of a Label and a TextBox. You can customize the appearance of the Label and TextBox.

ListEditorControl

The ListEditorControl is used to edit a list of objects. This control uses interfaces to create methods for Add, Edit and Delete.

SaveCancelControl

This control contains a Save button and a Cancel button.

TabButton

Divide the interface up into Tabs, and use this button to change tabs.

TabHostControl

9.25.2023: I made a short video on how to setup and use the TabHostControl

C# How to use the Tab Control of DataJuggler Win Controls https://youtu.be/WFQcAlYt2F4

Instructions for use

Add NuGet package DataJuggler.Win.Controls to your project, and using statements to your form for:

using DataJuggler.Win.Controls;
using DataJuggler.Win.Controls.Interfaces;

Next, have your form implement ITabHostParent interface. To see a working example, visit this project:

Random USD (a work in progress, but the TabHostControl works). https://github.com/DataJuggler/RandomUSD

After you add the interface for ITabHostParent to your project, right click and select 'Implement Interface', and two events will be added to your project. Make sure to add your buttons in reverse order, as the way Dock.Left works your buttons will display last first.

private void TabHostControl_Load(object sender, EventArgs e)
{
    // Setup the TabHostControl
    TabHostControl.AddTabButton(3, "Materials", 200, Color.Black, false);
    TabHostControl.AddTabButton(2, "Props", 200, Color.Black, false);
    TabHostControl.AddTabButton(1, "Scenes", 200, Color.Black, true);
    TabHostControl.TopMargin = 16;
    TabHostControl.LeftMargin = 8;

    // Setup the Parent
    TabHostControl.TabHostParent = this;
}

public void TabSelected(TabButton selectedButton)
{
	// If the selectedButton object exists
    if (NullHelper.Exists(selectedButton))
    {
        switch (selectedButton.ButtonNumber)
        {
            case 1:

                // setup for Scenes
                UIVisibility(ScreenTypeEnum.Scenes);

                // required
                break;

            case 2:

                // setup for Props
                UIVisibility(ScreenTypeEnum.Props);

                // required
                break;

            case 3:
			
				// setup for Materials
                UIVisibility(ScreenTypeEnum.Materials);

                // required
                break;
        }
    }
}

TabImagesControl (Needs to be updated probably)

This control is used to host an enabled state image and a disabled state image.

TimerDisplay

The Timer Display is used to display time such as a count down timer.

TimerDisplayHost

Contains some controls to setup the TimerDisplay control.

Product Compatible and additional computed target framework versions.
.NET net9.0-windows7.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on DataJuggler.Win.Controls:

Package Downloads
DataJuggler.DBCompare

DB Compare compares two instances of a SQL Server database. This project has been on .Net Framework for about 10 or 12 years or more. DB Compare has been updated to .NET8.0, and should run faster. C# Developers - Now you can create a project in a manner of minutes and this way you can stay updated with the latest version. This product is also a standalone application. Using it as a Nuget package is just a nice way to always have the latest version.

DataJuggler.Tutorials.PasswordVault

This project contains a demo form and control used for a tutorial video.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
9.1.5 84 12/15/2024
9.1.4 78 12/15/2024
9.1.3 77 12/15/2024
9.1.2 77 12/15/2024
9.1.1 82 12/15/2024
9.1.0 80 12/15/2024
9.0.0 80 11/30/2024
8.1.6 113 9/3/2024
8.1.5 127 8/15/2024
8.1.4 113 8/14/2024
8.1.3 118 8/14/2024
8.1.2 124 8/14/2024
8.1.1 112 8/14/2024
8.1.0 119 8/14/2024
8.0.6 131 8/13/2024
8.0.5 81 7/24/2024
8.0.4 76 7/24/2024
8.0.3 136 3/17/2024
8.0.2 257 11/20/2023
8.0.1 144 11/20/2023
8.0.0 196 11/15/2023
7.2.1 183 9/26/2023
7.2.0 147 9/24/2023
7.1.8 195 8/14/2023
7.1.6 197 7/14/2023
7.1.5 168 7/14/2023
7.1.4 187 6/21/2023
7.1.3 181 6/21/2023
7.1.2 301 3/13/2023
7.1.1 291 2/24/2023
7.1.0 261 2/24/2023
7.0.1 493 11/9/2022
7.0.0 368 11/9/2022
7.0.0-rc1 227 10/19/2022
6.2.4 511 6/17/2022
6.2.3 463 6/16/2022
6.2.2 453 5/15/2022
6.2.1 444 5/15/2022
6.2.0 534 4/5/2022
6.1.4 503 1/24/2022
6.1.3 483 1/19/2022
6.1.2 340 1/4/2022
6.1.1 340 1/1/2022
6.1.0 319 12/30/2021
6.0.0 327 12/11/2021
5.8.10 391 11/7/2021
5.8.9 392 10/31/2021
5.8.8 391 9/15/2021
5.8.7 399 9/13/2021
5.8.5 444 9/10/2021
5.8.4 428 9/9/2021
5.8.3 405 9/5/2021
5.8.2 512 8/3/2021
5.8.1 444 8/3/2021
5.8.0 398 8/2/2021
5.7.16 422 8/2/2021
5.7.15 425 7/15/2021
5.7.14 403 7/15/2021
5.7.12 372 7/15/2021
5.7.11 391 7/15/2021
5.7.10 429 7/15/2021
5.7.9 409 6/7/2021
5.7.8 417 6/7/2021
5.7.7 417 6/7/2021
5.7.6 436 6/7/2021
5.7.5 419 6/7/2021
5.7.4 572 12/23/2020
5.7.3 470 11/29/2020
5.7.2 545 11/29/2020
5.7.1 605 11/29/2020
5.6.10 788 1/9/2020
5.6.9 766 10/2/2019
5.6.8 680 9/22/2019
5.6.7 648 9/22/2019
5.6.6 656 9/4/2019
5.6.5 644 9/2/2019
5.6.4 644 9/2/2019
5.6.2 676 9/2/2019
5.6.1 636 9/1/2019
5.6.0 641 8/31/2019
5.5.9 661 8/31/2019
5.5.8 681 8/31/2019
5.5.7 668 8/30/2019
5.5.6 669 8/30/2019
5.5.5 636 8/16/2019
5.5.4 665 8/11/2019
5.5.3 680 8/11/2019
5.5.2 1,108 8/3/2019
5.5.1 1,202 8/2/2019
5.5.0 670 8/2/2019
5.4.6 687 7/20/2019
5.4.5 715 6/5/2019
5.4.4 753 6/2/2019
5.4.2 740 6/2/2019
5.4.1 735 5/27/2019
1.4.3 1,793 1/23/2015
1.4.2 1,393 1/21/2015
1.4.1 1,374 1/13/2015

11.20.2023: DataJuggler.UltimateHelper was updated.

11.15.2023: This project has been updated to .NET8.

9.24.2023: I broke the TabHostControl by adding a LabelForeColor must now be passed
in to the AddTabButton method. Also the TabButton now has a ButtonLabelColor.

8.13.2023: DataJuggler.UltimateHelper was updated.

Update 7.14.2023: Working on the TimerDisplayControl. Hoping to have it fixed.

Update 6.21.2023: I updated DataJuggler.UltimateHelper package.

Update 6.17.2022
Version 6.2.4: I updated DataJuggler.UltimateHelper plus SaveCancelControl button widths.

Update 5.14.2022
Version 6.2.2: Updated DataJuggler.UltimateHelper Nuget package.
Version 6.2.1: Made some consistency among start up Init methods for Label Size and Font defaults.

Update 4.5.2022: I built a new sample project called RemindMe, and I updated the ListEditor and SaveCancelControls.

Update 1.24.2022: I updated UltimateHelper, so I published a new release.
This release is now .NET6 only.

Update 12.31.2021:
6.1.0: No code changes, but I realized the file version was not updating.

Update 12.29:2021
Version 6.1.0: I added a new TimerDisplay control. Add the control to your form, call the Start and Stop methods
to control the timer display. I added a state for Pause, although Pause is not handled yet. Pause is a little more
complicated than Start and Stop when it comes to ElapsedTime. I would have to keep track of all the Start and Stops
so put off the Pause until I need it.

Update 12.11.2021: I updated this project to Net 6.0, use an older version for .Net 5.

Update 11.7.2021
Version 5.8.10: I updated DataJuggler.UltimateHelper Nuget package.

Update 10.31.2021
Version 5.8.9: DataJuggler.UltimateHelper had a new release.

Update 9.15.2021: I had a Button_MouseEnter and Button_MouseLeave event, but it was applied to the Inner
Button, not the Button user control.

Update 9.13.2021: Version 5.8.7: I fixed the Theme's a little.

Update 9.10.2021 B: I fixed a bug where the LabelCheckBoxControl is not Editable at start.

Update 9.10.2021: I updated I updated DataJuggler.UltimateHelper again, and Nuget behaves better if this stays updated.

Update 9.9.2021: I updated DataJuggler.UltimateHelper, so Nuget behaves better if this stays updated.

Update 9.5.2021
Version 5.8.3: I upgraded DataJuggler.UltimateHelper to 1.6.4. Having a 1.6 version and a 1.5x version caused a conflict of this package.

Update 8.2.2021 C: I updated DataJuggler.UltimateHelper, and this removed WordParser, so i bebuilt this library.

Update: 8.2.2021 B: After testing this for one second, I realized I needed an ITextLinesLoadedListener interface, so I added one. New video coming soon for this and documentation.

Update: 8.2.2021: I added a Windows Form called FileBrowserWithButtonForm, that contains a LabelTextBoxControl, and a button.

Update 6.15.2021 B: I fixed the FlatStyle. I had to add this.OnClick to the Button.InnerButton to make it fire (hopefully this works).

Update 6.15.2021: Set FlatStyle to Flat and still didn't work. Trying again.

Update 6.14.2021: I added a Button recently, but I didn't set the FlatStyle to Flat. Oops.

Update 6.7.2021: Version 5.7.9: I fixed the issue of the Background not changing for Theme Dark for the new Button. It was caused by Programmer Stupidity in the chair I sit in. The button seems to work now, I think.

Update 6.7.2021: Version 5.7.8: I changed Text to ButtonText so the property showed up in the property dialog. More testing is needed, so use the button at your own risk.

Update 6.7.2021: Version 5.7.7: I added a Text property to the Button control. More testing is needed, so use the button at your own risk.

Update 6.7.2021: Version 5.7.6: I added some events for FontChanged, EnabledChanged and updated Theme to change the Fonts. Now to start testing.

Update 6.7.2021: Version 5.7.5: I added a Button class that I am just now testing.

Update 11.29.2020: Version 5.7.3: I discovered that the project SDK has been updated so that WindowsDesktop is no longer needed, only Microsoft.NET.Sdk. If I don't take this out, projects gets updated when this
library is added.

Update 11.29.2020: Version 5.7.2 was released to include an update for DataJuggler.UltimateHelper.

Note: This library used to be either DataJuggler.Net.UltimateHelper or DataJuggler.Core.UltimateHelper, which have both been archived. All new work on this library will be in the .Net 5 version.

This app was just converted to .Net 5. Everything should work, famous last words.

This is the first release for .Net 5. Nothing has been tested yet for .Net 5, at all. Use at your own risk.

The code itself has worked for 10 or more years, but new platform, new ball game.