-
Notifications
You must be signed in to change notification settings - Fork 0
/
frmDonate.cs
339 lines (315 loc) · 13.5 KB
/
frmDonate.cs
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
// Decompiled with JetBrains decompiler
// Type: OculusTrayTool.frmDonate
// Assembly: OculusTrayTool, Version=0.87.8.0, Culture=neutral, PublicKeyToken=null
// MVID: E8946A27-16D6-4BF6-9D7B-70CB25A977E0
// Assembly location: C:\Program Files (x86)\Oculus Tray Tool\OculusTrayTool.exe
using Microsoft.VisualBasic.CompilerServices;
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Runtime.CompilerServices;
using System.Windows.Forms;
#nullable disable
namespace OculusTrayTool
{
[DesignerGenerated]
public class frmDonate : Form
{
private IContainer components;
public frmDonate() => this.InitializeComponent();
[DebuggerNonUserCode]
protected override void Dispose(bool disposing)
{
try
{
if (!disposing || this.components == null)
return;
this.components.Dispose();
}
finally
{
base.Dispose(disposing);
}
}
[DebuggerStepThrough]
private void InitializeComponent()
{
ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof (frmDonate));
this.GroupBox1 = new GroupBox();
this.GroupBox3 = new GroupBox();
this.Label5 = new Label();
this.PictureBox4 = new PictureBox();
this.Label2 = new Label();
this.Label4 = new Label();
this.Label6 = new Label();
this.Label3 = new Label();
this.GroupBox4 = new GroupBox();
this.PictureBox3 = new PictureBox();
this.PictureBox1 = new PictureBox();
this.PictureBox2 = new PictureBox();
this.Label1 = new Label();
this.LinkLabel1 = new LinkLabel();
this.GroupBox1.SuspendLayout();
((ISupportInitialize) this.PictureBox4).BeginInit();
((ISupportInitialize) this.PictureBox3).BeginInit();
((ISupportInitialize) this.PictureBox1).BeginInit();
((ISupportInitialize) this.PictureBox2).BeginInit();
this.SuspendLayout();
this.GroupBox1.Controls.Add((Control) this.GroupBox3);
this.GroupBox1.Controls.Add((Control) this.Label5);
this.GroupBox1.Controls.Add((Control) this.PictureBox4);
this.GroupBox1.Controls.Add((Control) this.Label2);
this.GroupBox1.Controls.Add((Control) this.Label4);
this.GroupBox1.Controls.Add((Control) this.Label6);
this.GroupBox1.Controls.Add((Control) this.Label3);
this.GroupBox1.Controls.Add((Control) this.GroupBox4);
this.GroupBox1.Controls.Add((Control) this.PictureBox3);
this.GroupBox1.Controls.Add((Control) this.PictureBox1);
this.GroupBox1.Controls.Add((Control) this.PictureBox2);
this.GroupBox1.Controls.Add((Control) this.Label1);
this.GroupBox1.ForeColor = Color.DodgerBlue;
this.GroupBox1.Location = new Point(12, 12);
this.GroupBox1.Name = "GroupBox1";
this.GroupBox1.Size = new Size(513, 177);
this.GroupBox1.TabIndex = 0;
this.GroupBox1.TabStop = false;
this.GroupBox3.Location = new Point(54, 81);
this.GroupBox3.Name = "GroupBox3";
this.GroupBox3.Size = new Size(147, 10);
this.GroupBox3.TabIndex = 15;
this.GroupBox3.TabStop = false;
this.Label5.AutoSize = true;
this.Label5.Font = new Font("Microsoft Sans Serif", 9f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
this.Label5.ForeColor = Color.DodgerBlue;
this.Label5.Location = new Point(415, 138);
this.Label5.Name = "Label5";
this.Label5.Size = new Size(50, 15);
this.Label5.TabIndex = 14;
this.Label5.Text = "15 Euro";
this.PictureBox4.Cursor = Cursors.Hand;
this.PictureBox4.Image = (Image) OculusTrayTool.My.Resources.Resources.paypal;
this.PictureBox4.Location = new Point(396, 113);
this.PictureBox4.Name = "PictureBox4";
this.PictureBox4.Size = new Size(87, 23);
this.PictureBox4.SizeMode = PictureBoxSizeMode.Zoom;
this.PictureBox4.TabIndex = 10;
this.PictureBox4.TabStop = false;
this.Label2.AutoSize = true;
this.Label2.Font = new Font("Microsoft Sans Serif", 9f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
this.Label2.ForeColor = Color.DodgerBlue;
this.Label2.Location = new Point(53, 138);
this.Label2.Name = "Label2";
this.Label2.Size = new Size(43, 15);
this.Label2.TabIndex = 11;
this.Label2.Text = "1 Euro";
this.Label4.AutoSize = true;
this.Label4.Font = new Font("Microsoft Sans Serif", 9f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
this.Label4.ForeColor = Color.DodgerBlue;
this.Label4.Location = new Point(297, 138);
this.Label4.Name = "Label4";
this.Label4.Size = new Size(50, 15);
this.Label4.TabIndex = 13;
this.Label4.Text = "10 Euro";
this.Label6.AutoSize = true;
this.Label6.Font = new Font("Microsoft Sans Serif", 9f, FontStyle.Bold, GraphicsUnit.Point, (byte) 0);
this.Label6.Location = new Point(238, 79);
this.Label6.Name = "Label6";
this.Label6.Size = new Size(51, 15);
this.Label6.TabIndex = 7;
this.Label6.Text = "PayPal";
this.Label3.AutoSize = true;
this.Label3.Font = new Font("Microsoft Sans Serif", 9f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
this.Label3.ForeColor = Color.DodgerBlue;
this.Label3.Location = new Point(173, 136);
this.Label3.Name = "Label3";
this.Label3.Size = new Size(43, 15);
this.Label3.TabIndex = 12;
this.Label3.Text = "5 Euro";
this.GroupBox4.Location = new Point(319, 81);
this.GroupBox4.Name = "GroupBox4";
this.GroupBox4.Size = new Size(147, 10);
this.GroupBox4.TabIndex = 3;
this.GroupBox4.TabStop = false;
this.PictureBox3.Cursor = Cursors.Hand;
this.PictureBox3.Image = (Image) OculusTrayTool.My.Resources.Resources.paypal;
this.PictureBox3.Location = new Point(278, 113);
this.PictureBox3.Name = "PictureBox3";
this.PictureBox3.Size = new Size(87, 22);
this.PictureBox3.SizeMode = PictureBoxSizeMode.Zoom;
this.PictureBox3.TabIndex = 9;
this.PictureBox3.TabStop = false;
this.PictureBox1.Cursor = Cursors.Hand;
this.PictureBox1.Image = (Image) OculusTrayTool.My.Resources.Resources.paypal;
this.PictureBox1.Location = new Point(31, 113);
this.PictureBox1.Name = "PictureBox1";
this.PictureBox1.Size = new Size(87, 22);
this.PictureBox1.SizeMode = PictureBoxSizeMode.Zoom;
this.PictureBox1.TabIndex = 7;
this.PictureBox1.TabStop = false;
this.PictureBox2.Cursor = Cursors.Hand;
this.PictureBox2.Image = (Image) OculusTrayTool.My.Resources.Resources.paypal;
this.PictureBox2.Location = new Point(153, 113);
this.PictureBox2.Name = "PictureBox2";
this.PictureBox2.Size = new Size(87, 22);
this.PictureBox2.SizeMode = PictureBoxSizeMode.Zoom;
this.PictureBox2.TabIndex = 8;
this.PictureBox2.TabStop = false;
this.Label1.Font = new Font("Microsoft Sans Serif", 9f, FontStyle.Regular, GraphicsUnit.Point, (byte) 0);
this.Label1.ForeColor = Color.DodgerBlue;
this.Label1.Location = new Point(15, 16);
this.Label1.Name = "Label1";
this.Label1.Size = new Size(491, 34);
this.Label1.TabIndex = 6;
this.Label1.Text = "Thanks for donating to support and show your appreciation for this project. Cheers!";
this.Label1.TextAlign = ContentAlignment.MiddleCenter;
this.LinkLabel1.AutoSize = true;
this.LinkLabel1.Location = new Point(13, 196);
this.LinkLabel1.Name = "LinkLabel1";
this.LinkLabel1.Size = new Size(65, 13);
this.LinkLabel1.TabIndex = 1;
this.LinkLabel1.TabStop = true;
this.LinkLabel1.Text = "Visit website";
this.AutoScaleDimensions = new SizeF(6f, 13f);
this.AutoScaleMode = AutoScaleMode.Font;
this.BackColor = Color.White;
this.ClientSize = new Size(534, 221);
this.Controls.Add((Control) this.LinkLabel1);
this.Controls.Add((Control) this.GroupBox1);
this.FormBorderStyle = FormBorderStyle.FixedSingle;
this.Icon = (Icon) componentResourceManager.GetObject("$this.Icon");
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = nameof (frmDonate);
this.ShowInTaskbar = false;
this.StartPosition = FormStartPosition.CenterParent;
this.Text = "Donate";
this.GroupBox1.ResumeLayout(false);
this.GroupBox1.PerformLayout();
((ISupportInitialize) this.PictureBox4).EndInit();
((ISupportInitialize) this.PictureBox3).EndInit();
((ISupportInitialize) this.PictureBox1).EndInit();
((ISupportInitialize) this.PictureBox2).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
[field: AccessedThroughProperty("GroupBox1")]
internal virtual GroupBox GroupBox1 { get; [MethodImpl(MethodImplOptions.Synchronized)] set; }
[field: AccessedThroughProperty("Label1")]
internal virtual Label Label1 { get; [MethodImpl(MethodImplOptions.Synchronized)] set; }
internal virtual PictureBox PictureBox4
{
get => this._PictureBox4;
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.PictureBox4_Click);
PictureBox pictureBox4_1 = this._PictureBox4;
if (pictureBox4_1 != null)
pictureBox4_1.Click -= eventHandler;
this._PictureBox4 = value;
PictureBox pictureBox4_2 = this._PictureBox4;
if (pictureBox4_2 == null)
return;
pictureBox4_2.Click += eventHandler;
}
}
internal virtual PictureBox PictureBox3
{
get => this._PictureBox3;
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.PictureBox3_Click);
PictureBox pictureBox3_1 = this._PictureBox3;
if (pictureBox3_1 != null)
pictureBox3_1.Click -= eventHandler;
this._PictureBox3 = value;
PictureBox pictureBox3_2 = this._PictureBox3;
if (pictureBox3_2 == null)
return;
pictureBox3_2.Click += eventHandler;
}
}
internal virtual PictureBox PictureBox2
{
get => this._PictureBox2;
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.PictureBox2_Click);
PictureBox pictureBox2_1 = this._PictureBox2;
if (pictureBox2_1 != null)
pictureBox2_1.Click -= eventHandler;
this._PictureBox2 = value;
PictureBox pictureBox2_2 = this._PictureBox2;
if (pictureBox2_2 == null)
return;
pictureBox2_2.Click += eventHandler;
}
}
internal virtual PictureBox PictureBox1
{
get => this._PictureBox1;
[MethodImpl(MethodImplOptions.Synchronized)] set
{
EventHandler eventHandler = new EventHandler(this.PictureBox1_Click);
PictureBox pictureBox1_1 = this._PictureBox1;
if (pictureBox1_1 != null)
pictureBox1_1.Click -= eventHandler;
this._PictureBox1 = value;
PictureBox pictureBox1_2 = this._PictureBox1;
if (pictureBox1_2 == null)
return;
pictureBox1_2.Click += eventHandler;
}
}
[field: AccessedThroughProperty("Label5")]
internal virtual Label Label5 { get; [MethodImpl(MethodImplOptions.Synchronized)] set; }
[field: AccessedThroughProperty("Label4")]
internal virtual Label Label4 { get; [MethodImpl(MethodImplOptions.Synchronized)] set; }
[field: AccessedThroughProperty("Label3")]
internal virtual Label Label3 { get; [MethodImpl(MethodImplOptions.Synchronized)] set; }
[field: AccessedThroughProperty("Label2")]
internal virtual Label Label2 { get; [MethodImpl(MethodImplOptions.Synchronized)] set; }
[field: AccessedThroughProperty("GroupBox4")]
internal virtual GroupBox GroupBox4 { get; [MethodImpl(MethodImplOptions.Synchronized)] set; }
[field: AccessedThroughProperty("GroupBox3")]
internal virtual GroupBox GroupBox3 { get; [MethodImpl(MethodImplOptions.Synchronized)] set; }
[field: AccessedThroughProperty("Label6")]
internal virtual Label Label6 { get; [MethodImpl(MethodImplOptions.Synchronized)] set; }
internal virtual LinkLabel LinkLabel1
{
get => this._LinkLabel1;
[MethodImpl(MethodImplOptions.Synchronized)] set
{
LinkLabelLinkClickedEventHandler clickedEventHandler = new LinkLabelLinkClickedEventHandler(this.LinkLabel1_LinkClicked);
LinkLabel linkLabel1_1 = this._LinkLabel1;
if (linkLabel1_1 != null)
linkLabel1_1.LinkClicked -= clickedEventHandler;
this._LinkLabel1 = value;
LinkLabel linkLabel1_2 = this._LinkLabel1;
if (linkLabel1_2 == null)
return;
linkLabel1_2.LinkClicked += clickedEventHandler;
}
}
private void PictureBox1_Click(object sender, EventArgs e)
{
Process.Start("https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=V2Q88RWKVSAH6");
}
private void PictureBox2_Click(object sender, EventArgs e)
{
Process.Start("https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XV6QUB2VGL298");
}
private void PictureBox3_Click(object sender, EventArgs e)
{
Process.Start("https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7A8ME9WUMG9SA");
}
private void PictureBox4_Click(object sender, EventArgs e)
{
Process.Start("https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=R5D56LX9T8MTY");
}
private void LinkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
Process.Start("https://apollyonvr.com");
}
}
}