Exemplo n.º 1
0
 public SamplesForm(Profile profile)
 {
     InitializeComponent();
     _profile = profile;
     ProfileComboBox.Items.AddRange(Configer.GetProfiles());
     if (!string.IsNullOrEmpty(_profile.Name))
     {
         ProfileComboBox.SelectedIndex = ProfileComboBox.Items.IndexOf(_profile.Name);
     }
     WidthSmall = MainSplitContainer.Width + 6;
     initSoundEditor();
     fillCharBox();
     this.Width = WidthSmall;
 }