Пример #1
0
        private void initTab()
        {
            int  gapLine = 15, gapX = 20;
            Size size  = new Size();
            Size size1 = new Size();
            int  scrW  = Screen.PrimaryScreen.Bounds.Width;

            tC1                   = new C1.Win.C1Command.C1DockingTab();
            tC1.Dock              = System.Windows.Forms.DockStyle.Fill;
            tC1.HotTrack          = true;
            tC1.BorderStyle       = System.Windows.Forms.BorderStyle.FixedSingle;
            tC1.TabSizeMode       = C1.Win.C1Command.TabSizeModeEnum.Fit;
            tC1.TabsShowFocusCues = true;
            tabItem               = new C1.Win.C1Command.C1DockingTabPage();
            tabItem.Name          = "tabItem";
            tabItem.TabIndex      = 0;
            tabItem.Text          = "Item Master";

            tabDrug             = new C1.Win.C1Command.C1DockingTabPage();
            tabDrug.Name        = "tabDrug";
            tabDrug.TabIndex    = 0;
            tabDrug.Text        = "Drug";
            tabSpecial          = new C1.Win.C1Command.C1DockingTabPage();
            tabSpecial.Name     = "tabSpecial";
            tabSpecial.TabIndex = 0;
            tabSpecial.Text     = "Special Item";
            tabLab          = new C1.Win.C1Command.C1DockingTabPage();
            tabLab.Name     = "tabLab";
            tabLab.TabIndex = 0;
            tabLab.Text     = "Lab Item";

            pnItem             = new Panel();
            pnItem.Dock        = DockStyle.Fill;
            lbCboname          = new Label();
            lbCboname.Text     = "Type :";
            lbCboname.Font     = fEdit;
            lbCboname.Location = new System.Drawing.Point(gapX, 10);
            lbCboname.AutoSize = true;
            cboItemType        = new C1ComboBox();
            size = ic.MeasureString(lbCboname);
            cboItemType.Location             = new System.Drawing.Point(gapX + size.Width, lbCboname.Location.Y);
            cboItemType.SelectedItemChanged += CboItemType_SelectedItemChanged;

            lbItem              = new Label();
            lbItem.Text         = "Item :";
            lbItem.Font         = fEdit;
            lbItem.Location     = new System.Drawing.Point(gapX, gapLine + cboItemType.Height);
            lbItem.AutoSize     = true;
            txtCode             = new C1TextBox();
            txtCode.Font        = fEdit;
            txtCode.Location    = new System.Drawing.Point(cboItemType.Location.X, lbItem.Location.Y);
            lbItemName          = new Label();
            lbItemName.Text     = "...";
            lbItemName.Font     = fEdit;
            lbItemName.Location = new System.Drawing.Point(txtCode.Location.X + txtCode.Width, txtCode.Location.Y);
            lbItemName.AutoSize = true;
            btnSave             = new C1Button();
            btnSave.Name        = "";
            btnSave.Text        = "Save";
            btnSave.Font        = fEdit;
            btnSave.Location    = new System.Drawing.Point(txtCode.Location.X + txtCode.Width + 300, txtCode.Location.Y);
            btnSave.Click      += BtnSave_Click;
            btnClear            = new C1Button();
            btnClear.Name       = "";
            btnClear.Text       = "Clear";
            btnClear.Font       = fEdit;
            btnClear.Location   = new System.Drawing.Point(btnSave.Location.X + btnSave.Width + 10, btnSave.Location.Y);
            btnClear.Click     += BtnClear_Click;
            lbMessage           = new Label();
            lbMessage.Text      = "";
            lbMessage.Font      = fEditB;
            lbMessage.Location  = new System.Drawing.Point(btnClear.Location.X + btnClear.Width + 10, btnClear.Location.Y);
            lbMessage.AutoSize  = true;

            panel1.Controls.Add(tC1);
            tC1.Controls.Add(tabItem);
            tC1.Controls.Add(tabDrug);
            tC1.Controls.Add(tabSpecial);
            tC1.Controls.Add(tabLab);

            grfItem               = new C1FlexGrid();
            grfItem.Font          = fEdit;
            grfItem.Location      = new System.Drawing.Point(gapX, gapLine + txtCode.Height + txtCode.Location.Y);
            grfItem.Size          = new Size(900, 300);
            grfItem.RowColChange += GrfItem_RowColChange;

            lbCapPtt          = new Label();
            lbCapPtt.Text     = "Master";
            lbCapPtt.Font     = fEdit;
            lbCapPtt.Location = new System.Drawing.Point(gapX, gapLine + grfItem.Location.Y + grfItem.Height);
            lbCapPtt.AutoSize = true;
            size                 = ic.MeasureString(lbCapPtt);
            txtItemCode          = new C1TextBox();
            txtItemCode.Font     = fEdit;
            txtItemCode.Location = new System.Drawing.Point(gapX + size.Width, lbCapPtt.Location.Y);
            lbItemCode           = new Label();
            lbItemCode.Text      = "...";
            lbItemCode.Font      = fEdit;
            lbItemCode.Location  = new System.Drawing.Point(gapX + txtItemCode.Location.X + txtItemCode.Width, lbCapPtt.Location.Y);
            lbItemCode.AutoSize  = true;

            lbCapLink          = new Label();
            lbCapLink.Text     = "Link";
            lbCapLink.Font     = fEdit;
            lbCapLink.Location = new System.Drawing.Point(scrW / 2, lbCapPtt.Location.Y);
            lbCapLink.AutoSize = true;
            size                 = ic.MeasureString(lbCapLink);
            txtLinkCode          = new C1TextBox();
            txtLinkCode.Font     = fEdit;
            txtLinkCode.Location = new System.Drawing.Point(lbCapLink.Location.X + size.Width, lbCapLink.Location.Y);
            lbLinkCode           = new Label();
            lbLinkCode.Text      = "...";
            lbLinkCode.Font      = fEdit;
            lbLinkCode.Location  = new System.Drawing.Point(gapX + txtLinkCode.Location.X + txtLinkCode.Width, lbCapPtt.Location.Y);
            lbLinkCode.AutoSize  = true;

            grfPtt                = new C1FlexGrid();
            grfPtt.Font           = fEdit;
            grfPtt.Location       = new System.Drawing.Point(gapX, lbCapPtt.Height + lbCapPtt.Location.Y);
            grfPtt.Size           = new Size((scrW / 2) - 50, 300);
            grfPtt.RowColChange  += GrfPtt_RowColChange;
            grfLink               = new C1FlexGrid();
            grfLink.Font          = fEdit;
            grfLink.Location      = new System.Drawing.Point(gapX + grfPtt.Width + gapX, grfPtt.Location.Y);
            grfLink.Size          = new Size((scrW / 2) - 50, 300);
            grfLink.RowColChange += GrfLink_RowColChange;

            tabItem.Controls.Add(pnItem);
            pnItem.Controls.Add(lbCboname);
            pnItem.Controls.Add(cboItemType);
            pnItem.Controls.Add(lbItemName);
            pnItem.Controls.Add(lbItem);
            pnItem.Controls.Add(txtCode);
            pnItem.Controls.Add(grfItem);
            pnItem.Controls.Add(lbCapPtt);
            pnItem.Controls.Add(lbCapLink);
            pnItem.Controls.Add(grfPtt);
            pnItem.Controls.Add(grfLink);
            pnItem.Controls.Add(txtItemCode);
            pnItem.Controls.Add(txtLinkCode);
            pnItem.Controls.Add(lbItemCode);
            pnItem.Controls.Add(lbLinkCode);
            pnItem.Controls.Add(btnSave);
            pnItem.Controls.Add(btnClear);
            pnItem.Controls.Add(lbMessage);
            theme1.SetTheme(panel1, ic.iniC.themeApp);
            theme1.SetTheme(tC1, ic.iniC.themeApp);
            theme1.SetTheme(tC1, ic.iniC.themeApp);
            theme1.SetTheme(lbMessage, ic.iniC.themeApp);
            lbMessage.Text = "สร้างข้อมูลLinkใหม่";
        }
