Esempio n. 1
0
 public static SCOptionPriceFrm getInstance()
 {
     if (SCOptionPriceFrm._instance == null || SCOptionPriceFrm._instance.IsDisposed)
     {
         SCOptionPriceFrm._instance = new SCOptionPriceFrm();
     }
     return(SCOptionPriceFrm._instance);
 }
Esempio n. 2
0
 private void close()
 {
     if (SCOptionPriceFrm._instance != null)
     {
         SCOptionPriceFrm._instance.Close();
         SCOptionPriceFrm._instance.Dispose();
         SCOptionPriceFrm._instance = null;
         //SCOptionPrice._instance = null;
     }
 }
Esempio n. 3
0
 private void optionPriceListToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     SCOptionPriceFrm.getInstance().ShowDialog();
 }