private void PrintObject1_MouseDoubleClick(object sender, MouseEventArgs e) { IDesign design = (IDesign)this.FindForm(); IInput input = new InputString(); string def = ""; if (design.GetSelectObjects().Count == 1) { IContextable contextable = (IContextable)design.GetSelectObjects()[0]; def = contextable.Context; } if (input.Input(def, out def) == true) { foreach (IPrintObject ins in design.GetSelectObjects()) { IContextable contextable = (IContextable)ins; contextable.Context = def; } design.Record(); } }