コード例 #1
0
 public Form1()
 {
     InitializeComponent();
     try {
         ProcessOrders p = new ProcessOrders();
         p.EncryptConfigSection("appSettings");
         p.EncryptConfigSection("connectionStrings");
     } catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }