private void DialogFont_Load(object sender, EventArgs e)
{
LoadInstalledFonts();
SetupInitialDialogSelections();
lblPreview.ForeColor = colorPicker1.colorPickerControlView1.CurrentColor.Color;
}
値をSystem.Drawing.Colorに変換したいのですが。
何か案は?
System.Windows.Media.Color mediacolor; // your color
var drawingcolor = System.Drawing.Color.FromArgb(
mediacolor.A, mediacolor.R, mediacolor.G, mediacolor.B);