S
Sudip_inn
Guest
This way i am getting code code from color dialog
ColorDialog colorDlg = new ColorDialog();
colorDlg.AnyColor = true;
colorDlg.SolidColorOnly = false;
if (colorDlg.ShowDialog() == DialogResult.OK)
{
Color color = colorDlg.Color;
BGColor = color.Name;
IsColorChanged = true;
}
from the above code when i choose color then some time i am getting this color code ff003300 and some time White
so how could i always get hex code like ff003300 from color dialog?
please share some sample code. thanks
Continue reading...
ColorDialog colorDlg = new ColorDialog();
colorDlg.AnyColor = true;
colorDlg.SolidColorOnly = false;
if (colorDlg.ShowDialog() == DialogResult.OK)
{
Color color = colorDlg.Color;
BGColor = color.Name;
IsColorChanged = true;
}
from the above code when i choose color then some time i am getting this color code ff003300 and some time White
so how could i always get hex code like ff003300 from color dialog?
please share some sample code. thanks
Continue reading...