Beispiel #1
0
        private void UserControlPanelBtn_Click(object sender, RoutedEventArgs e)//avab "User control panel" aknat
        {
            UserControlPanel ucp = new UserControlPanel();

            ucp.Show();
            this.Close();
        }
Beispiel #2
0
 private void CancelBtn_Click(object sender, RoutedEventArgs e)//paneb aknat kinni
 {
     if (TValues.edit_type.Equals("user"))
     {
         UserControlPanel i = new UserControlPanel();
         i.Show();
         this.Close();
     }
     else if (TValues.edit_type.Equals("book"))
     {
         AdminBooks i = new AdminBooks();
         i.Show();
         this.Close();
     }
 }