コード例 #1
0
 private void saveIO_name()
 {
     Data.RWcofing cf = new Data.RWcofing(Global.IO_text, "input");
     cf.writeini("0", textBox35.Text);
     cf.writeini("1", textBox36.Text);
     cf.writeini("2", textBox37.Text);
     cf.writeini("3", textBox38.Text);
     cf.writeini("4", textBox39.Text);
     cf.writeini("5", textBox40.Text);
     cf.writeini("6", textBox41.Text);
     cf.writeini("7", textBox42.Text);
     cf.group = "output";
     cf.writeini("0", textBox27.Text);
     cf.writeini("1", textBox28.Text);
     cf.writeini("2", textBox29.Text);
     cf.writeini("3", textBox30.Text);
     cf.writeini("4", textBox31.Text);
     cf.writeini("5", textBox32.Text);
     cf.writeini("6", textBox33.Text);
     cf.writeini("7", textBox34.Text);
 }
コード例 #2
0
 private void readIO_name()
 {
     //mypruject.data.Cofing cf = new data.Cofing(Global.IO_text, "input");
     Data.RWcofing cf = new Data.RWcofing(Global.IO_text, "input");
     textBox35.Text = cf.readini("0");
     textBox36.Text = cf.readini("1");
     textBox37.Text = cf.readini("2");
     textBox38.Text = cf.readini("3");
     textBox39.Text = cf.readini("4");
     textBox40.Text = cf.readini("5");
     textBox41.Text = cf.readini("6");
     textBox42.Text = cf.readini("7");
     cf.group       = "output";
     textBox27.Text = cf.readini("0");
     textBox28.Text = cf.readini("1");
     textBox29.Text = cf.readini("2");
     textBox30.Text = cf.readini("3");
     textBox31.Text = cf.readini("4");
     textBox32.Text = cf.readini("5");
     textBox33.Text = cf.readini("6");
     textBox34.Text = cf.readini("7");
 }