void p_MouseLeftButtonDown_Moldova(object sender, MouseButtonEventArgs e) { if (TimeIsOn == false) { TimeIsOn = true; timer.Start(); bIsMousePressedMoldova = true; Moldova m = new Moldova(map,c,md,this,lista,true); map.Children.Add(m.MoldovaRegiune1()); map.Children.Add(m.MoldovaRegiune2()); map.Children.Add(m.MoldovaRegiune3()); map.Children.Add(m.MoldovaRegiune4()); poligonMoldova.Visibility = Visibility.Collapsed; poligonBaragan.Visibility = Visibility.Collapsed; poligonTransilvania.Visibility = Visibility.Collapsed; poligonBanat.Visibility = Visibility.Collapsed; AtributeGlobale.RegiuneaCurenta = AtributeGlobale.EnumRegiuni.Moldova;//Holban code;do not delete PaginaUser.getInstance().updateCurrentRegion(); } }
public void lol() { if (TimeIsOn == false) { TimeIsOn = true; timer.Start(); bIsMousePressedMoldova = true; Moldova m = new Moldova(map, c, md,this,lista,false); map.Children.Add(m.MoldovaRegiune1()); map.Children.Add(m.MoldovaRegiune2()); map.Children.Add(m.MoldovaRegiune3()); map.Children.Add(m.MoldovaRegiune4()); poligonMoldova.Visibility = Visibility.Collapsed; poligonBaragan.Visibility = Visibility.Collapsed; poligonTransilvania.Visibility = Visibility.Collapsed; poligonBanat.Visibility = Visibility.Collapsed; AtributeGlobale.RegiuneaCurenta = AtributeGlobale.EnumRegiuni.Moldova;//Holban code;do not delete } }