コード例 #1
0
        public void AddY(IWin32Window f)
        {
            IntFormManager im = new IntFormManager();

            im.Attach(this);

            IntegerAddressForm iaf = new IntegerAddressForm(im, sharedManager, "PuzzLearn - Add Y");

            iaf.ShowDialog(f);
        }
コード例 #2
0
        public void AddY(IWin32Window f)
        {
            IIntFormManager intManager = new IntFormManager();

            intManager.Attach(this);

            IntegerAddressForm intForm = new IntegerAddressForm(intManager, sharedManager, "PuzzLearn - Add Y");

            intForm.ShowDialog(f);
        }
コード例 #3
0
        public void EditY(IntegerAddress i, IWin32Window f)
        {
            IIntFormManager intManager = new IntFormManager(i);

            intManager.Attach(this);

            IntegerAddressForm intForm = new IntegerAddressForm(intManager, sharedManager, "PuzzLearn - Edit Y", i);

            intForm.ShowDialog(f);
        }
コード例 #4
0
        private void editCoord(object coord, string title, IWin32Window f)
        {
            IntegerAddress ia = (IntegerAddress)coord;

            IntFormManager im = new IntFormManager(ia);

            im.Attach(this);

            IntegerAddressForm iaf = new IntegerAddressForm(im, sharedManager, title, ia);

            iaf.ShowDialog(f);
        }