Exemple #1
0
        public EditLabelsDialog(IUser user, KSPManager manager, ModuleLabelList labels)
        {
            InitializeComponent();
            this.user   = user;
            this.labels = labels;
            InstanceNameComboBox.DataSource = new string[] { "" }
            .Concat(manager.Instances.Keys).ToArray();
            LoadTree();

            this.ToolTip.SetToolTip(NameTextBox, Properties.Resources.EditLabelsToolTipName);
            this.ToolTip.SetToolTip(ColorButton, Properties.Resources.EditLabelsToolTipColor);
            this.ToolTip.SetToolTip(InstanceNameComboBox, Properties.Resources.EditLabelsToolTipInstance);
            this.ToolTip.SetToolTip(HideFromOtherFiltersCheckBox, Properties.Resources.EditLabelsToolTipHide);
            this.ToolTip.SetToolTip(NotifyOnChangesCheckBox, Properties.Resources.EditLabelsToolTipNotifyOnChanges);
            this.ToolTip.SetToolTip(RemoveOnChangesCheckBox, Properties.Resources.EditLabelsToolTipRemoveOnChanges);
            this.ToolTip.SetToolTip(AlertOnInstallCheckBox, Properties.Resources.EditLabelsToolTipAlertOnInstall);
            this.ToolTip.SetToolTip(RemoveOnInstallCheckBox, Properties.Resources.EditLabelsToolTipRemoveOnInstall);
        }