I have a two project in a win application and I have utilize each others objects and controls via providing file reference to the project.
All are working very well but the Problem of set location of first project’s Forms into second project main forms. I mean If I have to decide showing position of first project forms into another than How to do the same?.
Working Between Projects
Project1 project2
----------------------------------------------------
Contains many more forms and Contains Just form1
Controls Which Is MDI
Project2 is Starting Project Containing main Form.If I have done it by following In Project2 then.
private void bankMasterToolStripMenuItem_Click(object sender, EventArgs e)
{
//bkmast is the forms of Invoice1's project OR Project1.
INVOICE1.bkmast bm = new INVOICE1.bkmast();
bm.Location = new Point(0, 50);
bm.ShowDialog();
}
It’s not works well always showing different position of dialogs(forms). How to solve it or how to fix the location of particulars one forms of the first project into another?.
INVOICE1.bkmast
. – John Saunders