软件开发环境与工具实验报告Word格式文档下载.docx
- 文档编号:21256375
- 上传时间:2023-01-28
- 格式:DOCX
- 页数:42
- 大小:570.07KB
软件开发环境与工具实验报告Word格式文档下载.docx
《软件开发环境与工具实验报告Word格式文档下载.docx》由会员分享,可在线阅读,更多相关《软件开发环境与工具实验报告Word格式文档下载.docx(42页珍藏版)》请在冰豆网上搜索。
并完成实验内容。
心得体会
通过本次实验学会使用分析与设计工具PowerDesigner的使用,了解CDM和PDM的主要设计元素和设计过程,熟悉了模型转换工具的使用。
了解了设计报告的生成方法。
实验二利用Axure制作网页原型
安装Axure,熟悉Axure的开发环境与主要功能。
熟练掌握Axure页面设计常用组件、页面间跳转、变量设置、动态面板等用法。
设计实现如下所示的XX主界面原型
图2-1XX首页
设计实现教务系统中系统登录、主界面、查询等页面原型
图2-2系统登录页面
图2-3系统主页面
图2-4查询页面
1、安装Axure
2、熟悉Axure开发环境
3、熟悉常用组件
1、
<
html>
<
head>
title>
XX一下<
/title>
/head>
body>
tableborder="
0px"
cellspacing="
0"
width="
100%"
>
tr>
tdalign="
center"
>
imgsrc="
baidu_sylogo1.gif"
/>
/td>
/tr>
ahref="
#"
新闻<
/a>
&
nbsp;
网页<
贴吧<
知道<
mp3<
图片<
视频<
地图<
inputtype="
text"
style="
width:
380px"
/>
button"
value="
XX一下"
br/>
百科<
文库<
hao123<
|&
更多>
fontsize="
-1"
把XX设置为主页<
把XX添加到桌面<
/font>
br/>
加入XX推广<
搜索风云榜<
关注XX<
AboutBaidu<
color="
#7777cc"
&
copy;
2012baidu使用XX必读京IPC证030173号
/table>
/body>
/html>
2、第一个页面:
%@PageLanguage="
C#"
AutoEventWireup="
true"
CodeFile="
Default.aspx.cs"
Inherits="
_Default"
%>
!
DOCTYPEhtmlPUBLIC"
-//W3C//DTDXHTML1.0Transitional//EN"
"
http:
//www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
htmlxmlns="
//www.w3.org/1999/xhtml"
headrunat="
server"
metahttp-equiv="
Content-Type"
content="
text/html;
charset=utf-8"
URP综合教务系统-登陆<
styletype="
text/css"
.auto-style2{
width:
442px;
}
.auto-style3{
height:
236px;
/style>
formid="
form1"
runat="
div>
tablealign="
border="
bgcolor="
white"
frame="
above"
border-style:
solidinsetsolidsolid;
border-width:
thin;
border-top-color:
#000000;
border-right-color:
padding:
inherit;
margin-top:
line-height:
visibility:
overflow:
auto;
position:
inherit"
#F4FFF4"
void"
groove;
thin"
tdclass="
auto-style2"
asp:
LabelID="
Label1"
Text="
URP"
Font-Bold="
True"
Font-Italic="
Font-Names="
ArialBlack"
Font-Overline="
False"
Font-Size="
Large"
Font-Strikeout="
ForeColor="
#66CCFF"
/asp:
Label>
Label2"
综合教务系统"
微软雅黑"
#0066CC"
Label3"
提供全新教务管理方案"
幼圆"
X-Small"
trbgcolor="
#3366FF"
height="
5"
opx"
#cee7ff"
height:
242px"
dir="
ltr"
class="
auto-style3"
Label4"
欢迎来到URP综合教务系统,请输入您的账号和密码"
Small"
#000066"
Label5"
账号:
"
Black"
TextBoxID="
TextBox1"
Width="
238px"
TextBox>
Label6"
密码:
TextBox2"
ButtonID="
Button1"
登陆"
#003366"
BackColor="
White"
Button2"
重设"
Label9"
350px"
Label8"
Height="
15px"
版本号1.3_8"
65px"
30"
Label7"
太原理工大学教务处"
/div>
/form>
在做教务系统的第一个页面的时候,由于整体属性是居中的,导致版本号1.3-8一直在中间显示,无法显示到右下角,最后只能通过在这个之前增加了一个label并将text设置为空。
不会做圆弧的框框。
经过这次实验,第一次看到自己做的网页,感受到了制作网页的乐趣,每做完一个都觉得很有成就感。
这次实验加强了我的动手能力,也加深了对visualstudio以及各个属性的了解。
在以后的学习中,我一定会勤加练习,学好这门技术。
实验三:
搭建VisualStudio开发环境,设计Windows控制台应用程序
安装VisualStudio2010,熟悉VisualStudio2010开发环境。
熟练掌握C#的语法、语句结构,并能进行控制台应用程序的编写。
1.编写控制台程序:
输入矩形的长和宽,输出矩形的面积和周长。
2.编写控制台应用程序,输入正整数n,输出s=1+(1+2)+(1+2+3)+…+(1+2+3+…+n)的计算结果。
3.编写控制台应用程序,输出所有这样的三位数:
这个三位数本身恰好等于其每个数字的立方和(例153=13+53+33)。
1.安装VisualStudio2010。
2.熟悉掌握C#的语法、语句结构。
3.掌握控制台应用程序的设计方法。
usingSystem;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Text;
namespaceRectangle
{
classProgram
{
staticvoidMain(string[]args)
doublelength=10,width=20;
doublearea=length*width;
doubleperimeter=2*(length+width);
Console.WriteLine("
矩形的长为:
+length);
矩形的宽为:
+width);
矩形的面积为:
+area);
矩形的周长为:
+perimeter);
}
2、
namespaceSum
inta,b,c;
for(a=1;
a<
10;
a++)
for(b=0;
b<
b++)
for(c=0;
c<
c++)
if(a*100+b*10+c==a*a*a+b*b*b+c*c*c)
这个数为:
+(a*100+b*10+c));
3、
namespaceCount
intk=0,n=9,s=0;
for(inti=1;
i<
=n;
i++)
k+=i;
s+=k;
n的值为:
+n);
s=1+(1+2)+(1+2+3)+…+(1+2+3+…+n)="
+s);
这个实验涉及到的编程比之前的要简单很多,基本没有什么大问题,在循环嵌套的时候,由于一些简单的语法错误导致没有得到想要的结果,经过修改之后,都可以正常的运行。
按下启动键的时候结果总是一闪而过,上网查找之后发现按下F5+启动键可以是结果停留。
经过这个实验,巩固了以前的一些知识,让我加深了对理论知识的理解,同时发现自己依然存在着粗心的毛病。
一些细节的失误在软件中是很严重的,需要花很多精力去查找,所以在以后的学习与实践中,要尽量避免出现一些不应该有的失误。
减少不必要的麻烦。
实验四:
掌握在VisualStudio2010中进行WindowsForm应用程序的设计方法
熟悉利用C#进行Windows窗体应用程序的设计方法,了解Windows窗体应用程序的组成。
QQApp
1.熟练掌握C#窗体和各种常用控件的属性、方法和事件。
2.掌握C#中使用各种常用控件设计界面的方法。
3.掌握C#中窗体事件处理机制。
Login.cs
usingSystem.ComponentModel;
usingSystem.Data;
usingSystem.Drawing;
usingSystem.Windows.Forms;
usingQQClassLibrary;
namespaceQQApp
publicpartialclassLogin:
Form
privateUseruser=newUser();
publicLogin()
InitializeComponent();
privatevoidbtnLogin_Click(objectsender,EventArgse)
stringqqcode=cmbUsername.Text;
stringpwd=txtpassword.Text;
user.QQ_Login(qqcode,pwd);
Login.Designer.cs
partialclassLogin
privateSystem.ComponentModel.IContainercomponents=null;
protectedoverridevoidDispose(booldisposing)
if(disposing&
(components!
=null))
components.Dispose();
base.Dispose(disposing);
privatevoidInitializeComponent()
this.label1=newSystem.Windows.Forms.Label();
this.label2=newSystem.Windows.Forms.Label();
this.txtpassword=newSystem.Windows.Forms.TextBox();
this.btnLogin=newSystem.Windows.Forms.Button();
this.btnExit=newSystem.Windows.Forms.Button();
this.checkedListBox1=newSystem.Windows.Forms.CheckedListBox();
this.lnkRegister=newSystem.Windows.Forms.LinkLabel();
this.cmbUsername=newSystem.Windows.Forms.ComboBox();
this.SuspendLayout();
this.label1.AutoSize=true;
this.label1.Location=newSystem.Drawing.Point(37,30);
this.label1.Name="
label1"
;
this.label1.Size=newSystem.Drawing.Size(29,12);
this.label1.TabIndex=0;
this.label1.Text="
账号"
this.label2.AutoSize=true;
this.label2.Location=newSystem.Drawing.Point(37,60);
this.label2.Name="
label2"
this.label2.Size=new
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 软件 开发 环境 工具 实验 报告