private void LayoutTwoandOpenNextWindow()
 {
     if (NoOfBedSelector.SelectedItem.ToString() == "10")
     {
         //string ICUID = "ICU002";
         ICU2Beds10Window obj3 = new ICU2Beds10Window();
         obj3.Show();
         this.Close();
     }
     else
     {
         //string ICUID = "ICU001";
         ICU2Beds12Window obj4 = new ICU2Beds12Window();
         obj4.Show();
         this.Close();
     }
 }
Пример #2
0
        private void LayoutTwoandOpenNextWindow()
        {
            ICU2Beds12Window obj4 = new ICU2Beds12Window();
            ICU2Beds10Window obj3 = new ICU2Beds10Window();

            if (NoOfBedSelector.SelectedItem.ToString() == "10")
            {
                alertContext.ICUID = "IC003";
                obj3.Show();
                this.Close();
            }
            else
            {
                alertContext.ICUID = "IC004";
                obj4.Show();
                this.Close();
            }
        }