private void btnThemDinh_Click(object sender, EventArgs e) { FrmPrimThemDinh form = new FrmPrimThemDinh(); form.ShowDialog(); Loadz(); }
private void ThemDinhTaiViTri_Click(object sender, EventArgs e) { int tdx = panelMain.PointToClient(MousePosition).X; int tdy = panelMain.PointToClient(MousePosition).Y; FrmPrimThemDinh form = new FrmPrimThemDinh(tdx, tdy); form.ShowDialog(); Loadz(); }