Giter VIP home page Giter VIP logo

realtaiizor's Introduction

Hello Universe! 🚀

Hello! My name is.. Anyway, it doesn't matter. Here are a few more things below, but again, it doesn't matter. So nothing matters...

Connect With Me 📬

Mail YouTube Facebook Instagram Twitter Reddit LinkedIn

Technologies & Languages 📜

VB C C# ASP.NET-Core Blazor Avalonia Uno Platform Python PHP ASP SQL Electron HTML 5 CSS 3 JS

Programs That I Use 💖

Visual Studio 2022 Visual Studio Code Visual Studio Mac Adobe Photoshop Unreal Engine Unity

My Profile Statistics 📊

Taiizor's GitHub Profile Guests
Taiizor's GitHub Streak Stats
Taiizor's GitHub Stats
Taiizor's GitHub Top Langs

Github Profile Trophy 🏆

Taiizor's GitHub Profile Trophy

realtaiizor's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar edoardopirovano avatar hideakiatsuyo avatar jtone123 avatar landarxt avatar stefan6440 avatar taiizor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

realtaiizor's Issues

MaterialContextMenuStrip does not handle adding dynamic keyboard shortcut keys

Bug explanation

I create dynamic menu items for a MaterialContextMenuStrip with the following code:

contextMenu = new MaterialContextMenuStrip();
contextMenu.Opening += contextMenu_Opening;
int index = 0;

foreach (string option in ContextMenuOptions)
{
    ToolStripMenuItem tsi = (ToolStripMenuItem)contextMenu.Items.Add(option);
    img = new Bitmap(ContextMenuBitmaps[index++]);
    tsi.Image = img;
    tsi.ShortcutKeys = Keys.Control | Keys.C;      // Testing             
}

The shortcut key is added but is displayed at the beginning of the menu item thus overlaying the menu text. Please see the below image.

Capture

Version

3.7.9

Can't clear and remove in Checklistbox

for (int i = 0; i < materialCheckListBox1.Items.Count; i++)
{
materialCheckListBox1.Items.RemoveAt(i);

        }

materialCheckListBox1.Items.Clear();

No effect

TabPage overlay causes error

Bug explanation

An error occurs as long as two TabPages are superimposed

image
error message : stack trace :
image

Version

3.7.9.4

.NET5 Poison/Material tab pages navigation not working

To Reproduce
Steps to reproduce the behavior:
Adding a tab control and a collection of tabs, when in the live editor trying to navigate between tabs to design their content it's not working. Working as expected in .NET 4.6/4.8.

Expected behavior
To be able to navigate between tabs in the live editor

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):
Windows 10 (latest build)
Visual Studio 16.8.x/16.9.x

Sizeable Notifications & Text.Length to TextBox

Hey i love your work, but i hope that you will make your notifications sizeable.
Especially the ForeverNotification, my Text is always 5-10 chars to long, German is a rought language u know :)

Also there is missing the Text.Length Property, which I find very important, because a constantly pre-marked text looks very ugly.
I prefer to pretend all TextBoxes are not selected and the cursor always docks at the end of the TextBox.

Unfortunately this doesn't work with yours yet.

btw. dont know if this is important but iam .Net Developer

Crown ComboBox all items highlighted

Bug explanation

This happens when I open a form and sometimes the combo box items are all highlighted instead of the one that is being selected / hovered on. I've noticed this can also occur when I load my child form via keyboard shortcut.

Version

3.7.9.1

MaterialForm bug

When running with administrator privileges, the window cannot be displayed after being minimized

ReaLTaiizor.Controls.Checkbox Checked property updated via code wont fire CheckChanged event

I am using some checkboxes from the ReaLTaiizor.Controls.Checkbox control on a C# Winforms project and changing the Checked property value from code (during Form Load event) does not trigger the CheckChanged event (which works fine while ticking the checkbox in the UI). I validated that this doesnt even work while changing the value from a manually clicked button either and that a regular Winform Checkbox does indeed make it work

Steps to reproduce the behavior:
1 - Add a ReaLTaiizor.Controls.Checkbox set to Checked = false in a form
2 - Add a message box or whatever code to the checkbox's CheckedChanged event
3 - Set it to Checked = true in the Form's Load event
4 - Execute

Expected
The code from the CheckChanged event is executed

Actual
The checkbox checked state is changed but the code does not execute

ParrotButtons do not support Form 'AcceptButton' property

Bug explanation

I'd like to set a ParrotButton, etc. as the form's 'AcceptButton'. But, since it does not support the IButtonControl interface, it does not appear in the 'AcceptButton' drop-down on the Form's properties. Setting 'AcceptButton' through the code will not work because it cannot be cast to 'IButtonControl'.

