Example #1
0
        private void ShowAddTradeForm(object sender, EventArgs e)
        {
            frmAddTrade.MdiParent       = this;
            frmAddTrade.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            frmAddTrade.Dock            = DockStyle.Fill;
            frmAddTrade.ResetForm();
            frmAddTrade.Show();

            saveToolStripButton.Visible   = true;
            saveToolStripMenuItem.Visible = true;

            if (frmPortfolio.Visible)
            {
                frmPortfolio.Hide();
            }
        }
Example #2
0
 private void btsAddPortfolioItem_Click(object sender, EventArgs e)
 {
     frmAddTrade.Show();
 }