Exemplo n.º 1
0
 public frmOptions()
 {
     InitializeComponent();
     IIniReader reader = new IniReader(Resx.iniFileName);
     IIniWriter writer = new IniWriter(Resx.iniFileName);
     mediator = new OptionsMediator(writer, reader);
     mediator.Register(this.txtKodiIP);
     mediator.Register(this.txtKodiPort);
     mediator.Register(this.txtYamahaIP);
     mediator.Register(this.btnSave);
     mediator.Register(this.txtHdmi1);
     mediator.Register(this.txtHdmi2);
     mediator.Register(this.txtHdmi3);
     mediator.Register(this.txtHdmi4);
     mediator.Register(this.txtVaux);
     mediator.Register(this.txtBackcolor);
     mediator.Register(this.txtForecolor);
 }
Exemplo n.º 2
0
 public SetupConfig()
 {
     reader = new IniReader(Resx.iniFileName);
     writer = new IniWriter(Resx.iniFileName);
 }