コード例 #1
0
ファイル: FileMarkerDialog.cs プロジェクト: jollywho/LFI
        public FileMarkerDialog(string path, FileNameFormat fn)
        {
            InitializeComponent();
            MainForm.Main.WindowState = FormWindowState.Normal;
            this.WindowState = MainForm.Main.WindowState;
            this.TopMost = MainForm.Main.TopMost;

            file = fn;
            fileformat = fn.Format;
            dirname = path;

            txtGroup.Text = fn.EstimateGroup();
            txtStart.Text = fn.EstimateEpisode();
            txtSeason.Text = fn.EstimateSeason();
            txtTitle.Text = fn.EstimateTitle();
        }
コード例 #2
0
        public FileMarkerDialog(string path, FileNameFormat fn)
        {
            InitializeComponent();
            MainForm.Main.WindowState = FormWindowState.Normal;
            this.WindowState          = MainForm.Main.WindowState;
            this.TopMost = MainForm.Main.TopMost;

            file       = fn;
            fileformat = fn.Format;
            dirname    = path;

            txtGroup.Text  = fn.EstimateGroup();
            txtStart.Text  = fn.EstimateEpisode();
            txtSeason.Text = fn.EstimateSeason();
            txtTitle.Text  = fn.EstimateTitle();
        }
コード例 #3
0
 private void LoadFormatFields()
 {
     if (!showFields || multiRun)
     {
         Console.WriteLine("----DENIED");
         return;
     }
     Console.WriteLine("----FORMATS");
     for (int i = 0; i < gvFiles.RowCount; i++)
     {
         if (!Directory.Exists(gvFiles.Rows[i].Cells[3].Value.ToString()))
         {
             FileNameFormat fn = new FileNameFormat(gvFiles.Rows[i].Cells[2].Value.ToString(), (EPFORMAT)ddFormat.SelectedValue);
             gvFiles.Rows[i].Cells[4].Value = fn.EstimateGroup();
             gvFiles.Rows[i].Cells[5].Value = fn.EstimateSeason();
             gvFiles.Rows[i].Cells[6].Value = fn.EstimateEpisode();
             gvFiles.Rows[i].Cells[7].Value = fn.EstimateCRC();
         }
     }
 }
コード例 #4
0
ファイル: folderView.cs プロジェクト: jollywho/LFI
 private void LoadFormatFields()
 {
     if (!showFields || multiRun)
     {
         Console.WriteLine("----DENIED");
         return;
     }
     Console.WriteLine("----FORMATS");
     for (int i = 0; i < gvFiles.RowCount; i++)
     {
         if (!Directory.Exists(gvFiles.Rows[i].Cells[3].Value.ToString()))
         {
             FileNameFormat fn = new FileNameFormat(gvFiles.Rows[i].Cells[2].Value.ToString(), (EPFORMAT)ddFormat.SelectedValue);
             gvFiles.Rows[i].Cells[4].Value = fn.EstimateGroup();
             gvFiles.Rows[i].Cells[5].Value = fn.EstimateSeason();
             gvFiles.Rows[i].Cells[6].Value = fn.EstimateEpisode();
             gvFiles.Rows[i].Cells[7].Value = fn.EstimateCRC();
         }
     }
 }