Is theApplication.OpenForms to much overhead for the program?
Hello:
I have this code. Is theApplication.OpenForms to much overhead for the program?
((FormICEPack)Application.OpenForms["FormICEPack"]).textBoxLoginUser_ID.Text = textBoxUser_ID.Text;
((FormICEPack)Application.OpenForms["FormICEPack"]).textBoxLoginPassword.Text = textBoxPassword.Text;
((FormICEPack)Application.OpenForms["FormICEPack"]).textBoxLoginProfile_ID.Text = textBoxProfileLogin_ID.Text;
((FormICEPack)Application.OpenForms["FormICEPack"]).textBoxLoginProfileServer.Text = textBoxProfileServer.Text;
((FormICEPack)Application.OpenForms["FormICEPack"]).textBoxLoginProfileServerType.Text = textBoxProfileServerType.Text;
((FormICEPack)Application.OpenForms["FormICEPack"]).textBoxLoginProfileLogin_ID.Text = textBoxProfileLogin_ID.Text;
((FormICEPack)Application.OpenForms["FormICEPack"]).textBoxLoginProfilePassword.Text = textBoxProfilePassword.Text;
((FormICEPack)Application.OpenForms["FormICEPack"]).textBoxLoginProfileDatabase.Text = textBoxProfileDatabase.Text;