コード例 #1
0
        private void btnGetCategories_Click(object sender, EventArgs e)
        {
            frmTwixlCategorySelector _frmTwixlCategorySelector = new frmTwixlCategorySelector();

            _twixlAPI = new TwixlAPI();

            int _issueid = 55071;

            _frmTwixlCategorySelector.cbCategories.Items.Clear();
            foreach (TwixlCategory cat in _twixlAPI._twixlCategories.categories)
            {
                _frmTwixlCategorySelector.cbCategories.Items.Add(cat.name, _twixlAPI.IsInCategory(_issueid, cat.id));
            }

            if (_frmTwixlCategorySelector.ShowDialog() == DialogResult.OK)
            {
            }

            if (_twixlAPI == null)
            {
                MessageBox.Show("Api ass net verbonn!");
                return;
            }
            //_twixlAPI.getCategories(_twixlAPIAppData);
        }
コード例 #2
0
 private void BtnLoadAppData_Click(object sender, EventArgs e)
 {
     //Load AppData
     _twixlAPI = new TwixlAPI();
     Console.WriteLine("");
 }