예제 #1
0
        private void Config_Click(object sender, RoutedEventArgs e)
        {
            CommonResource.Home  home = ((FrameworkElement)sender).DataContext as CommonResource.Home;
            frmHomeConfiguration win2 = new frmHomeConfiguration(home.HomeID, home.HomeName, loginstateid, usercode);

            win2.ShowDialog();
        }
예제 #2
0
        public frmBulkUpdateQuantity(string ppagidstring, string phomeid, string phomename, string pareaid, string pareaname, string pgroupid, string pgroupname, string pusercode, int loginstateid, string pproductidtext, frmHomeConfiguration pparent)
        {
            cr            = new CommonResource(loginstateid, 0);
            pagidstring   = ppagidstring;
            homeid        = phomeid;
            homename      = phomename;
            areaid        = pareaid;
            areaname      = pareaname;
            groupid       = pgroupid;
            groupname     = pgroupname;
            usercode      = pusercode;
            productidtext = pproductidtext;
            this.parent   = pparent;

            InitializeComponent();

            LoadDetails();
            this.Title = this.Title + " - " + CommonVariables.WindowTitleInfo;
        }