diff --git a/ProjectLibrary/Forms/FBook.cs b/ProjectLibrary/Forms/FBook.cs index c446942..bc50f71 100644 --- a/ProjectLibrary/Forms/FBook.cs +++ b/ProjectLibrary/Forms/FBook.cs @@ -117,7 +117,8 @@ private void buttonCancel_Click_Click(object sender, EventArgs e) { - + // Закрытие формы без сохранения + this.Close(); } } } diff --git a/ProjectLibrary/Forms/FBook_Orders.cs b/ProjectLibrary/Forms/FBook_Orders.cs index c4809cf..1cd7e76 100644 --- a/ProjectLibrary/Forms/FBook_Orders.cs +++ b/ProjectLibrary/Forms/FBook_Orders.cs @@ -37,7 +37,8 @@ namespace ProjectLibrary.Forms private void buttonCancel_Click_Click(object sender, EventArgs e) { - + // Закрытие формы без сохранения + this.Close(); } } } diff --git a/ProjectLibrary/Forms/FBook_library.cs b/ProjectLibrary/Forms/FBook_library.cs index ae1dbe1..96613b1 100644 --- a/ProjectLibrary/Forms/FBook_library.cs +++ b/ProjectLibrary/Forms/FBook_library.cs @@ -1,6 +1,4 @@ -using System; -using System.Windows.Forms; -using ProjectLibrary.Entites; +using ProjectLibrary.Entites; namespace ProjectLibrary.Forms { @@ -39,7 +37,8 @@ namespace ProjectLibrary.Forms private void buttonCancel_Click_Click(object sender, EventArgs e) { - + // Закрытие формы без сохранения + this.Close(); } } } diff --git a/ProjectLibrary/Forms/FLibrary.cs b/ProjectLibrary/Forms/FLibrary.cs index bade384..78249a3 100644 --- a/ProjectLibrary/Forms/FLibrary.cs +++ b/ProjectLibrary/Forms/FLibrary.cs @@ -39,7 +39,8 @@ namespace ProjectLibrary.Forms private void buttonCancel_Click_Click(object sender, EventArgs e) { - + // Закрытие формы без сохранения + this.Close(); } } } diff --git a/ProjectLibrary/Forms/FOrders.cs b/ProjectLibrary/Forms/FOrders.cs index 9bcdb0f..042cdd2 100644 --- a/ProjectLibrary/Forms/FOrders.cs +++ b/ProjectLibrary/Forms/FOrders.cs @@ -50,7 +50,8 @@ namespace ProjectLibrary.Forms private void buttonCancel_Click_Click(object sender, EventArgs e) { - + // Закрытие формы без сохранения + this.Close(); } } } diff --git a/ProjectLibrary/Forms/FReader.cs b/ProjectLibrary/Forms/FReader.cs index 2484207..0537ca8 100644 --- a/ProjectLibrary/Forms/FReader.cs +++ b/ProjectLibrary/Forms/FReader.cs @@ -42,7 +42,8 @@ namespace ProjectLibrary.Forms private void buttonCancel_Click_Click(object sender, EventArgs e) { - + // Закрытие формы без сохранения + this.Close(); } } } diff --git a/ProjectLibrary/Forms/FTicket_Extension.cs b/ProjectLibrary/Forms/FTicket_Extension.cs index 1f1b885..50202df 100644 --- a/ProjectLibrary/Forms/FTicket_Extension.cs +++ b/ProjectLibrary/Forms/FTicket_Extension.cs @@ -42,7 +42,8 @@ namespace ProjectLibrary.Forms private void buttonCancel_Click_Click(object sender, EventArgs e) { - + // Закрытие формы без сохранения + this.Close(); } } }