private void btnSecession_Click(object sender, RoutedEventArgs e) { SQLiteManager sqliteManager = MainWindow.GetSqliteManager(); string sql = "where Phone=\"" + tbPhone2.Text + "\""; sqliteManager.DBOpen(); if (MyMessageBox.createMessageBox(2, "이름 : " + cbName.Text + " 핸드폰번호 : " + tbPhone2.Text + " 사용자를 삭제하시겠습니까?", "회원삭제확인") == 0) { sqliteManager.Delete(SQLiteData.TableMember, sql); sqliteManager.Drop(tbPhone2.Text); Thread thread = new Thread(() => MainWindow.runThread(3, MySQLData.TableMember, sql)); thread.Start(); } sqliteManager.DBClose(); if (MemberData.GetMemberData.Phone == tbPhone2.Text) { TransitionPage.TransitionPages(0); } initCBSecession(); }