-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTaskMenu.cs
38 lines (32 loc) · 983 Bytes
/
TaskMenu.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
using System;
using System.Windows.Forms;
namespace KanbanSystem
{
public partial class TaskMenu : Form
{
public static string name;
public TaskMenu()
{
InitializeComponent();
}
private void btn_stateTODO_Click(object sender, EventArgs e)
{
if (Screen.taskState == 1 || Screen.taskState == 2)
Screen.taskState = 0;
}
private void btn_stateDoing_Click(object sender, EventArgs e)
{
if (Screen.taskState == 0 || Screen.taskState == 2)
Screen.taskState = 1;
}
private void btn_stateDone_Click(object sender, EventArgs e)
{
if (Screen.taskState == 0 || Screen.taskState == 1)
Screen.taskState = 2;
}
private void btn_Remove_Click(object sender, EventArgs e)
{
Screen.removeTask = true;
}
}
}