private void btnAddNewPerson_Click(object sender, RoutedEventArgs e) { CreateNewPersonWPF c = new CreateNewPersonWPF(new PersonModel(filterModel.db)); c.ShowDialog(); filterModel.LoadNewPacketModel(); }
private void btnAddNewSender_Click(object sender, RoutedEventArgs e) { CreateNewPersonWPF c = new CreateNewPersonWPF(filterModel); c.ShowDialog(); }
private void metroTile2_Click(object sender, EventArgs e) { CreateNewPersonWPF createNewPersonWindow = new CreateNewPersonWPF(filterModel); createNewPersonWindow.Show(); }
private void showCreateNewPersonWindow(object sender, MouseButtonEventArgs e) { CreateNewPersonWPF createNewPersonWindow = new CreateNewPersonWPF(new PersonModel(model.database)); createNewPersonWindow.Show(); }