public EditStorm(CalcMainWindow MainWindow) // shitty i know { InitializeComponent(); MnWindow = MainWindow; StormIntensityNode mostrecent = (StormIntensityNode)MnWindow.StormIntensities.Items[MnWindow.StormIntensities.SelectedIndex]; IntensityTextBox.Text = mostrecent.Intensity.ToString(); }
public SetStartWindow(CalcMainWindow MainWindow) { InitializeComponent(); MnWindow = MainWindow; }