public static DialogResult Show(String msg, int but_count)
 {
     msgbox = new Dialog_MyMessageBox();
     msgbox.label_mymessage.Text = msg;
     prepareButtons(but_count);
     msgbox.ShowDialog();
     return(result);
 }
        public static DialogResult Show(String msg, int but_count, string backColor)
        {
            msgbox = new Dialog_MyMessageBox();
            Placement_Application.Components.Resolution res = new Placement_Application.Components.Resolution();
            res.ResizeForm(msgbox, Common.dialog_height, Common.dialog_width);

            msgbox.BackColor            = Utility.getColorFromHex(backColor);
            msgbox.Opacity              = Common.dialogOpacity;
            msgbox.label_mymessage.Text = msg;
            prepareButtons(but_count);
            msgbox.ShowDialog();
            return(result);
        }