There's nothing you need to know about me.
voidziad / winblur Goto Github PK
View Code? Open in Web Editor NEWWinBlur is a C#, VB .NET Library that allows developers to use modern blur types on their forms.
License: MIT License
WinBlur is a C#, VB .NET Library that allows developers to use modern blur types on their forms.
License: MIT License
I just get a black window background. This is a newly created WinForms app with one button in the middle.
Here is my Form1 code, everything else is the default. Mica is enabled in my Windows 11 system.
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
this.Load += new EventHandler(Form1_Load);
}
private void button1_Click(object sender, EventArgs e)
{
MessageBox.Show("Witti.exe", "Moin Mica!");
}
private void Form1_Load(object sender, EventArgs e)
{
this.BackColor = Color.Black;
UI.SetBlurStyle(cntrl: this, blurType: UI.BlurType.Mica, designMode: UI.Mode.DarkMode);
}
}
The light mode works very buggy for me. The fore color of objects (labels, picture box and much more) cannot be changed further in light mode. I can't adapt to myself. I am using Visual Basic WinForms Net 4.8
`
Imports WinBlur
Imports WinBlur.UI
Public Class Form1
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Me.BackColor = Color.Black
Me.ForeColor = Color.White
SetBlurStyle(Me, BlurType.Mica, Mode.DarkMode)
Me.BackColor = Color.Black
Me.ForeColor = Color.White
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Me.BackColor = Color.White
SetBlurStyle(Me, BlurType.Mica, Mode.LightMode)
Me.BackColor = Color.White
Me.ForeColor = Color.DimGray
End Sub
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
Me.BackColor = Color.Black
Me.ForeColor = Color.White
SetBlurStyle(Me, BlurType.Mica, Mode.DarkMode)
Me.BackColor = Color.Black
Me.ForeColor = Color.White
End Sub
End Class
`
Mica Test.zip
Is it not possible to use Win 10 for this project at all? I would appreciate it if you could provide feedback.
Hi,
i'm not sure if I am missing something, but my form is only transparent. There is no blur at all.
My FormBorderStyle
is set to None
This is the code I tested with:
using System;
using System.Drawing;
using System.Windows.Forms;
using WinBlur;
using static WinBlur.UI;
namespace WindowsFormsApp2
{
public partial class Popup : Form
{
public Popup()
{
InitializeComponent();
this.BackColor = Color.Black;
SetBlurStyle(cntrl: this, blurType: BlurType.Acrylic, designMode: Mode.DarkMode);
}
private void Popup_Load(object sender, EventArgs e)
{
}
}
}
The X in the middle is from the popup form, which should be transparent and blurred.
Hello, I found quite interesting the work... I searched a lot for a solution that would allow me to create fluent interfaces, with Acrylic or Mica style, and I didn't find good material and anywhere... I found his project and enjoyed it a lot, because it almost solved my problem.
Problem:
Unfortunately, when testing it, he modified the control as intended, but damaged the design of the controls that constitute it. The text of the buttons looked strange, and the colors of the text, whether of buttons or labels, became blurry and weird... Already the text of the textbox, does not appreciate more ...
Suggest:
I would like to suggest that the same blurring mechanism be implemented for the controls as well, ex
SetBlurStyle(panel1, BlurType.Acrylic, Mode.LightMode);
where the backdroop will be an image that put as a backround of its containment element
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.