public HashCheckForm() { InitializeComponent(); ShareXResources.ApplyTheme(this); UpdateCompareControls(); cbHashType.Items.AddRange(Helpers.GetEnumDescriptions <HashType>()); cbHashType.SelectedIndex = (int)HashType.SHA256; hashCheck = new HashCheck(); hashCheck.FileCheckProgressChanged += fileCheck_FileCheckProgressChanged; translator = new Translator(); txtResult.SupportSelectAll(); txtTarget.SupportSelectAll(); }