private void butAdd_Click(object sender,EventArgs e) { FormReplicationEdit FormR=new FormReplicationEdit(); FormR.RepServ=new ReplicationServer(); FormR.RepServ.IsNew=true; FormR.ShowDialog(); if(FormR.DialogResult!=DialogResult.OK) { return; } changed=true; FillGrid(); }
private void gridMain_CellDoubleClick(object sender, ODGridClickEventArgs e) { FormReplicationEdit FormR = new FormReplicationEdit(); FormR.RepServ = ReplicationServers.Listt[e.Row]; FormR.ShowDialog(); if (FormR.DialogResult != DialogResult.OK) { return; } changed = true; FillGrid(); }
private void butAdd_Click(object sender, EventArgs e) { FormReplicationEdit FormR = new FormReplicationEdit(); FormR.RepServ = new ReplicationServer(); FormR.RepServ.IsNew = true; FormR.ShowDialog(); if (FormR.DialogResult != DialogResult.OK) { return; } changed = true; FillGrid(); }
private void gridMain_CellDoubleClick(object sender,ODGridClickEventArgs e) { FormReplicationEdit FormR=new FormReplicationEdit(); FormR.RepServ=ReplicationServers.Listt[e.Row]; FormR.ShowDialog(); if(FormR.DialogResult!=DialogResult.OK) { return; } changed=true; FillGrid(); }