Version

3.7.8.8

Draw focus rectangle

Is your feature request related to a problem? Please describe.
I think it will be better if adding a dotted rectangle when the control is in active state.

Describe the solution you'd like

  1. Add a _focusState field.
  2. Change _focusState in GotFocus and LostFocus event handler.
  3. In OnPaint event handler,invoking ControlPaint.DrawFocusRectangle method to draw a rectangle.We can use Style (dark or light) property to determine the forecolor and backcolor of focusing rectangle.

Describe alternatives you've considered

Additional context

Cannot hide child controls on a Metro tab page.

Describe the bug
A child control (eg. combobox or label) on a Metro tab page cannot be hidden using ".Visbile = false" or ".Hide()".

To Reproduce
Steps to reproduce the behavior:

  1. Create a child control on a Metro tab page.
  2. In the Load event, try hiding it.
  3. Control will not hide and remains visible.

Expected behavior
The control should be hidden when requested.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

HopeNumeric

Describe the bug
HopeNumeric allows for a number to be typed in. At least, it's possible to click the number and use a keyboard to type a number.
HOWEVER - this number doesn't remain, it gets replaced by the last known number unless I specifically press Enter on my keyboard (Which then makes the window "not allowed" ding as if to imply you can't do that

To Reproduce

  • Add HopeNumeric control
  • Click the field and enter a number
  • Click/navigate off the control
  • Number reverts back to last known number either set by the +/- or set in the ValueNumber property field

Expected behavior
it should simply accept and remain on the number manually typed it. There's no point in having the field allow keyboard input if it won't keep the number typed in

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Vivaldi
  • Visual Studio 2022
  • C# .NET Windows Forms Application

EDIT
** Other Info **
I realise from looking at the source of the HopeNumeric that it is coded that pressing enter (keycode 13) does 'accept' the number etc but ideally this should happen automatically like the default NumericUpDown control does (and some other custom numeric controls out there)

ReaLTaiizor.pdb not loaded

Bug explanation

I am facing this problem when a MaterialComboBox (filled with data dynamically) is clicked, it is showing this error:

System.NullReferenceException: 'Object reference not set to an instance of an object.'

Version

3.07.8.0

'Tab' and 'Focus()' dont work well on Controls.

gif.mp4

c

As you can see i need to push Tab 2 times to focus the next Control.

Also to focus controls with controlName.Focus(); dont work. it needs also to execute 2 times

activation order:
seemsright
.

Assembly 'ReaLTaiizor' uses 'System.Windows.Forms, Version=6.0.2.0' which has a higher version than referenced assembly 'Version 6.0.0.0'

Describe the bug
It's using a newer version of winforms, and I have no clue how to upgrade to it.

To Reproduce
No idea. Other people seem to use it fine, I just made a new Windows Forms app with .NET 6.0.

Expected behavior
Not this compile error, for sure.

Desktop (please complete the following information):
Windows 10
10

Additional context
Add any other context about the problem here.

Severity Code Description Project File Line Suppression State Error CS1705 Assembly 'ReaLTaiizor' with identity 'ReaLTaiizor, Version=3.7.8.7, Culture=neutral, PublicKeyToken=null' uses 'System.Windows.Forms, Version=6.0.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' which has a higher version than referenced assembly 'System.Windows.Forms' with identity 'System.Windows.Forms, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' TestRealTaiizor C:\Users\me\source\repos\TestRealTaiizor\CSC 1 Active

Form Border Style Fixed Single not work

Bug explanation

Welcome
Form Border Style Fixed Single not work
Single static form border style not working
I can control the window with the mouse
Thank you and for your efforts. Good luck
issue

Version

3.7.9.4

MetroNumeric - Increment/decrement is random

Bug explanation

Hi

Thanks for the controls and I am trying to use in a personal capacity.

I am using a numeric control. I can set the Min and Max values but the Increment value is not present. When I try + or -, the increment is like 5,6,7 etc. Not a steady increment. Is there a way I can achieve increments of 1 or other numbers?

Version

3.7.8.8

Material Demo code

Very good project ! Thank you !
I like the design of "material demo" gif shows , i found when i launch project "ReaLTaiizor.UI", i can see the form. but the form icon show it is a file , not a window form, when i right click the mouse on the form file (such as form17 ) there is no selection "open in the form designer" , thank you ~

System.PlatformNotSupportedException: 'Operation is not supported on this platform.' when calling PoissonMessageBox.Show

Describe the bug
I wrote method A in dll1 that calls method B in dll2. Method B calls PoissonMessageBox.Show() directly.

To Reproduce
Steps to reproduce the behavior:

  1. Call PoissonMessageBox.Show from a dll.

