Exemplo n.º 1
0
 private void FileUtilityForm_Shown(object sender, EventArgs e)
 {
     FormShown?.Invoke(this, EventArgs.Empty);
 }
Exemplo n.º 2
0
 public static void Watch(Form form)
 {
     form.Shown  += (sender, e) => { OpenForms++; FormShown?.Invoke(sender, e); };
     form.Closed += (sender, e) => { OpenForms--; FormClosed?.Invoke(sender, e); };
 }
Exemplo n.º 3
0
 private void MainForm_Shown(object sender, EventArgs e)
 {
     FormShown?.Invoke(this, EventArgs.Empty);
 }