public t f_cre_kwj(t args) { //создаем клиента, подключаемся kwj = new t_kwj(new t() { {"josi_store", args["josi_store"]}, { "local_store", args["local_store"] } }); return new t(); }
public frm_conf() { InitializeComponent(); SaveFileDialog fsd = new SaveFileDialog(); if (using_store == "sqlite") { fsd.FileName = "kibicom_wd_josi.db"; fsd.ShowDialog(); } kwj_conf = new t_kwj(new t() { { "local_store", new t() { {"store_type", using_store}, { "sqlite_cli", new t() { {"file_name", fsd.FileName} } }, { "mssql_cli", new t() { {"server", "192.168.1.201"}, {"server_name", ""}, {"login", "sa"}, {"pass", "82757662=z"}, {"db_name", "kwj_test"} } } } } }); wd_josi_num = new t_wd_josi_num(new t() { {"josi_store", frm_helper.args["kwj"]["josi_store"]}, //{"josi_end_point_","https://192.168.1.139/webproj/git/kibicom_venta/index.php"}, //"josi_end_point","https://192.168.1.193/webproj/git/kibicom_venta/index.php"}, {"josi_end_point","http://kibicom.com/order_store_339/index.php"}, {"login_name","dnclive"}, {"req_timeout", 5000}, {"auth_try_count", 3}, {"pass","4947"}, //{"pass","135"}, { "f_done",new t_f<t,t>(delegate(t args1) { //MessageBox.Show("Залогинились..."); return new t(); }) }, { "f_fail",new t_f<t,t>(delegate(t args1) { MessageBox.Show("Войти не удалось"); return new t(); }) }, }); }