Ejemplo n.º 1
0
        private void element_open_Click(object sender, RoutedEventArgs e)
        {
            var tag = ((sender as FrameworkElement).Tag as Object[]);

            if (tag[0] is Notes)
            {
                PseudoWindow.OpenWindow(() => new Widgets.NotesEdit(tag[0] as Notes));
            }
        }
Ejemplo n.º 2
0
 private void Open_Click(object sender, RoutedEventArgs e)
 {
     if (synth is BasicSynth)
     {
         PseudoWindow.OpenWindow(() => new Widgets.BasicSynthUi(synth as BasicSynth));
     }
     else if (synth is BasicPercussion)
     {
         PseudoWindow.OpenWindow(() => new Widgets.BasicPercussionUI(synth as BasicPercussion));
     }
     else if (synth is VSTi)
     {
         (synth as VSTi).ShowWindow();
     }
 }
Ejemplo n.º 3
0
 private void ButtonPretty_OnClick(object sender, RoutedEventArgs e)
 {
     if (effect is NonlinearDistortion)
     {
         PseudoWindow.OpenWindow(() => new NonlinearDistortionUI(effect as NonlinearDistortion));
     }
     else if (effect is Reverb)
     {
         PseudoWindow.OpenWindow(() => new ReverbUI(effect as Reverb));
     }
     else if (effect is Flanger)
     {
         PseudoWindow.OpenWindow(() => new FlangerUI(effect as Flanger));
     }
     else if (effect is SimpleFilter)
     {
         PseudoWindow.OpenWindow(() => new SimpleFilterUI(effect as SimpleFilter));
     }
 }
Ejemplo n.º 4
0
 private void openInputsButton_Click(object sender, RoutedEventArgs e)
 {
     PseudoWindow.OpenWindow(() => new Widgets.InputsUi());
 }
Ejemplo n.º 5
0
 private void OpenSynthsButton_OnClick(object sender, RoutedEventArgs e)
 {
     PseudoWindow.OpenWindow(() => new Widgets.Synths());
 }
Ejemplo n.º 6
0
 private void openOscilloscopeButton_Click(object sender, RoutedEventArgs e)
 {
     PseudoWindow.OpenWindow(() => new Widgets.Oscilloscope());
 }
Ejemplo n.º 7
0
 private void openMixerButton_Click(object sender, RoutedEventArgs e)
 {
     PseudoWindow.OpenWindow(() => new Widgets.Mixer());
 }
Ejemplo n.º 8
0
 private void openTimelineButton_Click(object sender, RoutedEventArgs e)
 {
     PseudoWindow.OpenWindow(() => new Widgets.Timeline());
 }