Esempio n. 1
0
        public View_DaftarAnggota()
        {
            InitializeComponent();
            _dataAnggotaServices = new DataAnggotaServices();

            _insertDaftarAnggota = new Insert_DaftarAnggota();
            Init();
        }
Esempio n. 2
0
        private void Tambah_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                _insertDaftarAnggota = new Insert_DaftarAnggota();

                var result = _insertDaftarAnggota.ShowDialog();
                if (result == true)
                {
                    PopulateData();
                }
            }
            catch (Exception ex)
            {
                LogError.WriteError(ex);
                System.Windows.MessageBox.Show("Error!! \n telah terjadi kesalahan, Hubungi administrator", "Error", MessageBoxButton.OK, MessageBoxImage.Error);
                return;
            }
        }