public FilterSelectedThingsForm(ICollection <Thing> selection, ThingsMode mode) { InitializeComponent(); this.mode = mode; //apply window size and location if (!size.IsEmpty && !location.IsEmpty) { this.StartPosition = FormStartPosition.Manual; this.Size = size; this.Location = location; } Setup(selection); }
public FilterSelectedThingsForm(ICollection <Thing> selection, ThingsMode mode) { InitializeComponent(); CodeImp.DoomBuilder.General.ApplyDataGridViewFix(dataGridView); this.mode = mode; //apply window size and location if (!size.IsEmpty && !location.IsEmpty) { this.StartPosition = FormStartPosition.Manual; this.Size = size; this.Location = location; } Setup(selection); }