private void btn_Edit_Click(object sender, RoutedEventArgs e) { EditMember editMemerWindow = new EditMember(ID, name, surname, phone, gender, regDate, cardID, this); editMemerWindow.Owner = Application.Current.MainWindow; editMemerWindow.WindowStartupLocation = WindowStartupLocation.CenterOwner; editMemerWindow.Show(); }
public FetchCardID(EditMember _editMemberWindow, bool _isEdit) { InitializeComponent(); editMemberWindow = _editMemberWindow; dispatcherTimer.Tick += dispatcherTimer_Tick; dispatcherTimer.Interval = new TimeSpan(0, 0, 1); dispatcherTimer.Start(); isEdit = true; }