private void FormSettings_Load(object sender, EventArgs e) { using (CustomSettings settings = new CustomSettings()) { settings.RestoreWindowPlacement(this); } }
private void FormLog_Load(object sender, EventArgs e) { CustomSettings settings = new CustomSettings(); settings.RestoreWindowPlacement(this); }