Ejemplo n.º 1
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            FormCreateStockinPlan createStockinPlan = new FormCreateStockinPlan();

            createStockinPlan.f             = this;
            createStockinPlan.StartPosition = FormStartPosition.CenterScreen;
            createStockinPlan.ShowDialog();
        }
Ejemplo n.º 2
0
        private void gridControl1_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            StockinPlanData       data = gridView1.GetFocusedRow() as StockinPlanData;
            FormCreateStockinPlan createStockinPlan = new FormCreateStockinPlan();

            createStockinPlan.planID          = data.planID;
            createStockinPlan.note            = data.note;
            createStockinPlan.quotationNumber = data.quotationNumber;
            createStockinPlan.StartPosition   = FormStartPosition.CenterScreen;
            createStockinPlan.Show();
        }