Esempio n. 1
0
 public Report(Bitmap image, Pallet pallet)
 {
     InitializeComponent();
     m_Image = image;
     m_Pallet = pallet;
     LoadNumbers();
 }
Esempio n. 2
0
        public Form1()
        {
            Paint += new PaintEventHandler(OnPaint);
            MouseWheel += new MouseEventHandler(OnMouseWheel);
            InitializeComponent();
            SetStyle(ControlStyles.UserPaint, true);
            SetStyle(ControlStyles.AllPaintingInWmPaint, true);
            SetStyle(ControlStyles.DoubleBuffer, true);
            SetStyle(ControlStyles.UserPaint, true);
            SetStyle(ControlStyles.AllPaintingInWmPaint, true);
            SetStyle(ControlStyles.DoubleBuffer, true);

            cmbZoom.SelectedIndex = 1;
            m_BasePallet = new Pallet();
            gridToolStripMenuItem.Checked = m_GridLines;
            pegsToolStripMenuItem.Checked = m_Pegs;
        }
Esempio n. 3
0
        public Form1()
        {
            Paint      += new PaintEventHandler(OnPaint);
            MouseWheel += new MouseEventHandler(OnMouseWheel);
            InitializeComponent();
            SetStyle(ControlStyles.UserPaint, true);
            SetStyle(ControlStyles.AllPaintingInWmPaint, true);
            SetStyle(ControlStyles.DoubleBuffer, true);
            SetStyle(ControlStyles.UserPaint, true);
            SetStyle(ControlStyles.AllPaintingInWmPaint, true);
            SetStyle(ControlStyles.DoubleBuffer, true);

            cmbZoom.SelectedIndex         = 1;
            m_BasePallet                  = new Pallet();
            gridToolStripMenuItem.Checked = m_GridLines;
            pegsToolStripMenuItem.Checked = m_Pegs;
        }
Esempio n. 4
0
 public BeadManagement(Pallet pallet)
 {
     m_Pallet = pallet;
     InitializeComponent();
 }
Esempio n. 5
0
 public BeadManagement(Pallet pallet)
 {
     m_Pallet = pallet;
     InitializeComponent();
 }
Esempio n. 6
0
 public PalletForm(Pallet pallet)
 {
     InitializeComponent();
     m_Pallet = pallet;
     LoadPallet();
 }
Esempio n. 7
0
 public PalletForm(Pallet pallet)
 {
     InitializeComponent();
     m_Pallet = pallet;
     LoadPallet();
 }