using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace MediaPortal.Plugins.MovingPictures.ConfigScreen {
    public partial class AdvancedSettingsWarningPane : UserControl {
        public AdvancedSettingsWarningPane() {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e) {
            warningPanel.Visible = false;
        }

        private void AdvancedSettingsWarningPane_Load(object sender, EventArgs e) {
            if (!DesignMode) {
                if (!MovingPicturesCore.Settings.ShowAdvancedSettingsWarning)
                    warningPanel.Visible = false;
            }
        }
    }
}
