Ejemplo n.º 1
0
        private void btnPlant_Manager_Click(object sender, EventArgs e)
        {
            /// to get value from plant manager windows
            /// you must decler parameter in this form (public) by using this name PARAMETTER_G
            frmPlantManager f = new frmPlantManager();

            f.PARAMETTER_G = "NewProject";
            if (f.ShowDialog() == DialogResult.OK)
            {
                txtPlantManagerNo.Text = f.G_Value;
            }
        }
Ejemplo n.º 2
0
        private void btnPlant_Manager_Click(object sender, EventArgs e)
        {
            frmPlantManager f = new frmPlantManager();

            f.ShowDialog();
        }