《小程序,巧应用:微信小程序开发实战》百度网盘pdf最新全集下载:
链接: https://pan.baidu.com/s/1QTAwr_RJ8k8slBqsa3UimQ
?pwd=dwrv 提取码: dwrv简介:本书系统全面地讲解微信小程序的开发技术。开篇创建一个小程序项目并解析体验,介绍如何由零开始创建一个小程序,全面体验小程序的开发工具、界面、开发框架、实现过程及其主要代码框架,了解小程序的应用场景及开发要求。接着介绍小程序开发基础,包括小程序开发的语言与语法、函数方法、模块、事件交互等。然后详细介绍了组件的应用与开发,包括开发过程与组件应用技巧,还详细分析了API接口,包括使用各个微信原生API接口进行小程序开发的技巧。后介绍了几个小程序实战案例,让读者实践小程序各项能力的应用及掌握一些应用技巧。本书结构清晰,由浅入深,可帮助读者快速掌握小程序项目的开发。
using Systemusing System.Collections.Generic
using System.ComponentModel
using System.Data
using System.Drawing
using System.Text
using System.Windows.Forms
namespace WindowsApplication1
{
public partial class FormQ : Form
{
public FormQ()
{
InitializeComponent()
}
private void textBox1_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyValue.ToString().Equals("13"))
{
switch (this.label1.Text)
{
case "question 1 ?":
this.label1.Text = "question 2 ?"
if (this.textBox1.Text.ToUpper().Equals("B"))
this.textBox2.Text = Convert.ToString(Convert.ToInt32(this.textBox2.Text) + 1)
else
this.textBox3.Text = Convert.ToString(Convert.ToInt32(this.textBox3.Text) + 1)
break
case "question 2 ?":
this.label1.Text = "question 3 ?"
if (this.textBox1.Text.ToUpper().Equals("D"))
this.textBox2.Text = Convert.ToString(Convert.ToInt32(this.textBox2.Text) + 1)
else
this.textBox3.Text = Convert.ToString(Convert.ToInt32(this.textBox3.Text) + 1)
break
case "question 3 ?":
this.label1.Text = "question 1 ?"
if (this.textBox1.Text.ToUpper().Equals("A"))
this.textBox2.Text = Convert.ToString(Convert.ToInt32(this.textBox2.Text) + 1)
else
this.textBox3.Text = Convert.ToString(Convert.ToInt32(this.textBox3.Text) + 1)
break
default:
this.label1.Text = "question 1 ?"
break
}
this.textBox1.Text = string.Empty
}
}
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing &&(components != null))
{
components.Dispose()
}
base.Dispose(disposing)
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.label1 = new System.Windows.Forms.Label()
this.textBox1 = new System.Windows.Forms.TextBox()
this.textBox2 = new System.Windows.Forms.TextBox()
this.textBox3 = new System.Windows.Forms.TextBox()
this.label2 = new System.Windows.Forms.Label()
this.label3 = new System.Windows.Forms.Label()
this.label4 = new System.Windows.Forms.Label()
this.label5 = new System.Windows.Forms.Label()
this.SuspendLayout()
//
// label1
//
this.label1.AutoSize = true
this.label1.Location = new System.Drawing.Point(30, 29)
this.label1.Name = "label1"
this.label1.Size = new System.Drawing.Size(77, 12)
this.label1.TabIndex = 0
this.label1.Text = "question 1 ?"
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(73, 69)
this.textBox1.Name = "textBox1"
this.textBox1.Size = new System.Drawing.Size(151, 21)
this.textBox1.TabIndex = 1
this.textBox1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox1_KeyDown)
//
// textBox2
//
this.textBox2.Location = new System.Drawing.Point(73, 115)
this.textBox2.Name = "textBox2"
this.textBox2.Size = new System.Drawing.Size(151, 21)
this.textBox2.TabIndex = 2
this.textBox2.Text = "0"
//
// textBox3
//
this.textBox3.Location = new System.Drawing.Point(73, 161)
this.textBox3.Name = "textBox3"
this.textBox3.Size = new System.Drawing.Size(151, 21)
this.textBox3.TabIndex = 3
this.textBox3.Text = "0"
//
// label2
//
this.label2.AutoSize = true
this.label2.Location = new System.Drawing.Point(26, 72)
this.label2.Name = "label2"
this.label2.Size = new System.Drawing.Size(29, 12)
this.label2.TabIndex = 4
this.label2.Text = "答案"
//
// label3
//
this.label3.AutoSize = true
this.label3.Location = new System.Drawing.Point(30, 118)
this.label3.Name = "label3"
this.label3.Size = new System.Drawing.Size(29, 12)
this.label3.TabIndex = 5
this.label3.Text = "正确"
//
// label4
//
this.label4.AutoSize = true
this.label4.Location = new System.Drawing.Point(30, 164)
this.label4.Name = "label4"
this.label4.Size = new System.Drawing.Size(29, 12)
this.label4.TabIndex = 6
this.label4.Text = "错误"
//
// label5
//
this.label5.AutoSize = true
this.label5.Location = new System.Drawing.Point(231, 72)
this.label5.Name = "label5"
this.label5.Size = new System.Drawing.Size(77, 12)
this.label5.TabIndex = 7
this.label5.Text = "回车提交答案"
//
// FormQ
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F)
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
this.ClientSize = new System.Drawing.Size(324, 230)
this.Controls.Add(this.label5)
this.Controls.Add(this.label4)
this.Controls.Add(this.label3)
this.Controls.Add(this.label2)
this.Controls.Add(this.textBox3)
this.Controls.Add(this.textBox2)
this.Controls.Add(this.textBox1)
this.Controls.Add(this.label1)
this.Name = "FormQ"
this.Text = "FormQ"
this.ResumeLayout(false)
this.PerformLayout()
}
#endregion
private System.Windows.Forms.Label label1
private System.Windows.Forms.TextBox textBox1
private System.Windows.Forms.TextBox textBox2
private System.Windows.Forms.TextBox textBox3
private System.Windows.Forms.Label label2
private System.Windows.Forms.Label label3
private System.Windows.Forms.Label label4
private System.Windows.Forms.Label label5
}
}
《全民q神边境王者》最新礼包兑换码2020:QMQS01ZD01ZD,礼包由全民q神边境王者手游免费提供,礼包真实有效!每个Id限领一次,领取后请及时兑换。
全民q神边境王者,QQ小程序和微信小程序中的q战游戏,有团队,高阶团队,赏金,高阶爆破,生化,狙战,手雷战,单挑等模式。只要下载微信就可以玩。玩家可以合成各种各样的q,打战队赛或者充钱可以领取点券,点券可以购买SS级q。
《全民q神边境王者》是一款好玩的3D竞技射击小游戏,玩法和画面类似CS。游戏采用实时对战模式,在规定时间内比较双方击杀数量。全3D建模画质逼真细腻,对网速和手机配置有一定要求。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)