private void btnSel4_Click(object sender, EventArgs e) { AttributeList al = new AttributeList(PathHelper.RoutineDataSelConfig, txtsSpecialAdd, txtTsName); al.Location = btnSel4.Location; al.ShowDialog(); }
private void btnSel_Click(object sender, EventArgs e) { AttributeList al = new AttributeList(PathHelper.RewardDataSelConfig, txtSelValue, txtSelName) { Location = new Point(Location.X + btnSel.Location.X + groupBox1.Location.X, Location.Y + btnSel.Location.Y + groupBox1.Location.Y) }; al.ShowDialog(); }