Skip to content

MetroForm.CancelButton() can't be set to a MetroButton #176

@biohazardxxx

Description

@biohazardxxx

Bug explanation

this designer code does not work.

            private ReaLTaiizor.Controls.MetroButton btn_cancel;
            this.CancelButton = btn_cancel;

Last line gives:

CS0266 Cannot implicitly convert type 'ReaLTaiizor.Controls.MetroButton' to 'System.Windows.Forms.IButtonControl'. An explicit conversion exists (are you missing a cast?

Version

3.8.0.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions