Example #1
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            //Select toD = new Select();
            ////Token_Dlg toD = new Token_Dlg();
            //this.Close();
            //toD.Show();

            userview uv = new userview();
            uv.MdiParent = this.ParentForm;

            this.Close();
            uv.Show();
        }
Example #2
0
        //////////////////////////////////////////////////////////////////////end /////////////////
        ////////////////////////////////////////////////////////////////////// OK /////////////////
        void ok()
        {
            string Exchange = combo_Exchange.Text;
            string order_type = comboB_OrderType.Text;
            string Inst_type = comboBInstType.Text;
            string symbol = comboB_Symbol.Text;

            string exoiry = combo_Exoiry.Text;
            string option_type = combo_OptionType.Text;
            string strike_price = combo_StrikePrice.Text;
            string token2 = label8.Text;
            userview se = new userview();
            if (token2 == "label8")
            {

                se.sho2(Exchange, order_type, Inst_type, symbol, exoiry, option_type, strike_price, token);

                this.Close();

                se.Show();
            }
            else
            {
                se.sho3(Exchange, order_type, Inst_type, symbol, exoiry, option_type, strike_price, token, token2);

                this.Close();

                se.Show();

            }
        }