許老師結合數學與電腦程式的教學網 課程包含 程式設計 數值分析 -------------------------------------- Prof. Hsu teaches computer programming and numerical analysis to help those who wants to be a computer programming master and focus on controlling computers to benefit people more than only on making money.
關於我自己
- 許志宇(Chih-Yu Hsu)
- Welcome to discuss about : Chinese Traditional Medicine and Acupuncture Please send me the email: tccnchsu@gmail.com Chih-Yu Hsu
2015年10月2日 星期五
2015年9月17日 星期四
逢甲應數物件導向C#2015
12月25日資料庫程式考試
3D列印
https://drive.google.com/file/d/0B6MDH142JdNVRVpzeEN5eEwyYVE/view?usp=sharing
上銀科技股份有限公司資訊部MIS 程式設計師
推盤遊戲
http://tccnchsu.blogspot.tw/2014/09/blog-post.html
從頭再來 用心唱的才能打動人心 破產千萬富翁——高逸峰
潇洒走一回
朋友別哭~原唱:呂方
金鷹 you raise me up
梁植 《“笨”向未来》1
You Raise Me Up 你鼓舞了我 ...中文字幕 英語詩歌 福音版
大愛電視 大愛劇場 一閃一閃亮晶晶 片花
路要自己走(《一閃一閃亮晶晶》 主題曲)
====================================================================
[網站架設] 用電腦架設網站!XAMPP 安裝教學 (Windows篇)
如何利用phpMyAdmin建立MySQL資料庫與設計?
Excel匯入MySQL
以下介紹兩種Excel資料放到MySQL的方式,但不管那一種方式,最重要的都是要注意Excel資料的編碼,與MySQL資料表的編碼,避免轉到資料庫後,變成亂碼。
=====================================================
期末考
1. 2007access連線套件
2. 下載程式,執行程式 (示範加入資料庫)
3. 下載資料庫,更換資料庫
=====================================================================
資料更新
try
{
bindingSource1.EndEdit();
personTableAdapter.Update(db1DataSet);
MessageBox.Show("資料更新成功");
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
=======================================================================
開啟 Dataset1
開啟sql視窗
=====================================================================
第一週
1. 嚮往的未來生活?
2. 選修物件導向課程的動機?
3. 希望獲得的成果?
4. 抄"我什麼都會"21次!
5. 抄"不放棄"21次!
6. 抄"盡全力"21次!
7. 抄"靠自己"21次!
=====================================================================
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
int x, y,c=0,fx=0,fy=0;
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
pictureBox1.Location = new Point(100, 100);
}
private void button1_Click(object sender, EventArgs e)
{
/*
if (condition)
{
pictureBox1.Location = new Point(0, 0);
}
else
{
pictureBox1.Location = new Point(100, 100);
}
*/
}
private void timer1_Tick(object sender, EventArgs e)
{
bool condition = false;
if (x >= 500) fx = 1;
if (x <= -1) fx = 0;
if (y >= 300) fy = 1;
if (y <= -1) fy = 0;
button1.Text = x.ToString();
button2.Text = y.ToString();
if (fx == 1 && fy==1)
{
c = c - 100;
}
else if (fx == 1 && fy==0)
{
c = c + 100;
}
else if (fx == 0 && fy == 1)
{
c = c + 100;
}
else if (fx == 0 && fy == 0)
{
c = c + 100;
}
x = c;
y = c;
pictureBox1.Location = new Point(x, y);
}
private void button2_Click(object sender, EventArgs e)
{
}
}
}
=======================================================================
第三週
=======================================
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
int c = 0,d=0;
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
}
private void timer1_Tick(object sender, EventArgs e)
{
c = c + 1;
d = c % 3;
button1.Text = d.ToString();
}
}
}
=========================================
拉霸 吃角子老虎玩法
水果盤
=======================================================================
======================================================================
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
int c1 = 0,d1=0;
int c2 = 0, d2 = 0;
int c3= 0, d3 = 0;
int rndmoney1=100;
int rndmoney2 = 100;
int rndmoney3 = 100;
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
}
private void timer1_Tick(object sender, EventArgs e)
{
c1 = c1 + 1;
d1 = c1 % 10;
if (c1 >= rndmoney1) timer1.Enabled = false;
if (d1==0)
{
//button1.BackColor = Color.Green;
}
else if (d1 == 1)
{
//button1.BackColor = Color.Black;
}
else if (d1 == 2)
{
//button1.BackColor = Color.Black;
}
button1.Text = d1.ToString();
}
private void button4_Click(object sender, EventArgs e)
{
c1 = 0;
c2 = 0;
c3 = 0;
timer1.Enabled = true;
timer2.Enabled = true;
timer3.Enabled = true;
Random rnd = new Random();
rndmoney1 = rnd.Next(1, 101); // creates a number between 1 and 12
rndmoney2 = rnd.Next(1, 101); // creates a number between 1 and 12
rndmoney3 = rnd.Next(1, 101); // creates a number between 1 and 12
button4.Text = rndmoney1.ToString() + rndmoney2.ToString() + rndmoney3.ToString();
}
private void timer2_Tick(object sender, EventArgs e)
{
c2 = c2 + 1;
d2 = c2 % 10;
if (c2 >= rndmoney2) timer2.Enabled = false;
if (d2 == 0)
{
//button1.BackColor = Color.Green;
}
else if (d2 == 1)
{
//button1.BackColor = Color.Black;
}
else if (d2 == 2)
{
//button1.BackColor = Color.Black;
}
button2.Text = d2.ToString();
}
private void timer3_Tick(object sender, EventArgs e)
{
c3 = c3 + 1;
d3 = c3 % 10;
if (c3 >= rndmoney3) timer3.Enabled = false;
if (d3 == 0)
{
//button1.BackColor = Color.Green;
}
else if (d3== 1)
{
//button1.BackColor = Color.Black;
}
else if (d3 == 2)
{
//button1.BackColor = Color.Black;
}
button3.Text = d3.ToString();
}
}
}
======================================================================
fruit cartoon png
-------------------------------------------------------------------------------------------------------------------------
=======================================================================
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
int rndmoney1 = 0;
int rndmoney2 = 0;
int rndmoney3 = 0;
int rndmoney4 = 0;
int rndmoney5 = 0;
int rndmoney6 = 0;
int rndmoney7 = 0;
int rndmoney8 = 0;
int rndmoney9 = 0;
public Form1()
{
InitializeComponent();
button1.Enabled = false;
button2.Enabled = false;
button3.Enabled = false;
button4.Enabled = false;
button5.Enabled = false;
button6.Enabled = false;
button7.Enabled = false;
button8.Enabled = false;
button9.Enabled = false;
}
private void button10_Click(object sender, EventArgs e)
{
Random rnd = new Random();
rndmoney1 = rnd.Next(0, 9); // creates a number between 1 and 9
rndmoney2 = rnd.Next(0, 9); // creates a number between 1 and 9
//rndmoney3 = rnd.Next(0, 9); // creates a number between 1 and 9
//rndmoney4 = rnd.Next(0, 10); // creates a number between 1 and 9
//rndmoney5 = rnd.Next(0, 10); // creates a number between 1 and 9
//rndmoney6 = rnd.Next(0, 10); // creates a number between 1 and 9
//rndmoney7 = rnd.Next(0, 10); // creates a number between 1 and 9
//rndmoney8 = rnd.Next(0, 10); // creates a number between 1 and 9
//rndmoney9 = rnd.Next(0, 10); // creates a number between 1 and 9
button1.Text = rndmoney1.ToString();
button2.Text = rndmoney2.ToString();
if (rndmoney1 == rndmoney2)
{
MessageBox.Show("Dot Net Perls is awesome.");
rndmoney2 = rnd.Next(0, 9); // creates a number between 1 and 9
button2.Text = rndmoney2.ToString();
}
//button3.Text = rndmoney3.ToString();
//button4.Text = rndmoney4.ToString();
//button5.Text = rndmoney5.ToString();
//button6.Text = rndmoney6.ToString();
//button7.Text = rndmoney7.ToString();
//button8.Text = rndmoney8.ToString();
//button9.Text = rndmoney9.ToString();
//button10.Enabled = false;
}
}
}
=======================================================================
陣列 按鈕
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApplication2
{
public partial class Form1 : Form
{
Button[,] Buttons = new System.Windows.Forms.Button[5, 5];
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
for (int i = 1; i < 5; i++)
{
for (int j = 1; j < 5; j++)
{
Buttons[i, j] = new Button();
Buttons[i, j].Size = new Size(50, 50);
Buttons[i, j].Location = new Point(i * 50, j * 50);
this.Controls.Add(Buttons[i, j]);//出現在畫面中
}
}
}
private void button1_Click(object sender, EventArgs e)
{
int pro=0;
for (int i = 1; i < 5; i++)
{
for (int j = 1; j < 5; j++)
{
pro = i * j;
Buttons[i, j].Text =pro.ToString();
}
}
}
}
}
============================================
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
String b1,b2;
b1 = textBox1.Text;
b2=textBox2.Text;
float numVal1 = float.Parse(b1);
float numVal2 = float.Parse(b2);
float numsum = numVal1 + numVal2;
label2.Text = numsum.ToString();
}
private void label2_Click(object sender, EventArgs e)
{
}
}
}
使用BindingSource連接資料庫
ACCESS 2000 哪裡可以下SQL語法?
===========================================================
醫護 學校 https://www.google.com.tw/?gws_rd=ssl#q=%E9%86%AB%E8%AD%B7+%E5%AD%B8%E6%A0%A1
避免重複
csv 檔 寄 tccnchsu@gmail.com
3D列印
https://drive.google.com/file/d/0B6MDH142JdNVRVpzeEN5eEwyYVE/view?usp=sharing
PHP程式設計師
PHP 程式設計師
程式設計:PHP
資料庫:MySQL
網頁排版:HTML、CSS
其他技術:jQuery、Ajax、OOP、Lavarel
資料庫:MySQL
網頁排版:HTML、CSS
其他技術:jQuery、Ajax、OOP、Lavarel
- 職務類別:
- 軟體設計工程師、Internet程式設計師
- 工作待遇:
- 月薪 3萬5仟元 至 8萬元
推盤遊戲
http://tccnchsu.blogspot.tw/2014/09/blog-post.html
The Amazing iPad Magician
#小姑娘火了 【11岁女孩唱《天亮了》,在场所有人都听哭了!】從頭再來 用心唱的才能打動人心 破產千萬富翁——高逸峰
潇洒走一回
朋友別哭~原唱:呂方
金鷹 you raise me up
天籟之音 you raise me up
Love paradise (陳慧琳) 鋼琴 Jason Piano
經典經典 - RELAX MUSIC, RELAXING, MUSICA RELAX, RELAJANTE, 舒緩,輕鬆的音樂,音樂
Love paradise (陳慧琳) 鋼琴 Jason Piano
凱文柯恩 - 綠鋼琴
You Raise Me Up 你鼓舞了我 ...中文字幕 英語詩歌 福音版
08年奧運舉重冠軍施泰納令人感動的故事
大愛電視 大愛劇場 一閃一閃亮晶晶 片花
路要自己走(《一閃一閃亮晶晶》 主題曲)
====================================================================
[網站架設] 用電腦架設網站!XAMPP 安裝教學 (Windows篇)
如何利用phpMyAdmin建立MySQL資料庫與設計?
Excel匯入MySQL
以下介紹兩種Excel資料放到MySQL的方式,但不管那一種方式,最重要的都是要注意Excel資料的編碼,與MySQL資料表的編碼,避免轉到資料庫後,變成亂碼。
=====================================================
期末考
1. 2007access連線套件
2. 下載程式,執行程式 (示範加入資料庫)
3. 下載資料庫,更換資料庫
=====================================================================
資料更新
try
{
bindingSource1.EndEdit();
personTableAdapter.Update(db1DataSet);
MessageBox.Show("資料更新成功");
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
新增
try
{
bindingSource1.AddNew();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
將文字方塊寫入資料表
// If you are not at the end of the list, move to the next item
// in the BindingSource.
if (bindingSource1.Position + 1 < bindingSource1.Count)
bindingSource1.MoveNext();
// Otherwise, move back to the first item.
else
bindingSource1.MoveFirst();
// Force the form to repaint.
this.Invalidate();
textBox1.DataBindings.Add("Text", bindingSource1, "name",true);
textBox1.Text = "1234";
textBox1.DataBindings[0].WriteValue();
textBox1.DataBindings.Clear();
==============================================
db1 投影片
======================================================================
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApplication2
{
public partial class Form1 : Form
{
int[] array = new int[4];
float mysum1=0;
public Form1()
{
InitializeComponent();
textBox1.DataBindings.Add("Text", bindingSource3, "name", true);
textBox2.DataBindings.Add("Text", bindingSource3, "math", true);
bindingSource3.AllowEdit.Equals(false);
array[0] = 0;
array[1] = 0;
array[2] = 0;
array[3] = 0;
}
private void Form1_Load(object sender, EventArgs e)
{
// TODO: 這行程式碼會將資料載入 'db1DataSet.DataTable1' 資料表。您可以視需要進行移動或移除。
this.dataTable1TableAdapter.Fill(this.db1DataSet.DataTable1);
// TODO: 這行程式碼會將資料載入 'db1DataSet.record' 資料表。您可以視需要進行移動或移除。
this.recordTableAdapter.Fill(this.db1DataSet.record);
// TODO: 這行程式碼會將資料載入 'db1DataSet.person' 資料表。您可以視需要進行移動或移除。
this.personTableAdapter.Fill(this.db1DataSet.person);
}
private void button1_Click(object sender, EventArgs e)
{
bindingSource3.MoveFirst();
}
private void button2_Click(object sender, EventArgs e)
{
bindingSource3.MoveNext();
}
private void button3_Click(object sender, EventArgs e)
{
String mstring;
int bn;
for (int i = 0; i < 3; i++)
{
array[i] = Int32.Parse(textBox2.Text);
bindingSource3.MoveNext();
}
for (int i = 0; i < 3; i++)
{
mysum1 = mysum1+array[i];
}
bn=bindingSource3.Count;
mysum1 = mysum1 / bn;
mstring = mysum1.ToString();
textBox3.Text = mstring;
}
}
}
=======================================================================
加關聯
加入tableadapter
TextBox in Windows Forms
文字方塊
加BINDINGSOURCE
textBox1.DataBindings.Add("Text", bindingSource1, "name");
textBox1.DataBindings.Clear();
// If you are not at the end of the list, move to the next item
// in the BindingSource.
if (bindingSource1.Position + 1 < bindingSource1.Count)
bindingSource1.MoveNext();
// Otherwise, move back to the first item.
else
bindingSource1.MoveFirst();
// Force the form to repaint.
this.Invalidate();
textBox1.DataBindings.Add("Text", bindingSource1, "name");
textBox1.DataBindings.Clear();
=====================================================================
第一週
1. 嚮往的未來生活?
2. 選修物件導向課程的動機?
3. 希望獲得的成果?
4. 抄"我什麼都會"21次!
5. 抄"不放棄"21次!
6. 抄"盡全力"21次!
7. 抄"靠自己"21次!
=======================================================================
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApplication3
{
public partial class Form1 : Form
{
int x, y,c=0;
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
}
private void button1_Click(object sender, EventArgs e)
{
c=c+1;
x= 10*c;
// y= 10*c;
pictureBox1.Location = new Point(x, y);
}
}
}
=======================================================================
=====================================================================
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
int x, y,c=0,fx=0,fy=0;
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
pictureBox1.Location = new Point(100, 100);
}
private void button1_Click(object sender, EventArgs e)
{
/*
if (condition)
{
pictureBox1.Location = new Point(0, 0);
}
else
{
pictureBox1.Location = new Point(100, 100);
}
*/
}
private void timer1_Tick(object sender, EventArgs e)
{
bool condition = false;
if (x >= 500) fx = 1;
if (x <= -1) fx = 0;
if (y >= 300) fy = 1;
if (y <= -1) fy = 0;
button1.Text = x.ToString();
button2.Text = y.ToString();
if (fx == 1 && fy==1)
{
c = c - 100;
}
else if (fx == 1 && fy==0)
{
c = c + 100;
}
else if (fx == 0 && fy == 1)
{
c = c + 100;
}
else if (fx == 0 && fy == 0)
{
c = c + 100;
}
x = c;
y = c;
pictureBox1.Location = new Point(x, y);
}
private void button2_Click(object sender, EventArgs e)
{
}
}
}
=======================================================================
第三週
=======================================
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
int c = 0,d=0;
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
}
private void timer1_Tick(object sender, EventArgs e)
{
c = c + 1;
d = c % 3;
button1.Text = d.ToString();
}
}
}
=========================================
拉霸 吃角子老虎玩法
水果盤
=======================================================================
======================================================================
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
int c1 = 0,d1=0;
int c2 = 0, d2 = 0;
int c3= 0, d3 = 0;
int rndmoney1=100;
int rndmoney2 = 100;
int rndmoney3 = 100;
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
}
private void timer1_Tick(object sender, EventArgs e)
{
c1 = c1 + 1;
d1 = c1 % 10;
if (c1 >= rndmoney1) timer1.Enabled = false;
if (d1==0)
{
//button1.BackColor = Color.Green;
}
else if (d1 == 1)
{
//button1.BackColor = Color.Black;
}
else if (d1 == 2)
{
//button1.BackColor = Color.Black;
}
button1.Text = d1.ToString();
}
private void button4_Click(object sender, EventArgs e)
{
c1 = 0;
c2 = 0;
c3 = 0;
timer1.Enabled = true;
timer2.Enabled = true;
timer3.Enabled = true;
Random rnd = new Random();
rndmoney1 = rnd.Next(1, 101); // creates a number between 1 and 12
rndmoney2 = rnd.Next(1, 101); // creates a number between 1 and 12
rndmoney3 = rnd.Next(1, 101); // creates a number between 1 and 12
button4.Text = rndmoney1.ToString() + rndmoney2.ToString() + rndmoney3.ToString();
}
private void timer2_Tick(object sender, EventArgs e)
{
c2 = c2 + 1;
d2 = c2 % 10;
if (c2 >= rndmoney2) timer2.Enabled = false;
if (d2 == 0)
{
//button1.BackColor = Color.Green;
}
else if (d2 == 1)
{
//button1.BackColor = Color.Black;
}
else if (d2 == 2)
{
//button1.BackColor = Color.Black;
}
button2.Text = d2.ToString();
}
private void timer3_Tick(object sender, EventArgs e)
{
c3 = c3 + 1;
d3 = c3 % 10;
if (c3 >= rndmoney3) timer3.Enabled = false;
if (d3 == 0)
{
//button1.BackColor = Color.Green;
}
else if (d3== 1)
{
//button1.BackColor = Color.Black;
}
else if (d3 == 2)
{
//button1.BackColor = Color.Black;
}
button3.Text = d3.ToString();
}
}
}
======================================================================
fruit cartoon png
-------------------------------------------------------------------------------------------------------------------------
=======================================================================
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
int rndmoney1 = 0;
int rndmoney2 = 0;
int rndmoney3 = 0;
int rndmoney4 = 0;
int rndmoney5 = 0;
int rndmoney6 = 0;
int rndmoney7 = 0;
int rndmoney8 = 0;
int rndmoney9 = 0;
public Form1()
{
InitializeComponent();
button1.Enabled = false;
button2.Enabled = false;
button3.Enabled = false;
button4.Enabled = false;
button5.Enabled = false;
button6.Enabled = false;
button7.Enabled = false;
button8.Enabled = false;
button9.Enabled = false;
}
private void button10_Click(object sender, EventArgs e)
{
Random rnd = new Random();
rndmoney1 = rnd.Next(0, 9); // creates a number between 1 and 9
rndmoney2 = rnd.Next(0, 9); // creates a number between 1 and 9
//rndmoney3 = rnd.Next(0, 9); // creates a number between 1 and 9
//rndmoney4 = rnd.Next(0, 10); // creates a number between 1 and 9
//rndmoney5 = rnd.Next(0, 10); // creates a number between 1 and 9
//rndmoney6 = rnd.Next(0, 10); // creates a number between 1 and 9
//rndmoney7 = rnd.Next(0, 10); // creates a number between 1 and 9
//rndmoney8 = rnd.Next(0, 10); // creates a number between 1 and 9
//rndmoney9 = rnd.Next(0, 10); // creates a number between 1 and 9
button1.Text = rndmoney1.ToString();
button2.Text = rndmoney2.ToString();
if (rndmoney1 == rndmoney2)
{
MessageBox.Show("Dot Net Perls is awesome.");
rndmoney2 = rnd.Next(0, 9); // creates a number between 1 and 9
button2.Text = rndmoney2.ToString();
}
//button3.Text = rndmoney3.ToString();
//button4.Text = rndmoney4.ToString();
//button5.Text = rndmoney5.ToString();
//button6.Text = rndmoney6.ToString();
//button7.Text = rndmoney7.ToString();
//button8.Text = rndmoney8.ToString();
//button9.Text = rndmoney9.ToString();
//button10.Enabled = false;
}
}
}
=======================================================================
陣列 按鈕
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApplication2
{
public partial class Form1 : Form
{
Button[,] Buttons = new System.Windows.Forms.Button[5, 5];
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
for (int i = 1; i < 5; i++)
{
for (int j = 1; j < 5; j++)
{
Buttons[i, j] = new Button();
Buttons[i, j].Size = new Size(50, 50);
Buttons[i, j].Location = new Point(i * 50, j * 50);
this.Controls.Add(Buttons[i, j]);//出現在畫面中
}
}
}
private void button1_Click(object sender, EventArgs e)
{
int pro=0;
for (int i = 1; i < 5; i++)
{
for (int j = 1; j < 5; j++)
{
pro = i * j;
Buttons[i, j].Text =pro.ToString();
}
}
}
}
}
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
String b1,b2;
b1 = textBox1.Text;
b2=textBox2.Text;
float numVal1 = float.Parse(b1);
float numVal2 = float.Parse(b2);
float numsum = numVal1 + numVal2;
label2.Text = numsum.ToString();
}
private void label2_Click(object sender, EventArgs e)
{
}
}
}
=========================================================================
====================================================================
資料庫
使用BindingSource連接資料庫
C# 視窗程式:DataGridView 的用法
將 DataGridView 控制項連接到資料
新增 ODBC 資料來源
===========================================================
醫護 學校 https://www.google.com.tw/?gws_rd=ssl#q=%E9%86%AB%E8%AD%B7+%E5%AD%B8%E6%A0%A1
避免重複
csv 檔 寄 tccnchsu@gmail.com
2015年4月23日 星期四
2015年3月19日 星期四
518外包程式
http://case.518.com.tw/casepage-index.html?srh=KWCC34MM
- Web 程式開發(JAVA)
- 0
- 台北市
- 5萬~10萬
- 142
- 11 小時內
- 1.發案方為資訊服務公司,論件計酬,依配合內容個別報價。
2.配合地點:在家作業,但程式需求需至發案方(台北市松山區)洽談
需定期至發案方回報進度
3.案件說明:
Web 程式開發,發案方有固定開發架構,需遵循此架構開發
(1)JAVA + SPING 平台
- Linux C++ Console 程式
- 0
- 台北市
- 1萬~5萬
- 0
- 30 分鐘內
- 案件說明:
1.用Open source網路API寫Linux端Console apps
2.將資料並儲存於資料庫裡
3.資料從資料庫轉出成檔案
配合地點與時間:詳談
- 生命密碼程式軟體設計
- 18
- 台中市
- 1萬~5萬
- 978
- 6天內
- 輸入出生年月日後,會自動加總,並有進一步解釋
及其他本公司相關knowhow解釋及計算,希望能進一步詳談
最好有相關程式設計經驗或生命密碼大略概念者
配合時間:詳談
配合地點:在家作業
- 手機wifi視訊程式
- 1
- 台南市
- 5千~1萬
- 823
- 45天前
- 1.案件說明:此專案已有基本原型,可以wifi連鏡頭了,需要多加一點功能,任何功能都可以,可以在詳談
2.配合時間:可以的話在8月初可以完成
3.配合地點:若需當面討論盡量可以在台南,其餘時間在家作業即可
4.注意事項:此專案只需要升級,多加一點東西,讓裡面有內容一點
- 塑膠射出Excel格式進銷存作業系统設計
- 13
- 台中市
- 1萬~5萬
- 2003
- 45天前
- 1.案件說(塑膠射出Excel格式進銷存作業系统設計。)
應收帳使用對象分二類:A.一般客户{只計産品單價(只計出货數 不計原物料使用量)}B.代工客户(計計産品單價及原物料使用量)
應付帳使用對象分二種:A.一般廠商(只計進貨數量金额)B.協力廠商(計代工産品數金额及原物料使用量<結帳方式同應收帳B.代工客户>
流程需求:由送货單→應收帳(自動結轉入a.加工對帐明细表b.包材使用量统計表c.原物料進货明細表d.總表<原物
- 六足機器人運動控制演算法優化或最佳化設計
- 5
- 台中市
- 1萬~5萬
- 1543
- 45天前
- 1.案件說明:原本有六足機器人已開發完成,也有開發一些動作演算法但人手尚不足沒能再花時間在這工作上。本案件在動作上需加入或編修運動控制之演算法(正向運動學(Forward kinematics);反向運動學(Inverse kinematics);奇異點迴避演算法,使動作更即時流暢。 機器人控制器:MCU SSC32 或Arduino 32 路舵機控制器2選1。(可用以下語言擇1 如:VB / C++(BCB++) /DELPHI /VC / C# / JAVA/Android JAVA 等等)中的APP 角度及高低等18個自由度的運動控制。
2.配合時間:24小時皆可,90天內.
- Ruby on Rails 合作夥伴
- 3
- 台北市
- 5萬~10萬
- 1575
- 45天前
- 1.案件說明:大約從 12 月底只要確定人選下來,就會與高雄公司開發技職院校的課程管理網站,對我們 Rails Developer 的好處是頁面會有前端高手製作 HTML5 Responsive 的實際完成結果靜態頁面,而且 css / html 都很乾淨, 頁面連結都會事先設定好,甚至完美到幾乎不需要開會討論,看完頁面就知道怎麼設計表單欄位,是我遇過少有不需要分心協助 UI / CSS 的 Project。
如果你時間OK,會在跟你詳細討論預算與簡單的合作備忘錄,以及讓你參考一下之前的 Project 頁面。
- JAVA程式設計 應用程式的系統設計
- 6
- 台中市
- 5千~1萬
- 958
- 45天前
- 1.案件說明:
設計一個系統,以JAVA迴圈方式經由很多次的篩選之下, 最後得出一個最佳解. (詳細細談連絡信箱)
2.配合時間:希望一個月內
3.配合地點:中部
4.注意事項:此系統以JAVA工具為主
- HTML5影片播放器轉角度功能開發
- 3
- 桃園市
- 5千以內
- 908
- 44天內
- 壹、案件說明
已開發一款HTML5線上影片播放器,要把影像轉角度播,例如轉45度、125度。已查過HTML5有語法可以呼叫,熟悉的人可能2-4小時就能完成。不熟的人要久一點,有興趣的人歡迎來接案。於技術有疑問者,我方可以指點解決方案。
- 密碼學AES,DES應用
- 3
- 台中市
- 5千以內
- 918
- 35天內
- 配合時間:2014年11月前完成
配合地點:在家作業,以E-mail溝通聯繫、進度回報
案件說明:
1.簡單表示AES DES 變動率,做比較(詳細內容E-mail聯繫)
2.java c c++ 皆可撰寫
- dicom3.0醫學影像影像分類辦適
- 4
- 台北市
- 1萬~5萬
- 1268
- 18天內
- 1.案件說明:使用Java 製作dicom3.0醫學影像格式影像分類辦適
2.配合時間:半年內
3.配合地點:在家
4.注意事項:詳細內容電話談
- 補習班教材製作軟體開發
- 2
- 台中市
- 1萬~5萬
- 906
- 18天內
- 1.案件說明:
功能大致上為以下分項
目前軟體的使用大概是
a.將word轉成pdf放進去該軟體
b.製作的功能有a.上遮色片b.加上影片c.加上音樂d.加上文字等等
c.教材製作完畢後輸出成屬於該軟體教材,老師上課時可以用該軟體開啟教材上課
訂閱:
文章 (Atom)