Expected behavior
I would expect the message box to display.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 10

Additional context
method B code follows:

    public static void ReportError(LogType _action, string _title, string _message, Form _parent, 
        MessageBoxButtons _buttons, MessageBoxIcon _icon, object[] _arguments=null)
    {
        int index = 0;

        if (_arguments != null)
        {
            foreach (string arg in _arguments)
            {
                _arguments[index++] = arg.Replace("\r\n", string.Empty);
            }
        }

        _message = WriteLog(_action, _message, _arguments);

        PoisonMessageBox.Show(_parent, _message, _title, _buttons, _icon);
    }

If I substitute a standard MessageBox.Show("error") call, the code does not throw and error.

Whole Controls Inside ParrotForm Goes Disappear

I've added some controls into Parrot Form and close the design window after saved all changes.

Screenshot_118

When I open the design window again I see whole controls inside Parrot Form has been disappeared.

Screenshot_119

Checked the controls on property window and they all are there! I did try those controls to bring to front but it didn't work.

Screenshot_120

Crown controls color bug

Idk if i am missing something...but i am unable to change the color of crown controls...they are only of dark theme/ dark color.

Edit : I just found Theme interface in source...just need to use it....i will try and update again.
Edit : Idk man, unable to figure out how to use theme, unable to find methods or property to set it...need help.

Also, when I delete controls (tried with tab controls for now), visual studio stop working...the window itself is working/responding, but the cursor gets stuck at the loading type and nothing is clickable.

BigTextBox placeholder

Is your feature request related to a problem? Please describe.
It would be possible to add to the BigTextBox a field for a placeholder or hint. I'm trying to do it by controlling the Enter and the Leave but managing the language change is complicated, something like the native Windows Forms TextBox. Thank you.

Describe the solution you'd like
textUsername = new ReaLTaiizor.Controls.BigTextBox();
textUsername.PlaceHolder = "User"

Describe alternatives you've considered
textUsername = new ReaLTaiizor.Controls.BigTextBox();
textUsername.Hint = "User"

cannot change the font size of the button

Hello, thank you very much for this library, although I still have one problem, I cannot change the font size of the buttons, even changing it in the properties nothing happens, I found that your button has only 3 types, but how can I change font size?

MetroTabControl no longer supports more than one tab page.

Bug explanation

Prior to version 3.7.8.7, I was able to edit tab pages on a MetroTabControl. After 3.7.8.7, I am no longer able to edit all pages of the tab control. For example, I have a MetroTabControl that contains two pages. I can click on the title of the first page but not the second. Clicking on the second page puts me into the code.

This bug can be reproduced with the following steps:

  • Drag a new MetroTabControl from the designer.
  • Add the first tab page.
  • Now, try to add a second tab page.
  • An error message is thrown and the second page is disabled.

The error looks like this:
Metro tab Capture

I am using Visual Studio 2022 version 17.2.6

Version

3.7.8.7

MetroControlBox ignores Maximize and Minimize settings

Bug explanation

The MetrolControlBox control ignores the 'MaximizeBox' and 'MinimizeBox' switches in the form designer. Setting the values to 'false' does not make the Maizmize and Minize boxes hide as it does in a standard Windows Form control. I also tried setting the values in the code and this did not work. Additionally, there doesn't appear to be a way to tell what button has been clicked.

Version

3.7.8.8

Can't change the color of a button

Describe the bug
I see no way to change the color of a button.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'your design'
  2. Click on 'the toolbox'
  3. Scroll down to 'button'
  4. Make button
  5. Can't change the color?

Expected behavior
I should have an option to change the color.

Screenshots
no

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser not applicable
  • Version 3.7.8.7

MaterialListView can be even better

Bug explanation

Currently all header and content values are drawn left-aligned, even when setting textalign-right on the columns.
I think it would be great to have the headers and content drawn with the same alignment, as specified by the headers.
It's is an detail, but an important one when the data contains numbers - and would add great value to the listview.
Look like the the the code is in methods OnDrawColumnHeader + OnDrawItem in MaterialListView.cs

I have just started looking into the Material component palette and it looks very promising. Great work! I would like to contribute with some programming, so next time I will make an pull request.

Version

Latest Greatest

Suite of #27

Btw can you fix:

materialTabSelector1.SelectorHideTabName = Array.Empty<string>(); "This line of code doesn't work."
DrawerHideTabName = Array.Empty<string>(); "This line of code doesn't work."

Or you want me to make a PR in ~ 1-2 day(s) for them?

希望支持本地化一下(Local)

感谢作者的辛苦更新。(Thanks to the author for the long update)
我的英文不好,我会采用双语的方式。(My English is poor, so I can speak two languages.)

