コード例 #1
0
        private bool IsTextEditorDifferent()
        {
            string fileText   = TxtFileMan.ReadFromFile();
            string editorText = Text_rtb.Text;

            return(fileText != editorText);
        }
コード例 #2
0
        private void LoadText_b_Click(object sender, EventArgs e)
        {
            UpdateFullFilePath();
            TxtFileMan = new TextFileManager(FullFilePath);
            string tempText = TxtFileMan.ReadFromFile();

            Text_rtb.Text = tempText;
        }