-
Jsp_buy_computer
网上购物车,基本实现网上购物车 使用的框架是struts1(Online shopping cart, online shopping cart to use basically the framework is struts1)
- 2010-03-11 11:51:13下载
- 积分:1
-
GridViewTest
Android手机断的gridview应用模块。。。。。。。。。。(gridview app)
- 2014-10-15 13:15:29下载
- 积分:1
-
Repository模式的CRUD操作的MVC程序例子_7879993
Repository模式的CRUD操作的MVC程序例子_7879993 ASP.NET新技术的源代码 ,,,
- 2022-05-18 23:41:03下载
- 积分:1
-
单片机
单片机,基于1602的液晶屏显示代码+文本,详细版。
单片机,基于1602的液晶屏显示代码+文本,详细版。(Single chip microcomputer, based on the 1602 LCD screen display code + text, detailed version. Single chip microcomputer, based on the 1602 LCD screen display code + text, detailed version.
Singlechip)
- 2018-10-12 13:22:35下载
- 积分:1
-
在 Java 中问题 Programation
在 Java 中的基本练习与计算机系统类在大学 UVM 净豆 7.3.1 程序作出。
- 2022-09-05 17:30:03下载
- 积分:1
-
socket(1)
安卓手机 socket 编程(android phone socket)
- 2021-04-12 00:08:57下载
- 积分:1
-
Gover
智睿政府网站管理系统具有强大的系统功能,拥有视频展示、文章/新闻、图片/风光、资源下载、政务要闻、网上办事、问答/留言、友情链接、广告系统、自定义模型、等众多丰富的功能模型。
个人站长完全免费,用户可在官网下载,免费使用,免费升级,而不需要支付任何费用,请勿建站它用,请仔细查看用户许可协议,企事业单位、政务机关必须使用商业版。(Zhi Rui government website management system has the powerful system function, with a video display, article/news, pictures/scenery, download resources, chief news, online work, question and answer/message, links, advertising system, custom model, and many other rich function model.
Individual stationmaster is completely free, the user can in the official website download, free to use, free upgrades, and do not need to pay any fees, please do not site, please carefully check the user license agreement, enterprises, institutions, government organs must be using the commercial version.)
- 2016-08-04 12:14:53下载
- 积分:1
-
仿IOS 对话框
package com.zf.iosdialog.widget;import android.app.Dialog;import android.content.Context;import android.view.Display;import android.view.LayoutInflater;import android.view.View;import android.view.View.OnClickListener;import android.view.WindowManager;import android.widget.Button;import android.widget.FrameLayout;import android.widget.ImageView;import android.widget.LinearLayout;import android.widget.LinearLayout.LayoutParams;import android.widget.TextView;import com.zf.iosdialog.R;public class AlertDialog {private Context context;private Dialog dialog;private LinearLayout lLayout_bg;private TextView txt_title;private TextView txt_msg;private Button btn_neg;private Button btn_pos;private ImageView img_line;private Display display;private boolean showTitle = false;private boolean showMsg = false;private boolean showPosBtn = false;private boolean showNegBtn = false;public AlertDialog(Context context) {this.context = context;WindowManager windowManager = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE);display = windowManager.getDefaultDisplay();}public AlertDialog builder() {// 获取Dialog布局View view = LayoutInflater.from(context).inflate(R.layout.view_alertdialog, null);// 获取自定义Dialog布局中的控件lLayout_bg = (LinearLayout) view.findViewById(R.id.lLayout_bg);txt_title = (TextView) view.findViewById(R.id.txt_title);txt_title.setVisibility(View.GONE);txt_msg = (TextView) view.findViewById(R.id.txt_msg);txt_msg.setVisibility(View.GONE);btn_neg = (Button) view.findViewById(R.id.btn_neg);btn_neg.setVisibility(View.GONE);btn_pos = (Button) view.findViewById(R.id.btn_pos);btn_pos.setVisibility(View.GONE);img_line = (ImageView) view.findViewById(R.id.img_line);img_line.setVisibility(View.GONE);// 定义Dialog布局和参数dialog = new Dialog(context, R.style.AlertDialogStyle);dialog.setContentView(view);// 调整dialog背景大小lLayout_bg.setLayoutParams(new FrameLayout.LayoutParams((int) (display.getWidth() * 0.85), LayoutParams.WRAP_CONTENT));return this;}public AlertDialog setTitle(String title) {showTitle = true;if ("".equals(title)) {txt_title.setText("标题");} else {txt_title.setText(title);}return this;}public AlertDialog setMsg(String msg) {showMsg = true;if ("".equals(msg)) {txt_msg.setText("内容");} else {txt_msg.setText(msg);}return this;}public AlertDialog setCancelable(boolean cancel) {dialog.setCancelable(cancel);return this;}public AlertDialog setPositiveButton(String text,final OnClickListener listener) {showPosBtn = true;if ("".equals(text)) {btn_pos.setText("确定");} else {btn_pos.setText(text);}btn_pos.setOnClickListener(new OnClickListener() {@Overridepublic void onClick(View v) {listener.onClick(v);dialog.dismiss();}});return this;}public AlertDialog setNegativeButton(String text,final OnClickListener listener) {showNegBtn = true;if ("".equals(text)) {btn_neg.setText("取消");} else {btn_neg.setText(text);}btn_neg.setOnClickListener(new OnClickListener() {@Overridepublic void onClick(View v) {listener.onClick(v);dialog.dismiss();}});return this;}private void setLayout() {if (!showTitle && !showMsg) {txt_title.setText("提示");txt_title.setVisibility(View.VISIBLE);}if (showTitle) {txt_title.setVisibility(View.VISIBLE);}if (showMsg) {txt_msg.setVisibility(View.VISIBLE);}if (!showPosBtn && !showNegBtn) {btn_pos.setText("确定");btn_pos.setVisibility(View.VISIBLE);btn_pos.setBackgroundResource(R.drawable.alertdialog_single_selector);btn_pos.setOnClickListener(new OnClickListener() {@Overridepublic void onClick(View v) {dialog.dismiss();}});}if (showPosBtn && showNegBtn) {btn_pos.setVisibility(View.VISIBLE);btn_pos.setBackgroundResource(R.drawable.alertdialog_right_selector);btn_neg.setVisibility(View.VISIBLE);btn_neg.setBackgroundResource(R.drawable.alertdialog_left_selector);img_line.setVisibility(View.VISIBLE);}if (showPosBtn && !showNegBtn) {btn_pos.setVisibility(View.VISIBLE);btn_pos.setBackgroundResource(R.drawable.alertdialog_single_selector);}if (!showPosBtn && showNegBtn) {btn_neg.setVisibility(View.VISIBLE);btn_neg.setBackgroundResource(R.drawable.alertdialog_single_selector);}}public void show() {setLayout();dialog.show();}}
- 2015-01-03下载
- 积分:1
-
Simple Entry Staff
这是关于如何输入数据的源代码,工作人员与照片,并已登录到访问此管理局。
- 2022-01-25 19:34:07下载
- 积分:1
-
TestJdbc
Android 测试连接 SqlServer Oracle MySql例子(Android connect SqlServer Oracle MySql)
- 2015-01-21 15:44:25下载
- 积分:1