Пример #2
0
        private void initComponent()
        {
            //new LogWriter("d", "FrmDoctorView initComponent 00 ");
            int  gapLine = 20, gapX = 20;
            Size size = new Size();
            int  scrW = Screen.PrimaryScreen.Bounds.Width;

            theme1   = new C1.Win.C1Themes.C1ThemeController();
            this.sb1 = new C1.Win.C1Ribbon.C1StatusBar();
            panel1   = new System.Windows.Forms.Panel();
            pnHead   = new System.Windows.Forms.Panel();
            pnBotton = new System.Windows.Forms.Panel();
            pnQue    = new System.Windows.Forms.Panel();
            pnApm    = new System.Windows.Forms.Panel();
            pnFinish = new System.Windows.Forms.Panel();
            pnIPD    = new System.Windows.Forms.Panel();

            //theme1 = new C1.Win.C1Themes.C1ThemeController();
            tC1       = new C1.Win.C1Command.C1DockingTab();
            tabQue    = new C1.Win.C1Command.C1DockingTabPage();
            tabApm    = new C1.Win.C1Command.C1DockingTabPage();
            tabFinish = new C1.Win.C1Command.C1DockingTabPage();
            tabIPD    = new C1.Win.C1Command.C1DockingTabPage();

            panel1.SuspendLayout();
            pnHead.SuspendLayout();
            pnBotton.SuspendLayout();
            pnQue.SuspendLayout();
            pnApm.SuspendLayout();
            pnFinish.SuspendLayout();
            pnIPD.SuspendLayout();
            tC1.SuspendLayout();
            tabQue.SuspendLayout();
            tabApm.SuspendLayout();
            tabFinish.SuspendLayout();
            tabIPD.SuspendLayout();

            this.SuspendLayout();

            this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.panel1.Location = new System.Drawing.Point(0, 0);
            this.panel1.Name     = "panel1";
            this.panel1.TabIndex = 0;
            //panel1.BackColor = Color.Brown;
            this.sb1.AutoSizeElement = C1.Framework.AutoSizeElement.Width;
            this.sb1.Location        = new System.Drawing.Point(0, 620);
            this.sb1.Name            = "sb1";
            this.sb1.Size            = new System.Drawing.Size(956, 22);
            this.sb1.VisualStyle     = C1.Win.C1Ribbon.VisualStyle.Office2007Blue;
            pnHead.Size        = new System.Drawing.Size(scrW, 50);
            pnHead.BorderStyle = BorderStyle.Fixed3D;

            tabQue.Name     = "tabQue";
            tabQue.TabIndex = 0;
            tabQue.Text     = "Queue";
            tabQue.Font     = fEditB;
            //tabQue.TabIndex = tC1.TabCount + 1;

            tabApm.Name     = "tabApm";
            tabApm.TabIndex = 1;
            tabApm.Text     = "Appointment";
            tabApm.Font     = fEditB;

            tabFinish.Name     = "tabFinish";
            tabFinish.TabIndex = 2;
            tabFinish.Text     = "Finish";
            tabFinish.Font     = fEditB;

            tabIPD.Name     = "tabIPD";
            tabIPD.TabIndex = 3;
            tabIPD.Text     = "IPD";
            tabIPD.Font     = fEditB;

            tC1.Dock              = System.Windows.Forms.DockStyle.Fill;
            tC1.HotTrack          = true;
            tC1.BorderStyle       = System.Windows.Forms.BorderStyle.FixedSingle;
            tC1.TabSizeMode       = C1.Win.C1Command.TabSizeModeEnum.Fit;
            tC1.TabsShowFocusCues = true;
            tC1.Alignment         = TabAlignment.Top;
            tC1.SelectedTabBold   = true;
            tC1.Name              = "tC1";
            tC1.Font              = fEditB;
            tC1.CanCloseTabs      = true;
            tC1.CanAutoHide       = false;
            tC1.SelectedTabBold   = true;
            //tC1.Location = new System.Drawing.Point(0, 0);
            //tC1.BackColor = Color.White;

            pnHead.Dock          = DockStyle.Top;
            pnBotton.Dock        = DockStyle.Fill;
            pnBotton.BorderStyle = BorderStyle.FixedSingle;
            pnQue.Dock           = DockStyle.Fill;
            pnApm.Dock           = DockStyle.Fill;
            pnFinish.Dock        = DockStyle.Fill;
            pnIPD.Dock           = DockStyle.Fill;
            //new LogWriter("d", "FrmDoctorView initComponent 01 ");
            setControlComponent();

            this.Controls.Add(panel1);
            this.Controls.Add(this.sb1);

            panel1.Controls.Add(pnBotton);
            panel1.Controls.Add(pnHead);
            pnBotton.Controls.Add(tC1);
            tC1.Controls.Add(tabQue);
            tC1.Controls.Add(tabApm);
            tC1.Controls.Add(tabFinish);
            tC1.Controls.Add(tabIPD);
            tabQue.Controls.Add(pnQue);
            tabApm.Controls.Add(pnApm);
            tabFinish.Controls.Add(pnFinish);
            tabIPD.Controls.Add(pnIPD);

            pnHead.Controls.Add(lbDtrName);
            pnHead.Controls.Add(txtPttHn);
            pnHead.Controls.Add(btnHnSearch);
            pnHead.Controls.Add(txtDate);
            pnHead.Controls.Add(lbTxtDate);
            pnHead.Controls.Add(lbTxtPttHn);
            //pnHead.Controls.Add(lbPttName);

            this.WindowState = FormWindowState.Maximized;

            //lbDtrName.ResumeLayout(false);
            //lbTxtPttHn.ResumeLayout(false);
            panel1.ResumeLayout(false);
            pnHead.ResumeLayout(false);
            pnBotton.ResumeLayout(false);
            pnQue.ResumeLayout(false);
            pnApm.ResumeLayout(false);
            pnFinish.ResumeLayout(false);
            pnIPD.ResumeLayout(false);
            tC1.ResumeLayout(false);
            tabQue.ResumeLayout(false);
            tabApm.ResumeLayout(false);
            tabFinish.ResumeLayout(false);
            tabIPD.ResumeLayout(false);
            this.ResumeLayout(false);

            pnQue.PerformLayout();
            pnApm.PerformLayout();

            tC1.PerformLayout();
            tabQue.PerformLayout();
            tabApm.PerformLayout();
            this.PerformLayout();
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
     System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("...");
     System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("A:", 0, 4, new System.Windows.Forms.TreeNode[] {
         treeNode1
     });
     System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("...");
     System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("C:", 0, 4, new System.Windows.Forms.TreeNode[] {
         treeNode3
     });
     System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("...");
     System.Windows.Forms.TreeNode treeNode6 = new System.Windows.Forms.TreeNode("D:", 0, 4, new System.Windows.Forms.TreeNode[] {
         treeNode5
     });
     System.Windows.Forms.TreeNode treeNode7 = new System.Windows.Forms.TreeNode("...");
     System.Windows.Forms.TreeNode treeNode8 = new System.Windows.Forms.TreeNode("E:", 0, 4, new System.Windows.Forms.TreeNode[] {
         treeNode7
     });
     System.Windows.Forms.TreeNode treeNode9  = new System.Windows.Forms.TreeNode("...");
     System.Windows.Forms.TreeNode treeNode10 = new System.Windows.Forms.TreeNode("F:", 0, 4, new System.Windows.Forms.TreeNode[] {
         treeNode9
     });
     System.Windows.Forms.TreeNode treeNode11 = new System.Windows.Forms.TreeNode("...");
     System.Windows.Forms.TreeNode treeNode12 = new System.Windows.Forms.TreeNode("G:", 0, 4, new System.Windows.Forms.TreeNode[] {
         treeNode11
     });
     System.Windows.Forms.TreeNode treeNode13 = new System.Windows.Forms.TreeNode("...");
     System.Windows.Forms.TreeNode treeNode14 = new System.Windows.Forms.TreeNode("U:", 0, 4, new System.Windows.Forms.TreeNode[] {
         treeNode13
     });
     System.Windows.Forms.TreeNode treeNode15 = new System.Windows.Forms.TreeNode("...");
     System.Windows.Forms.TreeNode treeNode16 = new System.Windows.Forms.TreeNode("W:", 0, 4, new System.Windows.Forms.TreeNode[] {
         treeNode15
     });
     System.Windows.Forms.TreeNode treeNode17 = new System.Windows.Forms.TreeNode("...");
     System.Windows.Forms.TreeNode treeNode18 = new System.Windows.Forms.TreeNode("X:", 0, 4, new System.Windows.Forms.TreeNode[] {
         treeNode17
     });
     this.c1MainMenu1          = new C1.Win.C1Command.C1MainMenu();
     this.c1CommandHolder1     = new C1.Win.C1Command.C1CommandHolder();
     this.mnuFile              = new C1.Win.C1Command.C1CommandMenu();
     this.c1CommandLink8       = new C1.Win.C1Command.C1CommandLink();
     this.cmdFileNew           = new C1.Win.C1Command.C1Command();
     this.c1CommandLink9       = new C1.Win.C1Command.C1CommandLink();
     this.cmdFileOpen          = new C1.Win.C1Command.C1Command();
     this.c1CommandLink11      = new C1.Win.C1Command.C1CommandLink();
     this.cmdFileSave          = new C1.Win.C1Command.C1Command();
     this.c1CommandLink3       = new C1.Win.C1Command.C1CommandLink();
     this.cmdExit              = new C1.Win.C1Command.C1Command();
     this.mnuEdit              = new C1.Win.C1Command.C1CommandMenu();
     this.c1CommandLink5       = new C1.Win.C1Command.C1CommandLink();
     this.mnuWindow            = new C1.Win.C1Command.C1CommandMenu();
     this.c1CommandLink7       = new C1.Win.C1Command.C1CommandLink();
     this.cmdWindowCloseAll    = new C1.Win.C1Command.C1Command();
     this.c1CommandMenuOptions = new C1.Win.C1Command.C1CommandMenu();
     this.c1CommandLink14      = new C1.Win.C1Command.C1CommandLink();
     this.c1CommandVS2005      = new C1.Win.C1Command.C1Command();
     this.imageList1           = new System.Windows.Forms.ImageList(this.components);
     this.c1CommandLink1       = new C1.Win.C1Command.C1CommandLink();
     this.c1CommandLink4       = new C1.Win.C1Command.C1CommandLink();
     this.c1CommandLink13      = new C1.Win.C1Command.C1CommandLink();
     this.c1CommandLink6       = new C1.Win.C1Command.C1CommandLink();
     this.dockToolbar          = new C1.Win.C1Command.C1CommandDock();
     this.c1ToolBar1           = new C1.Win.C1Command.C1ToolBar();
     this.c1CommandLink2       = new C1.Win.C1Command.C1CommandLink();
     this.c1CommandLink10      = new C1.Win.C1Command.C1CommandLink();
     this.c1CommandLink12      = new C1.Win.C1Command.C1CommandLink();
     this.dockSidebar          = new C1.Win.C1Command.C1CommandDock();
     this.tabSidebar           = new C1.Win.C1Command.C1DockingTab();
     this.c1DockingTabPage2    = new C1.Win.C1Command.C1DockingTabPage();
     this.dirView              = new MdiTabs.DirView();
     this.c1DockingTabPage1    = new C1.Win.C1Command.C1DockingTabPage();
     this.listOpenFiles        = new System.Windows.Forms.ListBox();
     this.dockTray             = new C1.Win.C1Command.C1CommandDock();
     this.tabTray              = new C1.Win.C1Command.C1DockingTab();
     this.c1DockingTabPage3    = new C1.Win.C1Command.C1DockingTabPage();
     this.textLog              = new System.Windows.Forms.TextBox();
     this.tabMain              = new C1.Win.C1Command.C1DockingTab();
     this.openFileDialog1      = new System.Windows.Forms.OpenFileDialog();
     this.saveFileDialog1      = new System.Windows.Forms.SaveFileDialog();
     ((System.ComponentModel.ISupportInitialize)(this.c1CommandHolder1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dockToolbar)).BeginInit();
     this.dockToolbar.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dockSidebar)).BeginInit();
     this.dockSidebar.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tabSidebar)).BeginInit();
     this.tabSidebar.SuspendLayout();
     this.c1DockingTabPage2.SuspendLayout();
     this.c1DockingTabPage1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dockTray)).BeginInit();
     this.dockTray.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tabTray)).BeginInit();
     this.tabTray.SuspendLayout();
     this.c1DockingTabPage3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tabMain)).BeginInit();
     this.SuspendLayout();
     //
     // c1MainMenu1
     //
     this.c1MainMenu1.AccessibleName = "Menu Bar";
     this.c1MainMenu1.CommandHolder  = this.c1CommandHolder1;
     this.c1MainMenu1.CommandLinks.AddRange(new C1.Win.C1Command.C1CommandLink[] {
         this.c1CommandLink1,
         this.c1CommandLink4,
         this.c1CommandLink13,
         this.c1CommandLink6
     });
     this.c1MainMenu1.Dock            = System.Windows.Forms.DockStyle.Top;
     this.c1MainMenu1.Location        = new System.Drawing.Point(0, 0);
     this.c1MainMenu1.Name            = "c1MainMenu1";
     this.c1MainMenu1.Size            = new System.Drawing.Size(760, 21);
     this.c1MainMenu1.VisualStyleBase = C1.Win.C1Command.VisualStyle.OfficeXP;
     //
     // c1CommandHolder1
     //
     this.c1CommandHolder1.Commands.Add(this.mnuFile);
     this.c1CommandHolder1.Commands.Add(this.mnuEdit);
     this.c1CommandHolder1.Commands.Add(this.mnuWindow);
     this.c1CommandHolder1.Commands.Add(this.cmdExit);
     this.c1CommandHolder1.Commands.Add(this.cmdFileNew);
     this.c1CommandHolder1.Commands.Add(this.cmdFileOpen);
     this.c1CommandHolder1.Commands.Add(this.cmdFileSave);
     this.c1CommandHolder1.Commands.Add(this.cmdWindowCloseAll);
     this.c1CommandHolder1.Commands.Add(this.c1CommandMenuOptions);
     this.c1CommandHolder1.Commands.Add(this.c1CommandVS2005);
     this.c1CommandHolder1.ImageList             = this.imageList1;
     this.c1CommandHolder1.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.c1CommandHolder1.Owner = this;
     //
     // mnuFile
     //
     this.mnuFile.CommandLinks.AddRange(new C1.Win.C1Command.C1CommandLink[] {
         this.c1CommandLink8,
         this.c1CommandLink9,
         this.c1CommandLink11,
         this.c1CommandLink3
     });
     this.mnuFile.Name            = "mnuFile";
     this.mnuFile.Text            = "&File";
     this.mnuFile.VisualStyleBase = C1.Win.C1Command.VisualStyle.OfficeXP;
     //
     // c1CommandLink8
     //
     this.c1CommandLink8.Command = this.cmdFileNew;
     //
     // cmdFileNew
     //
     this.cmdFileNew.ImageIndex = 1;
     this.cmdFileNew.Name       = "cmdFileNew";
     this.cmdFileNew.Text       = "&New";
     this.cmdFileNew.Click     += new C1.Win.C1Command.ClickEventHandler(this.cmdFileNew_Click);
     //
     // c1CommandLink9
     //
     this.c1CommandLink9.Command = this.cmdFileOpen;
     //
     // cmdFileOpen
     //
     this.cmdFileOpen.ImageIndex = 0;
     this.cmdFileOpen.Name       = "cmdFileOpen";
     this.cmdFileOpen.Text       = "&Open";
     this.cmdFileOpen.Click     += new C1.Win.C1Command.ClickEventHandler(this.cmdFileOpen_Click);
     //
     // c1CommandLink11
     //
     this.c1CommandLink11.Command = this.cmdFileSave;
     //
     // cmdFileSave
     //
     this.cmdFileSave.ImageIndex         = 2;
     this.cmdFileSave.Name               = "cmdFileSave";
     this.cmdFileSave.Text               = "&Save";
     this.cmdFileSave.CommandStateQuery += new C1.Win.C1Command.CommandStateQueryEventHandler(this.cmdFileSave_CommandStateQuery);
     this.cmdFileSave.Click             += new C1.Win.C1Command.ClickEventHandler(this.cmdFileSave_Click);
     //
     // c1CommandLink3
     //
     this.c1CommandLink3.Command   = this.cmdExit;
     this.c1CommandLink3.Delimiter = true;
     //
     // cmdExit
     //
     this.cmdExit.Name   = "cmdExit";
     this.cmdExit.Text   = "E&xit";
     this.cmdExit.Click += new C1.Win.C1Command.ClickEventHandler(this.cmdExit_Click);
     //
     // mnuEdit
     //
     this.mnuEdit.CommandLinks.AddRange(new C1.Win.C1Command.C1CommandLink[] {
         this.c1CommandLink5
     });
     this.mnuEdit.HideNonRecentLinks = false;
     this.mnuEdit.Name            = "mnuEdit";
     this.mnuEdit.Text            = "&Edit";
     this.mnuEdit.VisualStyleBase = C1.Win.C1Command.VisualStyle.OfficeXP;
     //
     // c1CommandLink5
     //
     this.c1CommandLink5.Text = "[TBD]";
     //
     // mnuWindow
     //
     this.mnuWindow.CommandLinks.AddRange(new C1.Win.C1Command.C1CommandLink[] {
         this.c1CommandLink7
     });
     this.mnuWindow.HideNonRecentLinks = false;
     this.mnuWindow.Name            = "mnuWindow";
     this.mnuWindow.Text            = "&Window";
     this.mnuWindow.VisualStyleBase = C1.Win.C1Command.VisualStyle.OfficeXP;
     this.mnuWindow.Popup          += new System.EventHandler(this.mnuWindow_Popup);
     //
     // c1CommandLink7
     //
     this.c1CommandLink7.Command = this.cmdWindowCloseAll;
     //
     // cmdWindowCloseAll
     //
     this.cmdWindowCloseAll.Name = "cmdWindowCloseAll";
     this.cmdWindowCloseAll.Text = "Close &All";
     this.cmdWindowCloseAll.CommandStateQuery += new C1.Win.C1Command.CommandStateQueryEventHandler(this.cmdWindowCloseAll_CommandStateQuery);
     this.cmdWindowCloseAll.Click             += new C1.Win.C1Command.ClickEventHandler(this.cmdWindowCloseAll_Click);
     //
     // c1CommandMenuOptions
     //
     this.c1CommandMenuOptions.CommandLinks.AddRange(new C1.Win.C1Command.C1CommandLink[] {
         this.c1CommandLink14
     });
     this.c1CommandMenuOptions.HideNonRecentLinks = false;
     this.c1CommandMenuOptions.Name            = "c1CommandMenuOptions";
     this.c1CommandMenuOptions.Text            = "O&ptions";
     this.c1CommandMenuOptions.VisualStyleBase = C1.Win.C1Command.VisualStyle.OfficeXP;
     //
     // c1CommandLink14
     //
     this.c1CommandLink14.Command = this.c1CommandVS2005;
     //
     // c1CommandVS2005
     //
     this.c1CommandVS2005.CheckAutoToggle = true;
     this.c1CommandVS2005.Checked         = true;
     this.c1CommandVS2005.Name            = "c1CommandVS2005";
     this.c1CommandVS2005.Text            = "VS2005 Docking";
     this.c1CommandVS2005.CheckedChanged += new C1.Win.C1Command.CheckedChangedEventHandler(this.c1CommandVS2005_CheckedChanged);
     //
     // imageList1
     //
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Magenta;
     this.imageList1.Images.SetKeyName(0, "");
     this.imageList1.Images.SetKeyName(1, "");
     this.imageList1.Images.SetKeyName(2, "");
     //
     // c1CommandLink1
     //
     this.c1CommandLink1.Command = this.mnuFile;
     //
     // c1CommandLink4
     //
     this.c1CommandLink4.Command   = this.mnuEdit;
     this.c1CommandLink4.SortOrder = 1;
     //
     // c1CommandLink13
     //
     this.c1CommandLink13.Command   = this.c1CommandMenuOptions;
     this.c1CommandLink13.SortOrder = 2;
     //
     // c1CommandLink6
     //
     this.c1CommandLink6.Command   = this.mnuWindow;
     this.c1CommandLink6.SortOrder = 3;
     //
     // dockToolbar
     //
     this.dockToolbar.Controls.Add(this.c1ToolBar1);
     this.dockToolbar.Id       = 1;
     this.dockToolbar.Location = new System.Drawing.Point(0, 21);
     this.dockToolbar.Name     = "dockToolbar";
     this.dockToolbar.Size     = new System.Drawing.Size(760, 24);
     //
     // c1ToolBar1
     //
     this.c1ToolBar1.CommandHolder = this.c1CommandHolder1;
     this.c1ToolBar1.CommandLinks.AddRange(new C1.Win.C1Command.C1CommandLink[] {
         this.c1CommandLink2,
         this.c1CommandLink10,
         this.c1CommandLink12
     });
     this.c1ToolBar1.Location        = new System.Drawing.Point(0, 0);
     this.c1ToolBar1.Name            = "c1ToolBar1";
     this.c1ToolBar1.Size            = new System.Drawing.Size(77, 24);
     this.c1ToolBar1.Text            = "c1ToolBar1";
     this.c1ToolBar1.VisualStyleBase = C1.Win.C1Command.VisualStyle.OfficeXP;
     //
     // c1CommandLink2
     //
     this.c1CommandLink2.Command = this.cmdFileNew;
     //
     // c1CommandLink10
     //
     this.c1CommandLink10.Command = this.cmdFileOpen;
     //
     // c1CommandLink12
     //
     this.c1CommandLink12.Command = this.cmdFileSave;
     //
     // dockSidebar
     //
     this.dockSidebar.BackColor = System.Drawing.SystemColors.ControlDark;
     this.dockSidebar.Controls.Add(this.tabSidebar);
     this.dockSidebar.Dock     = System.Windows.Forms.DockStyle.Right;
     this.dockSidebar.Id       = 3;
     this.dockSidebar.Location = new System.Drawing.Point(592, 45);
     this.dockSidebar.Name     = "dockSidebar";
     this.dockSidebar.Size     = new System.Drawing.Size(168, 504);
     //
     // tabSidebar
     //
     this.tabSidebar.Alignment    = System.Windows.Forms.TabAlignment.Bottom;
     this.tabSidebar.BorderStyle  = System.Windows.Forms.BorderStyle.None;
     this.tabSidebar.CanAutoHide  = true;
     this.tabSidebar.CanCloseTabs = true;
     this.tabSidebar.CanMoveTabs  = true;
     this.tabSidebar.Controls.Add(this.c1DockingTabPage2);
     this.tabSidebar.Controls.Add(this.c1DockingTabPage1);
     this.tabSidebar.Location        = new System.Drawing.Point(0, 0);
     this.tabSidebar.Name            = "tabSidebar";
     this.tabSidebar.ShowCaption     = true;
     this.tabSidebar.Size            = new System.Drawing.Size(168, 504);
     this.tabSidebar.TabIndex        = 0;
     this.tabSidebar.TabSizeMode     = C1.Win.C1Command.TabSizeModeEnum.Fit;
     this.tabSidebar.TabsSpacing     = 0;
     this.tabSidebar.VisualStyleBase = C1.Win.C1Command.VisualStyle.OfficeXP;
     //
     // c1DockingTabPage2
     //
     this.c1DockingTabPage2.Controls.Add(this.dirView);
     this.c1DockingTabPage2.Location = new System.Drawing.Point(3, 0);
     this.c1DockingTabPage2.Name     = "c1DockingTabPage2";
     this.c1DockingTabPage2.Size     = new System.Drawing.Size(165, 480);
     this.c1DockingTabPage2.TabIndex = 0;
     this.c1DockingTabPage2.Text     = "Directory Listing";
     //
     // dirView
     //
     this.dirView.Dock   = System.Windows.Forms.DockStyle.Fill;
     this.dirView.Filter = new string[] {
         "*.rtf",
         "*.txt"
     };
     this.dirView.ImageIndex       = 0;
     this.dirView.Location         = new System.Drawing.Point(0, 20);
     this.dirView.Name             = "dirView";
     treeNode1.Name                = "";
     treeNode1.Tag                 = ((object)(resources.GetObject("treeNode1.Tag")));
     treeNode1.Text                = "...";
     treeNode2.ImageIndex          = 0;
     treeNode2.Name                = "";
     treeNode2.SelectedImageIndex  = 4;
     treeNode2.Tag                 = ((object)(resources.GetObject("treeNode2.Tag")));
     treeNode2.Text                = "A:";
     treeNode3.Name                = "";
     treeNode3.Tag                 = ((object)(resources.GetObject("treeNode3.Tag")));
     treeNode3.Text                = "...";
     treeNode4.ImageIndex          = 0;
     treeNode4.Name                = "";
     treeNode4.SelectedImageIndex  = 4;
     treeNode4.Tag                 = ((object)(resources.GetObject("treeNode4.Tag")));
     treeNode4.Text                = "C:";
     treeNode5.Name                = "";
     treeNode5.Tag                 = ((object)(resources.GetObject("treeNode5.Tag")));
     treeNode5.Text                = "...";
     treeNode6.ImageIndex          = 0;
     treeNode6.Name                = "";
     treeNode6.SelectedImageIndex  = 4;
     treeNode6.Tag                 = ((object)(resources.GetObject("treeNode6.Tag")));
     treeNode6.Text                = "D:";
     treeNode7.Name                = "";
     treeNode7.Tag                 = ((object)(resources.GetObject("treeNode7.Tag")));
     treeNode7.Text                = "...";
     treeNode8.ImageIndex          = 0;
     treeNode8.Name                = "";
     treeNode8.SelectedImageIndex  = 4;
     treeNode8.Tag                 = ((object)(resources.GetObject("treeNode8.Tag")));
     treeNode8.Text                = "E:";
     treeNode9.Name                = "";
     treeNode9.Tag                 = ((object)(resources.GetObject("treeNode9.Tag")));
     treeNode9.Text                = "...";
     treeNode10.ImageIndex         = 0;
     treeNode10.Name               = "";
     treeNode10.SelectedImageIndex = 4;
     treeNode10.Tag                = ((object)(resources.GetObject("treeNode10.Tag")));
     treeNode10.Text               = "F:";
     treeNode11.Name               = "";
     treeNode11.Tag                = ((object)(resources.GetObject("treeNode11.Tag")));
     treeNode11.Text               = "...";
     treeNode12.ImageIndex         = 0;
     treeNode12.Name               = "";
     treeNode12.SelectedImageIndex = 4;
     treeNode12.Tag                = ((object)(resources.GetObject("treeNode12.Tag")));
     treeNode12.Text               = "G:";
     treeNode13.Name               = "";
     treeNode13.Tag                = ((object)(resources.GetObject("treeNode13.Tag")));
     treeNode13.Text               = "...";
     treeNode14.ImageIndex         = 0;
     treeNode14.Name               = "";
     treeNode14.SelectedImageIndex = 4;
     treeNode14.Tag                = ((object)(resources.GetObject("treeNode14.Tag")));
     treeNode14.Text               = "U:";
     treeNode15.Name               = "";
     treeNode15.Tag                = ((object)(resources.GetObject("treeNode15.Tag")));
     treeNode15.Text               = "...";
     treeNode16.ImageIndex         = 0;
     treeNode16.Name               = "";
     treeNode16.SelectedImageIndex = 4;
     treeNode16.Tag                = ((object)(resources.GetObject("treeNode16.Tag")));
     treeNode16.Text               = "W:";
     treeNode17.Name               = "";
     treeNode17.Tag                = ((object)(resources.GetObject("treeNode17.Tag")));
     treeNode17.Text               = "...";
     treeNode18.ImageIndex         = 0;
     treeNode18.Name               = "";
     treeNode18.SelectedImageIndex = 4;
     treeNode18.Tag                = ((object)(resources.GetObject("treeNode18.Tag")));
     treeNode18.Text               = "X:";
     this.dirView.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
         treeNode2,
         treeNode4,
         treeNode6,
         treeNode8,
         treeNode10,
         treeNode12,
         treeNode14,
         treeNode16,
         treeNode18
     });
     this.dirView.SelectedImageIndex = 0;
     this.dirView.Size      = new System.Drawing.Size(165, 460);
     this.dirView.TabIndex  = 0;
     this.dirView.EditFile += new MdiTabs.DirView.EditFileEventHandler(this.dirView_EditFile);
     //
     // c1DockingTabPage1
     //
     this.c1DockingTabPage1.Controls.Add(this.listOpenFiles);
     this.c1DockingTabPage1.Location = new System.Drawing.Point(3, 0);
     this.c1DockingTabPage1.Name     = "c1DockingTabPage1";
     this.c1DockingTabPage1.Size     = new System.Drawing.Size(165, 480);
     this.c1DockingTabPage1.TabIndex = 1;
     this.c1DockingTabPage1.Text     = "Open Files";
     //
     // listOpenFiles
     //
     this.listOpenFiles.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.listOpenFiles.Location     = new System.Drawing.Point(0, 20);
     this.listOpenFiles.Name         = "listOpenFiles";
     this.listOpenFiles.Size         = new System.Drawing.Size(165, 459);
     this.listOpenFiles.TabIndex     = 0;
     this.listOpenFiles.DoubleClick += new System.EventHandler(this.listOpenFiles_DoubleClick);
     //
     // dockTray
     //
     this.dockTray.BackColor = System.Drawing.SystemColors.Window;
     this.dockTray.Controls.Add(this.tabTray);
     this.dockTray.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.dockTray.Id       = 4;
     this.dockTray.Location = new System.Drawing.Point(0, 421);
     this.dockTray.Name     = "dockTray";
     this.dockTray.Size     = new System.Drawing.Size(592, 128);
     //
     // tabTray
     //
     this.tabTray.Alignment    = System.Windows.Forms.TabAlignment.Bottom;
     this.tabTray.BorderStyle  = System.Windows.Forms.BorderStyle.None;
     this.tabTray.CanAutoHide  = true;
     this.tabTray.CanCloseTabs = true;
     this.tabTray.CanMoveTabs  = true;
     this.tabTray.Controls.Add(this.c1DockingTabPage3);
     this.tabTray.Location        = new System.Drawing.Point(0, 0);
     this.tabTray.Name            = "tabTray";
     this.tabTray.ShowCaption     = true;
     this.tabTray.Size            = new System.Drawing.Size(592, 128);
     this.tabTray.TabIndex        = 0;
     this.tabTray.TabSizeMode     = C1.Win.C1Command.TabSizeModeEnum.Fit;
     this.tabTray.TabsSpacing     = 0;
     this.tabTray.VisualStyleBase = C1.Win.C1Command.VisualStyle.OfficeXP;
     //
     // c1DockingTabPage3
     //
     this.c1DockingTabPage3.Controls.Add(this.textLog);
     this.c1DockingTabPage3.Location = new System.Drawing.Point(0, 3);
     this.c1DockingTabPage3.Name     = "c1DockingTabPage3";
     this.c1DockingTabPage3.Size     = new System.Drawing.Size(592, 101);
     this.c1DockingTabPage3.TabIndex = 0;
     this.c1DockingTabPage3.Text     = "Log";
     //
     // textLog
     //
     this.textLog.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.textLog.Location   = new System.Drawing.Point(0, 20);
     this.textLog.Multiline  = true;
     this.textLog.Name       = "textLog";
     this.textLog.ReadOnly   = true;
     this.textLog.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
     this.textLog.Size       = new System.Drawing.Size(592, 81);
     this.textLog.TabIndex   = 0;
     //
     // tabMain
     //
     this.tabMain.BackColor             = System.Drawing.SystemColors.AppWorkspace;
     this.tabMain.BorderStyle           = System.Windows.Forms.BorderStyle.FixedSingle;
     this.tabMain.CanCloseTabs          = true;
     this.tabMain.CanMoveTabs           = true;
     this.tabMain.Dock                  = System.Windows.Forms.DockStyle.Fill;
     this.tabMain.Location              = new System.Drawing.Point(0, 45);
     this.tabMain.Name                  = "tabMain";
     this.tabMain.Size                  = new System.Drawing.Size(592, 376);
     this.tabMain.TabIndex              = 5;
     this.tabMain.TabsSpacing           = 0;
     this.tabMain.VisualStyle           = C1.Win.C1Command.VisualStyle.Custom;
     this.tabMain.VisualStyleBase       = C1.Win.C1Command.VisualStyle.OfficeXP;
     this.tabMain.TabPageClosed        += new C1.Win.C1Command.TabPageEventHandler(this.tabMain_TabPageClosed);
     this.tabMain.SelectedIndexChanged += new System.EventHandler(this.tabMain_SelectedIndexChanged);
     this.tabMain.TabPageClosing       += new C1.Win.C1Command.TabPageCancelEventHandler(this.tabMain_TabPageClosing);
     this.tabMain.DoubleClick          += new System.EventHandler(this.tabMain_DoubleClick);
     //
     // openFileDialog1
     //
     this.openFileDialog1.CheckFileExists = false;
     this.openFileDialog1.Filter          = "Rich text files|*.rtf|Text files|*.txt|All files|*.*";
     //
     // saveFileDialog1
     //
     this.saveFileDialog1.Filter = "Rich text files|*.rtf|Text files|*.txt|All files|*.*";
     //
     // MainForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(760, 549);
     this.Controls.Add(this.tabMain);
     this.Controls.Add(this.dockTray);
     this.Controls.Add(this.dockSidebar);
     this.Controls.Add(this.dockToolbar);
     this.Controls.Add(this.c1MainMenu1);
     this.Name  = "MainForm";
     this.Text  = "MainForm";
     this.Load += new System.EventHandler(this.MainForm_Load);
     ((System.ComponentModel.ISupportInitialize)(this.c1CommandHolder1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dockToolbar)).EndInit();
     this.dockToolbar.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dockSidebar)).EndInit();
     this.dockSidebar.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.tabSidebar)).EndInit();
     this.tabSidebar.ResumeLayout(false);
     this.c1DockingTabPage2.ResumeLayout(false);
     this.c1DockingTabPage1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dockTray)).EndInit();
     this.dockTray.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.tabTray)).EndInit();
     this.tabTray.ResumeLayout(false);
     this.c1DockingTabPage3.ResumeLayout(false);
     this.c1DockingTabPage3.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tabMain)).EndInit();
     this.ResumeLayout(false);
 }