예제 #1
0
        private void btnBooks_Click(object sender, RoutedEventArgs e)
        {
            if (pb == null)
            {
                pb = new PhoneBook();
                pb.Owner = this;
                pb.Show();
            }
            else
            {
                pb.Show();
            }
            pb.tabs.SelectedIndex = 0;

            this.ClearFocus((Button)sender);
        }