private void btn_Customer_Click(object sender, EventArgs e) { PanAdmin.Controls.Clear(); UC_Customer uc = new UC_Customer(); uc.Dock = DockStyle.Fill; PanAdmin.Controls.Add(uc); }
private void CustomerManagebtn_Click(object sender, RoutedEventArgs e) { UC_SlipCustomerList.Visibility = System.Windows.Visibility.Collapsed; UC_PrintTemplateList.Visibility = System.Windows.Visibility.Collapsed; UC_Customer.Visibility = System.Windows.Visibility.Visible; UC_HardAd.Visibility = System.Windows.Visibility.Collapsed; UC_TitleAd.Visibility = System.Windows.Visibility.Collapsed; UC_PlaylistInfo.Visibility = System.Windows.Visibility.Collapsed; UC_RollTitlesList.Visibility = System.Windows.Visibility.Collapsed; UC_Customer.DataBinding(); }