Exemplo n.º 1
0
        public Actions(PnPMain parent)
        {
            InitializeComponent();
            blocksave = true;

            stockbox.Text      = GetReg("StockFile");
            pnpbox.Text        = GetReg("PnPFile");
            bombox.Text        = GetReg("BOMFile");
            gerberzipbox.Text  = GetReg("GerberZip");
            topsilk.Checked    = GetRegBool("topsilkvisible");
            bottomsilk.Checked = GetRegBool("bottomsilkvisible");
            string fmode = GetReg("flipmode");
            int    idx   = FlipModeBox.Items.IndexOf(fmode);

            if (idx <= 0)
            {
                idx = 0;
            }
            FlipModeBox.SelectedIndex = idx;

            blocksave             = false;
            pnp                   = parent;
            pnp.flipboard         = MakeFlipMode(FlipModeBox.SelectedItem);
            pnp.topsilkvisible    = topsilk.Checked;
            pnp.bottomsilkvisible = bottomsilk.Checked;
        }
Exemplo n.º 2
0
        public Actions(PnPMain parent)
        {
            InitializeComponent();
            blocksave = true;

            stockbox.Text      = GetReg("StockFile");
            silkbox.Text       = GetReg("SilkFile");
            pnpbox.Text        = GetReg("PnPFile");
            bombox.Text        = GetReg("BOMFile");
            outlinebox.Text    = GetReg("OutlineFile");
            gerberzipbox.Text  = GetReg("GerberZip");
            topsilk.Checked    = GetRegBool("topsilkvisible");
            bottomsilk.Checked = GetRegBool("bottomsilkvisible");
            blocksave          = false;
            pnp = parent;

            pnp.topsilkvisible    = topsilk.Checked;
            pnp.bottomsilkvisible = bottomsilk.Checked;
        }
Exemplo n.º 3
0
 public BoardDisplay(PnPMain parent, bool postdisplay)
 {
     InitializeComponent();
     pnp         = parent;
     PostDisplay = postdisplay;
 }
Exemplo n.º 4
0
 public BOMList(PnPMain main)
 {
     pnp = main;
     InitializeComponent();
 }