public TranslatableGuiItem(mainForm mf) { this.mf = mf; }
public TGI_ToolStripMenuItem(mainForm mf, ToolStripMenuItem tsmi) : base(mf) { this.tsmi = tsmi; }
public TGI_Control(mainForm mf, Control control, string alternate_source) : base(mf) { this.control = control; this.alternate_source = alternate_source; }
public TGI_Control(mainForm mf, Control control) : base(mf) { this.control = control; this.alternate_source = null; }
public ResizeMethods(mainForm mf) { this.methods = new List<ResizeMethod>(); this.mf = mf; //this.methods.Add(new ResizeMethod(ResizeMethod.Method.add_fill, "add_fill", mf)); this.methods.Add(new ResizeMethod(ResizeMethod.Method.cut_excess, "cut_excess", mf)); this.methods.Add(new ResizeMethod(ResizeMethod.Method.fit_on_box, "fit_on_box", mf)); this.methods.Add(new ResizeMethod(ResizeMethod.Method.stretch, "stretch_to_box", mf)); }
public ResizeMethod(Method method, string id, mainForm mf) { this.method = method; this.id = id; this.mf = mf; this.reload_translation(); }