11.11我来爆我的女朋友
来源:互联网 发布:nginx error log 格式 编辑:程序博客网 时间:2024/05/01 09:30
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;namespace GF{ public partial class Form1 : Form { public Form1() { InitializeComponent(); } GirlFriend MyGirlFriend; public class GirlFriend//对象 { public string NAME; public double hight; public double weight; public 三维 sanwei; public string appointment() { return "Let's eat something"; } public string kiss() { return "muma~muma~muma~"; } public string papapa() { return "o~o~o~a~a~a~"; } void GirlFriend(string name, double h, double w, 三维 s) { this.NAME = name; this.sanwei = s; this.weight = w; this.hight = h; } } //三维 public struct 三维 { public string 胸围; public string 腰围; public string 臀围; } //事件 private void btnadd_Click(object sender, EventArgs e) { MyGirlFriend = new GirlFriend(); 三维 s = new 三维(); s.臀围 = "can look is OK"; s.胸围="can look is OK"; s.腰围="can look is OK"; } private void btnyh_Click(object sender, EventArgs e) { label3.Text = MyGirlFriend.appointment(); } private void btnkis_Click(object sender, EventArgs e) { label3.Text = MyGirlFriend.kiss(); } private void btnpa_Click(object sender, EventArgs e) { label3.Text = MyGirlFriend.papapa(); } }}