Exemple #1
0
        static public void Test(Horoscope h, Division dtype)
        {
            FindYogas fy = new FindYogas(h, dtype);
            //fy.evaluateYoga ("gr<sun> in hse <1st>");
            //fy.evaluateYoga ("  gr<sun> in hse <1st>  ");
            //fy.evaluateYoga ("( gr<sun> in   hse <1st> )");
            //fy.evaluateYoga ("(gr<sun> in hse <1st>)");
            //fy.evaluateYoga ("(gr<sun> in hse <1st> )  ");

            //fy.evaluateYoga ("<gr:sun,moon,mars,ketu> in <rasi:1st,2nd,3rd,4th,5th,6th,7th,8th>");
            //fy.evaluateYoga ("<gr:mer> with <gr:<lordof:ari>>");
            //fy.evaluateYoga ("&&(<gr:mer> with <gr:<lordof:ari>>)(birth in <time:day>)");
            //fy.evaluateYoga ("&&(<gr:mer> with <gr:<lordof:ari>>)(birth in <time:night>)");

            //fy.evaluateYoga ("<gr:mer> in <rasi:leo>");
            //fy.evaluateYoga ("rasi@(<gr:mer> in <rasi:leo>)");
            //fy.evaluateYoga ("navamsa@(<gr:mer> in <rasi:leo>)");
            //fy.evaluateYoga ("rasi@(<gr:mer> in <rasi:can>)");
            //fy.evaluateYoga ("navamsa@(<gr:mer> in <rasi:can>)");
            //fy.evaluateYoga ("&&(rasi@(<gr:mer> in <rasi:leo>))(d9@(<gr:mer> in <rasi:can>)))");


            //fy.evaluateYoga ("<gr:<dispof:mer>> is <gr:moon>");
            //fy.evaluateYoga ("d9@(<gr:<dispof:<dispof:mer>>> is <gr:moon>)");
            //fy.evaluateYoga ("<gr:<d9@dispof:merc>> with <gr:sun>");
            //fy.evaluateYoga ("&&(<gr:sun,moon,mars> in <rasi:1st,1st,ari> with <gr:moon> and <gr:jup,pis>)(<gr:moon> in <rasi:2nd>)");
            //fy.evaluateYoga ("(&& (gr<sun> in hse<1st>) (mid term) (gr<moon> in  hse<2nd> ) )");
        }
Exemple #2
0
        public YogaControl(Horoscope _h)
        {
            // This call is required by the Windows Form Designer.
            InitializeComponent();
            h  = _h;
            fy = new FindYogas(h, new Division(Basics.DivisionType.Rasi));
            this.mList.BackColor = MhoraGlobalOptions.Instance.ChakraBackgroundColor;
            this.AddViewsToContextMenu(this.mContext);
            h.Changed += new EvtChanged(OnRecalculate);

            this.evaluateYogas();
            // TODO: Add any initialization after the InitializeComponent call
        }