-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPreview.cs
39 lines (35 loc) · 1.24 KB
/
Preview.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
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 MHFQuestEditor
{
public partial class Preview : Form
{
public static Quest questReference;
public Preview(Quest quest)
{
Preview.questReference = quest;
InitializeComponent();
}
private void Preview_Load(object sender, EventArgs e)
{
label1.Text = Preview.questReference.title;
label2.Text = Preview.questReference.mainObjective;
label3.Text = Preview.questReference.title;
label4.Text = Preview.questReference.title;
label5.Text = Preview.questReference.questContractor;
label6.Text = Preview.questReference.questDescription;
label7.Text = Preview.questReference.clearConditions;
label8.Text = Preview.questReference.failureConditions;
label9.Text = Preview.questReference.subObjective1;
label10.Text = Preview.questReference.subObjective2;
this.Text = String.Format("Previewing: {0}", questReference.title);
}
}
}