public GfxSettingsUpdateArgs(GfxSettings Settings) { if (Settings == null) { throw new ArgumentNullException(); } this.Settings = Settings; }
public dcGfx() { InitializeComponent(); // init our list of tile converters and bring them in from the static dictionary this.TileConvs = new List<TileConvInfo>(); foreach (ITileConverter thisconv in Program.TileConverters.Values) this.TileConvs.Add(new TileConvInfo(thisconv.ID, thisconv.Description)); this._settings = new GfxSettings(); this.cmbPixelFormats.DisplayMember = "Desc"; this.cmbPixelFormats.ValueMember = "ID"; this.cmbPixelFormats.DataSource = this.TileConvs; }
public GfxSettingsUpdateArgs(GfxSettings Settings) { if (Settings == null) throw new ArgumentNullException(); this.Settings = Settings; }