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