示例#1
0
        private void btnFont_Click(object sender, EventArgs e)
        {
            FontDialog fd = new FontDialog();

            if (fd.ShowDialog() == DialogResult.OK)
            {
                btnOpenFlie.Font = fd.Font;
                btnSaveFile.Font = fd.Font;
                btnFont.Font     = fd.Font;
                btnColor.Font    = fd.Font;
                this.Text        = fd.ToString();
            }
        }