Example #1
0
        private void EditData(string id)
        {
            using (var formEntry = new JenisBrgEntryForm(id))
            {
                var result = formEntry.ShowDialog();
                switch (result)
                {
                case DialogResult.OK:
                    ListData();
                    break;

                default:
                    break;
                }
            }
        }
Example #2
0
        private void NewButton_Click(object sender, EventArgs e)
        {
            using (var formEntry = new JenisBrgEntryForm(""))
            {
                var result = formEntry.ShowDialog();
                switch (result)
                {
                case DialogResult.OK:
                    ListData();
                    break;

                default:
                    break;
                }
            }
        }