5
Answers

richTextBox New file & Localization issue

Rzgar Espo

Rzgar Espo

14y
1.7k
1
Hi all,
I'm new at C# and I created a simple text editor. I figured out have to load files in different formats such as txt and rtf and save content as well. Now I'm facing a new problem. searched around and didn't found solution. Under ToolStripMenuItem I have a link that supposed call for a new blank document. currently I user this.clear(); but it's not the way how it should be done. now I wonder how to call a new empty RichTextBox and when user have a unsaved entry how to check and alert user for saving entries.
 here is the code:

        private void ????????ToolStripMenuItem_Click_1(object sender, EventArgs e)
        {
            richTextBox1.Clear();
        }


then is there a way to use a separated language file for localization purpose  and how should I do or where should I look for solving these issues.
Thanks in advance.
Answers (5)
0
Armin Dashti

Armin Dashti

NA 45 953 7y
Is there anybody to help me?
0
Armin Dashti

Armin Dashti

NA 45 953 7y
Thanks. but i don't get anything with this link.
I cheked this code and nothing .
What i do?
0
Gokhul Varman

Gokhul Varman

NA 10.7k 9.4k 7y
Please refer the link for more detailed explanation:https://stackoverflow.com/questions/17026204/retrieve-process-network-usage