LISTING PROGRAM. // // TODO: Add constructor code after the InitializeComponent()
|
|
- Pierce Murphy
- 6 years ago
- Views:
Transcription
1 A- 1 LISTING PROGRAM Form1.cs (Pengirim) /* * Created by SharpDevelop. * User: Lia * Date: 3/13/2017 * Time: 9:43 PM * * To change this template use Tools Options Coding Edit Standard Headers. */ using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Imaging; using System.IO; using System.Text; using System.Windows.Forms; namespace TA /// <summary> /// Description of Form1. /// </summary> public partial class Pengirim : Form Random r = new Random(); int[,] kunci = new int[3,3]; public Pengirim() // // The InitializeComponent() call is required for Windows Forms designer support. // InitializeComponent(); call. // // TODO: Add constructor code after the InitializeComponent() // public static String[] lv; int[] bitt; double filelength, panjang_awal; List<int> ch = new List<int>(); List<int> hs = new List<int>(); List<int> ehs = new List<int>(); int[] fr; byte[] bytes; void HomeToolStripMenuItemClick(object sender, EventArgs e) this.hide(); MainForm home=new MainForm();
2 A- 2 home.show(); e) void RecipientToolStripMenuItemClick(object sender, EventArgs this.hide(); Penerima terima=new Penerima(); terima.show(); void BantuanToolStripMenuItemClick(object sender, EventArgs e) this.hide(); Bantuan help=new Bantuan(); help.show(); void Button1Click(object sender, EventArgs e) OpenFileDialog open = new OpenFileDialog(); open.filter="file Text *.txt;*.doc;*.rtf;*.docx"; open.filename=""; if(open.showdialog() == DialogResult.OK) string metodee = open.filename.substring(open.filename.length-5,5), metode = open.filename.substring(open.filename.length-4,4); if(metode==".doc" metode==".txt" metode==".rtf" metodee==".docx") namafile.text = open.filename.tostring(); FileStream fis = new FileStream(open.FileName, FileMode.Open,FileAccess.ReadWrite); bytes = new byte[fis.length]; fis.read(bytes, 0, (int)fis.length); bitt = new int[bytes.length]; filelength = new FileInfo(open.FileName).Length * 1.0 ; panjang_awal= new FileInfo(open.FileName).Length; textbox1.text = filelength.tostring()+" byte"; for(int i=0; i<bytes.length; i++) bitt[i] = int.parse(bytes[i].tostring()); else MessageBox.Show("File yang anda pilih salah"); if (metode==".doc") eks.text=".doc"; else if (metode==".rtf") eks.text=".rtf"; else if (metodee==".docx") eks.text=".docx";
3 A- 3 else if (metode==".txt") eks.text=".txt"; bool cek(int x) for(int i=0; i<ch.count; i++) if(ch[i] == x) return false; return true; void GetCharSet(int[] st) ch.clear(); for (int i = 0; i < st.length; i++) if(cek(st[i])) ch.add(st[i]); void freq(int x) for(int i=0; i<ch.count; i++) if(ch[i] == x) fr[i]++; void CountFreq(int[] st) fr = new int[ch.count]; for(int i=0; i<ch.count;i++) fr[i] = 0; for(int i=0; i<st.length; i++) freq(st[i]); void InsertionSort() for (int i = 1; i < ch.count; i++) for (int j = 0; j < i; j++) if (fr[i] > fr[j]) int frtemp = fr[i]; fr[i] = fr[j]; fr[j] = frtemp; int sbtemp = ch[i]; ch[i] = ch[j]; ch[j] = sbtemp; String Reverse(String sb) Console.Write("reverse"); char[] chararray = sb.tochararray(); Array.Reverse(charArray); return new String(charArray);
4 A- 4 String DecToBin(int dec) StringBuilder bin = new StringBuilder(); int r = dec % 2; bin.insert(0, r); dec = dec / 2; while (dec!= 0) r = dec % 2; bin.insert(0, r); dec = dec / 2; return bin.tostring(); int BinToDec(String bin) StringBuilder sb = new StringBuilder(Reverse(bin)); int n = 1; int dec = 0; for (int i = 0; i < sb.length; i++) dec = dec + (int)(char.getnumericvalue(sb[i])) * n; n = n * 2; return dec; int indeks(int x) for(int i=0; i<ch.count; i++) if(ch[i]==x) return i; return 0; string Decode(List<int> hss) StringBuilder sb = new StringBuilder(); int t = hss.count; for (int i = 0; i < t; i++) StringBuilder y = new StringBuilder(DecToBin(hss[i])); if (y.length < 8) int z = 8 - y.length % 8; for (int j = 0; j < z; j++) y.insert(0, "0"); sb.append(y); return sb.tostring(); void Button2Click(object sender, EventArgs e) lv_proses(bitt); void lv_proses(int [] st) Stopwatch watch = new Stopwatch();// running time watch.start();
5 A- 5 hs.clear(); Kodelv(st); String hasil = stb_lv(st); Encode(hasil); watch.stop(); double siz = (hs.count) * 1.0 ; size.text = Math.Round(siz,2).ToString() + " byte"; double CR = (siz/(filelength * 1.0))*100; cr.text = Math.Round(CR,2).ToString()+" %"; double RC = (filelength/siz); rc.text = Math.Round(RC,2).ToString(); double SS = ((filelength - siz)*1.0/filelength)*100; ss.text = Math.Round(SS,2).ToString()+" %"; Time.Text = Math.Round(Convert.ToDecimal(watch.ElapsedMilliseconds)/1000,4).ToStr ing()+" s"; void Kodelv(int [] st) GetCharSet(st); CountFreq(st); InsertionSort(); lv = new string[ch.count]; lv[0] = "0"; for (int n = 1; n < ch.count; n++) int C = 1; String nbin = DecToBin(n); String kiri = nbin.substring(0,1); String kanan = nbin.substring(1,nbin.length-1); int M = kanan.length; String Code = kanan; while(m!= 0) C++; nbin = DecToBin(M); kiri = nbin.substring(0,1); kanan = nbin.substring(1,nbin.length-1); Code = kanan + Code; M = kanan.length; Code = "0" + Code; for(int j=0; j<c; j++) Code = "1" + Code; lv[n] = Code; string stb_lv(int [] st) StringBuilder stb = new StringBuilder(); for(int i=0; i<st.length; i++) stb.append(lv[indeks(st[i])]); int x = stb.length % 8; int pad = 0;
6 A- 6 if (x!= 0) pad = 8 - x; for (int i = 0; i < pad; i++) stb.append("0"); String d = DecToBin(pad); int y = 8 - d.length; for (int i = 0; i < y; i++) stb.append("0"); stb.append(d); return stb.tostring(); void Encode(String stb) for (int i = 0; i < stb.length; i+= 8) String x = stb.substring(i, 8); int y = BinToDec(x); hs.add(y); string simpans; byte[] bytes2; int [] hasil; void Button3Click(object sender, EventArgs e) if (eks.text==".doc") hasil= hs.toarray(); List<byte> bytes = new List<byte>(hasil.GetUpperBound(0) * sizeof(byte)); foreach (int integer in hasil) bytes.add(bitconverter.getbytes(integer)[0]); bytes2 = bytes.toarray(); SaveFileDialog simpan = new SaveFileDialog(); simpan.filter = "Encrypted and Compressed Files( *.hlvd) *.hlvd"; simpan.filename = "*.hlvd"; if (simpan.showdialog() == DialogResult.OK) File.WriteAllBytes(simpan.FileName, bytes2); string filenamee=simpan.filename.substring(0,simpan.filename.length- 3) + "l.dat"; FileStream fstreamm=new FileStream(filenamee,FileMode.OpenOrCreate); StreamWriter sww = new StreamWriter(fstreamm); SeekOrigin seekoriginn = new SeekOrigin(); sww.basestream.seek(0, seekoriginn); sww.writeline(+ch.count); StringBuilder stb = new StringBuilder(); for(int i=0; i<ch.count; i++) stb.append(ch[i]+"~"); sww.writeline(stb); for (int n = 0; n < lv.length; n++) sww.write(lv[n]+"~"); sww.flush(); sww.close(); simpans=simpan.filename.tostring(); MessageBox.Show("Berhasil disimpan, dapat dilihat pada "+simpans);
7 A- 7 else if (eks.text==".docx") hasil= hs.toarray(); List<byte> bytes = new List<byte>(hasil.GetUpperBound(0) * sizeof(byte)); foreach (int integer in hasil) bytes.add(bitconverter.getbytes(integer)[0]); bytes2 = bytes.toarray(); SaveFileDialog simpan = new SaveFileDialog(); simpan.filter = "Encrypted and Compressed Files( *.hlvx) *.hlvx"; simpan.filename = "*.hlvx"; if (simpan.showdialog() == DialogResult.OK) File.WriteAllBytes(simpan.FileName, bytes2); string filenamee=simpan.filename.substring(0,simpan.filename.length- 3) + "l.dat"; FileStream fstreamm=new FileStream(filenamee,FileMode.OpenOrCreate); StreamWriter sww = new StreamWriter(fstreamm); SeekOrigin seekoriginn = new SeekOrigin(); sww.basestream.seek(0, seekoriginn); sww.writeline(+ch.count); StringBuilder stb = new StringBuilder(); for(int i=0; i<ch.count; i++) stb.append(ch[i]+"~"); sww.writeline(stb); for (int n = 0; n < lv.length; n++) sww.write(lv[n]+"~"); sww.flush(); sww.close(); simpans=simpan.filename.tostring(); MessageBox.Show("Berhasil disimpan, dapat dilihat pada "+simpans); else if (eks.text==".rtf") hasil= hs.toarray(); List<byte> bytes = new List<byte>(hasil.GetUpperBound(0)* sizeof(byte)); foreach (int integer in hasil) bytes.add(bitconverter.getbytes(integer)[0]); bytes2 = bytes.toarray(); SaveFileDialog simpan = new SaveFileDialog(); simpan.filter = "Encrypted and Compressed Files( *.hlvr) *.hlvr"; simpan.filename = "*.hlvr"; if (simpan.showdialog() == DialogResult.OK) File.WriteAllBytes(simpan.FileName, bytes2); string filenamee=simpan.filename.substring(0,simpan.filename.length- 3) + "l.dat"; FileStream fstreamm=new FileStream(filenamee,FileMode.OpenOrCreate); StreamWriter sww = new StreamWriter(fstreamm); SeekOrigin seekoriginn = new SeekOrigin();
8 A- 8 sww.basestream.seek(0, seekoriginn); sww.writeline(+ch.count); StringBuilder stb = new StringBuilder(); for(int i=0; i<ch.count; i++) stb.append(ch[i]+"~"); sww.writeline(stb); for (int n = 0; n < lv.length; n++) sww.write(lv[n]+"~"); sww.flush(); sww.close(); simpans=simpan.filename.tostring(); MessageBox.Show("Berhasil disimpan, dapat dilihat pada "+simpans); else if (eks.text==".txt") hasil= hs.toarray(); List<byte> bytes = new List<byte>(hasil.GetUpperBound(0) * sizeof(byte)); foreach (int integer in hasil) bytes.add(bitconverter.getbytes(integer)[0]); bytes2 = bytes.toarray(); SaveFileDialog simpan = new SaveFileDialog(); simpan.filter = "Encrypted and Compressed Files( *.hlvt) *.hlvt"; simpan.filename = "*.hlvt"; if (simpan.showdialog() == DialogResult.OK) File.WriteAllBytes(simpan.FileName, bytes2); string filenamee=simpan.filename.substring(0,simpan.filename.length- 3) + "l.dat"; FileStream fstreamm=new FileStream(filenamee,FileMode.OpenOrCreate); StreamWriter sww = new StreamWriter(fstreamm); SeekOrigin seekoriginn = new SeekOrigin(); sww.basestream.seek(0, seekoriginn); sww.writeline(+ch.count); StringBuilder stb = new StringBuilder(); for(int i=0; i<ch.count; i++) stb.append(ch[i]+"~"); sww.writeline(stb); for (int n = 0; n < lv.length; n++) sww.write(lv[n]+"~"); sww.flush(); sww.close(); simpans=simpan.filename.tostring(); MessageBox.Show("Berhasil disimpan, dapat dilihat pada "+simpans); void Button6Click(object sender, EventArgs e) SaveFileDialog simpan = new SaveFileDialog(); simpan.filter = "key files( *.key) *.key"; simpan.filename = "*.key"; if (simpan.showdialog() == DialogResult.OK) FileStream fstream=new
9 A- 9 FileStream(simpan.FileName,FileMode.OpenOrCreate); StreamWriter sw = new StreamWriter(fstream); SeekOrigin seekorigin = new SeekOrigin(); sw.basestream.seek(0, seekorigin); for(int i=0; i<3; i++) for (int j = 0; j < 3; j++) sw.writeline(kunci[i,j]); sw.flush(); sw.close(); void Button4Click(object sender, EventArgs e) textbox2.text = null; int d = 0; int x = 0; while ( d <= 0 x == 10000) x =0; for(int i = 0; i < 3; i++) for(int j = 0; j < 3; j++) kunci[i,j] = r.next(1,10); d = ((kunci[0,0]*kunci[1,1]*kunci[2,2])+(kunci[0,1]*kunci[1,2]*kunci[2,0] )+(kunci[0,2]*kunci[1,0]*kunci[2,1]))- ((kunci[2,0]*kunci[1,1]*kunci[0,2])+(kunci[2,1]*kunci[1,2]*kunci[0,0] )+(kunci[2,2]*kunci[1,0]*kunci[0,1])); for (int i = 0; i <= 10000; i++) x = i; if((x * d) % 256 == 1) break; for(int i = 0; i < 3; i++) for(int j = 0; j < 3; j++) textbox2.text += kunci[i,j].tostring() + "\t"; textbox2.text += "\n"; void Button5Click(object sender, EventArgs e) Stopwatch waktu = new Stopwatch(); waktu.start(); while (hs.count % 3!= 0) hs.add(32);
10 A- 10 int[] tempenc = new int[3]; for(int i = 0; i < hs.count; i=i+3) for(int j = 0; j < 3; j++) for (int k = 0; k < 3; k++) tempenc[j] += kunci[j,k] * hs[i+k]; for(int j = 0; j < 3; j++) hs[i+j] = tempenc[j] % 256; tempenc = new int[3]; waktu.stop(); MessageBox.Show("berhasil dienkrip"); textbox3.text = Math.Round(Convert.ToDecimal(waktu.ElapsedMilliseconds)/1000,4).ToStr ing()+" s"; double siz = (hs.count) * 1.0; textbox4.text = Math.Round(siz,2).ToString() + " byte"; Form2.cs (Penerima) /* * Created by SharpDevelop. * User: Lia * Date: 3/13/2017 * Time: 10:13 PM * * To change this template use Tools Options Coding Edit Standard Headers. */ using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.Drawing.Drawing2D; using System.Drawing.Imaging; using System.IO; using System.Text; using System.Windows.Forms; using Microsoft.Office.Interop.Word; namespace TA /// <summary> /// Description of Form2. /// </summary> public partial class Penerima : Form int[,] kunci = new int[3,3];
11 A- 11 int[,] kunciinvers = new int[3,3]; int[,] adjoint = new int[3,3]; int det; public Penerima() // // The InitializeComponent() call is required for Windows Forms designer support. // InitializeComponent(); // // TODO: Add constructor code after the InitializeComponent() call. // void HomeToolStripMenuItemClick(object sender, EventArgs e) this.hide(); MainForm home=new MainForm(); home.show(); void SenderToolStripMenuItemClick(object sender, EventArgs e) this.hide(); Pengirim kirim=new Pengirim(); kirim.show(); void BantuanToolStripMenuItemClick(object sender, EventArgs e) this.hide(); Bantuan help=new Bantuan(); help.show(); List<int> ch = new List<int>(); List<int> hs = new List<int>(); List<int> pic = new List<int>(); public String[] lv; string eks=""; int[] bitt; byte[] bytes; void Button1Click(object sender, EventArgs e) OpenFileDialog open = new OpenFileDialog(); open.filter = "Enkripsi dan kompres file *.hlvr;*.hlvd;*.hlvt;*.hlvx"; open.filename=""; if (open.showdialog() == DialogResult.OK) string metode = open.filename.substring(open.filename.length-5,5); if(metode==".hlvd" metode==".hlvr" metode==".hlvt" metode==".hlvx") namafile.text=open.filename.tostring(); ch.clear();
12 A- 12 hs.clear(); pic.clear(); FileStream fis = new FileStream(open.FileName, FileMode.Open,FileAccess.ReadWrite); bytes = new byte[fis.length]; fis.read(bytes, 0, (int)fis.length); bitt = new int[bytes.length]; for(int i=0; i<bytes.length; i++) bitt[i] = int.parse(bytes[i].tostring()); for (int i = 0; i < bitt.length; i++) hs.add(bitt[i]); string namaa = open.filename.substring(0, open.filename.length- 3) + "l.dat"; FileStream fstreamm = new FileStream(namaa, FileMode.Open,FileAccess.ReadWrite); StreamReader sreaderr = new StreamReader(fstreamm); sreaderr.basestream.seek(0, SeekOrigin.Begin); string keterangan = sreaderr.readline(); string[] info = new string[3]; int n = int.parse(keterangan); keterangan = sreaderr.readline(); info = new string[n]; info = keterangan.split('~'); for(int i = 0;i<n;i++) ch.add(int.parse(info[i])); keterangan = sreaderr.readline(); info = new string[n]; lv = new string[n]; info = keterangan.split('~'); for(int i = 0;i<n;i++) lv[i] = info[i]; sreaderr.close(); else MessageBox.Show("File yang anda pilih salah"); if (metode==".hlvd") eks=".doc"; ext.text=eks; else if (metode==".hlvr") eks=".rtf";ext.text=eks; else if (metode==".hlvx") eks=".docx";ext.text=eks; else if(metode==".hlvt") eks=".txt";ext.text=eks; string Decode() StringBuilder sb = new StringBuilder();
13 A- 13 int t = hs.count; for (int i = 0; i < t; i++) StringBuilder y = new StringBuilder(DecToBin(hs[i])); if (y.length < 8) int z = 8 - y.length % 8; for (int j = 0; j < z; j++) y.insert(0, "0"); sb.append(y); return sb.tostring(); void Decompress(String stb) StringBuilder bit = new StringBuilder(); StringBuilder stb2; int t = stb.length; int pad = BinToDec(stb.Substring(t - 8, 8)); stb2 = new StringBuilder(stb.Substring(0, t - pad - 8)); for (int i = 0; i < stb2.length; i++) bit.append(stb2[i]); List<string> list = new List<string>(lv); if (list.contains(bit.tostring())) int x = list.indexof(bit.tostring()); pic.add(ch[x]); bit = new StringBuilder(); string DecToBin(int dec) StringBuilder bin = new StringBuilder(); int r = dec % 2; bin.insert(0, r); dec = dec / 2; while (dec!= 0) r = dec % 2; bin.insert(0, r); dec = dec / 2; return bin.tostring(); string Reverse(String sb) char[] chararray = sb.tochararray(); Array.Reverse(charArray); return new String(charArray); int BinToDec(String bin)
14 A- 14 StringBuilder sb = new StringBuilder(Reverse(bin)); int n = 1; int dec = 0; for (int i = 0; i < sb.length; i++) dec = dec + (int)(char.getnumericvalue(sb[i])) * n; n = n * 2; return dec; double siz=0; void Button2Click(object sender, EventArgs e) siz=0; Stopwatch waktu = new Stopwatch(); waktu.start(); String dc = Decode(); Decompress(dc); waktu.stop(); siz = (pic.count) * 1.0 ; textbox4.text = Math.Round(siz,2).ToString() + " byte"; textbox1.text = Math.Round(Convert.ToDecimal(waktu.ElapsedMilliseconds)/1000,4).ToStr ing()+" s"; MessageBox.Show("File berhasil didekompresi"); byte[] bytes2; int [] hasil; string simpan; void Button3Click(object sender, EventArgs e) if (eks==".doc") hasil= pic.toarray(); List<byte> bytes = new List<byte>(hasil.GetUpperBound(0) * sizeof(byte)); foreach (int integer in hasil) bytes.add(bitconverter.getbytes(integer)[0]); bytes2 = bytes.toarray(); dilihat pada "+simpan); SaveFileDialog save = new SaveFileDialog(); save.filter = "Simpan *.doc"; save.filename = "*.doc"; if(save.showdialog() == DialogResult.OK) File.WriteAllBytes(save.FileName, bytes2); simpan=save.filename.tostring(); MessageBox.Show("Berhasil disimpan, dapat
15 A- 15 else if (eks==".rtf") hasil= pic.toarray(); List<byte> bytes = new List<byte>(hasil.GetUpperBound(0) * sizeof(byte)); foreach (int integer in hasil) bytes.add(bitconverter.getbytes(integer)[0]); bytes2 = bytes.toarray(); SaveFileDialog save = new SaveFileDialog(); save.filter = "Simpan *.rtf"; save.filename = "*.rtf"; if(save.showdialog() == DialogResult.OK) File.WriteAllBytes(save.FileName, bytes2); simpan=save.filename.tostring(); MessageBox.Show("Berhasil disimpan, dapat dilihat pada "+simpan); else if (eks==".docx") hasil= pic.toarray(); List<byte> bytes = new List<byte>(hasil.GetUpperBound(0) * sizeof(byte)); foreach (int integer in hasil) bytes.add(bitconverter.getbytes(integer)[0]); bytes2 = bytes.toarray(); SaveFileDialog save = new SaveFileDialog(); save.filter = "Simpan *.docx"; save.filename = "*.docx"; if(save.showdialog() == DialogResult.OK) File.WriteAllBytes(save.FileName, bytes2); simpan=save.filename.tostring(); MessageBox.Show("Berhasil disimpan, dapat dilihat pada "+simpan); else if (eks==".txt") hasil= pic.toarray(); List<byte> bytes = new List<byte>(hasil.GetUpperBound(0) * sizeof(byte)); foreach (int integer in hasil) bytes.add(bitconverter.getbytes(integer)[0]); bytes2 = bytes.toarray();
16 A- 16 SaveFileDialog save = new SaveFileDialog(); save.filter = "Simpan *.txt"; save.filename = "*.txt"; if(save.showdialog() == DialogResult.OK) File.WriteAllBytes(save.FileName, bytes2); simpan=save.filename.tostring(); MessageBox.Show("Berhasil disimpan, dapat dilihat pada "+simpan); void Button4Click(object sender, EventArgs e) OpenFileDialog open = new OpenFileDialog(); open.filter = "key files( *.key) *.key"; open.filename="*.key"; if (open.showdialog() == DialogResult.OK) textbox2.text=""; string nama = open.filename.substring(0, open.filename.length); kunci = new int[3,3]; int k =0; string[] lines = File.ReadAllLines(nama); int linecount = File.ReadAllLines(nama).Length; for(int i = 0; i < 3; i++) for(int j = 0; j < 3; j++) kunci[i,j] = int.parse(lines[k]); k++; for(int i = 0; i < 3; i++) for(int j = 0; j < 3; j++) textbox2.text += kunci[i,j].tostring() + "\t"; textbox2.text += "\n"; void Button5Click(object sender, EventArgs e) Stopwatch waktu = new Stopwatch(); waktu.start(); int i, j, k; det = ((kunci[0,0]*kunci[1,1]*kunci[2,2])+(kunci[0,1]*kunci[1,2]*kunci[2,0] )+(kunci[0,2]*kunci[1,0]*kunci[2,1]))- ((kunci[2,0]*kunci[1,1]*kunci[0,2])+(kunci[2,1]*kunci[1,2]*kunci[0,0] )+(kunci[2,2]*kunci[1,0]*kunci[0,1])); adjoint[0,0] = (kunci[1,1]*kunci[2,2])- (kunci[1,2]*kunci[2,1]); adjoint[0,1] = -((kunci[0,1]*kunci[2,2])- (kunci[0,2]*kunci[2,1]));
17 A- 17 adjoint[0,2] = (kunci[0,1]*kunci[1,2])- (kunci[1,1]*kunci[0,2]); adjoint[1,0] = -((kunci[1,0]*kunci[2,2])- (kunci[2,0]*kunci[1,2])); adjoint[1,1] = (kunci[0,0]*kunci[2,2])- (kunci[2,0]*kunci[0,2]); adjoint[1,2] = -((kunci[0,0]*kunci[1,2])- (kunci[1,0]*kunci[0,2])); adjoint[2,0] = (kunci[1,0]*kunci[2,1])- (kunci[2,0]*kunci[1,1]); adjoint[2,1] = -((kunci[0,0]*kunci[2,1])- (kunci[2,0]*kunci[0,1])); adjoint[2,2] = (kunci[0,0]*kunci[1,1])- (kunci[1,0]*kunci[0,1]); int x = 0; while ((x * det) % 256!= 1) x++; for(i = 0; i < 3; i++) for(j = 0; j < 3; j++) kunciinvers[i,j] = ((x*adjoint[i,j]) % ) %256; int[] tempenc = new int[3]; for(i = 0; i < hs.count; i=i+3) for(j = 0; j < 3; j++) for (k = 0; k < 3; k++) tempenc[j] += kunciinvers[j,k] * hs[i+k]; for(j = 0; j < 3; j++) hs[i+j] = (tempenc[j]% ) % 256; tempenc = new int[3]; while (hs[hs.count-1] == 32) hs.removeat(hs.count-1); waktu.stop(); MessageBox.Show("Berhasil didekripsi"); textbox3.text = Math.Round(Convert.ToDecimal(waktu.ElapsedMilliseconds)/1000,4).ToStr ing()+" s"; double siz = (hs.count) * 1.0 ; textbox5.text = Math.Round(siz,2).ToString() + " byte"; void Button6Click(object sender, EventArgs e)
18 A- 18 var applicationword = new Microsoft.Office.Interop.Word.Application(); Microsoft.Office.Interop.Word.Application word = null; word = new Microsoft.Office.Interop.Word.Application(); object inputfile = simpan; object confirmconversions = false; object readonly = true; object visible = true; object missing = Type.Missing; // Open the document... Microsoft.Office.Interop.Word.Document doc = null; doc = word.documents.open( ref inputfile, ref confirmconversions, ref readonly, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref visible, ref missing, ref missing, ref missing, ref missing); word.visible = true; doc.activate(); // Console.ReadKey();
19 B-1 DAFTAR RIWAYAT HIDUP CURRICULUM VITAE I. DATA PRIBADI / Personal Identification Nama Lengkap : Windi Saputri Simamora Tempat/ : Medan / 05 Mei 1995 Tgl. Lahir Jenis Kelamin : Perempuan Agama : Islam Kebangsaan : Indonesia Alamat : Jl. Jati II No.65 Medan Telepon : windi.saputri55@gmail.com IPK : 3.61 II. III. IV. KEMAMPUAN / Capabilities Bahasa Bahasa Pemrograman Database Lainnya PENDIDIKAN FORMAL / Formal Education : Bahasa Indonesia : C#, C++,PHP : MySQL : HTML, Ms. Office, Adobe Photoshop, Adobe Flash [ ]S1 Ilmu Komputer, Fakultas Ilmu Komputer dan Teknologi Informasi [ ]SMA Negeri 5 Medan [ ]SMP Negeri 6 Medan [ ]SD Negeri Medan PENDIDIKAN NON-FORMAL / Informal Education [ ] Kursus Bahasa Inggris di Gemilang Education Center Medan V. PELATIHAN DAN SEMINAR / Trainings & Workshop 1) Peserta Seminar Nasional Melalui Inovasi Teknologi untuk Menciptakan Mahasiswa Kreatif dan Mandiri, [2017] 2) Peserta Seminar Nasional Literasi Informasi (SENARAI) Fasilkom-TI Universitas Sumatera Utara [2014] 3) Peserta TRICK (Training Islam Ceria dan Kreatif), UKMI Al-Khuwarizmi, Universitas Sumatera Utara [2013] 4) Peserta Seminar What Will You Be? IMILKOM, [2013] XIII. LAINNYA / Others - (CV Updated on Mei, 10th, 2017)
LISTING PROGRAM. void KOMPRESIToolStripMenuItemClick(object sender, EventArgs e) { Kompresi k = new Kompresi(); k.show(); this.
A - 1 LISTING PROGRAM 1. Form Menu Utama using System; using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; namespace KompresiCitra / / Description of MainForm.
More informationLISTING PROGRAM. a = b; b = c; c = a + b; } fibs.reverse(); for (int i = 0; i < fibs.count; i++) { if (n >= fibs[i]) { n = n - fibs[i];
A-1 A LISTING PROGRAM 1. Fibonacci Code //membuat fungsi Fibonacci Code public static String GetFibonacciCode(int n) { StringBuilder fib = new StringBuilder("1"); int a, b, c; List fibs = new List();
More informationprivate void Form1_Load(object sender, EventArgs e) {
viii LAMPIRAN LISTING PROGRAM 1. Form Home using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using
More informationListing Program. private void exittoolstripmenuitem_click(object sender, EventArgs e) { Application.Exit(); }
Listing Program Kode Program Menu Home: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using
More informationLAMPIRAN A : LISTING PROGRAM
LAMPIRAN A : LISTING PROGRAM 1. Form Utama (Cover) using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text;
More informationLISTING PROGRAM. // // TODO: Add constructor code after the InitializeComponent() call. //
1. MainForm.cs using System.Collections.Generic; using System.Drawing; LISTING PROGRAM / / Description of MainForm. / public partial class MainForm : Form public MainForm() The InitializeComponent()
More informationLISTING PROGRAM. 1. Module SkripsiUmri.py. import sys, operator, codecs, time. class Timer(object): def init (self): self.t1= time.
A1 LISTING PROGRAM 1. Module SkripsiUmri.py import sys, operator, codecs, time class Timer(object): def init (self): self.t1= time.time() def getelapsedltime(self): # gets total elapsed from class initialsation
More informationLISTING PROGRAM. private void filetoolstripmenuitem_click(object sender, EventArgs e) { this.hide(); Form2 fr = new Form2(); fr.
Kode Program Form Home namespace SkripsiLagi public partial class Form9 : Form public Form9() LISTING PROGRAM private void filetoolstripmenuitem_click(object sender, EventArgs e) Form2 fr = new Form2();
More informationLAMPIRAN A : LISTING PROGRAM
46 LAMPIRAN A : LISTING PROGRAM 1. Mainform /* * Created by SharpDevelop. * User: User7 * Date: 28/09/2015 * Time: 9:38 * * To change this template use Tools Options Coding Edit Standard Headers. */ using
More informationLISTING PROGRAM. namespace vigenere_des { public partial class MainPage : PhoneApplicationPage { public MainPage() { InitializeComponent(); }
59 LISTING PROGRAM Form Utama : using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Navigation;
More informationLAMPIRAN A LISTING PROGRAM
A-1 LAMPIRAN A LISTING PROGRAM FUNGSI public void StopWatchStart() stopwatch.reset(); stopwatch.start(); Cursor.Current = Cursors.WaitCursor; txtlog.text = ""; public void StopWatchStop(string Title) stopwatch.stop();
More informationA-1 LISTING PROGRAM. 1. Form1.cs. Universitas Sumatera Utara
A-1 LISTING PROGRAM 1. Form1.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using IronPython.Hosting; using Microsoft.Scripting;
More informationCALCULATOR APPLICATION
CALCULATOR APPLICATION Form1.cs 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;
More informationTo start we will be using visual studio Start a new C# windows form application project and name it motivational quotes viewer
C# Tutorial Create a Motivational Quotes Viewer Application in Visual Studio In this tutorial we will create a fun little application for Microsoft Windows using Visual Studio. You can use any version
More informationLISTING PROGRAM. void FilteringToolStripMenuItemClick(object sender, EventAr s e) { Filtering a = new Filtering(); this.hide(); a.
130 LISTING PROGRAM 1. Mainform.cs using System; using System.Drawing; using System.Windows.Forms; namespace AnalisisPerbandinganFilertingdanDeteksiTepi public partial class MainForm : Form public MainForm()
More informationLISTING PROGRAM. // // TODO: Add constructor code after the InitializeComponent()
A-1 LISTING PROGRAM Form Mainform /* * Created by SharpDevelop. * User: Roni Anggara * Date: 5/17/2016 * Time: 8:52 PM * * To change this template use Tools Options Coding Edit Standard Headers. */ using
More informationLISTING PROGRAM. mainform.vb A-1. Universitas Sumatera Utara
A-1 LISTING PROGRAM mainform.vb Imports System.IO Public Class mainform Private Sub mainform_load(byval sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load enkripsirb.checked = True
More informationAppendix A Programkod
Appendix A Programkod ProgramForm.cs using System; using System.Text; using System.Windows.Forms; using System.Net; using System.IO; using System.Text.RegularExpressions; using System.Collections.Generic;
More informationLISTING CODE A-1. Indo_to_jawa_Fragments.java. package studio.arti.kamusjawaindonesia;
LISTING CODE A-1 Indo_to_jawa_Fragments.java package studio.arti.kamusjawaindonesia; import android.content.dialoginterface; import android.database.cursor; import android.database.sqlite.sqlitedatabase;
More informationUsing Template Bookmarks for Automating Microsoft Word Reports
Using Template Bookmarks for Automating Microsoft Word Reports Darryl Bryk U.S. Army RDECOM-TARDEC Warren, MI 48397 Disclaimer: Reference herein to any specific commercial company, product, process, or
More information// Program 2 - Extra Credit // CIS // Spring // Due: 3/11/2015. // By: Andrew L. Wright. //Edited by : Ben Spalding
// Program 2 - Extra Credit // CIS 200-01 // Spring 2015 // Due: 3/11/2015 // By: Andrew L. Wright //Edited by : Ben Spalding // File: Prog2Form.cs // This class creates the main GUI for Program 2. It
More informationMain Game Code. //ok honestly im not sure, if i guess its a class ment for this page called methodtimer that //either uses the timer or set to timer..
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;
More informationif (say==0) { k.commandtext = "Insert into kullanici(k_adi,sifre) values('" + textbox3.text + "','" + textbox4.text + "')"; k.
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; using System.Data.SqlClient;
More informationObject oriented lab /second year / review/lecturer: yasmin maki
1) Examples of method (function): Note: the declaration of any method is : method name ( parameters list ).. Method body.. Access modifier : public,protected, private. Return
More informationComputer measurement and control
Computer measurement and control Instructors: András Magyarkuti, Zoltán Kovács-Krausz BME TTK, Department of Physics 2017/2018 spring semester Copyright 2008-2018 András Magyarkuti, Attila Geresdi, András
More informationcreate database ABCD use ABCD create table bolumler ( bolumkodu int primary key, bolumadi varchar(20) )
create database ABCD use ABCD create table bolumler ( bolumkodu int primary key, bolumadi varchar(20) ) insert into bolumler values(1,'elektrik') insert into bolumler values(2,'makina') insert into bolumler
More informationLampiran 2 MASTER TABEL
64 Lampiran 2 MASTER TABEL No. No. Responden Umur Pendidikan Pekerjaan Paritas Kanker 1 427363 35 S1 PNS 4 Tidak 2 504024 36 SMA IRT 4 Tidak 3 500316 35 SMA IRT 5 Tidak 4 504014 35 SMA PNS 1 Tidak 5 447158
More informationIBSDK Quick Start Tutorial for C# 2010
IB-SDK-00003 Ver. 3.0.0 2012-04-04 IBSDK Quick Start Tutorial for C# 2010 Copyright @2012, lntegrated Biometrics LLC. All Rights Reserved 1 QuickStart Project C# 2010 Example Follow these steps to setup
More informationLISTING PROGRAM. //Find the maximum and minimum values in the array int maxvalue = integers[0]; //start with first element int minvalue = integers[0];
1 LISTING PROGRAM using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace SortingApplication static class Program / / The main entry point for
More informationTeam project 2017 Dony Pratidana S. Hum Bima Agus Setyawan S. IIP
Hak cipta dan penggunaan kembali: Lisensi ini mengizinkan setiap orang untuk menggubah, memperbaiki, dan membuat ciptaan turunan bukan untuk kepentingan komersial, selama anda mencantumkan nama penulis
More informationIST311 Chapter13.NET Files (Part2)
IST311 Chapter13.NET Files (Part2) using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Linq; using System.Net; using System.Net.Sockets; using System.Text;
More informationYou can call the project anything you like I will be calling this one project slide show.
C# Tutorial Load all images from a folder Slide Show In this tutorial we will see how to create a C# slide show where you load everything from a single folder and view them through a timer. This exercise
More informationThe Open Core Interface SDK has to be installed on your development computer. The SDK can be downloaded at:
This document describes how to create a simple Windows Forms Application using some Open Core Interface functions in C# with Microsoft Visual Studio Express 2013. 1 Preconditions The Open Core Interface
More informationA-1 LAMPIRAN A LISTING PROGRAM. Kode Program Form Main: Universitas Sumatera Utara
A-1 LAMPIRAN A A LISTING PROGRAM Kode Program Form Main: #Region Project Attributes #ApplicationLabel: Samuel Panjaitan #VersionCode: 1 #VersionName: #SupportedOrientations: portrait #CanInstallToExternalStorage:
More informationCSIS 1624 CLASS TEST 6
CSIS 1624 CLASS TEST 6 Instructions: Use visual studio 2012/2013 Make sure your work is saved correctly Submit your work as instructed by the demmies. This is an open-book test. You may consult the printed
More informationListing Progam. Universitas Sumatera Utara
60 Listing Progam Listing Program Tabel Index
More information// Precondition: None // Postcondition: The address' name has been set to the // specified value set;
// File: Address.cs // This classes stores a typical US address consisting of name, // two address lines, city, state, and 5 digit zip code. using System; using System.Collections.Generic; using System.Linq;
More informationUniversitas Sumatera Utara A-1 LISTING PROGRAM. Menu Enkripsi. package com.example.program;
A-1 LISTING PROGRAM Menu Enkripsi package com.example.program; import java.io.file; import java.io.fileinputstream; import java.io.filenotfoundexception; import java.io.fileoutputstream; import java.io.ioexception;
More informationLISTING PROGRAM. % UIWAIT makes pertama wait for user response (see UIRESUME) % uiwait(handles.figure1);
LISTING PROGRAM FORM PERTAMA : function varargout = pertama(varargin) gui_singleton = 1; gui_state = struct('gui_name', mfilename,... 'gui_singleton', gui_singleton,... 'gui_openingfcn', @pertama_openingfcn,...
More informationWriting Your First Autodesk Revit Model Review Plug-In
Writing Your First Autodesk Revit Model Review Plug-In R. Robert Bell Sparling CP5880 The Revit Model Review plug-in is a great tool for checking a Revit model for matching the standards your company has
More informationFor this example, we will set up a small program to display a picture menu for a fast food take-away shop.
146 Programming with C#.NET 9 Fast Food This program introduces the technique for uploading picture images to a C# program and storing them in a database table, in a similar way to text or numeric data.
More informationAn Implementation of RC4 + Algorithm and Zig-zag Algorithm in a Super Encryption Scheme for Text Security
Journal of Physics: Conference Series PAPER OPEN ACCESS An Implementation of RC4 + Algorithm and Zig-zag Algorithm in a Super Encryption Scheme for Text Security To cite this article: M A Budiman et al
More informationSub To Srt Converter. This is the source code of this program. It is made in C# with.net 2.0.
Sub To Srt Converter This is the source code of this program. It is made in C# with.net 2.0. form1.css /* * Name: Sub to srt converter * Programmer: Paunoiu Alexandru Dumitru * Date: 5.11.2007 * Description:
More informationstring spath; string sedifile = "277_005010X228.X12"; string sseffile = "277_005010X228.SemRef.EVAL0.SEF";
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using Edidev.FrameworkEDI; 1 namespace
More informationNow find the button component in the tool box. [if toolbox isn't present click VIEW on the top and click toolbox]
C# Tutorial - Create a Tic Tac Toe game with Working AI This project will be created in Visual Studio 2010 however you can use any version of Visual Studio to follow along this tutorial. To start open
More informationAnswer on Question# Programming, C#
Answer on Question#38723 - Programming, C# 1. The development team of SoftSols Inc. has revamped the software according to the requirements of FlyHigh Airlines and is in the process of testing the software.
More informationLecture 8 Building an MDI Application
Lecture 8 Building an MDI Application Introduction The MDI (Multiple Document Interface) provides a way to display multiple (child) windows forms inside a single main(parent) windows form. In this example
More informationSupplementary material for Bimodal Modelling of Source Code and Natural Language
Supplementary material for Bimodal Modelling of Source Code and Natural Language May 18, 2015 1 Datasets Samples 1.1 Synthetic Data -Text Sample 1 string result = String.Join("\\n",input_string.Split(\
More informationSEBARAN MATAKULIAH PROGRAM STUDI SARJANA TEKNIK SIPIL (S1) DI JURUSAN TEKNIK SIPIL UNIVERSITAS LAMPUNG
Saturday, November 00 0: - Last Updated Saturday, November 00 0:5 SEBARAN MATAKULIAH PROGRAM STUDI SARJANA TEKNIK SIPIL (S) DI JURUSAN TEKNIK SIPIL UNIVERSITAS LAMPUNG SEMESTER I (SEMESTER GANJIL) KODE
More informationUNIT-3. Prepared by R.VINODINI 1
Prepared by R.VINODINI 1 Prepared by R.VINODINI 2 Prepared by R.VINODINI 3 Prepared by R.VINODINI 4 Prepared by R.VINODINI 5 o o o o Prepared by R.VINODINI 6 Prepared by R.VINODINI 7 Prepared by R.VINODINI
More informationLISTING PROGRAM. if nargout [varargout{1:nargout}] = gui_mainfcn(gui_state, varargin{:}); else gui_mainfcn(gui_state, varargin{:}); end
A-1 LISTING PROGRAM 1. Form Cover function varargout = cover(varargin) gui_singleton = 1; gui_state = struct('gui_name', mfilename,... 'gui_singleton', gui_singleton,... 'gui_openingfcn', @cover_openingfcn,...
More informationC:\homeworks\PenAttention_v13_src\PenAttention_v13_src\PenAttention4\PenAttention\PenAttention.cs 1 using System; 2 using System.Diagnostics; 3 using
1 using System; 2 using System.Diagnostics; 3 using System.Collections.Generic; 4 using System.ComponentModel; 5 using System.Data; 6 using System.Drawing; 7 using System.Text; 8 using System.Windows.Forms;
More information// Specify SEF file to load. oschema = (edischema) oedidoc.loadschema(spath + sseffilename, SchemaTypeIDConstants. Schema_Standard_Exchange_Format);
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; using Edidev.FrameworkEDI;
More informationChapter 6 Dialogs. Creating a Dialog Style Form
Chapter 6 Dialogs We all know the importance of dialogs in Windows applications. Dialogs using the.net FCL are very easy to implement if you already know how to use basic controls on forms. A dialog is
More informationII. Programming Technologies
II. Programming Technologies II.1 The machine code program Code of algorithm steps + memory addresses: MOV AX,1234h ;0B8h 34h 12h - number (1234h) to AX register MUL WORD PTR [5678h] ;0F7h 26h 78h 56h
More informationVisual Basic/C# Programming (330)
Page 1 of 12 Visual Basic/C# Programming (330) REGIONAL 2017 Production Portion: Program 1: Calendar Analysis (400 points) TOTAL POINTS (400 points) Judge/Graders: Please double check and verify all scores
More informationINFORMATION SYSTEM OF LIBRARY AT PONDOK PESANTREN DARUL IHSAN MUHAMMADIYAH SRAGEN
INFORMATION SYSTEM OF LIBRARY AT PONDOK PESANTREN DARUL IHSAN MUHAMMADIYAH SRAGEN PUBLIKASI ILMIAH This Final Project is Compiled as a Condition to Complete Bachelor Degree Program at Department of Informatics
More informationCS313D: ADVANCED PROGRAMMING LANGUAGE
CS313D: ADVANCED PROGRAMMING LANGUAGE Computer Science Department Lecture 3: C# language basics Lecture Contents 2 C# basics Conditions Loops Methods Arrays Dr. Amal Khalifa, Spr 2015 3 Conditions and
More information// Specify SEF file to load. edischema oschema = oedidoc.loadschema(spath + sseffilename, SchemaTypeIDConstants. Schema_Standard_Exchange_Format);
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; using Edidev.FrameworkEDIx64;
More informationCreate your own Meme Maker in C#
Create your own Meme Maker in C# This tutorial will show how to create a meme maker in visual studio 2010 using C#. Now we are using Visual Studio 2010 version you can use any and still get the same result.
More informationStart Visual Studio, start a new Windows Form project under the C# language, name the project BalloonPop MooICT and click OK.
Start Visual Studio, start a new Windows Form project under the C# language, name the project BalloonPop MooICT and click OK. Before you start - download the game assets from above or on MOOICT.COM to
More information05/31/2009. Data Files
Data Files Store and retrieve data in files using streams Save the values from a list box and reload for the next program run Check for the end of file Test whether a file exists Display the standard Open
More informationC = E(p) = (p + k) mod (n) p = D(C) = (C k) mod (n)
Substitutions ciphers (monoalphabetic) A substitution technique is one in which the characters of plaintext are replaced by other characters or by numbers or symbols. If the plaintext is viewed as a sequence
More informationExperiment 5 : Creating a Windows application to interface with 7-Segment LED display
Experiment 5 : Creating a Windows application to interface with 7-Segment LED display Objectives : 1) To understand the how Windows Forms in the Windows-based applications. 2) To create a Window Application
More informationChapter 8 Files. File Streams
Chapter 8 Files Few programs are written that don t involve some type of file input/output. Way back in the days when the C language became popular a set of library functions were designed that have been
More informationINFORMATION SYSTEM OF SCHEDULE AND CHAMPION S DATA OF BIRD CONTEST IN BOYOLALI WEBSITE BASED
INFORMATION SYSTEM OF SCHEDULE AND CHAMPION S DATA OF BIRD CONTEST IN BOYOLALI WEBSITE BASED Arranged as requisite to complete scholar program in Informatics Enginering of Communication and Informatics
More informationLISTING PROGRAM. com.example.jessicatamara.myapplication4;
A-1 LISTING PROGRAM MainActivity.java package import import import import import import com.example.jessicatamara.myapplication4; android.content.intent; android.support.v7.app.appcompatactivity; android.os.bundle;
More informationVisualization of Information Based on Tweets from Meteorological, Climatological, and Geophysical Agency: BMKG
Visualization of Information Based on Tweets from Meteorological, Climatological, and Geophysical Agency: BMKG Mira Chandra Kirana 1*), Amir 2, Muhammad Nashrullah 3 1,2,3 Informatics Engineering Department,
More informationnamespace csharp_gen277x214 { public partial class Form1 : Form { public Form1() { InitializeComponent(); }
using System using System.Collections.Generic using System.ComponentModel using System.Data using System.Drawing using System.Text using System.Windows.Forms using Edidev.FrameworkEDI 1 namespace csharp_gen277x214
More informationForm Properties Window
C# Tutorial Create a Save The Eggs Item Drop Game in Visual Studio Start Visual Studio, Start a new project. Under the C# language, choose Windows Form Application. Name the project savetheeggs and click
More informationWEBSITE DESIGN RESEARCH AND COMMUNITY SERVICE INSTITUTE IN BINA DARMA UNIVERSITY
International Conference on Information Systems for Business Competitiveness (ICISBC 203) 372 WEBSITE DESIGN RESEARCH AND COMMUNITY SERVICE INSTITUTE IN BINA DARMA UNIVERSITY Siti Sa uda ) Qoriani Widayati
More informationCSC 415 ONLINE PHOTOALBUM: THE SEQUEL ASP.NET VERSION
CSC 415 ONLINE PHOTOALBUM: THE SEQUEL ASP.NET VERSION GODFREY MUGANDA In this project, you will convert the Online Photo Album project to run on the ASP.NET platform, using only generic HTTP handlers.
More information2.3 Add GDS Google Map to Visual Studio Toolbox and create a simple map project
1. Introduction GDS Google Map is a Desktop.Net User Control, which can be embedded in Windows Forms Applications or hosted in WPF Applications. It integrates an interactive Google Map into your desktop
More informationA comparative study of Message Digest 5(MD5) and SHA256 algorithm
Journal of Physics: Conference Series PAPER OPEN ACCESS A comparative study of Message Digest 5(MD5) and SHA256 algorithm To cite this article: D Rachmawati et al 208 J. Phys.: Conf. Ser. 978 026 View
More informationChapter 8 Advanced GUI Features
159 Chapter 8 Advanced GUI Features There are many other features we can easily add to a Windows C# application. We must be able to have menus and dialogs along with many other controls. One workhorse
More informationHuw Talliss Data Structures and Variables. Variables
Data Structures and Variables Variables The Regex class represents a read-only regular expression. It also contains static methods that allow use of other regular expression classes without explicitly
More informationnamespace Gen837X222A1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); }
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using Edidev.FrameworkEDI; 1 namespace
More informationIn-Class Worksheet #4
CSE 459.24 Programming in C# Richard Kidwell In-Class Worksheet #4 Creating a Windows Forms application with Data Binding You should have Visual Studio 2008 open. 1. Create a new Project either from the
More informationQuick Guide for the ServoWorks.NET API 2010/7/13
Quick Guide for the ServoWorks.NET API 2010/7/13 This document will guide you through creating a simple sample application that jogs axis 1 in a single direction using Soft Servo Systems ServoWorks.NET
More informationOverview. Building a Web-Enabled Decision Support System. Integrating DSS in Business Curriculum. Introduction to DatabaseSupport Systems
Excel and C# Overview Introduction to DatabaseSupport Systems Building a Web-Enabled Decision Support System Integrating DSS in Business Curriculum 2 Decision Support Systems (DSS) A decision support system
More informationXNA 4.0 RPG Tutorials. Part 24. Level Editor Continued
XNA 4.0 RPG Tutorials Part 24 Level Editor Continued I'm writing these tutorials for the new XNA 4.0 framework. The tutorials will make more sense if they are read in order. You can find the list of tutorials
More informationRepresenting Recursive Relationships Using REP++ TreeView
Representing Recursive Relationships Using REP++ TreeView Author(s): R&D Department Publication date: May 4, 2006 Revision date: May 2010 2010 Consyst SQL Inc. All rights reserved. Representing Recursive
More information% --- Executes on button press in btn_gsn. function btn_gsn_callback(hobject, eventdata, handles) GaussianSpeckleNoise close AiSoftware;
A-2 'gui_openingfcn', @AiSoftware_OpeningFcn,... 'gui_outputfcn', @AiSoftware_OutputFcn,... 'gui_layoutfcn', [],... 'gui_callback', []); if nargin && ischar(varargin{1}) gui_state.gui_callback = str2func(varargin{1});
More informationBusiness Rules: RowBuilder Attribute and Existing Rows
Business Rules: RowBuilder Attribute and Existing Rows Northwind database has a cross-reference table EmployeeTerritories that link together an employee and a territory. Here is a user interface generated
More informationIndustrial Programming
Industrial Programming Lecture 6: C# Data Manipulation Industrial Programming 1 The Stream Programming Model File streams can be used to access stored data. A stream is an object that represents a generic
More informationThis is the empty form we will be working with in this game. Look under the properties window and find the following and change them.
We are working on Visual Studio 2010 but this project can be remade in any other version of visual studio. Start a new project in Visual Studio, make this a C# Windows Form Application and name it zombieshooter.
More informationMainly three tables namely Teacher, Student and Class for small database of a school. are used. The snapshots of all three tables are shown below.
APPENDIX 1 TABLE DETAILS Mainly three tables namely Teacher, Student and Class for small database of a school are used. The snapshots of all three tables are shown below. Details of Class table are shown
More informationLAMPIRAN 1 PENGARUH KETERSEDIAAN KOLEKSI PERPUSTAKAAN TERHADAP MINAT BACA SISWA SMP NEGERI 30 MEDAN
LAMPIRAN 1 ANGKET PENELITIAN PENGARUH KETERSEDIAAN KOLEKSI PERPUSTAKAAN TERHADAP MINAT BACA SISWA SMP NEGERI 30 MEDAN Saya mengharapkan kesediaan Saudara untuk mengisi angket dalam rangka penelitian tetang
More informationpojedinačnom elementu niza se pristupa imeniza[indeks] indeks od 0 do n-1
NIZOVI Niz deklarišemo navođenjemtipa elemenata za kojim sledi par srednjih zagrada[] i naziv niza. Ako je niz višedimenzionalni između zagrada[] se navode zarezi, čiji je broj za jedan manji od dimenzija
More informationEyes of the Dragon - XNA Part 37 Map Editor Revisited
Eyes of the Dragon - XNA Part 37 Map Editor Revisited I'm writing these tutorials for the XNA 4.0 framework. Even though Microsoft has ended support for XNA it still runs on all supported operating systems
More informationC# Continued. Learning Objectives:
Learning Objectives: C# Continued Open File Dialog and Save File Dialog File Input/Output Importing Pictures from Files and saving Bitmaps Reading and Writing Text Files Try and Catch Working with Strings
More informationnamespace csharp_gen837x223a2 { public partial class Form1 : Form { public Form1() { InitializeComponent(); }
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using Edidev.FrameworkEDI; 1 namespace
More informationnamespace spojneice { public partial class Form1 : Form { public Form1() { InitializeComponent(); }
Spojnice 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; using System.IO;
More informationPERU BAHAN PERKHIDMATAN KREDIT DAN PERBANKAN ARAHAN KERJA UNIT KOMPUTER. Tatacara Proses AGM03. BPKP/KJAK-104 Bilangan Semakan : 0 Tarikh :
ARAHAN KERJA UNIT KOMPUTER Tatacara Proses AGM03 BPKP/KJAK-104 Bilangan Semakan : 0 Tarikh : 30.09.13 Disediakan oleh :- Disahkan oleh ;- Pengurus PERU BAHAN Ubahan Muka surat Tarikh Keterangan Diluluskan
More informationLab - 1. Solution : 1. // Building a Simple Console Application. class HelloCsharp. static void Main() System.Console.WriteLine ("Hello from C#.
Lab - 1 Solution : 1 // Building a Simple Console Application class HelloCsharp static void Main() System.Console.WriteLine ("Hello from C#."); Solution: 2 & 3 // Building a WPF Application // Verifying
More informationAPÉNDICE J. CÓDIGO DEL ARCHIVO FORM1.CS EN LENGUAJE C# Comprende:
APÉNDICE J. CÓDIGO DEL ARCHIVO FORM1.CS EN LENGUAJE C# Comprende: Interfaz gráfica de wiimocap. Obtención de las variables de los tres acelerómetros. Algoritmos de reconocimiento de posiciones. Inclinación
More information1 de :02
1 de 6 02-12-2005 18:02!" $%$&&$ ' ( ) ) * +,"* (-)( )(*) ) ). /) %) ( ( -( *)% ) (0 ( " ' * ) *) *)(%* % ) (!%12%! ( ) ( ( )*)3 *) ( *(-)( %. )(( ) *(!() 2 ( (6 &)*7 8 ( 1( -(! ", % ' ( *.() (%) )() (
More informationChapter 11. Data Files The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill
Chapter 11 Data Files McGraw-Hill 2010 The McGraw-Hill Companies, Inc. All rights reserved. Chapter Objectives Store and retrieve data in files using streams Save the values from a list box and reload
More informationExamples. Products. W informs Controls > Products > Navigation Bar > Examples. This topic provides how -to examples, grouped by features.
Examples 3564 W informs Controls > Products > Navigation Bar > Examples This topic provides how -to examples, grouped by features. Examples Layout How to: Create a NavBar Control in Code How to: Activate
More informationIOSR Journal of Engineering (IOSRJEN) e-issn: , p-issn: Vol. 3, Issue 8 (August. 2013), V3 PP 25-33
IOSR Journal of Engineering (IOSRJEN) e-issn: 2250-3021, p-issn: 2278-8719 Vol. 3, Issue 8 (August. 2013), V3 PP 25-33 Designing and Prototyping Encryptions Algorithms: Working As Secure M-Commerce Transaction
More information