- [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
- [VB.NET] CRUD Thêm xóa sửa tìm kiếm Realtime FireBase
- [C#] Hiển thị thông báo Toast Message trong lập trình Winform
- [C#] Cấu hình định dạng ngày tháng, thời gian trên Windows cho ứng dụng Winform
- [C#] Rút gọn đường dẫn link url với TinyURL API
- [C#] Hướng dẫn cách bo tròn winform with Radius
- [C#] Chia sẽ class BackGroundOverlay Show Modal cho Winform
- [C#] Hướng dẫn Flip Image Winform
- [C#] Invoke là gì? cách sử dụng phương thức Invoke()
- [C#] Hướng dẫn chia sẽ file, folder từ ứng dụng sang Zalo Chat
[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!