private void CustomBox_Checked(object sender, RoutedEventArgs e)
 {
     col          = 12;
     customParams = new CustomParams(this, Attributes);
     customParams.Activate();
     customParams.Visibility = Visibility.Visible;
 }
 public Window1(CustomParams parent)
 {
     SizeChanged += Revert_Size;
     InitializeComponent();
     par           = parent;
     par.IsEnabled = false;
     Closing      += Window_Closing;
 }