private void StartServer(String hostName, UInt16 hostPort) { tai = new Tefreeca_Admin_interface(); while (true) { Console.WriteLine("접속 중..."); tai.ConnectToServer(hostName, hostPort); if (!tai.is_connected()) { Console.WriteLine("접속 실패, 재시도합니다."); continue; } else { UI.set_label_delegate(lb_ip, hostName + " : " + hostPort.ToString()); Tefreeca_Admin_interface.Tefreeca_client_event += Eventer_Tefreeca_client_event; break; } } }
private void Tab_menu_SelectedIndexChanged(object sender, EventArgs e) //탭 메뉴가 바뀔때 마다 그부분을 저장한다. { Tefreeca_Admin_interface.Add_Command(Command_Client.Updated_current_View_page, ((TabControl)sender).SelectedIndex); }
private void btn_Account_Click(object sender, EventArgs e) { Tefreeca_Admin_interface.Add_Response(Command_Server.Update_Account_DB, null); }
private void button1_Click(object sender, EventArgs e) { Tefreeca_Admin_interface.Add_Response(Command_Server.Update_Proxy_DB, null); }