public static Trayicon Instance() { if (instance == null) { instance = new Trayicon(); } return(instance); return(null); }
public MainWindow() { Trayicon.Instance(); InitializeComponent(); }