Пример #1
0
 void btnNew_Click(object sender, RoutedEventArgs e)
 {
     AssetPurchaseControl AddWin = new AssetPurchaseControl(Action.Add);
     EntityBrowser browser = new EntityBrowser(AddWin);
     browser.MinWidth = 620;
     browser.MinHeight = 450;
     browser.ReloadDataEvent += new EntityBrowser.refreshGridView(browser_ReloadDataEvent);
     browser.Show<string>(DialogMode.Default, Common.ParentLayoutRoot, "", (result) => { });
 }
Пример #2
0
        void btnNew_Click(object sender, RoutedEventArgs e)
        {
            AssetPurchaseControl AddWin  = new AssetPurchaseControl(Action.Add);
            EntityBrowser        browser = new EntityBrowser(AddWin);

            browser.MinWidth         = 620;
            browser.MinHeight        = 450;
            browser.ReloadDataEvent += new EntityBrowser.refreshGridView(browser_ReloadDataEvent);
            browser.Show <string>(DialogMode.Default, Common.ParentLayoutRoot, "", (result) => { });
        }