-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathFmloading.Designer.cs
More file actions
55 lines (48 loc) · 1.29 KB
/
Fmloading.Designer.cs
File metadata and controls
55 lines (48 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
namespace TrOCR
{
public partial class FmLoading : global::System.Windows.Forms.Form
{
protected override void Dispose(bool disposing)
{
if (disposing)
{
// --- 修复关键点 开始 ---
// 1. 停止并释放 Timer
if (this.timer != null)
{
this.timer.Stop();
this.timer.Dispose();
this.timer = null;
}
// 2. 释放最后持有的 Image 对象
if (this.bgImg != null)
{
this.bgImg.Dispose();
this.bgImg = null;
}
// --- 修复关键点 结束 ---
// 保留设计器生成的代码
if (this.components != null)
{
this.components.Dispose();
}
}
base.Dispose(disposing);
// bool flag = disposing && this.components != null;
// bool flag2 = flag;
// bool flag3 = flag2;
// bool flag4 = flag3;
// bool flag5 = flag4;
// bool flag6 = flag5;
// bool flag7 = flag6;
// bool flag8 = flag7;
// bool flag9 = flag8;
// if (flag9)
// {
// this.components.Dispose();
// }
// base.Dispose(disposing);
}
public global::System.ComponentModel.IContainer components;
}
}