Exemplo n.º 1
0
 //-----------------------------------------------------------------------------------------
 //                                     Init
 //-----------------------------------------------------------------------------------------
 public HeatMapPanel(HeatMapViewPlugin plugin)
 {
     InitializeComponent();
     Plugin = plugin;
     Plugin.Control.PropertyChanged += PropertyChangedEventHandler;
     VisibleRectangle = GetVisibleRectangle();
 }
Exemplo n.º 2
0
        public SettingsPanel(HeatMapViewPlugin plugin)
        {
            InitializeComponent();
            Plugin = plugin;

            ListBox.DataSource    = Plugin.Settings.HeatMaps;
            ListBox.SelectedIndex = ListBox.FindString(Plugin.Settings.SelectedHeatMap);
            if (ListBox.SelectedIndex == -1)
            {
                ListBox.SelectedIndex = Plugin.Settings.HeatMaps.Count - 1;
            }

            EnabledCheckBox.Checked = Plugin.Settings.Enabled;
        }