-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathtabMessages.cs
61 lines (49 loc) · 1.42 KB
/
tabMessages.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
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SOCIAL_APP_BUNIFU_FRAMEWORK_DEMO
{
public partial class tabMessages : UserControl
{
public tabMessages()
{
if(Program.IsInDesignMode())
{
return;
}
InitializeComponent();
}
private void btnEditPhoto_Click(object sender, EventArgs e)
{
}
private void btnMailItem1_Click(object sender, EventArgs e)
{
resetIndicator();
bunifuTransition1.HideSync(pnlMsgContainer);
btnMailItem item = ((btnMailItem)sender);
item.Active = true;
lblFirstName.Text = item.FirstName;
lblEmail.Text = item.Email;
lblSubject.Text = item.Subject;
lblBody.Text = item.Body + "\n\n" + item.FirstName +"\n"+item.Email;
bunifuTransition1.ShowSync(pnlMsgContainer);
}
void resetIndicator()
{
foreach (Control item in panel1.Controls)
{
btnMailItem curitem = ((btnMailItem)item);
curitem.Active = false;
}
}
private void tabMessages_Load(object sender, EventArgs e)
{
}
}
}