PoisonMessageBoxControl.xml

<?xml version="1.0" encoding="utf-8" ?> <root> <Localization> <Key>Ok</Key> <Value>&amp;确定</Value> </Localization> <Localization> <Key>Cancel</Key> <Value>&amp;取消</Value> </Localization> <Localization> <Key>Retry</Key> <Value>&amp;重试</Value> </Localization> <Localization> <Key>Yes</Key> <Value>&amp;是</Value> </Localization> <Localization> <Key>No</Key> <Value>&amp;否</Value> </Localization> <Localization> <Key>Abort</Key> <Value>&amp;终止</Value> </Localization> <Localization> <Key>Ignore</Key> <Value>&amp;忽略</Value> </Localization> </root>

PoisonToggle.xml

<?xml version="1.0" encoding="utf-8" ?> <root> <Localization> <Key>StatusOn</Key> <Value>开</Value> </Localization> <Localization> <Key>StatusOff</Key> <Value>关</Value> </Localization> </root>

控件“MaterialTextBox”的右键菜单为英文,我并没有找到本地化的方式。(The right click menu of the control "MaterialTextBox" is in English, I did not find a way to localize it.)

switch (toolStripItemClickedEventArgs.ClickedItem.Text) { case "Cut": Cut(); break; case "Copy": Copy(); break; case "Paste": Paste(); break; case "Delete": SelectedText = string.Empty; break; case "Select All": SelectAll(); break; }

Metro style resize issue

Bug explanation

I am experiencing an issue with window resizing with the Metro style. When the app is running and I move the window to another monitor, and release it, the window can no longer be moved and anywhere you mouse over the window the mouse is a resize pointer of some kind (depends where on the window the mouse is). I tried with the monitors being the same and different resolutions, same result. I tried the same test using Royal style and Material style, neither of those had an issue.

Not sure if this matters but using VS 2022 and VB.NET.

Version

3.7.9.1

ThunderControlBox - Disable Max/Min

I'm using the ThunderControlBox but need to disable the min/max buttons so that only the X close button can be used.
The option to enable/disable control box items is present on other controlbox controls you have in the collection, it would be really great if ALL controlbox controls had the same ability to enable/disable the individual buttons

Add Project solution of overview

Is it possible to add the solution projects, which, are shown in the "overview" section? Specially the Material and Metro.

Thanks in advance.

Unable to Maximize Window with ParrotForm

There is maximize button on the form but I can't set the BorderStyle to sizable. When I click that button screen flashing multiple times and nothing happening by the way

Screenshot_115

Screenshot_116

Screenshot_117

MetroTabControl ForegroundColor property to public

Any chance to change the ForegroundColor property from private to public so the tabs and the line under them can be customized?

Currently, it is:

[Category("Metro"), Description("Gets or sets the foregorund color.")]
private Color ForegroundColor { get; set; }

which only allows to use the default color Color.FromArgb(65, 177, 225) defined in the ApplyTheme method, and the option is not available in the properties.

imagen
imagen

I tried myself in a clone of the project and it worked properly, but I'm not sure if it will interfere with something else.

imagen
imagen
imagen

Material Button

Is it possible to make the material button receive a font family? Or is there a limitation or something like that?

I saw that it is fixed in the code, there is no way to make it dynamic?

Can't drag style manager to form

Bug explanation

The MetroStyleManager appears in my Visual Studio toolbox. I assumed I could drag it to a form and style the form or other components. When I attempted to do this I got:

Capture

Is this correct?
How do I style components? Via dragging to a form, or, programmatically?

Version

3.7.8.8

CrownComboBox not calling DrawItem

I've set an event handler on the CrownComboBox's DrawItem event. It never fires.

To Reproduce
Add an event handler for the DrawItem event for a CrownComboBox, and try to get it to emit the event.

Expected behavior
The even to fire when the combo box draws its items

  • Version 3.7.8.6

Documentation is required to use!

I have been using ReaLTaiizor for the last two weeks. But there is a lot of uncertainty in the use of some features and elements. It would be very easy to understand if it was documentation.
At least the following

  • How to use the elements,
  • installation and use of companions
  • installation and use of themes
    and etc...

So far I have had the following problems

  • I was able to use only LoftForm and Material Forms (I had problems using the rest),
  • When I use FlowLayoutPanel (in dock fill mode) BorderStyle is closed and not visible (only worked on LostForm). Also has some problems.
  • AutoSize in Panels, Buttons, and TextBoxes is sometimes very large.

These are becoming incomprehensible, and it would be great if any example demo program with all the elements used was documented or put in place.
At the very least, the demo programs listed in **Overview ** would be easier to understand even if the sources were uploaded.
Thanks...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.