Example #1
0
        private void frmMain_Load(object sender, EventArgs e)
        {
            _form = this;
            _form.Size = new Size(_form.Size.Width, 23);
            Modules = new List<int>();

            // Loading Settings File
            _systemData = new SystemData();
            LoadSettings();

            lblTop.Size = new Size(lblTop.Size.Height + 1, _form.Size.Width);
            lblTop.Location = _form.Location;

            updateTimer.Start();

            // Moving Right Buttons to edge of screen
            //bRightCollapse.Location = new Point(_form.Size.Width - bRightCollapse.Size.Width, bRightCollapse.Location.Y);
            //bMenu.Location = new Point(_form.Size.Width - bRightCollapse.Size.Width - bMenu.Size.Width, bMenu.Location.Y);
            bReset.Location = new Point(_form.Size.Width - bHide.Size.Width - bReset.Size.Width - 5 - 5, bReset.Location.Y);
            bHide.Location = new Point(_form.Size.Width - bHide.Size.Width - 5, bReset.Location.Y);

            // Resizing main Panal
            Panel.Size = new Size(_form.Size.Width - 15, _form.Size.Height);

            
        }
 public frmSettings(frmMain parent)
 {
     _parent = parent;
     InitializeComponent();
 }