Commit for development environment setup
This commit is contained in:
29
PROMS/TestFlexibleMessageBox/Form1.cs
Normal file
29
PROMS/TestFlexibleMessageBox/Form1.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user