private void viewFormBtn_Click(object sender, RoutedEventArgs e) { SMSUI.ViewForm ViewFormobj = new SMSUI.ViewForm(); AdmissionMainUG.Children.Clear(); AdmissionMainUG.Children.Add(ViewFormobj); }
public AdmissionForm() { InitializeComponent(); SMSUI.ViewForm ViewFormobj = new SMSUI.ViewForm(); AdmissionMainUG.Children.Clear(); AdmissionMainUG.Children.Add(ViewFormobj); }