コード例 #1
0
 public WinFilePermutation(IPermutationGeneratorService permutationGeneratorService)
 {
     this.permutationGeneratorService = permutationGeneratorService;
     InitializeComponent();
     Icon = Resources.Sound;
     _btnPermute.Enabled = false;
     _nudItems.Value = 1024; /*Number of items to copy*/
 }
コード例 #2
0
 public WinFilePermutation(IPermutationGeneratorService permutationGeneratorService)
 {
     this.permutationGeneratorService = permutationGeneratorService;
     InitializeComponent();
     Icon = Resources.Sound;
     _btnPermute.Enabled = false;
     _nudItems.Value     = 1024; /*Number of items to copy*/
 }
コード例 #3
0
 public WinPermGenerator(IPermutationGeneratorService permutationGeneratorService)
 {
     this.permutationGeneratorService = permutationGeneratorService;
     InitializeComponent();
     Icon = Resources.Sound;
     _nudLTables.Value = hashTables; /*20 hash tables*/
     _nudKeys.Value = keysPerTale; /*4-5 keys per table*/
     _nudFrom.Value = @from; /*0*/
     _nudTo.Value = to; /*8192*/
     _nudPermsCount.Value = hashTables*keysPerTale; /*100*/
     _pbProgress.Visible = false;
     _btnSv.Enabled = false;
     _cbmAlgorithm.SelectedIndex = 3; /*Conservative*/
 }
コード例 #4
0
 public WinPermGenerator(IPermutationGeneratorService permutationGeneratorService)
 {
     this.permutationGeneratorService = permutationGeneratorService;
     InitializeComponent();
     Icon = Resources.Sound;
     _nudLTables.Value           = hashTables;               /*20 hash tables*/
     _nudKeys.Value              = keysPerTale;              /*4-5 keys per table*/
     _nudFrom.Value              = @from;                    /*0*/
     _nudTo.Value                = to;                       /*8192*/
     _nudPermsCount.Value        = hashTables * keysPerTale; /*100*/
     _pbProgress.Visible         = false;
     _btnSv.Enabled              = false;
     _cbmAlgorithm.SelectedIndex = 3; /*Conservative*/
 }
コード例 #5
0
 public WinMain()
 {
     InitializeComponent();
     Icon                        = Resources.Sound;
     audioService                = new NAudioService();
     modelService                = new SqlModelService();
     playAudioFileService        = new NAudioPlayAudioFileService();
     fingerprintCommandBuilder   = new FingerprintCommandBuilder();
     queryCommandBuilder         = new QueryCommandBuilder();
     tagService                  = new BassTagService();
     permutationGeneratorService = new PermutationGeneratorService();
     spectrumService             = new SpectrumService();
     imageService                = new ImageService();
 }
コード例 #6
0
 public WinMain()
 {
     InitializeComponent();
     Icon = Resources.Sound;
     audioService = new NAudioService();
     modelService = new SqlModelService();
     playAudioFileService = new NAudioPlayAudioFileService();
     fingerprintCommandBuilder = new FingerprintCommandBuilder();
     queryCommandBuilder = new QueryCommandBuilder();
     tagService = new BassTagService();
     permutationGeneratorService = new PermutationGeneratorService();
     spectrumService = new SpectrumService();
     imageService = new ImageService();
 }