Exemple #1
0
 public Report(Bitmap image, Pallet pallet)
 {
     InitializeComponent();
     m_Image = image;
     m_Pallet = pallet;
     LoadNumbers();
 }
Exemple #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;
        }
Exemple #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;
        }
Exemple #4
0
 public BeadManagement(Pallet pallet)
 {
     m_Pallet = pallet;
     InitializeComponent();
 }
Exemple #5
0
 public BeadManagement(Pallet pallet)
 {
     m_Pallet = pallet;
     InitializeComponent();
 }
Exemple #6
0
 public PalletForm(Pallet pallet)
 {
     InitializeComponent();
     m_Pallet = pallet;
     LoadPallet();
 }
Exemple #7
0
 public PalletForm(Pallet pallet)
 {
     InitializeComponent();
     m_Pallet = pallet;
     LoadPallet();
 }