public Form1() { InitializeComponent(); notifyIcon1.Visible = false; this.notifyIcon1.MouseDoubleClick += new MouseEventHandler(notifyIcon1_MouseDoubleClick); this.Resize += new System.EventHandler(this.Form1_Resize); SettingsPath = @"..\..\Data\settings.xml"; xd = XDocument.Load(SettingsPath); root = xd.Element("root"); if (root.Element("settings").Attribute("isOnAnnouncer").Value == "Checked") { announcer = true; } else { announcer = false; } FastAppForm fap = new FastAppForm(); fap.LoadBindList(); fap.StartApp(); }
private void FastAppButton_Click(object sender, EventArgs e) { FastAppForm faf = new FastAppForm(); faf.Show(); }