using System; using System.ComponentModel; using System.Drawing; using System.Windows.Forms; using iMonitorApp.Properties; namespace iMonitorApp { // Token: 0x0200001B RID: 27 public partial class Options : Form { // Token: 0x060000C3 RID: 195 RVA: 0x00008494 File Offset: 0x00006694 public Options() { this.InitializeComponent(); this.tb_phoneport.Text = Settings.Default.PhonePort.ToString(); this.tb_emailport.Text = Settings.Default.EmailPort.ToString(); this.tb_maindb.Text = Settings.Default.MainDatabase; this.tb_intradaydb.Text = Settings.Default.IntradayDatabase; this.lbl_currentIP.Text = Settings.Default.CurrentIP; this.tb_backuplimit.Text = Settings.Default.BackupCount.ToString(); } // Token: 0x060000C4 RID: 196 RVA: 0x00008554 File Offset: 0x00006754 private void button1_Click(object sender, EventArgs e) { try { Settings.Default.PhonePort = Convert.ToInt32(this.tb_phoneport.Text); Settings.Default.EmailPort = Convert.ToInt32(this.tb_emailport.Text); Settings.Default.MainDatabase = this.tb_maindb.Text; Settings.Default.IntradayDatabase = this.tb_intradaydb.Text; Settings.Default.BackupCount = Convert.ToInt32(this.tb_backuplimit.Text); Settings.Default.Save(); } catch (Exception ex) { MessageBox.Show(ex.Message); } MessageBox.Show("Saved"); base.Close(); } // Token: 0x060000C5 RID: 197 RVA: 0x00008624 File Offset: 0x00006824 private void button2_Click(object sender, EventArgs e) { base.Close(); } // Token: 0x060000C6 RID: 198 RVA: 0x00008630 File Offset: 0x00006830 private void button3_Click(object sender, EventArgs e) { try { } catch { MessageBox.Show("Error connecting to skype. Please contact Manas."); } } } }