コード例 #1
0
        private void cb_supplier_DoubleClick(object sender, EventArgs e)
        {
            SupplierData sdata = new SupplierData();

            sdata.ShowDialog();
            txt_price.Text   = sdata.dataGridView1.CurrentRow.Cells[6].Value.ToString();
            cb_supplier.Text = sdata.dataGridView1.CurrentRow.Cells[1].Value.ToString();
        }
コード例 #2
0
        public void txt_price_Click(object sender, EventArgs e)
        {
            SupplierData sdata = new SupplierData();

            sdata.ShowDialog();

            this.Text = sdata.PiceValue;
        }