Esempio n. 1
0
        private void metroTileItem10_Click(object sender, EventArgs e)
        {
            this.Hide();
            var form2 = new Purchase_M();

            form2.Closed += (s, args) => this.Close();
            form2.Show();
        }
Esempio n. 2
0
        public purcahsed_products(Purchase_M form, int sid)
        {
            InitializeComponent();
            this.CenterToScreen();
            this.Movable     = false;
            this.Resizable   = false;
            this.MaximizeBox = false;
            this.TopMost     = true;
            globalForm       = form;

            stockID = sid;
            increaseWidth();
            loadGrid();
        }