Beispiel #1
0
        private void OpenBarrel()
        {
            frmBarrel lfb = new frmBarrel();

            lfb.RegisterClose();
            lfb.DataContext = this;
            lfb.Show();
        }
Beispiel #2
0
        private void AddBarrel()
        {
            Barrel lb = new Barrel();

            SelectedGun.TargetBarrel = lb;
            frmBarrel lfb = new frmBarrel();

            lfb.RegisterClose();
            lfb.DataContext = this;
            lfb.Show();
        }