- [C#] Lấy thông tin cấu hình máy tính xuất ra text file winform
- [C#] Chia sẽ class Install, Uninstall, Start và Stop Services Winform
- [C#] Tìm kiếm tập tin file nhanh chóng trên Winform sử dụng thư viện FastSearchLibrary
- [C#] Giới thiệu thư viện Fluent FTP Awesome dùng để làm việc với FTP
- [C#] Sử dụng thư viện Mini Profiler Integrations ghi log thực hiện các câu lệnh SQL
- [DEVEXPRESS] Thiết kế Dropdown ButtonBarItem trên Form Ribbon
- [C#] Lưu trạng thái các control trên Winform vào Registry Windows
- [C#] Ứng dụng ví dụ Simple Observer Pattern tăng giảm số lượng trên winform
- [C#] Hướng dẫn lấy thời gian thực server time trên winform
- [DEVEXPRESS] Hướng dẫn bật tính năng Scroll Pixcel in Touch trên GridView
- [DEVEXPRESS] Hướng dẫn sử dụng TileBar viết ứng dụng duyệt hình ảnh Winform
- [DEVEXPRESS] Tô màu border TextEdit trên Winform
- [C#] Lấy dữ liệu từ Console Write hiển thị lên textbox Winform
- [C#] Hiển thị Progress bar trên Window Console
- [C#] Di chuyển control Runtime và lưu layout trên winform
- [SQLSERVER] Sử dụng hàm NULL IF
- [C#] Chia sẽ source code mã đi tuần bằng giao diện Winform
- [C#] Flash Window in Taskbar Winform
- Download và Giải nén tập tin File sử dụng Powershell
- [C#] Hướng dẫn cách lấy thông tin đăng nhập tài khoản và mật khẩu web browser trên windows
[C#] Giới thiệu thư viện Xander UI Framework dùng thiết kế Winform
Xin chào các bạn, bài viết hôm nay mình sẽ giới thiệu đến các bạn thư viện Xander UI Framework dùng để thiết kế giao diện ứng dụng Winform.
Thư viện Xander UI Framework này, cung cấp cho chúng ta các component theo chuẩn thiết kế Material và các hiệu ứng cho chúng ta sử dụng.
Dưới đây là giao diện ứng dụng sử dụng Xander UI Framework c#:
Thư viện này chỉ gồm 1 một dll, các bạn có thể download để đường dẫn sau, để tích hợp vào project của mình.
Link download thư viện Xander UI Framework
Sau khi các bạn download về, các bạn kéo file XanderUI.dll
vào tab control, chúng ta sẽ được các công cụ để thiết kế form như hình dưới đây.
Trong bài viết này, mình sẽ làm demo sử dụng hiệu ứng Animation trong Framework này bao gồm: Color Animate
, Standard Animate
và Form Animte
.
Video demo ứng dụng Animation C#:
Source code Demo:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace XanderUIFramework_Demo
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
comboBox1.DataSource = Enum.GetValues(typeof(XanderUI.XUIObjectAnimator.ColorAnimation));
}
private void button1_Click(object sender, EventArgs e)
{
string value = comboBox1.Text;
switch (value)
{
case "FillEllipse":
xuiObjectAnimator1.ColorAnimate(this, Color.DodgerBlue, XanderUI.XUIObjectAnimator.ColorAnimation.FillEllipse, false, 1);
break;
case "FillSquare":
xuiObjectAnimator1.ColorAnimate(this, Color.DodgerBlue, XanderUI.XUIObjectAnimator.ColorAnimation.FillSquare, false, 1);
break;
case "SlideFill":
xuiObjectAnimator1.ColorAnimate(this, Color.DodgerBlue, XanderUI.XUIObjectAnimator.ColorAnimation.SlideFill, false, 1);
break;
case "SplitFill":
xuiObjectAnimator1.ColorAnimate(this, Color.DodgerBlue, XanderUI.XUIObjectAnimator.ColorAnimation.SplitFill, false, 1);
break;
case "StripeFill":
xuiObjectAnimator1.ColorAnimate(this, Color.DodgerBlue, XanderUI.XUIObjectAnimator.ColorAnimation.StripeFill, false, 1);
break;
default:
break;
}
}
private void button2_Click(object sender, EventArgs e)
{
xuiObjectAnimator1.StandardAnimate(label1, XanderUI.XUIObjectAnimator.StandardAnimation.SlideRight, 1);
}
private void button3_Click(object sender, EventArgs e)
{
xuiObjectAnimator1.FormAnimate(this, XanderUI.XUIObjectAnimator.FormAnimation.FadeIn, 1);
}
}
}
Thanks for watching!