コード例 #1
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            FormDoStockin createStockinReceipt = new FormDoStockin();

            createStockinReceipt.StartPosition = FormStartPosition.CenterScreen;
            createStockinReceipt.f             = this;
            createStockinReceipt.ShowDialog();
        }
コード例 #2
0
        private void gridControl1_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            StockinReceiptData data = gridView1.GetFocusedRow() as StockinReceiptData;
            FormDoStockin      createStockinReceipt = new FormDoStockin();

            createStockinReceipt.receiptID       = data.receiptID;
            createStockinReceipt.note            = data.note;
            createStockinReceipt.quotationNumber = data.quotationNumber;
            createStockinReceipt.StartPosition   = FormStartPosition.CenterScreen;
            createStockinReceipt.Show();
        }