示例#1
0
        private void nbiPrice_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            FormPrice ofmPrice = new FormPrice();

            //ofmPrice.MdiParent = this;
            //ofmPrice.WindowState = FormWindowState.Maximized;
            ofmPrice.Show();
        }
示例#2
0
        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();
        }
示例#3
0
 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();
     }
 }
示例#4
0
 private void nbiPrice_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
 {
     FormPrice ofmPrice = new FormPrice();
     //ofmPrice.MdiParent = this;
     //ofmPrice.WindowState = FormWindowState.Maximized;
     ofmPrice.Show();
 }