public static CDMA_Base_Params GetCDMA_Base_Params()
        {

            if (instance == null)
            {
                instance = new CDMA_Base_Params();
            }
            return instance;

        }
 private void Ok_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         CDMA_Base.Ful = Double.Parse(Ful.Text);
     }
     catch (Exception)
     {
     }
     try
     {
         CDMA_Base.Fdl = Double.Parse(Fdl.Text);
     }
     catch (Exception)
     {
     }
     try
     {
         CDMA_Base.P = Double.Parse(P.Text);
     }
     catch (Exception)
     {
     }
     try
     {
         CDMA_Base.G = Double.Parse(G.Text);
     }
     catch (Exception)
     {
     }
     try
     {
         CDMA_Base.Lf = Double.Parse(L.Text);
     }
     catch (Exception)
     {
     }
     this.Close();
     instance = null;
 }
 private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     instance = null;
 }
 private void Cansel_Click(object sender, RoutedEventArgs e)
 {
     this.Close();
     instance = null;
 }