Exemplo n.º 1
0
        private void simpleButtonVersions_Click(object sender, EventArgs e)
        {
            var sp = DevExpressHelper.GetSelectedRecord <SalePoint>(gridViewSalePoints);

            if (sp != null)
            {
                try
                {
                    var clientService = Protocol.CreateClientProxy(sp.IP);
                    VersionForm.Show(this, sp, clientService.GetVersions());
                }
                catch (Exception ex)
                {
                    ErrorHelper.ShowError <ErrorForm>(null, ex);
                }
            }
        }
Exemplo n.º 2
0
 private void BVersionClick(object sender, EventArgs e)
 {
     MIr.VersionForm version = new VersionForm();
     version.Show();
 }