public void OnLoaded(object sender, RoutedEventArgs e) { testControl = new TestControl(this); overviewControl = new OverviewControl(this); generalControl = new GeneralControl(this); databaseControl = new DatabaseControl(this); settingsControl = new SettingsControl(this); advancedControl = new AdvancedControl(this); contentControl.Content = generalControl; }
public virtual void ReadChildData(BinaryReader reader) { int x = 0; _explanation.ReadBinary(reader); for (x = 0; (x < _advancedControl.Count); x = (x + 1)) { AdvancedControl.Add(new RasterizerScreenEffectTexcoordGenerationAdvancedControlBlockBlock()); AdvancedControl[x].Read(reader); } for (x = 0; (x < _advancedControl.Count); x = (x + 1)) { AdvancedControl[x].ReadChildData(reader); } for (x = 0; (x < _convolution.Count); x = (x + 1)) { Convolution.Add(new RasterizerScreenEffectConvolutionBlockBlock()); Convolution[x].Read(reader); } for (x = 0; (x < _convolution.Count); x = (x + 1)) { Convolution[x].ReadChildData(reader); } }