private void Button_Clicked_Month(object sender, EventArgs e) { /*21-02-13*/ html_addr HA = (html_addr)BindingContext; HA.html_png_parsing(jusik_code, Kind_Constants.kinds_month); }
public NextPage1(string jusik_code_) { InitializeComponent(); BindingContext = new html_addr(); ///*21-02-13*/ //html_addr HA = (html_addr)BindingContext; //HA.html_png_parsing("005380", Kind_Constants.kinds_day); str = jusik_code_; html_addr HA = (html_addr)BindingContext; HA.html_png_parsing(jusik_code_, Kind_Constants.kinds_day); }
//https://ssl.pstatic.net/imgfinance/chart/item/candle/day/005380.png private void Button_Clicked_Search(object sender, EventArgs e) { /*21-02-13*/ html_addr HA = (html_addr)BindingContext; StockCodeSearch codeSearch = new StockCodeSearch(); /*21-02-12*/ // enter 제거 (string.trim() -> 문자열 앞,뒤 공백 제거) if (String.IsNullOrEmpty(DATA.Text.Trim())) { EDI1.Text = "ERR"; return; } string search_data = DATA.Text.ToString().Trim(); EDI1.Text = ""; /*21-02-13*/ jusik_code = codeSearch.code_search(search_data); if (jusik_code.Equals("STOCK_CODE_ERROR")) //Err Finish { EDI1.Text = "ERR"; return; //finish } //Stock Image //Default Day HA.html_png_parsing(jusik_code, Kind_Constants.kinds_day); EDI1.Text = HA.html_data_parsing(jusik_code, ref stock, Kind_Constants.days_60, Kind_Constants.version_2); EDI1.Text += HA.html_data_parsing(jusik_code, ref stock, Kind_Constants.days_50, Kind_Constants.version_2); EDI1.Text += HA.html_data_parsing(jusik_code, ref stock, Kind_Constants.days_40, Kind_Constants.version_2); EDI1.Text += HA.html_data_parsing(jusik_code, ref stock, Kind_Constants.days_30, Kind_Constants.version_2); EDI1.Text += HA.html_data_parsing(jusik_code, ref stock, Kind_Constants.days_20, Kind_Constants.version_2); EDI1.Text += HA.html_data_parsing(jusik_code, ref stock, Kind_Constants.days_10, Kind_Constants.version_2); HA.html_data_parsing(jusik_code, ref stock, Kind_Constants.days_70, Kind_Constants.version_2); HA.html_data_parsing(jusik_code, ref stock, Kind_Constants.days_80, Kind_Constants.version_2); HA.html_data_parsing(jusik_code, ref stock, Kind_Constants.days_90, Kind_Constants.version_2); HA.html_data_parsing(jusik_code, ref stock, Kind_Constants.days_100, Kind_Constants.version_2); HA.html_data_parsing(jusik_code, ref stock, Kind_Constants.days_110, Kind_Constants.version_2); HA.html_data_parsing(jusik_code, ref stock, Kind_Constants.days_120, Kind_Constants.version_2); //SKPaint(Chart) // canvasView.InvalidateSurface(); AI_Learn_flg = true; chart_erase = true; }
private void nextButton_Clicked(object sender, EventArgs e) { html_addr HA = (html_addr)BindingContext; HA.html_png_parsing(str, Kind_Constants.kinds_day); }