private bool IsTextEditorDifferent() { string fileText = TxtFileMan.ReadFromFile(); string editorText = Text_rtb.Text; return(fileText != editorText); }
private void LoadText_b_Click(object sender, EventArgs e) { UpdateFullFilePath(); TxtFileMan = new TextFileManager(FullFilePath); string tempText = TxtFileMan.ReadFromFile(); Text_rtb.Text = tempText; }