Ejemplo n.º 1
0
 public static HostsWriter GetInstance()
 {
     if (HostsWriter.instance == null)
     {
         HostsWriter.instance = new HostsWriter();
     }
     return(HostsWriter.instance);
 }
Ejemplo n.º 2
0
 private void fooToolStripMenuItem_Click(object sender, EventArgs e)
 {
     //HostsWriter.GetInstance().AddEntry("123.123.123.123", "google.de", "#test");
     HostsWriter.GetInstance().CheckLastEntry();
 }
Ejemplo n.º 3
0
 public static HostsWriter GetInstance()
 {
     if (HostsWriter.instance == null)
         HostsWriter.instance = new HostsWriter();
     return HostsWriter.instance;
 }