Ejemplo n.º 1
0
 public static void DeleteDirectoryException(Exception ex, string title = "Hold On", MessageBoxButtons buttons = MessageBoxButtons.OK, MessageBoxIcon icon = MessageBoxIcon.Error)
 {
     MessageBoxAdv.Show("An error occured while deleting the folder. \n \n Error: " + ex.Message, title, buttons, icon);
 }
Ejemplo n.º 2
0
 public static DialogResult ShowInformation(string info, string title = "Info", MessageBoxButtons buttons = MessageBoxButtons.OK, MessageBoxIcon icon = MessageBoxIcon.Information)
 {
     return(MessageBoxAdv.Show(info, title, buttons, icon));
 }
Ejemplo n.º 3
0
 public static DialogResult ShowQuestion(string question, string title = "Hold On", MessageBoxButtons buttons = MessageBoxButtons.YesNo, MessageBoxIcon icon = MessageBoxIcon.Question)
 {
     return(MessageBoxAdv.Show(question, title, buttons, icon));
 }
Ejemplo n.º 4
0
 public static DialogResult ShowError(string error, string title = "Hold On", MessageBoxButtons buttons = MessageBoxButtons.OK, MessageBoxIcon icon = MessageBoxIcon.Error)
 {
     return(MessageBoxAdv.Show(error, title, buttons, icon));
 }
Ejemplo n.º 5
0
 public static void SaveFileException(Exception ex, string title = "Hold On", MessageBoxButtons buttons = MessageBoxButtons.OK, MessageBoxIcon icon = MessageBoxIcon.Error)
 {
     MessageBoxAdv.Show("An error occured while saving the file. \n \n Error: " + ex.Message, title, buttons, icon);
 }