コード例 #1
0
ファイル: Form.cs プロジェクト: m2pathan/SemantAPI
        public SemantAPIHuman(bool useDebugMode)
        {
            UseDebugMode = useDebugMode;
            InitializeComponent();

            IList <string> countries  = LocaleHelper.GetAllCountries();
            BindingSource  bindSource = new BindingSource();

            bindSource.DataSource                = countries;
            cbMechanicalTurkLocale.DataSource    = bindSource;
            cbMechanicalTurkLocale.SelectedIndex = -1;

            cbLanguage.SelectedIndex = 0;
            dtMechanicalTurk.Value   = DateTime.Now.AddDays(1);
        }