Esempio 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);
     };
 }
Esempio n. 2
0
 private void onOptionsClosed(object sender, EventArgs e)
 {
     initializeFromSettings();
     overlay.initializeFormSettings(myOptions);
 }
Esempio n. 3
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); };
 }