コード例 #1
0
ファイル: MessagesForm.cs プロジェクト: Oozdil/BitirmeProjesi
        private void buttonDrugDetails_Click(object sender, EventArgs e)
        {
            DrugDetailForm drugDetailForm = new DrugDetailForm();

            drugDetailForm.barcode = dataGridViewDrugList.SelectedRows[0].Cells[1].Value.ToString();
            drugDetailForm.ShowDialog();
        }
コード例 #2
0
        private void buttonDrugDetail_Click(object sender, EventArgs e)
        {
            DrugDetailForm drugDetailForm = new DrugDetailForm();

            drugDetailForm.User    = User;
            drugDetailForm.barcode = textBoxBarcode.Text.Trim();
            drugDetailForm.ShowDialog();
        }