30 lines
637 B
C#
30 lines
637 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
using JR.Utils.GUI.Forms;
|
|
|
|
namespace TestFlexibleMessageBox
|
|
{
|
|
public partial class Form1 : Form
|
|
{
|
|
public Form1()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void button1_Click(object sender, EventArgs e)
|
|
{
|
|
string str = "Line 1";
|
|
for (int i = 2; i < 100; i++)
|
|
str += string.Format("\nLine {0}", i);
|
|
FlexibleMessageBox.Show(str, "A long List",MessageBoxButtons.OK,MessageBoxIcon.Information);
|
|
}
|
|
}
|
|
}
|