示例#1
0
 private void buttonEditInventory_Click(object sender, RoutedEventArgs e)
 {
     FunctionsContextMenu.IsOpen = false;
     InventoryEditorControl.CreateInDefaultWindow().ShowDialog(MainWindow.Singleton);
 }
        public static PosDialogWindow CreateInDefaultWindow()
        {
            InventoryEditorControl control = new InventoryEditorControl();

            return(new PosDialogWindow(control, Strings.InventoryEdit, 330, 550));
        }