public StartingForm() { InitializeComponent(); settings = new SettingsForm(); aboutApp = new AboutApplication(); }
private void buttonSettings_Click(object sender, EventArgs e) { settings = null; settings = new SettingsForm(); setCoordintes(ref settings); settings.ShowDialog(this); }
void setCoordintes(ref SettingsForm form) { // form.DesktopLocation = this.DesktopLocation; }