private void MainForm_Load(object sender, EventArgs e) { if (MainFormLoad != null) { MainFormLoad.Invoke(this, EventArgs.Empty); } }
private void MainForm_Load(object sender, EventArgs e) { MelodyThread = new Thread(new ThreadStart(Music.MissionImpossible)); MelodyThread.Start(); MainFormLoad?.Invoke(this, EventArgs.Empty); label1.Hide(); Registrator.Hide(); Doctor.Hide(); button3.Hide(); }
// // MainForm Events // private void MainForm_Load(object sender, EventArgs e) { MainFormLoad?.Invoke(this, EventArgs.Empty); }