public FluentDesignForm1() { InitializeComponent(); agility_parse ap = new agility_parse(); List <string> companyList = new List <string>(); companyList = ap.agility_funtion("https://www.bithumb.com/trade/order/BTC"); AddFavorite(accordionControlElement1, companyList); }
public Form1() { InitializeComponent(); agility_parse ap = new agility_parse(); List <string> companyList = new List <string>(); string str = ""; str = ap.GetCompanyDetails("https://www.bithumb.com/trade/order/BTC"); // listBox1.DataSource = str; str = str.Replace("\n", "/"); var split_str = str.Split('/'); label1.Text = split_str[2].Trim(); }
private void AccordionControlElements_Click(object sender, EventArgs e) { var tile = (DevExpress.XtraBars.Navigation.AccordionControlElement)sender; var name = tile.Text; var split_str = name.Split('/'); var companyName = split_str[0].Trim(); string url = "https://www.bithumb.com/trade/order/" + companyName; agility_parse ap = new agility_parse(); label1.Text = ap.GetCompanyDetails(url); while (true) { getAPIData(companyName); } }