public ColorsSettingsUpdateArgs(ColorsSettings Settings) { if (Settings == null) { throw new ArgumentNullException(); } this.Settings = Settings; }
public dcColors() { InitializeComponent(); this._settings = new ColorsSettings(); this.Palettes = new BindingList<PaletteInfo>(); this.lbxPalettes.DisplayMember = "Desc"; this.lbxPalettes.ValueMember = "Palette"; this.lbxPalettes.DataSource = this.Palettes; var defaultpalette = dumplib.Gfx.CreatePalette.New_8bit(); this.Palettes.Add(new PaletteInfo("System Palette", defaultpalette, false)); this.lbxPalettes.SelectedItem = defaultpalette; }
public ColorsSettingsUpdateArgs(ColorsSettings Settings) { if (Settings == null) throw new ArgumentNullException(); this.Settings = Settings; }