forked from Ken98045/On-Guard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMMS-Helper.cs
89 lines (79 loc) · 3.14 KB
/
MMS-Helper.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
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 SAAI
{
/*
* Xfinity Mobile: [email protected] (SMS), [email protected] (MMS)
Virgin Mobile: [email protected] (SMS), [email protected] (MMS)
Tracfone: [email protected] (MMS)
Simple Mobile: [email protected] (SMS)
Mint Mobile: [email protected] (SMS)
Red Pocket: [email protected] (SMS)
Metro PCS: [email protected] (SMS & MMS)
Boost Mobile: [email protected] (SMS), [email protected] (MMS)
Cricket: [email protected] (SMS), [email protected] (MMS)
Republic Wireless: [email protected] (SMS)
Google Fi (Project Fi): [email protected] (SMS & MMS)
U.S. Cellular: [email protected] (SMS), [email protected] (MMS)
Ting: [email protected]
Consumer Cellular: [email protected]
C-Spire: [email protected]
Page Plus: [email protected]
*/
public partial class MMSHelper : Form
{
public string SelectedMMS = string.Empty;
public MMSHelper()
{
InitializeComponent();
string[][] numbers = new string[21][]
{
new string [] {"Verizon", "[email protected]"},
new string []{ "Xfinity Mobile", "[email protected]" },
new string []{ "Virgin Mobile", "[email protected]" },
new string []{ "Tracfone", "[email protected]" },
new string []{ "Simple Mobile", "[email protected]" },
new string []{ "Mint Mobile", "[email protected]" },
new string []{"Red Pocket", "[email protected]" },
new string []{"Boost Mobile", "[email protected]" },
new string []{"Cricket", "[email protected]" },
new string []{"Republic Wireless", "[email protected]" },
new string []{"Google Fi", "[email protected]" },
new string []{"U.S. Cellular", "[email protected]" },
new string []{"Ting", "[email protected]"},
new string []{"Consumer Cellular", "[email protected]" },
new string []{"C-Spire", "[email protected]" },
new string []{"Page Plus", "[email protected]" },
new string []{"TMobile", "[email protected]" },
new string[]{"AT&T", "[email protected]" },
new string[]{"Metro PCS", "[email protected]" },
new string[]{"Sprint", "[email protected]" },
new string[]{"Alltel", "[email protected] " }
};
foreach (var carrier in numbers)
{
ListViewItem item = new ListViewItem(carrier);
mmsListView.Items.Add(item);
}
}
private void OnActiveate(object sender, EventArgs e)
{
ListViewItem item = mmsListView.Items[mmsListView.SelectedIndices[0]];
SelectedMMS = item.SubItems[1].Text;
DialogResult = DialogResult.OK;
Close();
}
private void CancelButton_Click(object sender, EventArgs e)
{
DialogResult = DialogResult.Cancel;
Close();
}
}
}