示例#1
0
        public MainWindow()
        {
            InitializeComponent();

            dataGrid.ItemsSource = targetFiles.ConvInfos;

            /* Setting */
            settingWindow = new SettingWindow(SetExePath, SetDeleteOriginalFile, SetQuantizerValue);
        }
示例#2
0
 void SetDeleteOriginalFile(SettingWindow settingWindow, bool isDeleteOriginalFile)
 {
     ConvertToBPG_Parallel.isDeleteOriginalFile = isDeleteOriginalFile;
     settingWindow.UpdateIsDeleteOriginalFile(isDeleteOriginalFile);
 }
示例#3
0
 void SetQuantizerValue(SettingWindow settingWindow, int quantizerValue)
 {
     ConvertToBPG_Parallel.quantizerValue = quantizerValue;
     settingWindow.UpdateQuantizerValue(quantizerValue);
 }
示例#4
0
 void SetExePath(SettingWindow settingWindow, string bpgencExePath)
 {
     settingWindow.UpdateBpgencExePath(bpgencExePath);
     ConvertToBPG.bpgencPath = bpgencExePath;
 }