private void btnVolume_Click(object sender, EventArgs e) { VolumeControl volCrtl = new VolumeControl(); volCrtl.StartPosition = FormStartPosition.Manual; volCrtl.Location = new Point(this.Location.X + 450, this.Location.Y + (this.Height - volCrtl.Height) / 2); volCrtl.Show(this); }
private void btnVolume_Click(object sender, EventArgs e) { VolumeControl volCrtl = new VolumeControl(); volCrtl.StartPosition = FormStartPosition.Manual; volCrtl.Location = new Point(this.Location.X + 450, this.Location.Y + (this.Height - volCrtl.Height) / 2); volCrtl.Show(this); }