Esempio n. 1
0
        public void Dispose()
        {
            dock.cbTask.SelectedIndexChanged -= new EventHandler(cbTask_SelectedIndexChanged);
            dock.cbDesc.CheckedChanged       -= new EventHandler(cbDesc_CheckedChanged);
            dock.cbgid.CheckedChanged        -= new EventHandler(cbgid_CheckedChanged);
            dock.cbfix.CheckedChanged        -= new EventHandler(cbfix_CheckedChanged);
            dock.cbclean.CheckedChanged      -= new EventHandler(cbclean_CheckedChanged);
            dock.cbRemTxt.CheckedChanged     -= new EventHandler(cbRemTxt_CheckedChanged);
            dock.cbparent.CheckedChanged     -= new EventHandler(cbparent_CheckedChanged);
            dock.cbdefault.CheckedChanged    -= new EventHandler(cbdefault_CheckedChanged);
            dock.cbwallmask.CheckedChanged   -= new EventHandler(cbwallmask_CheckedChanged);
            dock.cbanim.CheckedChanged       -= new EventHandler(cbanim_CheckedChanged);
            dock.cbstrlink.CheckedChanged    -= new EventHandler(cbstrlink_CheckedChanged);
            dock.cbOrgGmdc.CheckedChanged    -= new EventHandler(cbOrgGmdc_CheckedChanged);

            dock = null;
            xrk  = null;
        }
Esempio n. 2
0
        public ObjectWorkshopRegistry(dcObjectWorkshop dock)
        {
            this.dock = dock;
            xrk       = Helper.WindowsRegistry.PluginRegistryKey;

            try { dock.cbTask.SelectedIndex = LastOWAction; }
            catch { dock.cbTask.SelectedIndex = 0; }
            dock.cbTask.SelectedIndexChanged += new EventHandler(cbTask_SelectedIndexChanged);

            dock.cbDesc.Checked         = ChangeDescription;
            dock.cbDesc.CheckedChanged += new EventHandler(cbDesc_CheckedChanged);

            dock.cbgid.Checked         = SetCustomGroup;
            dock.cbgid.CheckedChanged += new EventHandler(cbgid_CheckedChanged);

            dock.cbfix.Checked         = FixCloned;
            dock.cbfix.CheckedChanged += new EventHandler(cbfix_CheckedChanged);

            dock.cbclean.Checked         = FixCloned;
            dock.cbclean.CheckedChanged += new EventHandler(cbclean_CheckedChanged);

            dock.cbRemTxt.Checked         = RemoveNoneDefaultLangaugeStrings;
            dock.cbRemTxt.CheckedChanged += new EventHandler(cbRemTxt_CheckedChanged);

            dock.cbparent.Checked         = CreateStandAlone;
            dock.cbparent.CheckedChanged += new EventHandler(cbparent_CheckedChanged);

            dock.cbdefault.Checked         = PullDefaultColorOnly;
            dock.cbdefault.CheckedChanged += new EventHandler(cbdefault_CheckedChanged);

            dock.cbwallmask.Checked         = PullWallmasks;
            dock.cbwallmask.CheckedChanged += new EventHandler(cbwallmask_CheckedChanged);

            dock.cbanim.Checked         = PullAnimations;
            dock.cbanim.CheckedChanged += new EventHandler(cbanim_CheckedChanged);

            dock.cbstrlink.Checked         = PullStrLinkedResources;
            dock.cbstrlink.CheckedChanged += new EventHandler(cbstrlink_CheckedChanged);

            dock.cbOrgGmdc.Checked         = ReferenceOriginalMesh;
            dock.cbOrgGmdc.CheckedChanged += new EventHandler(cbOrgGmdc_CheckedChanged);
        }
Esempio n. 3
0
        public SimsRegistry(Sims form)
        {
            this.form = form;
            xrk       = Helper.WindowsRegistry.PluginRegistryKey;

            form.ckbPlayable.Checked         = this.ShowPlayable;
            form.ckbPlayable.CheckedChanged += new EventHandler(ckbPlayable_CheckedChanged);

            form.cbTownie.Checked         = this.ShowTownies;
            form.cbTownie.CheckedChanged += new EventHandler(cbTownie_CheckedChanged);

            form.cbNpc.Checked         = this.ShowNPCs;
            form.cbNpc.CheckedChanged += new EventHandler(cbNpc_CheckedChanged);

            form.ckbUnEditable.Checked         = this.ShowUnEditable;
            form.ckbUnEditable.CheckedChanged += new EventHandler(ckbUnEditable_CheckedChanged);

            form.cbdetail.Checked         = this.ShowDetails;
            form.cbdetail.CheckedChanged += new EventHandler(cbdetail_CheckedChanged);

            form.sorter.CurrentColumn = this.SortedColumn;
            form.sorter.Sorting       = this.SortOrder;
            form.sorter.Changed      += new EventHandler(sorter_Changed);
        }
Esempio n. 4
0
 public DownloadsSettings() : base(rm)
 {
     xrk = Helper.WindowsRegistry.PluginRegistryKey;
 }
Esempio n. 5
0
 public void Dispose()
 {
     form = null;
     xrk  = null;
 }