Пример #1
0
 //------------------------------------------------------------
 private void chkPath()
 {
     cmbPath.Items.Clear();
     string[] lst = AE.getAerender();
     if (lst.Length > 0)
     {
         for (int i = 0; i < lst.Length; i++)
         {
             cmbPath.Items.Add(lst[i]);
         }
     }
 }
Пример #2
0
 //----------------------------------------------------------------------
 public MainForm()
 {
     bakFile  = Path.ChangeExtension(Application.ExecutablePath, ".bakup");
     prefFile = Path.ChangeExtension(Application.ExecutablePath, ".pref");
     InitializeComponent();
     aerenderOptBox1.loadPref();
     PrefLoad();
     //aerenderListbox1.loadList(bakFile);
     if (aerenderListbox1.aerenderPath == "")
     {
         string[] sa = AE.getAerender();
         if (sa.Length <= 0)
         {
             MessageBox.Show("環境設定でaerender.exeの場所を指定して下さい。");
         }
         else
         {
             aerenderListbox1.aerenderPath = sa[0];
         }
     }
     OpenFiles(System.Environment.GetCommandLineArgs(), true);
 }