private void InitializeSiteForm(ForlabSite site) { SiteForm frm = new SiteForm(site, _mdiparent); frm.ShowDialog(); //_rPane.RebindRegion(_region);//b RebindRegion(_region);//added b }
private void lsvSite_DoubleClick(object sender, EventArgs e) { SiteForm frm = new SiteForm(GetSelectedSite(), _mdiparent, false); frm.ShowDialog(); }
private void newSiteToolStripMenuItem_Click(object sender, EventArgs e) { SiteForm frm = new SiteForm(new ForlabSite(), this); frm.ShowDialog(); }
public override void EditSelectedItem() { SiteForm frm = new SiteForm(GetSelectedSite(), MdiParentForm); frm.ShowDialog(); }
private void lbtAddnew_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { SiteForm frm = new SiteForm(new ForlabSite() { Region = DataRepository.GetRegionById(_regionid) }, MdiParentForm); frm.ShowDialog(); }