Skip to content

Commit

Permalink
---Update----
Browse files Browse the repository at this point in the history
* Add "FULL" form of project.
* Add "Remove Expand Form" and "Closing Form Warning Dialog" for "FULL" form of project.
---Note----
| None of backend code are add into project |
* Complete the project before 00:00 - 27/10/2023.
  • Loading branch information
ntdcong committed Oct 20, 2023
1 parent 1ce85d9 commit 4e32788
Show file tree
Hide file tree
Showing 24 changed files with 2,457 additions and 182 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public partial class MemUpdate : DevExpress.XtraEditors.XtraForm
public MemUpdate()
{
InitializeComponent();
this.MaximizeBox = false;
this.MaximizeBox = false; //Tắt chức năng phóng to form
}

private void MemUpdate_Load(object sender, EventArgs e)
Expand Down
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 31 additions & 0 deletions DXApplication1/ChildForm/MemView.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
using DevExpress.XtraEditors;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace DXApplication1
{
public partial class MemView : DevExpress.XtraEditors.XtraForm
{
public MemView()
{
InitializeComponent();
this.MaximizeBox = false; //Tắt chức năng phóng to form
}

private void MemView_FormClosing(object sender, FormClosingEventArgs e)
{
System.Windows.Forms.DialogResult result = System.Windows.Forms.MessageBox.Show("Bạn có muốn thoát không?", "Xác nhận thoát", System.Windows.Forms.MessageBoxButtons.YesNo);
if (result == System.Windows.Forms.DialogResult.No)
{
e.Cancel = true;
}
}
}
}
File renamed without changes.
Loading

0 comments on commit 4e32788

Please sign in to comment.