예제 #1
0
        public static DialogResult Show(string string_0)
        {
            MsgBoxInfo info = new MsgBoxInfo {
                Text = string_0
            };
            MessageBoxST xst = new MessageBoxST(info);

            return(xst.ShowDialog());
        }
예제 #2
0
        public static DialogResult Show(string string_0, string string_1, MessageBoxButtons messageBoxButtons_0)
        {
            MsgBoxInfo info = new MsgBoxInfo {
                Text             = string_0,
                Caption          = string_1,
                MessageBoxButton = messageBoxButtons_0
            };
            MessageBoxST xst = new MessageBoxST(info);

            return(xst.ShowDialog());
        }