private void BtnCreateAssets_Click(object sender, EventArgs e)
 {
     if (File.Exists(txtImagePath.Text))
     {
         AssetsCreator.Create(txtImagePath.Text);
     }
 }
Exemple #2
0
 static void Main(string[] args)
 {
     if (args != null && args.Any())
     {
         //Opend From Windows Context Menu
         AssetsCreator.Create(args[0]);
     }
     else
     {
         Application.EnableVisualStyles();
         Application.SetCompatibleTextRenderingDefault(false);
         Application.Run(new Main());
     }
 }