Exemplo n.º 1
0
 private void Ok_Click(object sender, RoutedEventArgs e) {
     try
     {
         CDMA_Abon.P = Double.Parse(P.Text);
     }
     catch (Exception)
     {
     }
     try
     {
         CDMA_Abon.G = Double.Parse(G.Text);
     }
     catch (Exception)
     {
     }
     try
     {
         CDMA_Abon.Lf = Double.Parse(L.Text);
     }
     catch (Exception)
     {
     }
     this.Close();
     instance = null;
 }
Exemplo n.º 2
0
        public static CDMA_Abon_Params GetCDMA_Abon_Params() {

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

        }
Exemplo n.º 3
0
 private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e) {
     instance = null;
 }
Exemplo n.º 4
0
 private void Cansel_Click(object sender, RoutedEventArgs e) {
     this.Close();
     instance = null;
 }