private MetroMessageBox(String contenuto, string titolo, MBX_Button pulsanti, bool showOnScreen) { InitializeComponent(); LoadFont(); Contenuto = contenuto; Pulsanti = pulsanti; Titolo = titolo; Risultato = MBS_Risultato.OK; ShowOnScreen = showOnScreen; _darkenScreen = new DarkenScreen(); _darkenScreen.ColoreOscurazione = HideFormColor; _darkenScreen.ShowOnScreen = ShowOnScreen; InitDimensioni(); InitPulsanti(); }
private void btn_No_Click(object sender, EventArgs e) { Risultato = MBS_Risultato.NO; Close(); }
private void btn_Annulla_Click(object sender, EventArgs e) { Risultato = MBS_Risultato.ANNULLA; Close(); }