---
title: "maintaing font and font color state in C# .net winform"  
description: "maintaing font and font color state in C# .net winform"  
author: "Anonymous User"  
published: 2013-06-05  
updated: 2013-07-08  
canonical: https://www.mindstick.com/forum/995/maintaing-font-and-font-color-state-in-c-sharp-dot-net-winform  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# maintaing font and font color state in C# .net winform

Hi Mindstickians,\
I have created a small demo in [C# .Net](https://www.mindstick.com/forum/159581/how-to-design-a-calculator-program-in-c-sharp-dot-net) Win-form, below is screenshot of my demo. \
![maintaing font and font color state in C# .net winform](http://i.stack.imgur.com/8ai3W.png)\
Above screenshot have two buttons with font [color](https://www.mindstick.com/articles/77/how-to-split-form-background-color-in-c-sharp) and font named, when I clicked on Font Color then appear a color [dialog box](https://www.mindstick.com/forum/34699/create-alert-dialog-box-in-android) and we can give the label color by [select](https://www.mindstick.com/forum/160534/orderby-then-select-vs-select-then-orderby-performance) any color from color dialog box and when I clicked on Font [button](https://www.mindstick.com/articles/63/how-to-add-button-in-datagridview-in-csharp-dot-net) then appear a font dialog box which is help to give the font style, [font size](https://www.mindstick.com/forum/158654/what-is-the-css-property-used-to-specify-the-font-size-of-an-element) and [font family](https://www.mindstick.com/forum/158669/how-can-change-the-font-family-of-a-text-using-css). It works perfectly. But my [problem](https://yourviews.mindstick.com/view/81399/tackling-the-problem-of-unemployment-during-corona-pandemic) is that I want to maintain font and font color state (means after restarting this [project](https://www.mindstick.com/articles/105927/how-to-excel-at-managing-multiple-projects) maintain the given font and font color).\
Thank You!

## Replies

### Reply by Vijay Shukla

Hi Ankita!\
get the help from the following article\
\
http://www.mindstick.com/Articles/3c7a2ebe-05c5-46ba-9a3e-74a806151423/?Maintain%20font%20and%20font%20color%20state%20in%20C%20net%20winform


---

Original Source: https://www.mindstick.com/forum/995/maintaing-font-and-font-color-state-in-c-sharp-dot-net-winform

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
