目前分類:未分類文章 (18)

瀏覽方式: 標題列表 簡短摘要

逢甲大學  許志宇 老師

http://tccnchsu.blogspot.tw/

a0930063623 發表在 痞客邦 留言(0) 人氣()

創造成功奇蹟八大關建  梁凱恩 老師  演講

https://www.youtube.com/watch?v=Ynrj6eUEqAQ

a0930063623 發表在 痞客邦 留言(0) 人氣()

0410001  

import java.awt.*;

a0930063623 發表在 痞客邦 留言(0) 人氣()

class test
{

a0930063623 發表在 痞客邦 留言(0) 人氣()

0320001

java  

a0930063623 發表在 痞客邦 留言(0) 人氣()

<html>
<head>
<title> The First Example: Hello, World </title>
</head>
<body>
<h2> This line is HTML </h2>

<script language="JavaScript">
<!--
document.write("Hello.陳俊佑 World.This sentence is written using JavaScript.");
// Text on the right of 2 slashes is comment
/* This is comment
that occur more than 1 line
*/
//-->
</script>
<noscript>
Sorry, but your browser doesn't run JavaScript.
</noscript>

<h2> This line is HTML </h2>
</body>
</html>01111111  


a0930063623 發表在 痞客邦 留言(0) 人氣()

class Test
{
public static void main(String[] args)
{
System.out.println("_____*_____");
System.out.println("____***____");
System.out.println("___*****___");
System.out.println("__*******__");
System.out.println("_____*_____");
System.out.println("_____*_____");
}


a0930063623 發表在 痞客邦 留言(0) 人氣()

未命名  

using System;

a0930063623 發表在 痞客邦 留言(0) 人氣()

[VB] 建置9格數字經由按鈕觸發打亂數字


 

a0930063623 發表在 痞客邦 留言(0) 人氣()

1417157386-2753316172_n  

Private Sub CommandButton1_Click()

a0930063623 發表在 痞客邦 留言(0) 人氣()

10517532_985433801473418_6811056821801603129_n

 10686737_985433384806793_6681232654538045225_n  

a0930063623 發表在 痞客邦 留言(0) 人氣()

10301304_976212125728919_4547780257398149311_n  

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;

a0930063623 發表在 痞客邦 留言(0) 人氣()

1901463_971592982857500_5207217161816687978_n

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;

a0930063623 發表在 痞客邦 留言(0) 人氣()

10710658_971575109525954_6288906228377483366_n  

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;

a0930063623 發表在 痞客邦 留言(0) 人氣()

『目標』假設一button為車子,藉由按鍵觸發使其左右移動

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
int c;
int d = 1;
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
}
private void button2_Click(object sender, EventArgs e)
{
button1.Left = 100*c;
if(button1.Left>460)
{
d = -1;
}
if (button1.Left < 0)
{
d = 1;
}
c = c + d;
}
}
}

a0930063623 發表在 痞客邦 留言(0) 人氣()

『目標』建立紅綠燈燈號轉換功能,藉由按鍵觸發開關1417793650-86234926_n

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
int c, r;
public Form1()
{
InitializeComponent();
c = 0;
}
private void button2_Click(object sender, EventArgs e)
{
c = c + 1;
r = c % 3;
label1.Text = "r=" + r;
if (r == 0)
{
button1.Location = new Point(0, 0);
button2.BackColor = Color.Black;
}
if (r == 1)
{
button1.Location = new Point(0, 0);
button2.BackColor = Color.Black;
}
else
{
button1.Location = new Point(100, 0);
button2.BackColor = Color.Yellow;
}
}
private void button3_Click(object sender, EventArgs e)
{
c = c + 1;
r = c % 3;
label1.Text = "r=" + r;
if (r == 0)
{
button1.Location = new Point(0, 0);
button3.BackColor = Color.Black;
}
if (r == 1)
{
button1.Location = new Point(0, 0);
button3.BackColor = Color.Red;
}
else
{
button1.Location = new Point(100, 0);
button3.BackColor = Color.Black;
}
}
private void timer1_Tick(object sender, EventArgs e)
{
c = c + 1;
r = c % 3;
label1.Text = "r=" + r;
if (r >= 1)
{
button3.BackColor = Color.Black;
button4.BackColor = Color.Yellow;
button5.BackColor = Color.Black;
if (r == 2)
{
button3.BackColor = Color.Red;
button4.BackColor = Color.Black;
button5.BackColor = Color.Black;
}
}
else
{
button3.BackColor = Color.Black;
button4.BackColor = Color.Black;
button5.BackColor = Color.Green;
}
}
}
}  

a0930063623 發表在 痞客邦 留言(0) 人氣()

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
int c;
int d = 1;
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
}
private void button2_Click(object sender, EventArgs e)
{
button1.Left = 100*c;
if(button1.Left>460)
{
d = -1;
}
if (button1.Left < 0)
{
d = 1;
}
c = c + d;
}
}
}


a0930063623 發表在 痞客邦 留言(0) 人氣()

10665251_949319611751504_3469542894815558548_n  10473364_949319615084837_4574338188718061906_n  


a0930063623 發表在 痞客邦 留言(0) 人氣()