Пример #1
0
 private void ListTest_Load(object sender, EventArgs e)
 {
     try
     {
         for (int count = 1; count <= 3999; count++)
         {
             string a = count + " = " + NumberConversion.ArabicToRoman(count) + "." + Environment.NewLine;
             lbOutput.Items.Add(a);
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }