public FrmProfolioAddTransaction(ProfolioMgr profolioMgr)
 {
     _profolioMgr = profolioMgr;
     InitializeComponent();
     cmbType.SelectedIndex = 0;
     lblContractCode.Enabled = false;
     txtContractCode.Enabled = false;
     dtpDate.Value = DateTime.Now;
 }
Esempio n. 2
0
 public MdiStockTool()
 {
     InitializeComponent();
     try
     {
         _profolioMgr = new ProfolioMgr();
     }
     catch
     {
         _profolioMgr = null;
         組合管理ToolStripMenuItem.Enabled = false;
     }
 }
 public FrmQueryTransaction(StockMgr stockMgr, ProfolioMgr profolioMgr)
 {
     _stockMgr = stockMgr;
     _profolioMgr = profolioMgr;
     InitializeComponent();
 }