public static TargetAreaForm GetInstance(MainForm Parent, bool IsNew = false) { if (_instance == null) { _instance = new TargetAreaForm(Parent, IsNew); } return(_instance); }
public FishingGroundDefinitionForm(TargetAreaForm Parent, fadUTMZone UTMZone, string MapDescription, string ULGrid, string LRGrid) { InitializeComponent(); _MapDescription = MapDescription; _ULGrid = ULGrid; _LRGrid = LRGrid; textBoxDescription.Text = _MapDescription; textBoxLRGrid.Text = _LRGrid; textBoxULGrid.Text = _ULGrid; _Parent_form = Parent; }
private void OnFormClosed(object sender, FormClosedEventArgs e) { if (FishingGrid.GridType == fadGridType.gridTypeGrid25) { FishingGrid.SubGridStyle = (fadSubgridStyle)comboSubGrid.SelectedIndex; } _instance = null; global.SaveFormSettings(this); global.MapperOpen -= OnMapperOpen; global.MapperClosed -= OnMapperClosed; }
public FishingGroundDefinitionForm(TargetAreaForm Parent) { InitializeComponent(); _Parent_form = Parent; }