コード例 #1
0
        //********************************************************************
        public PictureViewForm(TSForm f)
        {
            InitializeComponent();
            lbInfo.Text     = "";
            ModeNav.Tag     = (int)pv_Mode.nav;
            ModeView.Tag    = (int)pv_Mode.view;
            ModeNavView.Tag = (int)pv_Mode.navView;
            ModeViewNav.Tag = (int)pv_Mode.viewNav;

            btnScaaleHarf.Tag = 0;
            btnScale1.Tag     = 1;
            btnScale2.Tag     = 2;
            btnScale3.Tag     = 3;
            btnScale4.Tag     = 4;
            this.Owner        = f;
            this.mf           = f;

            LoadPref();
            orgSize = new Size(this.Width, this.Height);
            SetDispMode(pv_now);
        }