Esempio n. 1
0
    public static void Main(string[] args)
    {
        Console.WriteLine("Hello from first");
        second second = new second();

        second.write();
    }
Esempio n. 2
0
        static void Main(string[] args)
        {
            first  fc = new first();
            second sc = new second();

            fc.func();
            sc.func();
            Console.ReadKey();
        }
Esempio n. 3
0
        static void Main(string[] args)
        {
            Console.Write("\n  Method Calls Demo");
            Console.Write("\n ===================\n");

            ParamDemo pd = new ParamDemo();
            int       xv = 2, yv = 3;

            pd.intValueParams(xv, yv);
            Console.Write("\n  values after returning:");
            Console.Write("\n  xv = {0}, yv = {1}", xv, yv);
            Console.Write("\n\n");

            int xr = 2, yr = 3;

            pd.intRefParams(ref xr, ref yr);
            Console.Write("\n  values after returning:");
            Console.Write("\n  xr = {0}, yr = {1}", xr, yr);
            Console.Write("\n\n");

            StringBuilder sv = new StringBuilder("string sv");
            StringBuilder tv = new StringBuilder("string tv");

            pd.StringBuilderValueParams(sv, tv);
            Console.Write("\n  values after returning:");
            Console.Write("\n  sv = {0}, tv = {1}", sv, tv);
            Console.Write("\n\n");

            StringBuilder sr = new StringBuilder("string sr");
            StringBuilder tr = new StringBuilder("string tr");

            pd.StringBuilderRefParams(ref sr, ref tr);
            Console.Write("\n  values after returning:");
            Console.Write("\n  sr = {0}, tr = {1}", sr, tr);
            Console.Write("\n\n");

            first  ov = new first();
            second pv = new second();

            pd.ObjectValueParams(ov, pv);
            Console.Write("\n  values after returning:");
            Console.Write("\n  ov = {0}, pv = {1}", ov.ToString(), pv.ToString());
            Console.Write("\n\n");

            object or = new first();
            object pr = new second();

            pd.ObjectRefParams(ref or, ref pr);
            Console.Write("\n  values after returning:");
            Console.Write("\n  or = {0}, pr = {1}", or.ToString(), pr.ToString());
            Console.Write("\n\n");
        }
Esempio n. 4
0
        private void Install_Setting_Click(object sender, RoutedEventArgs e)
        {
            second install_page = new second();

            install_page.Owner = Application.Current.MainWindow;
            install_page.WindowStartupLocation = WindowStartupLocation.CenterOwner;
            if (open_window_path == false)
            {
                if (open_window_path_visiable == true)
                {
                    open_window_path_visiable = false;
                    install_page.Visibility   = Visibility.Visible;
                }
            }
            else
            {
                open_window_path = false;
                install_page.Show();
            }
        }
Esempio n. 5
0
 SetResultLabel(second, lblSecondMatch);
Esempio n. 6
0
 return(new HyperComplex <TInner>(Add(first, other.first), Add(second, other.second)));
 return(new HyperSplitComplex <TInner, TComponent>(Add(first, other.first), Add(second, other.second)));
Esempio n. 8
0
 return(new HyperDiagonal <TInner, TComponent>(Add(first, other.first), Add(second, other.second)));
Esempio n. 9
0
 return(new HyperDual <TInner>(Add(first, other.first), Add(second, other.second)));
Esempio n. 10
0
 join first in firsts on equalityTwo(second) equals equalityOne(first) into temp
Esempio n. 11
0
 join first in firsts on equality(second) equals equality(first) into temp
Esempio n. 12
0
 join second in seconds on equalityOne(first) equals equalityTwo(second) into temp
Esempio n. 13
0
 join second in seconds on equality(first) equals equality(second) into temp
 var(second, f2) = await other;