예제 #1
0
파일: Report.cs 프로젝트: Texl/BeadSurge
 public Report(Bitmap image, Pallet pallet)
 {
     InitializeComponent();
     m_Image = image;
     m_Pallet = pallet;
     LoadNumbers();
 }
예제 #2
0
파일: Form1.cs 프로젝트: Texl/BeadSurge
        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;
        }
예제 #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;
        }
예제 #4
0
 public BeadManagement(Pallet pallet)
 {
     m_Pallet = pallet;
     InitializeComponent();
 }
예제 #5
0
 public BeadManagement(Pallet pallet)
 {
     m_Pallet = pallet;
     InitializeComponent();
 }
예제 #6
0
 public PalletForm(Pallet pallet)
 {
     InitializeComponent();
     m_Pallet = pallet;
     LoadPallet();
 }
예제 #7
0
 public PalletForm(Pallet pallet)
 {
     InitializeComponent();
     m_Pallet = pallet;
     LoadPallet();
 }