Пример #1
0
 public TranslatableGuiItem(mainForm mf)
 {
     this.mf = mf;
 }
Пример #2
0
 public TGI_ToolStripMenuItem(mainForm mf, ToolStripMenuItem tsmi)
     : base(mf)
 {
     this.tsmi = tsmi;
 }
Пример #3
0
 public TGI_Control(mainForm mf, Control control, string alternate_source)
     : base(mf)
 {
     this.control = control;
     this.alternate_source = alternate_source;
 }
Пример #4
0
 public TGI_Control(mainForm mf, Control control)
     : base(mf)
 {
     this.control = control;
     this.alternate_source = null;
 }
Пример #5
0
 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));
 }
Пример #6
0
 public ResizeMethod(Method method, string id, mainForm mf)
 {
     this.method = method;
     this.id = id;
     this.mf = mf;
     this.reload_translation();
 }