добавление фильтра

This commit is contained in:
foxkerik6 2022-11-29 04:45:44 +04:00
parent 4bfd8eb75c
commit bd2998b662

View File

@ -28,6 +28,8 @@ namespace Stormtrooper
public FormMapWithSetAirplane() public FormMapWithSetAirplane()
{ {
InitializeComponent(); InitializeComponent();
openFileDialog.Filter = "Text files(*.txt)|*.txt";
saveFileDialog.Filter = "Text files(*.txt)|*.txt";
_mapCollection = new MapCollection(pictureBox.Width, pictureBox.Height); _mapCollection = new MapCollection(pictureBox.Width, pictureBox.Height);
comboBoxMapSelector.Items.Clear(); comboBoxMapSelector.Items.Clear();
foreach(var map in _mapsDict) foreach(var map in _mapsDict)