예제 #1
0
        public MainPage()
        {
            this.InitializeComponent();

            var fa = new FeatureA();
            FeatureA.Visibility = fa.FeatureEnabled ? Visibility.Visible : Visibility.Collapsed;

            var fb = new FeatureB();
            FeatureB.Visibility = fb.FeatureEnabled ? Visibility.Visible : Visibility.Collapsed;
        }
예제 #2
0
        public MainPage()
        {
            this.InitializeComponent();

            var fa = new FeatureA();

            FeatureA.Visibility = fa.FeatureEnabled ? Visibility.Visible : Visibility.Collapsed;


            var fb = new FeatureB();

            FeatureB.Visibility = fb.FeatureEnabled ? Visibility.Visible : Visibility.Collapsed;
        }
예제 #3
0
        static void Main(string[] args)
        {
            Console.WriteLine("TolleApplication");

            Song myclass = new Song();
            myclass.Entchen();

            Console.WriteLine("Test");
            var feature2 = new FeatureB();
            feature2.Test(3);

            var feat3 = new FeatureC();
            feat3.DoFeatureC();

            var feat4 = new FeatureD();
            feat4.DoFeatureD();

            Song2 myclass2 = new Song2();
            myclass2.Auto();

            Console.WriteLine("Taste");
            Console.ReadKey(false);
        }