コード例 #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;
 }
コード例 #2
0
        public static CDMA_Abon_Params GetCDMA_Abon_Params() {

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

        }
コード例 #3
0
 private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e) {
     instance = null;
 }
コード例 #4
0
 private void Cansel_Click(object sender, RoutedEventArgs e) {
     this.Close();
     instance = null;
 }