From e6a66cb02029da7be22b39fc14a0f0132eb54ce3 Mon Sep 17 00:00:00 2001 From: Asval Date: Mon, 11 Mar 2019 14:08:31 +0100 Subject: [PATCH] nothing really important --- FModel/PAKWindow.Designer.cs | 1 + FModel/PAKWindow.cs | 6 ++++++ README.md | 3 ++- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/FModel/PAKWindow.Designer.cs b/FModel/PAKWindow.Designer.cs index 0ddb3a11..25d47b0a 100644 --- a/FModel/PAKWindow.Designer.cs +++ b/FModel/PAKWindow.Designer.cs @@ -240,6 +240,7 @@ this.Name = "PAKWindow"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "FModel"; + this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.PAKWindow_FormClosing); this.Load += new System.EventHandler(this.PAKWindow_Load); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); diff --git a/FModel/PAKWindow.cs b/FModel/PAKWindow.cs index 2ff9c693..4baec1d5 100644 --- a/FModel/PAKWindow.cs +++ b/FModel/PAKWindow.cs @@ -128,6 +128,10 @@ namespace FModel centeredStringLine.LineAlignment = StringAlignment.Center; centeredStringLine.Alignment = StringAlignment.Center; } //EVERYTHING TO SET WHEN APP IS STARTING + private void PAKWindow_FormClosing(object sender, FormClosingEventArgs e) + { + Environment.Exit(Environment.ExitCode); + } //STOP EVERYTHING WHEN FORM IS CLOSING private void CreatePath(TreeNodeCollection nodeList, string path) { @@ -566,6 +570,7 @@ namespace FModel } ExtractButton.Enabled = false; + SaveImageButton.Enabled = false; for (int i = 0; i < SelectedArray.Length; i++) { string currentItem = SelectedArray[i].ToString(); @@ -1240,6 +1245,7 @@ namespace FModel } } ExtractButton.Enabled = true; + SaveImageButton.Enabled = true; stopWatch.Stop(); TimeSpan ts = stopWatch.Elapsed; diff --git a/README.md b/README.md index 813ab3b0..8de3d605 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,8 @@ ## TODO - [ ] Improve speed -- [x] Multithreading (kinda weird atm i agree) +- [x] Multithreading - [x] Filter for the items ListBox +- [ ] Stop button while extracting - [ ] Support for meshes - [ ] Support for animations