public static DialogResult Show(Form f)
        {
            var t = new Modal(f);

            return(t.ShowDialog());
            //t._show(f);
        }
        public static DialogResult ShowModal(string title, string message, bool showcancel = false)
        {
            var n = new Comformation();

            n.label_title.Text       = title;
            n.label_description.Text = message;
            n.button_cancel.Visible  = showcancel;
            var t = new Modal(n);

            return(t.ShowDialog());
        }
Exemple #3
0
        public static DialogResult ShowModal(this Form form)
        {
            var t = new Modal(form);

            return(t.ShowDialog());
        }