예제 #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();
 }