Exemplo n.º 1
0
 private void initializeOverlay()
 {
     overlay = new ToastOverlay();
     overlay.initializeFormSettings(myOptions);
     this.LocationChanged += (sender, args) => overlay.Location = this.Location;
     this.Load            += (sender, args) =>
     {
         overlay.Visible = false;
         overlay.Show(this);
     };
 }
Exemplo n.º 2
0
 private void initializeOverlay()
 {
     overlay = new ToastOverlay();
     overlay.initializeFormSettings(myOptions);
     this.LocationChanged += delegate { overlay.Location = this.Location; };
     this.Load += delegate { overlay.Visible = false; overlay.Show(this); };
 }