Exemplo n.º 1
0
        private void Config_Click(object sender, RoutedEventArgs e)
        {
            RetailClusterSource.Group       group = (RetailClusterSource.Group)(((Button)e.OriginalSource).DataContext);
            frmConfigureSupplierQAToCluster win   = new frmConfigureSupplierQAToCluster(loginstateid, group, loginuser, "GROUP");

            win.ShowDialog();
        }
        private void Config_Click(object sender, RoutedEventArgs e)
        {
            RetailClusterSource.RetailCluster rcluster = (RetailClusterSource.RetailCluster)(((Button)e.OriginalSource).DataContext);
            //int clusterid = int.Parse(((Button)e.OriginalSource).CommandParameter.ToString());
            frmConfigureSupplierQAToCluster win = new frmConfigureSupplierQAToCluster(loginstateid, rcluster, loginuser, configType);

            win.ShowDialog();
        }