-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathForm3.cs
More file actions
30 lines (26 loc) · 707 Bytes
/
Form3.cs
File metadata and controls
30 lines (26 loc) · 707 Bytes
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
using System;
using System.IO;
using System.Windows.Forms;
namespace armipsSimpleGui
{
public partial class Form3 : Form
{
private main form;
public Form3(main f)
{
InitializeComponent();
form = f;
addParams.Text = form.getAdditionalParameters();
}
private void okBut_Click(object sender, EventArgs e)
{
form.setAdditionalParameters(addParams.Text);
File.WriteAllText(main.getActiveProfilePath() + "AdditionalArguments.txt", addParams.Text);
Close();
}
private void canBut_Click(object sender, EventArgs e)
{
Close();
}
}
}