using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication5
{
    public partial class Form1 : Form
    {

        public Form1()
        {
            InitializeComponent();
            FontDialog fd = new FontDialog();
            fd.ShowDialog();
            textBox1.Font = fd.Font;
            label1.Font = fd.Font;
        }
    }
}

 

相关文章:

  • 2022-01-26
  • 2021-12-25
  • 2021-04-05
  • 2021-12-25
  • 2021-08-09
  • 2021-08-15
  • 2021-10-23
  • 2021-11-06
猜你喜欢
  • 2022-12-23
  • 2021-09-06
  • 2022-12-23
  • 2021-07-09
  • 2021-10-04
  • 2022-12-23
  • 2021-11-12
相关资源
相似解决方案