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 JohnKenedy.DataAccess; using JohnKenedy.Samples; namespace MenuMakanan { public partial class MainMenu : Form { public MainMenu() { InitializeComponent(); } private void menuToolStripMenuItem_Click(object sender, EventArgs e) { } private void btnExit_Click(object sender, EventArgs e) { this.Close(); } private void btnSale_Click(object sender, EventArgs e) { DataAccessLayer.Manager.DALLayer.OpenConnectionTryClose(); DataAccessLayer.Manager.DALLayer.CloseConnection(); } private void btnFood_Click(object sender, EventArgs e) { MenuFood _food = new MenuFood(); _food.MdiParent = this; _food.Show(); } } }
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The GNU General Public License (GPLv3)