コード例 #1
0
        //Stock Button Actions
        public void CreateStockObjects()
        {
            Stock_08 objStock = new Stock_08();

            objStock.adminInstance = this;
            this.Hide();

            objStock.Show();
        }
コード例 #2
0
        private void btnBookStock_Click(object sender, EventArgs e)
        {
            adminInstance.errObj.txtBtnClicks.Text += "\n" + MethodBase.GetCurrentMethod().Name;

            Stock_08 objStock = new Stock_08();

            if (txtAccno.Text != "")
            {
                objStock.accno = txtAccno.Text;
            }

            objStock.Show();
        }