private void nbiPrice_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e) { FormPrice ofmPrice = new FormPrice(); //ofmPrice.MdiParent = this; //ofmPrice.WindowState = FormWindowState.Maximized; ofmPrice.Show(); }
private void repBuOpenPrice_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) { // abrir cotización int idprice_version = Convert.ToInt32(grid_view.GetFocusedRowCellValue(gcolHis_Idprice_version)); CPrice_version price_version = new CPrice_versionFactory().GetByPrimaryKey(new CPrice_versionKeys(idprice_version)); FormPrice fmPrice = new FormPrice(price_version, LoadData.MasterSearchPrice); fmPrice.Show(); }
private void ucCopyTo_onSelectedIndex(int index) { if (index == 0) { // nueva versión FormPrice fmPrice = new FormPrice(oPrice_version, LoadData.FromPrice_ToNewVersion); fmPrice.ShowDialog(); } else if (index == 1) { // nueva cotización FormPrice fmPrice = new FormPrice(oPrice_version, LoadData.FromPrice_ToPrice); fmPrice.ShowDialog(); } }