예제 #1
0
 private void AddAssetToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (AddAssetFrm addAssetFrm = new AddAssetFrm())
     {
         addAssetFrm.ShowDialog();
     }
 }
예제 #2
0
 private void AddAssetToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (AddAssetFrm addAssetFrm = new AddAssetFrm())
     {
         if (addAssetFrm.ShowDialog() != DialogResult.OK)
         {
             return;
         }
         panel4.Controls.Clear();
         foreach (string asset in Settings.Default.NEP5Watched.OfType <string>().ToArray())
         {
             RefreshAsset(asset);
         }
     }
 }