コード例 #1
0
ファイル: HashCheckForm.cs プロジェクト: mengzhisuoliu/ShareX
        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();
        }