diff options
| author | Alex-TIMEHACK <[email protected]> | 2017-07-22 09:07:44 +0100 |
|---|---|---|
| committer | Alex-TIMEHACK <[email protected]> | 2017-07-22 09:07:44 +0100 |
| commit | 4db6df01a8ee3f40c13b67174c6acc498a060951 (patch) | |
| tree | 5dda5a9a784bf9875df29bd91ff5483e40fcca93 /TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/FRMWinClassicAddressBookNewContact.cs | |
| parent | 0fe1f13532c197c7c83df2e5b4903e9dfbbe1edd (diff) | |
| download | histacom2-4db6df01a8ee3f40c13b67174c6acc498a060951.tar.gz histacom2-4db6df01a8ee3f40c13b67174c6acc498a060951.tar.bz2 histacom2-4db6df01a8ee3f40c13b67174c6acc498a060951.zip | |
There is no Address Book in Windows 95
But there is one in Win98!
Diffstat (limited to 'TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/FRMWinClassicAddressBookNewContact.cs')
| -rw-r--r-- | TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/FRMWinClassicAddressBookNewContact.cs | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/FRMWinClassicAddressBookNewContact.cs b/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/FRMWinClassicAddressBookNewContact.cs deleted file mode 100644 index 482d54c..0000000 --- a/TimeHACK.Main/OS/Win95/Win95Apps/AddressBook/FRMWinClassicAddressBookNewContact.cs +++ /dev/null @@ -1,71 +0,0 @@ -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 TimeHACK.OS.Win95.Win95Apps -{ - public partial class FRMWinClassicAddressBookNewContact : UserControl - { - public AddressBookContact toSet = new AddressBookContact(); - public FRMWinClassicAddressBookNewContact() - { - InitializeComponent(); - Program.AddressBookSelectedContact = null; - } - - private void button2_Click(object sender, EventArgs e) - { - pnlAdd.Show(); - pnlAdd.BringToFront(); - } - - private void button1_Click(object sender, EventArgs e) - { - if (txtFirst.Text != "" && txtMiddle.Text != "" && txtLast.Text != "") - { - toSet.FirstName = txtFirst.Text; - toSet.MiddleName = txtMiddle.Text; - toSet.LastName = txtLast.Text; - - Program.AddressBookSelectedContact = toSet; - ((Form)this.TopLevelControl).Close(); - } else { - MessageBox.Show("Please fill out the First, Middle and Last name."); - } - } - - private void button4_Click(object sender, EventArgs e) - { - emails.Items.Add(textBox1.Text); - toSet.Emails.Add(textBox1.Text); - emails.BringToFront(); - } - - private void FRMWinClassicAddressBookNewContact_Load(object sender, EventArgs e) - { - if (toSet != null) - { - txtFirst.Text = toSet.FirstName; - txtMiddle.Text = toSet.MiddleName; - txtLast.Text = toSet.LastName; - if (toSet.Emails != null) - { - foreach (string email in toSet.Emails) - { - emails.Items.Add(email); - } - } - } else - { - MessageBox.Show("NULL CONTACT!"); - } - } - } -} |
