コード例 #1
0
        public FormDock( FormMain parent )
        {
            InitializeComponent();

            Utility.SystemEvents.UpdateTimerTick += UpdateTimerTick;

            ControlHelper.SetDoubleBuffered( TableDock );

            ConfigurationChanged();

            TableDock.SuspendLayout();
            ControlDock = new TableDockControl[4];
            for ( int i = 0; i < ControlDock.Length; i++ ) {
                ControlDock[i] = new TableDockControl( this, TableDock, i );
            }
            TableDock.ResumeLayout();

            Icon = ResourceManager.ImageToIcon( ResourceManager.Instance.Icons.Images[(int)ResourceManager.IconContent.FormDock] );
        }
コード例 #2
0
ファイル: FormDock.cs プロジェクト: t-f-m/ElectronicObserver
        public FormDock(FormMain parent)
        {
            InitializeComponent();

            Utility.SystemEvents.UpdateTimerTick += UpdateTimerTick;


            ControlHelper.SetDoubleBuffered(TableDock);

            ConfigurationChanged();


            TableDock.SuspendLayout();
            ControlDock = new TableDockControl[4];
            for (int i = 0; i < ControlDock.Length; i++)
            {
                ControlDock[i] = new TableDockControl(this, TableDock, i);
            }
            TableDock.ResumeLayout();

            Icon = ResourceManager.ImageToIcon(ResourceManager.Instance.Icons.Images[(int)ResourceManager.IconContent.FormDock]);
        }