Anda di halaman 1dari 24

APLIKASI MAHIR LONTARA

Dosen :

Muh. Ilyas, S.ST.,M.Kom


Dr. Eng Sarwo Pranoto, ST.,M.Eng
Adhy Rizaldy, S.Kom.,M.Kom

Oleh :

Kelompok 6 :

Nur Fadilah 426 17 011


Muhammad Fajri Majid 426 17 015

PROGRAM STUDI TEKNIK MULTIMEDIA DAN JARINGAN

JURUSAN TEKNIK ELEKTRO

POLITEKNIK NEGERI UJUNG PANDANG

2018
APLIKASI MAHIR LONTARA

1. Deskripsi Aplikasi
Lontara adalah aksara tradisional masyarakat Bugis-Makassar. Bentuk aksara
lontara menurut budayawan Prof Mattulada (alm) berasal dari "sulapa eppa wala suji".
Wala suji berasal dari kata wala yang artinya pemisah/pagar/penjaga dan suji yang berarti
putri. Wala Suji adalah sejenis pagar bambu dalam acara ritual yang berbentuk belah
ketupat. Sulapa eppa (empat sisi) adalah bentuk mistis kepercayaan Bugis-Makassar
klasik yang menyimbolkan susunan semesta, api-air-angin-tanah. Huruf lontara ini pada
umumnya dipakai untuk menulis tata aturan pemerintahan dan kemasyarakatan. Naskah
ditulis pada daun lontar menggunakan lidi atau kalam yang terbuat dari ijuk kasar (kira-
kira sebesar lidi). Aplikasi Mahir Lontara adalah sebuah aplikasi yang dibuat untuk dapat
mempelajari aksara lontara dari awal hingga mahir. Aplikasi ini dibuat dilatar belakangi
oleh banyaknya orang yang sudah lupa dengan aksara lontara dikarenakan dan tidak
pernah diulang atau jarang ditemukan lagi, oleh karena itu aplikasi ini diharapkan dapat
menarik minat orang – orang untuk kembali mempelajari ataupun mengingat kembali
aksara lontara. Aplikasi ini dilengkapi dengan beberapa fitur dengan mencantumkan
budaya Sulawesi – Selatan.

2. Fitur

 Menu dengan sound background instrument music Sulawesi Selatan.


 Menu Huruf dengan suara pada tiap huruf lontara.
 Menu Kata & Kalimat terdapat textbox untuk latihan menulis lontara dan menu untuk
keywords untuk tiap huruf lontara pada keyboard.
 Menu Kuis dengan tingkatan level hingga 10 level menggunakan bahasa bugis &
Makassar dilengkapi dengan artinya.
 Menu input data bagi orang yang berhasil menyelesaikan 10 level pada kuis, nama
dan nomor mereka akan tersimpan pada database dan tampil pada Menu Mereka yang
Berhasil.
3. Tampilan

1. Menu Awal

2. Menu Huruf

3. Menu Kata & Kalimat


4. Menu Keywords

5. Menu Kuis

6. Menu Input Data


7. Menu Mereka yang Berhasil

4. Program

1. Form1.cs

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Media;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using WindowsFormsApplication2.Properties;

namespace WindowsFormsApplication2
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
huruf hr = new huruf();
hr.Show();
this.Visible = false;
SoundPlayer back = new SoundPlayer(Resources.Indologo);
back.Stop();
}

private void button5_Click(object sender, EventArgs e)


{
Application.Exit();
}
private void button2_Click(object sender, EventArgs e)
{
kata kta = new kata();
kta.Show();
this.Visible = false;
SoundPlayer back = new SoundPlayer(Resources.Indologo);
back.Stop();
SoundPlayer backkata = new SoundPlayer(Resources.Alosiripolo);
backkata.PlayLooping();
}

private void button3_Click(object sender, EventArgs e)


{
kuis lv1 = new kuis();
lv1.Show();
this.Visible = false;
SoundPlayer back = new SoundPlayer(Resources.Indologo);
back.Stop();
SoundPlayer backkuis =
newSoundPlayer(Resources.Angingmamiri);
backkuis.PlayLooping();
}

private void button4_Click(object sender, EventArgs e)


