예제 #1
0
        /// <summary>
        /// This is the Click event for the Meat And Fish Category. This event will set the content panel
        /// to display the MeatUserControl.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void MeatAndFishPictureBox_Click(object sender, EventArgs e)
        {
            CategoryUserControl cg = new CategoryUserControl();
            MeatUserControl     me = new MeatUserControl();

            MainControlClass.ShowControl(me, contentPanel);
            cg.Dispose();
        }
예제 #2
0
        /// <summary>
        /// This is the Click event for the Produce Category. This event will set the content panel
        /// to display the ProduceUserControl
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ProducePictureBox_Click(object sender, EventArgs e)
        {
            CategoryUserControl cg = new CategoryUserControl();
            ProduceUserControl  pd = new ProduceUserControl();

            MainControlClass.ShowControl(pd, contentPanel);
            cg.Dispose();
        }
예제 #3
0
        /// <summary>
        /// This is the Click event for the CanGoods Category. This event will set the content panel
        /// to display the CanUserControl.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void CanGoodsPictureBox_Click(object sender, EventArgs e)
        {
            CategoryUserControl cg = new CategoryUserControl();
            CanUserControl      cn = new CanUserControl();

            MainControlClass.ShowControl(cn, contentPanel);
            cg.Dispose();
        }
예제 #4
0
        /// <summary>
        /// This is the Click event for the Frozen Category. This event will set the content panel
        /// to display the FrozenUserControl
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void FrozenPictureBox_Click(object sender, EventArgs e)
        {
            CategoryUserControl cg = new CategoryUserControl();
            FrozenUserControl   fz = new FrozenUserControl();

            MainControlClass.ShowControl(fz, contentPanel);
            cg.Dispose();
        }