抱歉问这个基本的语法,但是, [英] sorry to ask this basic syntax thing but,

查看:100
本文介绍了抱歉问这个基本的语法,但是,的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这段代码是什么意思?



私有System.Windows.Forms.Button button1;



private System.Windows.Forms.PictureBox pictureBox1;



看起来基本......因为无论怎么努力击中f12 ......导致这段代码。 ..

what does this code means?

private System.Windows.Forms.Button button1;
or
private System.Windows.Forms.PictureBox pictureBox1;

it seems basics.... because no matter how hard hitting f12... resulted in this code...

推荐答案

你很需要在C#上获取一本初学者书。



所有代码都有定义了两个变量button1和pictureBox1,它们可以包含对Button控件或PictureBox控件的引用。就是这样。



编程101.如果你认为你将通过大量的论坛帖子学习这些东西,那你就错了。获得一本书会更好。
You SERIOUSLY need to pickup a beginners book on C#.

All that code does is define two variables, button1 and pictureBox1, that CAN contain a reference to either a Button control or a PictureBox control. That's it.

The is programming 101. If you think you're going to learn this stuff through a ton of forum posts you're sadly mistaken. You will be much better served getting a book.


这篇关于抱歉问这个基本的语法,但是,的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