{
berhasil orang = new berhasil();
orang.Show();
this.Visible = false;
SoundPlayer back = new SoundPlayer(Resources.Indologo);
back.Stop();
SoundPlayer backberhasil = new SoundPlayer(Resources.Alosiripolo);
backberhasil.PlayLooping();
}

private void Form1_Load(object sender, EventArgs e)


{
SoundPlayer back = new SoundPlayer(Resources.Indologo);
back.PlayLooping();
}
}
}

2. huruf.cs

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;
using WindowsFormsApplication2.Properties;
using System.Media;

namespace WindowsFormsApplication2
{
public partial class huruf : Form
{
public huruf()
{
InitializeComponent();
}

private void huruf_Load(object sender, EventArgs e)


{

private void label1_Click(object sender, EventArgs e)


{

private void button1_Click(object sender, EventArgs e)


{
SoundPlayer backhuruf = new SoundPlayer(Resources.Ka);
backhuruf.Play();
}

private void button28_Click(object sender, EventArgs e)


{
Form1 home = new Form1();
home.Show();
this.Visible = false;
}

private void button2_Click(object sender, EventArgs e)


{
SoundPlayer backhuruf = new SoundPlayer(Resources.Gaa);
backhuruf.Play();
}

private void button3_Click(object sender, EventArgs e)


{
SoundPlayer backhuruf = new SoundPlayer(Resources.Nga);
backhuruf.Play();
}

private void button4_Click(object sender, EventArgs e)


{
SoundPlayer backhuruf = new SoundPlayer(Resources.Ngka);
backhuruf.Play();
}

private void button8_Click(object sender, EventArgs e)


{
SoundPlayer backhuruf = new SoundPlayer(Resources.Paa);
backhuruf.Play();
}

private void button7_Click(object sender, EventArgs e)


{
SoundPlayer backhuruf = new SoundPlayer(Resources.Baa);
backhuruf.Play();
}

private void button6_Click(object sender, EventArgs e)


{
SoundPlayer backhuruf = new SoundPlayer(Resources.Ma);
backhuruf.Play();
}

private void button12_Click(object sender, EventArgs e)


{
SoundPlayer backhuruf = new SoundPlayer(Resources.Ta);
backhuruf.Play();
}

private void button5_Click(object sender, EventArgs e)


{
SoundPlayer backhuruf = new SoundPlayer(Resources.Mpa);
backhuruf.Play();
}

private void button11_Click(object sender, EventArgs e)


{
SoundPlayer backhuruf = new SoundPlayer(Resources.Da);
backhuruf.Play();
}

private void button10_Click(object sender, EventArgs e)


{
SoundPlayer backhuruf = new SoundPlayer(Resources.Na);
backhuruf.Play();
}

private void button9_Click(object sender, EventArgs e)


{
SoundPlayer backhuruf = new SoundPlayer(Resources.Nra);
backhuruf.Play();
}

private void button16_Click(object sender, EventArgs e)


{
SoundPlayer backhuruf = new SoundPlayer(Resources.Caa);
backhuruf.Play();
}

private void button15_Click(object sender, EventArgs e)


{
SoundPlayer backhuruf = new SoundPlayer(Resources.Ja);
backhuruf.Play();
}

private void button14_Click(object sender, EventArgs e)


{
SoundPlayer backhuruf = new SoundPlayer(Resources.Nya);
backhuruf.Play();
}

private void button13_Click(object sender, EventArgs e)


{
SoundPlayer backhuruf = new SoundPlayer(Resources.Nca);
backhuruf.Play();
}

private void button20_Click(object sender, EventArgs e)


{
SoundPlayer backhuruf = new SoundPlayer(Resources.Ya);
backhuruf.Play();
}

private void button19_Click(object sender, EventArgs e)


{
SoundPlayer backhuruf = new SoundPlayer(Resources.Ra);
backhuruf.Play();
}

private void button18_Click(object sender, EventArgs e)


{
SoundPlayer backhuruf = new SoundPlayer(Resources.La);
backhuruf.Play();
}

private void button17_Click(object sender, EventArgs e)


{
SoundPlayer backhuruf = new SoundPlayer(Resources.Wa);
backhuruf.Play();
}

private void button24_Click(object sender, EventArgs e)


{
SoundPlayer backhuruf = new SoundPlayer(Resources.Sa);
backhuruf.Play();
}

private void button23_Click(object sender, EventArgs e)


{
SoundPlayer backhuruf = new SoundPlayer(Resources.A);
backhuruf.Play();
}

private void button22_Click(object sender, EventArgs e)


{
SoundPlayer backhuruf = new SoundPlayer(Resources.Ha);
backhuruf.Play();
}

private void button27_Click(object sender, EventArgs e)


{
SoundPlayer backhuruf = new SoundPlayer(Resources.A);
backhuruf.Play();
}

private void button26_Click(object sender, EventArgs e)


{
SoundPlayer backhuruf = new SoundPlayer(Resources.Ii);
backhuruf.Play();
}
private void button25_Click(object sender, EventArgs e)
{
SoundPlayer backhuruf = new SoundPlayer(Resources.Uu);
backhuruf.Play();
}

private void button21_Click(object sender, EventArgs e)


{
SoundPlayer backhuruf = new SoundPlayer(Resources.E);
backhuruf.Play();
}

private void button31_Click(object sender, EventArgs e)


{
SoundPlayer backhuruf = new SoundPlayer(Resources.O);
backhuruf.Play();
}
}
}

3. kata.cs

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 kata : Form
{
public kata()
{
InitializeComponent();
}

private void button2_Click(object sender, EventArgs e)


{
textBox1.Clear();
}

private void button1_Click(object sender, EventArgs e)


{
Form1 home = new Form1();
home.Show();
this.Visible = false;
}

private void kata_Load(object sender, EventArgs e)


{
}

private void label6_Click(object sender, EventArgs e)


{

private void button3_Click(object sender, EventArgs e)


{
hurufkey hkey = new hurufkey();
hkey.Show();
}

}
}

4. hurufkey.cs

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 hurufkey : Form
{
public hurufkey()
{
InitializeComponent();
}

private void hurufkey_Load(object sender, EventArgs e)


{

private void button28_Click(object sender, EventArgs e)


{
this.Visible = false;
}
}
}

5. kuis.cs

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;
using WindowsFormsApplication2.Properties;
using System.Media;

namespace WindowsFormsApplication2
{
public partial class kuis : Form
{
public kuis()
{
InitializeComponent();
}

private void button2_Click(object sender, EventArgs e)


{
Form1 home = new Form1();
home.Show();
this.Visible = false;
}

private void button1_Click(object sender, EventArgs e)


{
if (textBox1.Text == "NYA" || textBox1.Text == "nya")
{
MessageBox.Show("Selamat Kamu Benar");
level2 lv2 = new level2();
lv2.Show();
this.Visible = false;
}
else
{
textBox1.Clear();
MessageBox.Show("Kamu Salah");
}
}

private void kuis_Load(object sender, EventArgs e)


{

private void button3_Click(object sender, EventArgs e)


{
hurufkey hkey = new hurufkey();
hkey.Show();
}
}
}
6. level2.cs

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 level2 : Form
{
public level2()
{
InitializeComponent();
}

private void button2_Click(object sender, EventArgs e)


{
Form1 home = new Form1();
home.Show();
this.Visible = false;
}

private void button1_Click(object sender, EventArgs e)


{
if (textBox1.Text == "C")
{
MessageBox.Show("Selamat Kamu Benar");
level3 lv = new level3();
lv.Show();
this.Visible = false;
}
else
{
textBox1.Clear();
MessageBox.Show("Kamu Salah");
}
}

private void button3_Click(object sender, EventArgs e)


{
hurufkey hkey = new hurufkey();
hkey.Show();
}
}
}
7. level3.cs

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 level3 : Form
{
public level3()
{
InitializeComponent();
}

private void button2_Click(object sender, EventArgs e)


{
Form1 home = new Form1();
home.Show();
this.Visible = false;
}

private void button1_Click(object sender, EventArgs e)


{
if (textBox1.Text == "NGANRE" || textBox1.Text == "nganre")
{
MessageBox.Show("Selamat Kamu Benar, NGANRE Berarti Makan");
Form2 lv4 = new Form2();
lv4.Show();
this.Visible = false;
}
else
{
textBox1.Clear();
MessageBox.Show("Kamu Salah");
}
}

private void button3_Click(object sender, EventArgs e)


{
hurufkey hkey = new hurufkey();
hkey.Show();
}
}
}
8. Form2.cs

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 Form2 : Form
{
public Form2()
{
InitializeComponent();
}

private void button2_Click(object sender, EventArgs e)


{
Form1 home = new Form1();
home.Show();
this.Visible = false;
}

private void button1_Click(object sender, EventArgs e)


{
if (textBox1.Text == "sipklEbi")
{
MessageBox.Show("Selamat Kamu Benar, SIPAKALEBBI Berarti Saling
Memuliakan");
level5 lv5 = new level5();
lv5.Show();
this.Visible = false;
}
else
{
textBox1.Clear();
MessageBox.Show("Kamu Salah");
}
}

private void button3_Click(object sender, EventArgs e)


{
hurufkey hkey = new hurufkey();
hkey.Show();
}
}
}
9. level5.cs

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 level5 : Form
{
public level5()
{
InitializeComponent();
}

private void button2_Click(object sender, EventArgs e)


{
Form1 home = new Form1();
home.Show();
this.Visible = false;
}

private void button1_Click(object sender, EventArgs e)


{
if (textBox1.Text == "TARO ADA TARO GAU" || textBox1.Text == "taro
ada taro gau")
{
MessageBox.Show("Selamat Kamu Benar, TARO ADA TARO GAU Berarti
Seiya antara kata dan perbuatan");
level6 lv6 = new level6();
lv6.Show();
this.Visible = false;
}
else
{
textBox1.Clear();
MessageBox.Show("Kamu Salah");
}
}

private void button3_Click(object sender, EventArgs e)


{
hurufkey hkey = new hurufkey();
hkey.Show();
}
}
}
10. level6.cs

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 level6 : Form
{
public level6()
{
InitializeComponent();
}

private void button2_Click(object sender, EventArgs e)


{
Form1 home = new Form1();
home.Show();
this.Visible = false;
}

private void button1_Click(object sender, EventArgs e)


{
if (textBox1.Text == "peaetGi siri nu")
{
MessageBox.Show("Selamat Kamu Benar, PAENTENGI SIRI NU Berarti
Tegakkan Harga Dirimu");
level7 lv7 = new level7();
lv7.Show();
this.Visible = false;
}
else
{
textBox1.Clear();
MessageBox.Show("Kamu Salah");
}
}

private void button3_Click(object sender, EventArgs e)


{
hurufkey hkey = new hurufkey();
hkey.Show();
}
}
}
11. level7.cs

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 level7 : Form
{
public level7()
{
InitializeComponent();
}

private void button2_Click(object sender, EventArgs e)


{
Form1 home = new Form1();
home.Show();
this.Visible = false;
}

private void button1_Click(object sender, EventArgs e)


{
if (textBox1.Text == "masipa lepa lepa" || textBox1.Text == "MASIPA
LEPA LEPA" ||
textBox1.Text == "massipa lepa lepa" || textBox1.Text ==
"MASSIPA LEPA LEPA")
{
MessageBox.Show("Selamat Kamu Benar, MASSIPA LEPA LEPA Berarti
Orang yang baik hati");
level8 lv8 = new level8();
lv8.Show();
this.Visible = false;
}
else
{
textBox1.Clear();
MessageBox.Show("Kamu Salah");
}
}

private void button3_Click(object sender, EventArgs e)


{
hurufkey hkey = new hurufkey();
hkey.Show();
}
}
}
12. level8.cs

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 level8 : Form
{
public level8()
{
InitializeComponent();
}

private void button2_Click(object sender, EventArgs e)


{
Form1 home = new Form1();
home.Show();
this.Visible = false;
}

private void button1_Click(object sender, EventArgs e)


{
if (textBox1.Text == "pd lao tEpd aupE")
{
MessageBox.Show("Selamat Kamu Benar, PADA LAO TE'PPADA UPE'
Berarti Takdir setiap orang berbeda beda");
level9 lv9 = new level9();
lv9.Show();
this.Visible = false;
}
else
{
textBox1.Clear();
MessageBox.Show("Kamu Salah");
}
}

private void button3_Click(object sender, EventArgs e)


{
hurufkey hkey = new hurufkey();
hkey.Show();
}
}
}
13. level9.cs

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 level9 : Form
{
public level9()
{
InitializeComponent();
}

private void button2_Click(object sender, EventArgs e)


{
Form1 home = new Form1();
home.Show();
this.Visible = false;
}

private void button1_Click(object sender, EventArgs e)


{
if (textBox1.Text == "reso temangingi namalomo naletei pamase
dewata" || textBox1.Text == "reso temmangingi namalomo naletei pammase dewata"
|| textBox1.Text == "RESO TEMANGINGI NAMALOMO NALETEI PAMASE DEWATA" ||
textBox1.Text == "RESO TEMMANGINGI NAMALOMO NALETEI PAMMASE DEWATA")
{
MessageBox.Show("Selamat Kamu Benar, RESO TEMANGINGI NAMALOMO
NALETEI PAMASE DEWATA Berarti Kerja keras dengan penuh keikhlasan dan tak lupa
berdoa agar tujuan kita dapat tercapai");
level10 lv10 = new level10();
lv10.Show();
this.Visible = false;
}
else
{
textBox1.Clear();
MessageBox.Show("Kamu Salah");
}
}

private void button3_Click(object sender, EventArgs e)


{
hurufkey hkey = new hurufkey();
hkey.Show();
}
}
}
14. level10.cs

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;
using WindowsFormsApplication2.Properties;
using System.Media;

namespace WindowsFormsApplication2
{
public partial class level10 : Form
{
public level10()
{
InitializeComponent();
}

private void button1_Click(object sender, EventArgs e)


{
if (textBox1.Text == "pur bbr soePku pur tKisi goliku aulEbirEni
tElEeG ntowliea")
{
MessageBox.Show("Selamat Kamu Benar, PURA BABBARA SOMPEKKU PURA
TANGKISI GOLIKKU ULE'BBIRE'NNI TE'LLE'NNGE NATOWALIE Berarti Layarku sudah
berkembang Kemudiku sudah terpasang Lebih baik tenggelam dari pada kembali");
input log = new input();
log.Show();
this.Visible = false;
SoundPlayer backhuruf = new SoundPlayer(Resources.Alosiripolo);
backhuruf.PlayLooping();
}
else
{
textBox1.Clear();
MessageBox.Show("Kamu Salah");
}
}

private void button2_Click(object sender, EventArgs e)


{
Form1 home = new Form1();
home.Show();
this.Visible = false;
}
private void button3_Click(object sender, EventArgs e)
{
hurufkey hkey = new hurufkey();
hkey.Show();
}
}
}
15. input.cs

using MySql.Data.MySqlClient;
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;
using WindowsFormsApplication2.Properties;
using System.Media;

namespace WindowsFormsApplication2
{
public partial class input : Form
{
public input()
{
InitializeComponent();
}
koneksi konek = new koneksi();
private void button1_Click(object sender, EventArgs e)
{
MySqlConnection conn = konek.Hubungkan();
String query = "INSERT INTO orang(NAMA,NOMOR) values('" + nama.Text
+ "', '" + nohp.Text + "')";
MySqlCommand cmd = new MySqlCommand(query, conn);
try
{
conn.Open();
cmd.ExecuteNonQuery();
MessageBox.Show("Input Data Sukses");
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
conn.Close();
}

private void button2_Click(object sender, EventArgs e)


{
Form1 home = new Form1();
home.Show();
this.Visible = false;
SoundPlayer backhuruf = new SoundPlayer(Resources.Alosiripolo);
backhuruf.Stop();
SoundPlayer back = new SoundPlayer(Resources.Indologo);
back.PlayLooping();
}
}
}
16. koneksi.cs

using MySql.Data.MySqlClient;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WindowsFormsApplication2
{
class koneksi
{
public MySqlConnection Hubungkan()
{
String connect = "server= localhost; username=root; password=;
database=lontara";
MySqlConnection conn = new MySqlConnection(connect);
return conn;
}
}
}

17. berhasil.cs

using MySql.Data.MySqlClient;
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 berhasil : Form
{
public berhasil()
{
InitializeComponent();
}
koneksi konek = new koneksi();
MySqlDataAdapter da;
DataTable dt;
private void readData()
{
MySqlConnection conn = konek.Hubungkan();
string query = "SELECT * From orang";
da = new MySqlDataAdapter(query, conn);
dt = new DataTable();
da.Fill(dt);
dataGridView1.DataSource = dt;
}
private void button1_Click(object sender, EventArgs e)
{
Form1 home = new Form1();
home.Show();
this.Visible = false;
}

private void berhasil_Load(object sender, EventArgs e)


{
readData();
}
}
}

Anda mungkin juga menyukai