逢甲大學  許志宇 老師
http://tccnchsu.blogspot.tw/

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

創造成功奇蹟八大關建  梁凱恩 老師  演講
https://www.youtube.com/watch?v=Ynrj6eUEqAQ
 
 

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

0410001
 
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
class Test
{

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

class test
{
public static void main(String[] args)
{
;
}
}
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;

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

0320001

java  
public class Loop1to10 {
public static void main(String[] args) {
for(int i = 1; i < 11; i++)
System.out.print(i + " ");
}

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

01111111
<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>  

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;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

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

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


 
Private Sub CommandButton1_Click()
For i = 1 To 9
Cells(1, i) = i
Cells(1, i).Font.ColorIndex = 0

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

1417157386-2753316172_n
 
Private Sub CommandButton1_Click()
For i = 1 To 16
Cells(i, 1) = Fix(Rnd() * 16)

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

10517532_985433801473418_6811056821801603129_n

   
Private Sub CommandButton1_Click()

Application.ActiveSheet.Cells(1, 1).Value = "Excel VBA 99乘法表"
For C = 1 To 9
Application.Cells(1, C).ColumnWidth = 3
Next
For I = 1 To 9
For J = 1 To 9
Application.ActiveSheet.Cells(I + 1, J).Value = I * J
Next
Next
End Sub
Private Sub UserForm_Click()
End Sub

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

10301304_976212125728919_4547780257398149311_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 WindowsFormsApplication5
{
public partial class Form1 : Form
{
int c, r;
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
button1.Text = "";
button2.Text = "";
button3.Text = "";
button4.Text = "";
button5.Text = "";
button6.Text = "";
button7.Text = "";
button8.Text = "";
button9.Text = "";
}
private void button1_Click(object sender, EventArgs e)
{
c = c + 1;
r = c % 2;
textBox1.Text = Convert.ToString(r);
if (r == 0)
{
button1.Text = "O";
}
else
{
button1.Text = "X";
}
button1.Enabled = false;
judge();
}
private void judge()
{
if (button1.Text == ("X") && button2.Text == ("X") && button3.Text == ("X"))
{
MessageBox.Show("X win");
}
if (button4.Text == ("X") && button5.Text == ("X") && button6.Text == ("X"))
{
MessageBox.Show("X win");
}
if (button7.Text == ("X") && button8.Text == ("X") && button9.Text == ("X"))
{
MessageBox.Show("X win");
}
if (button1.Text == ("X") && button4.Text == ("X") && button7.Text == ("X"))
{
MessageBox.Show("X win");
}
if (button2.Text == ("X") && button5.Text == ("X") && button8.Text == ("X"))
{
MessageBox.Show("X win");
}
if (button3.Text == ("X") && button6.Text == ("X") && button9.Text == ("X"))
{
MessageBox.Show("X win");
}
if (button1.Text == ("X") && button5.Text == ("X") && button9.Text == ("X"))
{
MessageBox.Show("X win");
}
if (button3.Text == ("X") && button5.Text == ("X") && button7.Text == ("X"))
{
MessageBox.Show("X win");
}
}
private void button2_Click(object sender, EventArgs e)
{
c = c + 1;
r = c % 2;
textBox1.Text = Convert.ToString(r);
if (r == 0)
{
button2.Text = "O";
}
else
{
button2.Text = "X";
}
button2.Enabled = false; 
judge();
}
private void button3_Click(object sender, EventArgs e)
{
c = c + 1;
r = c % 2;
textBox1.Text = Convert.ToString(r);
if (r == 0)
{
button3.Text = "O";
}
else
{
button3.Text = "X";
}
button3.Enabled = false; 
judge();
}
private void button4_Click(object sender, EventArgs e)
{
c = c + 1;
r = c % 2;
textBox1.Text = Convert.ToString(r);
if (r == 0)
{
button4.Text = "O";
}
else
{
button4.Text = "X";
}
button4.Enabled = false; 
judge();
}
private void button5_Click(object sender, EventArgs e)
{
c = c + 1;
r = c % 2;
textBox1.Text = Convert.ToString(r);
if (r == 0)
{
button5.Text = "O";
}
else
{
button5.Text = "X";
}
button5.Enabled = false; 
judge();
}
private void button6_Click(object sender, EventArgs e)
{
c = c + 1;
r = c % 2;
textBox1.Text = Convert.ToString(r);
if (r == 0)
{
button6.Text = "O";
}
else
{
button6.Text = "X";
}
button6.Enabled = false; 
judge();
}
private void button7_Click(object sender, EventArgs e)
{
c = c + 1;
r = c % 2;
textBox1.Text = Convert.ToString(r);
if (r == 0)
{
button7.Text = "O";
}
else
{
button7.Text = "X";
}
button7.Enabled = false; 
judge();
}
private void button8_Click(object sender, EventArgs e)
{
c = c + 1;
r = c % 2;
textBox1.Text = Convert.ToString(r);
if (r == 0)
{
button8.Text = "O";
}
else
{
button8.Text = "X";
}
button8.Enabled = false; 
judge();
}
private void button9_Click(object sender, EventArgs e)
{
c = c + 1;
r = c % 2;
textBox1.Text = Convert.ToString(r);
if (r == 0)
{
button9.Text = "O";
}
else
{
button9.Text = "X";
}
button9.Enabled = false; 
judge();
}
}
}

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

1 2
Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。