Beispiel #1
0
        private void OnSaveAllChangesButton_Clicked(object sender, EventArgs e)
        {
            if (this.dataCopy.Count > 1) return;

            FileOutputClass.WriteAuthorsTitlesToFile(this.filePath, this.dataCopy);

            this.dataCopy.Clear();
        }
Beispiel #2
0
        private void OnSaveAllChangesButton_Clicked(object sender, EventArgs e)
        {
            if (this.DataCopy.Count > 1)
            {
                return;
            }

            FileOutputClass.WriteAuthorsTitlesToFile();
        }
        private void OnSaveAllChangesButton_Clicked(object sender, EventArgs e)
        {
            //TODO: Make button not enabled untill user has used the format button.
            if (this.dataCopy.Count > 1)
            {
                return;
            }

            FileOutputClass.WriteAuthorsTitlesToFile(this.filePath, this.dataCopy);

            this.dataCopy.Clear();
        }