예제 #1
0
        private void InitializeDeckPage()
        {
            var curve = GameApp.Service<ResourceManager>().Acquire<Curve>("Curves/CardMove");
            var candFmtOptions = new Graphics.TextRenderer.FormatOptions(new Graphics.TextRenderer.FontDescriptor("Microsoft YaHei", 11));

            var resourceMgr = GameApp.Service<ResourceManager>();
            var buttonTexture = resourceMgr.Acquire<Graphics.VirtualTexture>("atlas:Textures/UI/InGame/Atlas0$Button");
            Graphics.TexturedQuad m_buttonFace = new Graphics.TexturedQuad(buttonTexture);
            TextRenderer.IFormattedText textReturnButton = GameApp.Service<TextRenderer>().FormatText("<<返回", m_textFormatOptions);
            var btnReturn = new UI.Button()
            {
                Dispatcher = Root,
                ButtonText = textReturnButton,
                TextColor = Color.White,
                Transform = MatrixHelper.Translate(40, 20),
                NormalFace = m_buttonFace
            };
            if (m_isFirstLoaded)
            {
                btnReturn.MouseButton1Down += delegate(object sender, UI.MouseEventArgs e)
                {
                    Root.Dispatcher = null;
                    GameApp.Service<MenuUI>().Startup();
                };
                m_isFirstLoaded = false;
            }
        }
예제 #2
0
파일: Slot.cs 프로젝트: colincapurso/IC2013
        public Slot(int tag, Rectangle dst)
        {
            Dst = dst;

              int btnX = dst.X + (int)(dst.Width * 0.58f);
              int btnY = dst.Y + (int)(dst.Height * 0.66f);
              Button = new UI.Button(btnX, btnY, "SaveGame/ButtonNew", Events.NewGame);
              Button.Tag = tag;

              DstCharacter = new Rectangle(dst.X + InsetCharacter.X, dst.Y + InsetCharacter.Y, 100, 148);
              DstWhale = new Rectangle(dst.X + InsetWhale.X, dst.Y + InsetWhale.Y, 170, 128);

              //ImageCharacter = "SaveGame/Characters/Characters_01";
              //ImageWhale = "SaveGame/Whales/Whale_01";
        }
예제 #3
0
 public void AddContextButton(string buttonText, Action<string> onClicked)
 {
     var newButton = new UI.Button
     {
         NormalFace = m_buttonFace,
         Dispatcher = InGameUIPage.Style.ChildIds["ContextButtons"].Target
     };
     newButton.ButtonText = GameApp.Service<Graphics.TextRenderer>().FormatText(buttonText, m_buttonTextFormatOptions);
     newButton.MouseButton1Up += delegate(object sender, UI.MouseEventArgs e)
     {
         if (onClicked != null) { onClicked(((UI.Button)sender).ButtonText.Text); }
     };
     var leftTop = new Point(0, m_contextButtons.Count > 0 ? m_contextButtons.Last().Region.Bottom + 10 : 0);
     newButton.Region = new Rectangle(leftTop, newButton.Region.Size);
     m_contextButtons.Add(newButton);
 }
예제 #4
0
        protected override void OnInitialize()
        {
            var selectToolButton = new UI.Button
            {
                Name     = "SelectToolButton",
                Text     = "Select",
                Location = new Point(10, 10),
                Size     = new Size2(90, 25)
            };

            UIManager.Add(selectToolButton);

            var moveToolButton = new UI.Button
            {
                Name     = "MoveToolButton",
                Text     = "Move",
                Location = new Point(110, 10),
                Size     = new Size2(90, 25)
            };

            UIManager.Add(moveToolButton);

            var rotateToolButton = new UI.Button
            {
                Name     = "RotateToolButton",
                Text     = "Rotate",
                Location = new Point(210, 10),
                Size     = new Size2(90, 25)
            };

            UIManager.Add(rotateToolButton);

            var scaleToolButton = new UI.Button
            {
                Name     = "Scale",
                Text     = "Scale",
                Location = new Point(310, 10),
                Size     = new Size2(90, 25)
            };

            UIManager.Add(scaleToolButton);

            selectToolButton.Click += Click_Test;
            moveToolButton.Click   += Click_Test;
            rotateToolButton.Click += Click_Test;
            scaleToolButton.Click  += Click_Test;
        }
예제 #5
0
        private void InitializePage()
        {
            var resourceMgr = GameApp.Service<ResourceManager>();
            var buttonTexture = resourceMgr.Acquire<Graphics.VirtualTexture>("atlas:Textures/UI/InGame/Atlas0$Button");
            Graphics.TexturedQuad m_buttonFace = new Graphics.TexturedQuad(buttonTexture);

            TextRenderer.IFormattedText textLoginButton = GameApp.Service<TextRenderer>().FormatText("随机对战", m_textFormatOptions);
            var btnLogin = new UI.Button()
            {
                Dispatcher = Root,
                ButtonText = textLoginButton,
                TextColor = Color.White,
                Transform = MatrixHelper.Translate(300, 350),
                NormalFace = m_buttonFace
            };
            btnLogin.MouseButton1Down += new EventHandler<UI.MouseEventArgs>(btnLogin_MouseButton1Down);
        }
예제 #6
0
        public Controller()
            : base()
        {
            NextButton = new UI.Button(720, 530, "UI/ButtonNext", Events.NextWorld);

              WhaleButtons = new UI.Button[]{
            new UI.Button(710, 160, "WhaleSelect/WhaleIcons_00", Events.Select),
            new UI.Button(860, 160, "WhaleSelect/WhaleIcons_01", Events.Select),
            new UI.Button(710, 275, "WhaleSelect/WhaleIcons_02", Events.Select),
            new UI.Button(860, 275, "WhaleSelect/WhaleIcons_03", Events.Select)
              };

              WhaleButtons[0].Tag = (int)WhaleTypes.Pilot;
              WhaleButtons[1].Tag = (int)WhaleTypes.Humpback;
              WhaleButtons[2].Tag = (int)WhaleTypes.Blue;
              WhaleButtons[3].Tag = (int)WhaleTypes.Orca;

              //WhaleButtons[3].State = UI.UIControlState.Disabled;

              Game1.EventMan.Register(Events.Select, Select);
        }
예제 #7
0
        public Controller()
            : base()
        {
            NextButton = new UI.Button(720, 530, "UI/ButtonNext", Events.NextWorld);

              int count = 0;
              int spacing = 10;
              int left = 380;
              int top = 100;
              int charWidth = 100;
              int charHeight = 148;

              for (int y = 0; y < 3; y++)
              {
            for (int x = 0; x < 5; x++)
            {
              string imagePath;

              if (count < 5)
            imagePath = "CharacterSelect/Character_" + count.ToString("D2");
              else
            imagePath = "CharacterSelect/temp";

              CharacterButtons.Add(new UI.Button(
            left + x * (charWidth + spacing),
            top + y * (charHeight + spacing - 30),
            imagePath, Events.Select));

              CharacterButtons[CharacterButtons.Count - 1].Tag = count;

              if (count >= 5)
            CharacterButtons[CharacterButtons.Count - 1].State = UI.UIControlState.Disabled;

              count++;
            }
              }

              Game1.EventMan.Register(Events.Select, Select);
        }
예제 #8
0
        public Controller()
            : base()
        {
            if (DB.Planets == null)
            DB.Planets = DB.GenerateDefaultPlanetData();

              foreach (var item in DB.Planets)
            Planets.Add(new Planet(item.PlanetID, item.Position, item.Diameter, (PlanetTypes)item.PlanetType));

              Planets[Planets.Count - 1].Shielded = true;

              Whale = new Whale(DB.CurrentSave.PositionInSpace);
              WhaleEnergy = new UI.EnergyBar(new Vector2(42, 560), DB.CurrentSave.WhaleEnergy / 1000);

              ButtonTeleport = new UI.Button(0, 0, "UI/ButtonTeleport", Events.Teleport);
              ButtonTeleport.ScrollingScreen = true;

              ButtonInventory = new UI.Button(807, 556, "UI/ButtonInventory", Events.ShowHideInventory);
              ButtonWiki = new UI.Button(870, 556, "UI/ButtonWiki", Events.ShowHideWiki);
              ButtonSettings = new UI.Button(933, 556, "UI/ButtonSettings", Events.ShowHideSettings);

              Game1.EventMan.Register(Events.MouseClick, MouseClick);
              Game1.EventMan.Register(Events.MouseMove, MouseMove);
              Game1.EventMan.Register(Events.Teleport, Teleport);
              Game1.EventMan.Register(Events.ShowHideWiki, UIWiki.ShowHide);
              Game1.EventMan.Register(Events.ShowHideInventory, UIInventory.ShowHide);
              Game1.EventMan.Register(Events.ShowHideSettings, UISettings.ShowHide);

              // Deregister so that only this controller can direct mouse events
              ButtonInventory.DeregisterEvents();
              ButtonWiki.DeregisterEvents();
              ButtonSettings.DeregisterEvents();
              ButtonTeleport.DeregisterEvents();

              Audio.Play(Music.Title);

              DB.SaveToDisk();
        }
예제 #9
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.gridPat = new OpenDental.UI.ODGrid();
     this.gridMain = new OpenDental.UI.ODGrid();
     this.butAdd = new OpenDental.UI.Button();
     this.butClose = new OpenDental.UI.Button();
     this.label6 = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // gridPat
     //
     this.gridPat.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.gridPat.HScrollVisible = false;
     this.gridPat.Location = new System.Drawing.Point(10,9);
     this.gridPat.Name = "gridPat";
     this.gridPat.ScrollValue = 0;
     this.gridPat.Size = new System.Drawing.Size(916,194);
     this.gridPat.TabIndex = 6;
     this.gridPat.Title = "Patient Fields";
     this.gridPat.TranslationName = null;
     this.gridPat.CellDoubleClick += new OpenDental.UI.ODGridClickEventHandler(this.gridPat_CellDoubleClick);
     //
     // gridMain
     //
     this.gridMain.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.gridMain.HScrollVisible = false;
     this.gridMain.Location = new System.Drawing.Point(10,209);
     this.gridMain.Name = "gridMain";
     this.gridMain.ScrollValue = 0;
     this.gridMain.SelectionMode = OpenDental.UI.GridSelectionMode.OneCell;
     this.gridMain.Size = new System.Drawing.Size(916,418);
     this.gridMain.TabIndex = 5;
     this.gridMain.Title = "Ortho Chart";
     this.gridMain.TranslationName = null;
     this.gridMain.CellDoubleClick += new OpenDental.UI.ODGridClickEventHandler(this.gridMain_CellDoubleClick);
     //
     // butAdd
     //
     this.butAdd.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butAdd.Autosize = true;
     this.butAdd.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butAdd.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butAdd.CornerRadius = 4F;
     this.butAdd.Location = new System.Drawing.Point(10,634);
     this.butAdd.Name = "butAdd";
     this.butAdd.Size = new System.Drawing.Size(75,23);
     this.butAdd.TabIndex = 9;
     this.butAdd.Text = "Add Date";
     this.butAdd.UseVisualStyleBackColor = true;
     this.butAdd.Click += new System.EventHandler(this.butAdd_Click);
     //
     // butClose
     //
     this.butClose.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butClose.Autosize = true;
     this.butClose.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butClose.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butClose.CornerRadius = 4F;
     this.butClose.Location = new System.Drawing.Point(851,634);
     this.butClose.Name = "butClose";
     this.butClose.Size = new System.Drawing.Size(75,23);
     this.butClose.TabIndex = 7;
     this.butClose.Text = "Close";
     this.butClose.UseVisualStyleBackColor = true;
     this.butClose.Click += new System.EventHandler(this.butClose_Click);
     //
     // label6
     //
     this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.label6.Location = new System.Drawing.Point(722,630);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(123,27);
     this.label6.TabIndex = 55;
     this.label6.Text = "(All info is always saved automatically)";
     this.label6.TextAlign = System.Drawing.ContentAlignment.BottomRight;
     //
     // FormOrthoChart
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.ClientSize = new System.Drawing.Size(938,665);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.butAdd);
     this.Controls.Add(this.butClose);
     this.Controls.Add(this.gridPat);
     this.Controls.Add(this.gridMain);
     this.Name = "FormOrthoChart";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Ortho Chart";
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FormOrthoChart_FormClosing);
     this.Load += new System.EventHandler(this.FormOrthoChart_Load);
     this.ResumeLayout(false);
 }
예제 #10
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.label1 = new System.Windows.Forms.Label();
     this.textDescript = new System.Windows.Forms.TextBox();
     this.label2 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.label5 = new System.Windows.Forms.Label();
     this.textRangeStart = new System.Windows.Forms.TextBox();
     this.textRangeEnd = new System.Windows.Forms.TextBox();
     this.textAtoZpath = new System.Windows.Forms.TextBox();
     this.label6 = new System.Windows.Forms.Label();
     this.checkUpdateBlocked = new System.Windows.Forms.CheckBox();
     this.label7 = new System.Windows.Forms.Label();
     this.label8 = new System.Windows.Forms.Label();
     this.butDelete = new OpenDental.UI.Button();
     this.textServerId = new OpenDental.ValidNum();
     this.butOK = new OpenDental.UI.Button();
     this.butCancel = new OpenDental.UI.Button();
     this.textSlaveMonitor = new System.Windows.Forms.TextBox();
     this.label9 = new System.Windows.Forms.Label();
     this.label10 = new System.Windows.Forms.Label();
     this.butThisComputer = new OpenDental.UI.Button();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(340,49);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(327,48);
     this.label1.TabIndex = 60;
     this.label1.Text = "this also needs to be set in the my.ini file on each server.  If the my.ini file " +
     "gets changed, be sure to restart the server and each workstation client.";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // textDescript
     //
     this.textDescript.Location = new System.Drawing.Point(238,22);
     this.textDescript.Name = "textDescript";
     this.textDescript.Size = new System.Drawing.Size(318,20);
     this.textDescript.TabIndex = 61;
     this.textDescript.WordWrap = false;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(10,22);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(226,18);
     this.label2.TabIndex = 62;
     this.label2.Text = "Server Description";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(10,64);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(226,18);
     this.label3.TabIndex = 63;
     this.label3.Text = "server_id";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(10,107);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(226,18);
     this.label4.TabIndex = 65;
     this.label4.Text = "Range Start";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(10,137);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(226,18);
     this.label5.TabIndex = 67;
     this.label5.Text = "Range End";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // textRangeStart
     //
     this.textRangeStart.Location = new System.Drawing.Point(238,107);
     this.textRangeStart.Name = "textRangeStart";
     this.textRangeStart.Size = new System.Drawing.Size(175,20);
     this.textRangeStart.TabIndex = 68;
     this.textRangeStart.WordWrap = false;
     //
     // textRangeEnd
     //
     this.textRangeEnd.Location = new System.Drawing.Point(238,137);
     this.textRangeEnd.Name = "textRangeEnd";
     this.textRangeEnd.Size = new System.Drawing.Size(175,20);
     this.textRangeEnd.TabIndex = 69;
     this.textRangeEnd.WordWrap = false;
     //
     // textAtoZpath
     //
     this.textAtoZpath.Location = new System.Drawing.Point(238,168);
     this.textAtoZpath.Name = "textAtoZpath";
     this.textAtoZpath.Size = new System.Drawing.Size(388,20);
     this.textAtoZpath.TabIndex = 72;
     this.textAtoZpath.WordWrap = false;
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(10,168);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(226,18);
     this.label6.TabIndex = 71;
     this.label6.Text = "A to Z images folder";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // checkUpdateBlocked
     //
     this.checkUpdateBlocked.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.checkUpdateBlocked.Location = new System.Drawing.Point(16,200);
     this.checkUpdateBlocked.Name = "checkUpdateBlocked";
     this.checkUpdateBlocked.Size = new System.Drawing.Size(236,18);
     this.checkUpdateBlocked.TabIndex = 99;
     this.checkUpdateBlocked.Text = "Update Blocked";
     this.checkUpdateBlocked.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.checkUpdateBlocked.UseVisualStyleBackColor = true;
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(258,200);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(368,48);
     this.label7.TabIndex = 100;
     this.label7.Text = "Use this option carefully.�It really will block the ability of the server to upda" +
     "te database versions, and it\'s possible that this could prevent startup of the p" +
     "rogram in certain situations.";
     //
     // label8
     //
     this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif",8.25F,System.Drawing.FontStyle.Bold,System.Drawing.GraphicsUnit.Point,((byte)(0)));
     this.label8.Location = new System.Drawing.Point(418,141);
     this.label8.Name = "label8";
     this.label8.Size = new System.Drawing.Size(258,13);
     this.label8.TabIndex = 101;
     this.label8.Text = "Range must be at least 1,000,000 numbers.";
     //
     // butDelete
     //
     this.butDelete.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butDelete.Autosize = true;
     this.butDelete.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butDelete.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butDelete.CornerRadius = 4F;
     this.butDelete.Image = global::OpenDental.Properties.Resources.deleteX;
     this.butDelete.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butDelete.Location = new System.Drawing.Point(24,333);
     this.butDelete.Name = "butDelete";
     this.butDelete.Size = new System.Drawing.Size(86,24);
     this.butDelete.TabIndex = 70;
     this.butDelete.Text = "Delete";
     this.butDelete.Click += new System.EventHandler(this.butDelete_Click);
     //
     // textServerId
     //
     this.textServerId.Location = new System.Drawing.Point(238,64);
     this.textServerId.MaxVal = 2000000000;
     this.textServerId.MinVal = 0;
     this.textServerId.Name = "textServerId";
     this.textServerId.Size = new System.Drawing.Size(100,20);
     this.textServerId.TabIndex = 64;
     //
     // butOK
     //
     this.butOK.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butOK.Autosize = true;
     this.butOK.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butOK.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butOK.CornerRadius = 4F;
     this.butOK.Location = new System.Drawing.Point(488,333);
     this.butOK.Name = "butOK";
     this.butOK.Size = new System.Drawing.Size(75,24);
     this.butOK.TabIndex = 3;
     this.butOK.Text = "&OK";
     this.butOK.Click += new System.EventHandler(this.butOK_Click);
     //
     // butCancel
     //
     this.butCancel.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butCancel.Autosize = true;
     this.butCancel.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butCancel.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butCancel.CornerRadius = 4F;
     this.butCancel.Location = new System.Drawing.Point(579,333);
     this.butCancel.Name = "butCancel";
     this.butCancel.Size = new System.Drawing.Size(75,24);
     this.butCancel.TabIndex = 2;
     this.butCancel.Text = "&Cancel";
     this.butCancel.Click += new System.EventHandler(this.butCancel_Click);
     //
     // textSlaveMonitor
     //
     this.textSlaveMonitor.Location = new System.Drawing.Point(238,251);
     this.textSlaveMonitor.Name = "textSlaveMonitor";
     this.textSlaveMonitor.Size = new System.Drawing.Size(306,20);
     this.textSlaveMonitor.TabIndex = 103;
     this.textSlaveMonitor.WordWrap = false;
     //
     // label9
     //
     this.label9.Location = new System.Drawing.Point(10,251);
     this.label9.Name = "label9";
     this.label9.Size = new System.Drawing.Size(226,18);
     this.label9.TabIndex = 102;
     this.label9.Text = "Slave Monitor";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label10
     //
     this.label10.Location = new System.Drawing.Point(238,274);
     this.label10.Name = "label10";
     this.label10.Size = new System.Drawing.Size(306,41);
     this.label10.TabIndex = 100;
     this.label10.Text = "Enter the name of the computer that will constantly monitor the health of the rep" +
     "lication process. This machine should stay on at all times.";
     //
     // butThisComputer
     //
     this.butThisComputer.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butThisComputer.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butThisComputer.Autosize = true;
     this.butThisComputer.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butThisComputer.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butThisComputer.CornerRadius = 4F;
     this.butThisComputer.Location = new System.Drawing.Point(550,251);
     this.butThisComputer.Name = "butThisComputer";
     this.butThisComputer.Size = new System.Drawing.Size(87,24);
     this.butThisComputer.TabIndex = 3;
     this.butThisComputer.Text = "This Computer";
     this.butThisComputer.Click += new System.EventHandler(this.butThisComputer_Click);
     //
     // FormReplicationEdit
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.ClientSize = new System.Drawing.Size(678,372);
     this.Controls.Add(this.textSlaveMonitor);
     this.Controls.Add(this.label9);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.label10);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.checkUpdateBlocked);
     this.Controls.Add(this.textAtoZpath);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.butDelete);
     this.Controls.Add(this.textRangeEnd);
     this.Controls.Add(this.textRangeStart);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.textServerId);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.textDescript);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.butThisComputer);
     this.Controls.Add(this.butOK);
     this.Controls.Add(this.butCancel);
     this.Name = "FormReplicationEdit";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Edit Replication Server";
     this.Load += new System.EventHandler(this.FormReplicationEdit_Load);
     this.ResumeLayout(false);
     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.textDocDateDesc = new System.Windows.Forms.TextBox();
     this.label1 = new System.Windows.Forms.Label();
     this.checkDiscontinued = new System.Windows.Forms.CheckBox();
     this.pictBox = new System.Windows.Forms.PictureBox();
     this.gridMeds = new OpenDental.UI.ODGrid();
     this.butPickRxListImage = new OpenDental.UI.Button();
     this.butAdd = new OpenDental.UI.Button();
     this.butClose = new OpenDental.UI.Button();
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.butAddEvent = new OpenDental.UI.Button();
     this.gridReconcileEvents = new OpenDental.UI.ODGrid();
     this.label2 = new System.Windows.Forms.Label();
     this.butDelete = new OpenDental.UI.Button();
     ((System.ComponentModel.ISupportInitialize)(this.pictBox)).BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.SuspendLayout();
     //
     // textDocDateDesc
     //
     this.textDocDateDesc.Enabled = false;
     this.textDocDateDesc.Location = new System.Drawing.Point(101,5);
     this.textDocDateDesc.Name = "textDocDateDesc";
     this.textDocDateDesc.Size = new System.Drawing.Size(272,20);
     this.textDocDateDesc.TabIndex = 71;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(1,9);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(94,16);
     this.label1.TabIndex = 73;
     this.label1.Text = "Rx List";
     this.label1.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // checkDiscontinued
     //
     this.checkDiscontinued.Anchor = System.Windows.Forms.AnchorStyles.Top;
     this.checkDiscontinued.Location = new System.Drawing.Point(609,5);
     this.checkDiscontinued.Name = "checkDiscontinued";
     this.checkDiscontinued.Size = new System.Drawing.Size(212,23);
     this.checkDiscontinued.TabIndex = 70;
     this.checkDiscontinued.Tag = "";
     this.checkDiscontinued.Text = "Show Discontinued Medications";
     this.checkDiscontinued.UseVisualStyleBackColor = true;
     this.checkDiscontinued.KeyUp += new System.Windows.Forms.KeyEventHandler(this.checkDiscontinued_KeyUp);
     this.checkDiscontinued.MouseUp += new System.Windows.Forms.MouseEventHandler(this.checkDiscontinued_MouseUp);
     //
     // pictBox
     //
     this.pictBox.BackColor = System.Drawing.SystemColors.Window;
     this.pictBox.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
     this.pictBox.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.pictBox.Cursor = System.Windows.Forms.Cursors.Hand;
     this.pictBox.Dock = System.Windows.Forms.DockStyle.Fill;
     this.pictBox.InitialImage = null;
     this.pictBox.Location = new System.Drawing.Point(0,0);
     this.pictBox.Name = "pictBox";
     this.pictBox.Size = new System.Drawing.Size(460,600);
     this.pictBox.TabIndex = 66;
     this.pictBox.TabStop = false;
     //
     // gridMeds
     //
     this.gridMeds.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.gridMeds.HScrollVisible = false;
     this.gridMeds.Location = new System.Drawing.Point(0,0);
     this.gridMeds.Name = "gridMeds";
     this.gridMeds.ScrollValue = 0;
     this.gridMeds.Size = new System.Drawing.Size(445,395);
     this.gridMeds.TabIndex = 65;
     this.gridMeds.Title = "Medications";
     this.gridMeds.TranslationName = "TableMedications";
     this.gridMeds.CellDoubleClick += new OpenDental.UI.ODGridClickEventHandler(this.gridMeds_CellDoubleClick);
     //
     // butPickRxListImage
     //
     this.butPickRxListImage.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butPickRxListImage.Autosize = true;
     this.butPickRxListImage.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butPickRxListImage.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butPickRxListImage.CornerRadius = 4F;
     this.butPickRxListImage.Location = new System.Drawing.Point(379,3);
     this.butPickRxListImage.Name = "butPickRxListImage";
     this.butPickRxListImage.Size = new System.Drawing.Size(22,24);
     this.butPickRxListImage.TabIndex = 76;
     this.butPickRxListImage.Text = "...";
     this.butPickRxListImage.Click += new System.EventHandler(this.butPickRxListImage_Click);
     //
     // butAdd
     //
     this.butAdd.AdjustImageLocation = new System.Drawing.Point(0,1);
     this.butAdd.Anchor = System.Windows.Forms.AnchorStyles.Top;
     this.butAdd.Autosize = true;
     this.butAdd.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butAdd.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butAdd.CornerRadius = 4F;
     this.butAdd.Image = global::OpenDental.Properties.Resources.Add;
     this.butAdd.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butAdd.Location = new System.Drawing.Point(468,4);
     this.butAdd.Name = "butAdd";
     this.butAdd.Size = new System.Drawing.Size(123,23);
     this.butAdd.TabIndex = 75;
     this.butAdd.Text = "&Add Medication";
     this.butAdd.Click += new System.EventHandler(this.butAdd_Click);
     //
     // butClose
     //
     this.butClose.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butClose.Autosize = true;
     this.butClose.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butClose.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butClose.CornerRadius = 4F;
     this.butClose.Location = new System.Drawing.Point(838,640);
     this.butClose.Name = "butClose";
     this.butClose.Size = new System.Drawing.Size(75,24);
     this.butClose.TabIndex = 2;
     this.butClose.Text = "&Close";
     this.butClose.Click += new System.EventHandler(this.butCancel_Click);
     //
     // splitContainer1
     //
     this.splitContainer1.Location = new System.Drawing.Point(4,34);
     this.splitContainer1.Name = "splitContainer1";
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.Controls.Add(this.pictBox);
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.butDelete);
     this.splitContainer1.Panel2.Controls.Add(this.butAddEvent);
     this.splitContainer1.Panel2.Controls.Add(this.gridReconcileEvents);
     this.splitContainer1.Panel2.Controls.Add(this.label2);
     this.splitContainer1.Panel2.Controls.Add(this.gridMeds);
     this.splitContainer1.Size = new System.Drawing.Size(909,600);
     this.splitContainer1.SplitterDistance = 460;
     this.splitContainer1.TabIndex = 77;
     //
     // butAddEvent
     //
     this.butAddEvent.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butAddEvent.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butAddEvent.Autosize = true;
     this.butAddEvent.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butAddEvent.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butAddEvent.CornerRadius = 4F;
     this.butAddEvent.Location = new System.Drawing.Point(0,398);
     this.butAddEvent.Name = "butAddEvent";
     this.butAddEvent.Size = new System.Drawing.Size(63,24);
     this.butAddEvent.TabIndex = 78;
     this.butAddEvent.Text = "Add";
     this.butAddEvent.Click += new System.EventHandler(this.butAddEvent_Click);
     //
     // gridReconcileEvents
     //
     this.gridReconcileEvents.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.gridReconcileEvents.HScrollVisible = false;
     this.gridReconcileEvents.Location = new System.Drawing.Point(0,425);
     this.gridReconcileEvents.Name = "gridReconcileEvents";
     this.gridReconcileEvents.ScrollValue = 0;
     this.gridReconcileEvents.SelectionMode = OpenDental.UI.GridSelectionMode.MultiExtended;
     this.gridReconcileEvents.Size = new System.Drawing.Size(445,175);
     this.gridReconcileEvents.TabIndex = 67;
     this.gridReconcileEvents.Title = "Reconciles";
     this.gridReconcileEvents.TranslationName = "gridReconcile";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(133,396);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(311,27);
     this.label2.TabIndex = 66;
     this.label2.Text = "This is a historical record of medication reconciles for this patient.  Delete an" +
     "y entries that are inaccurate.";
     this.label2.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
     //
     // butDelete
     //
     this.butDelete.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butDelete.Autosize = true;
     this.butDelete.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butDelete.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butDelete.CornerRadius = 4F;
     this.butDelete.Location = new System.Drawing.Point(65,398);
     this.butDelete.Name = "butDelete";
     this.butDelete.Size = new System.Drawing.Size(63,24);
     this.butDelete.TabIndex = 78;
     this.butDelete.Text = "Delete";
     this.butDelete.Click += new System.EventHandler(this.butDelete_Click);
     //
     // FormMedicationReconcile
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.ClientSize = new System.Drawing.Size(918,676);
     this.Controls.Add(this.splitContainer1);
     this.Controls.Add(this.butPickRxListImage);
     this.Controls.Add(this.butAdd);
     this.Controls.Add(this.textDocDateDesc);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.checkDiscontinued);
     this.Controls.Add(this.butClose);
     this.Name = "FormMedicationReconcile";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Medication Reconcile";
     this.Load += new System.EventHandler(this.BasicTemplate_Load);
     this.Resize += new System.EventHandler(this.FormMedicationReconcile_Resize);
     ((System.ComponentModel.ISupportInitialize)(this.pictBox)).EndInit();
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     this.splitContainer1.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #12
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.listMain = new System.Windows.Forms.ListBox();
     this.butAdd = new OpenDental.UI.Button();
     this.butOK = new OpenDental.UI.Button();
     this.butClose = new OpenDental.UI.Button();
     this.textCode = new System.Windows.Forms.TextBox();
     this.label1 = new System.Windows.Forms.Label();
     this.butSearch = new OpenDental.UI.Button();
     this.SuspendLayout();
     //
     // listMain
     //
     this.listMain.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.listMain.IntegralHeight = false;
     this.listMain.Location = new System.Drawing.Point(20,36);
     this.listMain.Name = "listMain";
     this.listMain.Size = new System.Drawing.Size(501,627);
     this.listMain.TabIndex = 15;
     this.listMain.DoubleClick += new System.EventHandler(this.listMain_DoubleClick);
     //
     // butAdd
     //
     this.butAdd.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butAdd.Autosize = true;
     this.butAdd.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butAdd.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butAdd.CornerRadius = 4F;
     this.butAdd.Image = global::OpenDental.Properties.Resources.Add;
     this.butAdd.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butAdd.Location = new System.Drawing.Point(549,516);
     this.butAdd.Name = "butAdd";
     this.butAdd.Size = new System.Drawing.Size(75,24);
     this.butAdd.TabIndex = 16;
     this.butAdd.Text = "&Add";
     this.butAdd.Click += new System.EventHandler(this.butAdd_Click);
     //
     // butOK
     //
     this.butOK.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butOK.Autosize = true;
     this.butOK.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butOK.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butOK.CornerRadius = 4F;
     this.butOK.Location = new System.Drawing.Point(549,598);
     this.butOK.Name = "butOK";
     this.butOK.Size = new System.Drawing.Size(75,24);
     this.butOK.TabIndex = 3;
     this.butOK.Text = "&OK";
     this.butOK.Click += new System.EventHandler(this.butOK_Click);
     //
     // butClose
     //
     this.butClose.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butClose.Autosize = true;
     this.butClose.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butClose.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butClose.CornerRadius = 4F;
     this.butClose.Location = new System.Drawing.Point(549,639);
     this.butClose.Name = "butClose";
     this.butClose.Size = new System.Drawing.Size(75,24);
     this.butClose.TabIndex = 2;
     this.butClose.Text = "&Close";
     this.butClose.Click += new System.EventHandler(this.butCancel_Click);
     //
     // textCode
     //
     this.textCode.Location = new System.Drawing.Point(180,10);
     this.textCode.Name = "textCode";
     this.textCode.Size = new System.Drawing.Size(100,20);
     this.textCode.TabIndex = 17;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(5,13);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(172,16);
     this.label1.TabIndex = 18;
     this.label1.Text = "Code or Description";
     this.label1.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // butSearch
     //
     this.butSearch.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butSearch.Autosize = true;
     this.butSearch.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butSearch.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butSearch.CornerRadius = 4F;
     this.butSearch.Location = new System.Drawing.Point(286,8);
     this.butSearch.Name = "butSearch";
     this.butSearch.Size = new System.Drawing.Size(75,24);
     this.butSearch.TabIndex = 19;
     this.butSearch.Text = "Search";
     this.butSearch.Click += new System.EventHandler(this.butSearch_Click);
     //
     // FormIcd9s
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.ClientSize = new System.Drawing.Size(649,690);
     this.Controls.Add(this.butSearch);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.textCode);
     this.Controls.Add(this.listMain);
     this.Controls.Add(this.butAdd);
     this.Controls.Add(this.butOK);
     this.Controls.Add(this.butClose);
     this.Name = "FormIcd9s";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "ICD9s";
     this.Load += new System.EventHandler(this.FormIcd9s_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #13
0
        private void InitializeLoginPage()
        {
            var curve = GameApp.Service<ResourceManager>().Acquire<Curve>("Curves/CardMove");
            var candFmtOptions = new Graphics.TextRenderer.FormatOptions(new Graphics.TextRenderer.FontDescriptor("Microsoft YaHei", 11));

            m_txtUserName = new UI.TextBox(100, 30, m_textFormatOptions, candFmtOptions)
            {
                ForeColor = Color.Red,
                SelectionBackColor = new Color(255, 0, 0, 0.75f),
                SlidingCurve = curve,
                Transform = MatrixHelper.Translate(462, 200),
                Dispatcher = Root
            };

            m_txtPassword = new UI.TextBox(100, 30, m_textFormatOptions, candFmtOptions)
            {
                ForeColor = Color.Red,
                SelectionBackColor = new Color(255, 0, 0, 0.75f),
                PasswordChar = '*',
                SlidingCurve = curve,
                Transform = MatrixHelper.Translate(462, 250),
                Dispatcher = Root,
            };

            TextRenderer.IFormattedText textUserName = GameApp.Service<TextRenderer>().FormatText("用户名: ", m_textFormatOptions);
            var lblUserName = new UI.Label()
            {
                TextColor = Color.Red,
                Dispatcher = Root,
                FormattedText = textUserName,
                Transform = MatrixHelper.Translate(350, 200)
            };
            TextRenderer.IFormattedText textPassword = GameApp.Service<TextRenderer>().FormatText("密码: ", m_textFormatOptions);
            var lblPassword = new UI.Label()
            {
                TextColor = Color.Red,
                Dispatcher = Root,
                FormattedText = textPassword,
                Transform = MatrixHelper.Translate(350, 250)
            };
            TextRenderer.IFormattedText textMessage = GameApp.Service<TextRenderer>().FormatText(string.Empty, m_textFormatOptions);
            m_lblMessage = new UI.Label()
            {
                TextColor = Color.Red,
                Dispatcher = Root,
                FormattedText = textMessage,
                Transform = MatrixHelper.Translate(350, 300)
            };

            var resourceMgr = GameApp.Service<ResourceManager>();
            var buttonTexture = resourceMgr.Acquire<Graphics.VirtualTexture>("atlas:Textures/UI/InGame/Atlas0$Button");
            Graphics.TexturedQuad m_buttonFace = new Graphics.TexturedQuad(buttonTexture);

            TextRenderer.IFormattedText textLoginButton = GameApp.Service<TextRenderer>().FormatText("登录", m_textFormatOptions);
            var btnLogin = new UI.Button()
            {
                Dispatcher = Root,
                ButtonText = textLoginButton,
                TextColor = Color.White,
                Transform = MatrixHelper.Translate(300, 350),
                NormalFace = m_buttonFace
            };
            btnLogin.MouseButton1Down += new EventHandler<UI.MouseEventArgs>(btnLogin_MouseButton1Down);

            TextRenderer.IFormattedText textReturnButton = GameApp.Service<TextRenderer>().FormatText("返回", m_textFormatOptions);
            var btnReturn = new UI.Button()
            {
                Dispatcher = Root,
                ButtonText = textReturnButton,
                TextColor = Color.White,
                Transform = MatrixHelper.Translate(450, 350),
                NormalFace = m_buttonFace
            };
            btnReturn.MouseButton1Down += delegate(object sender, UI.MouseEventArgs e)
            {
                Root.Dispatcher = null;
                GameApp.Service<MenuUI>().Startup();
            };

            TextRenderer.IFormattedText textRegister = GameApp.Service<TextRenderer>().FormatText("注册", m_textFormatOptions);
            var btnRegister = new UI.Button()
            {
                Dispatcher = Root,
                ButtonText = textRegister,
                TextColor = Color.White,
                Transform = MatrixHelper.Translate(600, 350),
                NormalFace = m_buttonFace
            };
            btnRegister.MouseButton1Down += delegate(object sender, UI.MouseEventArgs e)
            {
                System.Diagnostics.Process.Start("http://touhouspring.com");
            };
        }
예제 #14
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.labelCodeOrDesc = new System.Windows.Forms.Label();
     this.textCode = new System.Windows.Forms.TextBox();
     this.label1 = new System.Windows.Forms.Label();
     this.gridMain = new OpenDental.UI.ODGrid();
     this.butExact = new OpenDental.UI.Button();
     this.butSearch = new OpenDental.UI.Button();
     this.butRxNorm = new OpenDental.UI.Button();
     this.button1 = new OpenDental.UI.Button();
     this.butOK = new OpenDental.UI.Button();
     this.butCancel = new OpenDental.UI.Button();
     this.SuspendLayout();
     //
     // labelCodeOrDesc
     //
     this.labelCodeOrDesc.Location = new System.Drawing.Point(3,10);
     this.labelCodeOrDesc.Name = "labelCodeOrDesc";
     this.labelCodeOrDesc.Size = new System.Drawing.Size(172,16);
     this.labelCodeOrDesc.TabIndex = 21;
     this.labelCodeOrDesc.Text = "Code or Description";
     this.labelCodeOrDesc.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // textCode
     //
     this.textCode.Location = new System.Drawing.Point(178,7);
     this.textCode.Name = "textCode";
     this.textCode.Size = new System.Drawing.Size(100,20);
     this.textCode.TabIndex = 20;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(243,666);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(215,23);
     this.label1.TabIndex = 23;
     this.label1.Text = "Creates new RxNorm table in database.";
     //
     // gridMain
     //
     this.gridMain.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.gridMain.HScrollVisible = false;
     this.gridMain.Location = new System.Drawing.Point(26,34);
     this.gridMain.Name = "gridMain";
     this.gridMain.ScrollValue = 0;
     this.gridMain.Size = new System.Drawing.Size(642,599);
     this.gridMain.TabIndex = 4;
     this.gridMain.Title = "RxNorm Codes";
     this.gridMain.TranslationName = null;
     this.gridMain.CellDoubleClick += new OpenDental.UI.ODGridClickEventHandler(this.gridMain_CellDoubleClick);
     //
     // butExact
     //
     this.butExact.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butExact.Autosize = true;
     this.butExact.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butExact.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butExact.CornerRadius = 4F;
     this.butExact.Location = new System.Drawing.Point(365,5);
     this.butExact.Name = "butExact";
     this.butExact.Size = new System.Drawing.Size(75,24);
     this.butExact.TabIndex = 24;
     this.butExact.Text = "Exact";
     this.butExact.Click += new System.EventHandler(this.butExact_Click);
     //
     // butSearch
     //
     this.butSearch.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butSearch.Autosize = true;
     this.butSearch.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butSearch.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butSearch.CornerRadius = 4F;
     this.butSearch.Location = new System.Drawing.Point(284,5);
     this.butSearch.Name = "butSearch";
     this.butSearch.Size = new System.Drawing.Size(75,24);
     this.butSearch.TabIndex = 22;
     this.butSearch.Text = "Similar";
     this.butSearch.Click += new System.EventHandler(this.butSearch_Click);
     //
     // butRxNorm
     //
     this.butRxNorm.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butRxNorm.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butRxNorm.Autosize = true;
     this.butRxNorm.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butRxNorm.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butRxNorm.CornerRadius = 4F;
     this.butRxNorm.Location = new System.Drawing.Point(139,660);
     this.butRxNorm.Name = "butRxNorm";
     this.butRxNorm.Size = new System.Drawing.Size(98,24);
     this.butRxNorm.TabIndex = 5;
     this.butRxNorm.Text = "Create rxnorm";
     this.butRxNorm.Click += new System.EventHandler(this.butRxNorm_Click);
     //
     // button1
     //
     this.button1.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.button1.Autosize = true;
     this.button1.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.button1.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.button1.CornerRadius = 4F;
     this.button1.Location = new System.Drawing.Point(26,660);
     this.button1.Name = "button1";
     this.button1.Size = new System.Drawing.Size(75,24);
     this.button1.TabIndex = 3;
     this.button1.Text = "&None";
     this.button1.Click += new System.EventHandler(this.butOK_Click);
     //
     // butOK
     //
     this.butOK.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butOK.Autosize = true;
     this.butOK.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butOK.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butOK.CornerRadius = 4F;
     this.butOK.Location = new System.Drawing.Point(512,660);
     this.butOK.Name = "butOK";
     this.butOK.Size = new System.Drawing.Size(75,24);
     this.butOK.TabIndex = 3;
     this.butOK.Text = "&OK";
     this.butOK.Click += new System.EventHandler(this.butOK_Click);
     //
     // butCancel
     //
     this.butCancel.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butCancel.Autosize = true;
     this.butCancel.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butCancel.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butCancel.CornerRadius = 4F;
     this.butCancel.Location = new System.Drawing.Point(593,660);
     this.butCancel.Name = "butCancel";
     this.butCancel.Size = new System.Drawing.Size(75,24);
     this.butCancel.TabIndex = 2;
     this.butCancel.Text = "&Cancel";
     this.butCancel.Click += new System.EventHandler(this.butCancel_Click);
     //
     // FormRxNorms
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.ClientSize = new System.Drawing.Size(693,702);
     this.Controls.Add(this.butExact);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.butSearch);
     this.Controls.Add(this.labelCodeOrDesc);
     this.Controls.Add(this.textCode);
     this.Controls.Add(this.butRxNorm);
     this.Controls.Add(this.gridMain);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.butOK);
     this.Controls.Add(this.butCancel);
     this.Name = "FormRxNorms";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "RxNorms";
     this.Load += new System.EventHandler(this.FormRxNorms_Load);
     this.Shown += new System.EventHandler(this.FormRxNorms_Shown);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #15
0
 public Controller()
     : base()
 {
     StartButton = new UI.Button(372, 485, "UI/ButtonStart", Events.NextWorld);
       Audio.Play(Music.Title);
 }
예제 #16
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormReplicationSetup));
     this.checkRandomPrimaryKeys = new System.Windows.Forms.CheckBox();
     this.label1 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.textPassword = new System.Windows.Forms.TextBox();
     this.label5 = new System.Windows.Forms.Label();
     this.textUsername = new System.Windows.Forms.TextBox();
     this.label4 = new System.Windows.Forms.Label();
     this.butSynch = new OpenDental.UI.Button();
     this.butTest = new OpenDental.UI.Button();
     this.butSetRanges = new OpenDental.UI.Button();
     this.butAdd = new OpenDental.UI.Button();
     this.gridMain = new OpenDental.UI.ODGrid();
     this.butClose = new OpenDental.UI.Button();
     this.groupBoxReplicationFailure = new System.Windows.Forms.GroupBox();
     this.butClearReplicationFailureAtServer_id = new OpenDental.UI.Button();
     this.label6 = new System.Windows.Forms.Label();
     this.textReplicaitonFailureAtServer_id = new System.Windows.Forms.TextBox();
     this.groupBox1.SuspendLayout();
     this.groupBoxReplicationFailure.SuspendLayout();
     this.SuspendLayout();
     //
     // checkRandomPrimaryKeys
     //
     this.checkRandomPrimaryKeys.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.checkRandomPrimaryKeys.Location = new System.Drawing.Point(17,15);
     this.checkRandomPrimaryKeys.Name = "checkRandomPrimaryKeys";
     this.checkRandomPrimaryKeys.Size = new System.Drawing.Size(346,17);
     this.checkRandomPrimaryKeys.TabIndex = 56;
     this.checkRandomPrimaryKeys.Text = "Use Random Primary Keys (BE VERY CAREFUL.  IRREVERSIBLE)";
     this.checkRandomPrimaryKeys.Click += new System.EventHandler(this.checkRandomPrimaryKeys_Click);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(113,510);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(550,35);
     this.label1.TabIndex = 61;
     this.label1.Text = resources.GetString("label1.Text");
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(113,552);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(431,35);
     this.label2.TabIndex = 63;
     this.label2.Text = "Use the Test button to generate and display some sample key values for this compu" +
     "ter.  The displayed values should fall within the range set above.";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(103,16);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(431,45);
     this.label3.TabIndex = 65;
     this.label3.Text = resources.GetString("label3.Text");
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.textPassword);
     this.groupBox1.Controls.Add(this.label5);
     this.groupBox1.Controls.Add(this.textUsername);
     this.groupBox1.Controls.Add(this.label4);
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Controls.Add(this.butSynch);
     this.groupBox1.Location = new System.Drawing.Point(10,591);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(771,66);
     this.groupBox1.TabIndex = 66;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "Force Synch";
     //
     // textPassword
     //
     this.textPassword.Location = new System.Drawing.Point(641,40);
     this.textPassword.Name = "textPassword";
     this.textPassword.Size = new System.Drawing.Size(125,20);
     this.textPassword.TabIndex = 69;
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(530,40);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(111,18);
     this.label5.TabIndex = 68;
     this.label5.Text = "Password";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // textUsername
     //
     this.textUsername.Location = new System.Drawing.Point(641,18);
     this.textUsername.Name = "textUsername";
     this.textUsername.Size = new System.Drawing.Size(125,20);
     this.textUsername.TabIndex = 67;
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(530,18);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(111,18);
     this.label4.TabIndex = 66;
     this.label4.Text = "MySQL Username";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // butSynch
     //
     this.butSynch.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butSynch.Autosize = true;
     this.butSynch.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butSynch.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butSynch.CornerRadius = 4F;
     this.butSynch.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butSynch.Location = new System.Drawing.Point(7,26);
     this.butSynch.Name = "butSynch";
     this.butSynch.Size = new System.Drawing.Size(90,24);
     this.butSynch.TabIndex = 64;
     this.butSynch.Text = "Synch";
     this.butSynch.Click += new System.EventHandler(this.butSynch_Click);
     //
     // butTest
     //
     this.butTest.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butTest.Autosize = true;
     this.butTest.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butTest.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butTest.CornerRadius = 4F;
     this.butTest.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butTest.Location = new System.Drawing.Point(17,557);
     this.butTest.Name = "butTest";
     this.butTest.Size = new System.Drawing.Size(90,24);
     this.butTest.TabIndex = 62;
     this.butTest.Text = "Test";
     this.butTest.Click += new System.EventHandler(this.butTest_Click);
     //
     // butSetRanges
     //
     this.butSetRanges.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butSetRanges.Autosize = true;
     this.butSetRanges.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butSetRanges.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butSetRanges.CornerRadius = 4F;
     this.butSetRanges.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butSetRanges.Location = new System.Drawing.Point(17,516);
     this.butSetRanges.Name = "butSetRanges";
     this.butSetRanges.Size = new System.Drawing.Size(90,24);
     this.butSetRanges.TabIndex = 59;
     this.butSetRanges.Text = "Set Ranges";
     this.butSetRanges.Click += new System.EventHandler(this.butSetRanges_Click);
     //
     // butAdd
     //
     this.butAdd.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.butAdd.Autosize = true;
     this.butAdd.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butAdd.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butAdd.CornerRadius = 4F;
     this.butAdd.Image = global::OpenDental.Properties.Resources.Add;
     this.butAdd.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butAdd.Location = new System.Drawing.Point(798,470);
     this.butAdd.Name = "butAdd";
     this.butAdd.Size = new System.Drawing.Size(75,24);
     this.butAdd.TabIndex = 58;
     this.butAdd.Text = "Add";
     this.butAdd.Click += new System.EventHandler(this.butAdd_Click);
     //
     // gridMain
     //
     this.gridMain.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.gridMain.HScrollVisible = true;
     this.gridMain.Location = new System.Drawing.Point(17,42);
     this.gridMain.Name = "gridMain";
     this.gridMain.ScrollValue = 0;
     this.gridMain.Size = new System.Drawing.Size(764,452);
     this.gridMain.TabIndex = 57;
     this.gridMain.Title = "Servers";
     this.gridMain.TranslationName = "FormReplicationSetup";
     this.gridMain.CellDoubleClick += new OpenDental.UI.ODGridClickEventHandler(this.gridMain_CellDoubleClick);
     //
     // butClose
     //
     this.butClose.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butClose.Autosize = true;
     this.butClose.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butClose.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butClose.CornerRadius = 4F;
     this.butClose.Location = new System.Drawing.Point(798,630);
     this.butClose.Name = "butClose";
     this.butClose.Size = new System.Drawing.Size(75,24);
     this.butClose.TabIndex = 2;
     this.butClose.Text = "Close";
     this.butClose.Click += new System.EventHandler(this.butClose_Click);
     //
     // groupBoxReplicationFailure
     //
     this.groupBoxReplicationFailure.Controls.Add(this.butClearReplicationFailureAtServer_id);
     this.groupBoxReplicationFailure.Controls.Add(this.label6);
     this.groupBoxReplicationFailure.Controls.Add(this.textReplicaitonFailureAtServer_id);
     this.groupBoxReplicationFailure.ForeColor = System.Drawing.Color.Red;
     this.groupBoxReplicationFailure.Location = new System.Drawing.Point(550,537);
     this.groupBoxReplicationFailure.Name = "groupBoxReplicationFailure";
     this.groupBoxReplicationFailure.Size = new System.Drawing.Size(323,50);
     this.groupBoxReplicationFailure.TabIndex = 67;
     this.groupBoxReplicationFailure.TabStop = false;
     this.groupBoxReplicationFailure.Text = "Replication Failure Detected";
     this.groupBoxReplicationFailure.Visible = false;
     //
     // butClearReplicationFailureAtServer_id
     //
     this.butClearReplicationFailureAtServer_id.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butClearReplicationFailureAtServer_id.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butClearReplicationFailureAtServer_id.Autosize = true;
     this.butClearReplicationFailureAtServer_id.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butClearReplicationFailureAtServer_id.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butClearReplicationFailureAtServer_id.CornerRadius = 4F;
     this.butClearReplicationFailureAtServer_id.ForeColor = System.Drawing.SystemColors.ControlText;
     this.butClearReplicationFailureAtServer_id.Location = new System.Drawing.Point(248,19);
     this.butClearReplicationFailureAtServer_id.Name = "butClearReplicationFailureAtServer_id";
     this.butClearReplicationFailureAtServer_id.Size = new System.Drawing.Size(69,24);
     this.butClearReplicationFailureAtServer_id.TabIndex = 2;
     this.butClearReplicationFailureAtServer_id.Text = "Clear";
     this.butClearReplicationFailureAtServer_id.Click += new System.EventHandler(this.butResetReplicationFailureAtServer_id_Click);
     //
     // label6
     //
     this.label6.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label6.Location = new System.Drawing.Point(6,22);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(155,18);
     this.label6.TabIndex = 66;
     this.label6.Text = "Replication Failure at Server_id";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // textReplicaitonFailureAtServer_id
     //
     this.textReplicaitonFailureAtServer_id.Location = new System.Drawing.Point(167,22);
     this.textReplicaitonFailureAtServer_id.Name = "textReplicaitonFailureAtServer_id";
     this.textReplicaitonFailureAtServer_id.ReadOnly = true;
     this.textReplicaitonFailureAtServer_id.Size = new System.Drawing.Size(75,20);
     this.textReplicaitonFailureAtServer_id.TabIndex = 67;
     //
     // FormReplicationSetup
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.ClientSize = new System.Drawing.Size(885,668);
     this.Controls.Add(this.groupBoxReplicationFailure);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.butTest);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.butSetRanges);
     this.Controls.Add(this.butAdd);
     this.Controls.Add(this.gridMain);
     this.Controls.Add(this.checkRandomPrimaryKeys);
     this.Controls.Add(this.butClose);
     this.Name = "FormReplicationSetup";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Replication Setup";
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FormReplicationSetup_FormClosing);
     this.Load += new System.EventHandler(this.FormReplicationSetup_Load);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.groupBoxReplicationFailure.ResumeLayout(false);
     this.groupBoxReplicationFailure.PerformLayout();
     this.ResumeLayout(false);
 }
예제 #17
0
 void Click_Test(UI.Button button)
 {
     MessageBox.Show(button.Text);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.label1 = new System.Windows.Forms.Label();
     this.textCharge = new System.Windows.Forms.TextBox();
     this.butAdd = new OpenDental.UI.Button();
     this.butClose = new OpenDental.UI.Button();
     this.butSave = new OpenDental.UI.Button();
     this.label2 = new System.Windows.Forms.Label();
     this.gridMain = new OpenDental.UI.ODGrid();
     this.gridQ = new OpenDental.UI.ODGrid();
     this.butAddQuarterly = new OpenDental.UI.Button();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label1.Location = new System.Drawing.Point(69,596);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(240,37);
     this.label1.TabIndex = 195;
     this.label1.Text = "Monthly repeating charge (in addition to the normal repeating charge for office) " +
     "should be";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // textCharge
     //
     this.textCharge.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.textCharge.Location = new System.Drawing.Point(311,603);
     this.textCharge.Name = "textCharge";
     this.textCharge.ReadOnly = true;
     this.textCharge.Size = new System.Drawing.Size(62,20);
     this.textCharge.TabIndex = 196;
     this.textCharge.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // butAdd
     //
     this.butAdd.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butAdd.Autosize = true;
     this.butAdd.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butAdd.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butAdd.CornerRadius = 4F;
     this.butAdd.Image = global::OpenDental.Properties.Resources.Add;
     this.butAdd.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butAdd.Location = new System.Drawing.Point(9,12);
     this.butAdd.Name = "butAdd";
     this.butAdd.Size = new System.Drawing.Size(75,24);
     this.butAdd.TabIndex = 194;
     this.butAdd.Text = "Add";
     this.butAdd.Click += new System.EventHandler(this.butAdd_Click);
     //
     // butClose
     //
     this.butClose.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butClose.Autosize = true;
     this.butClose.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butClose.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butClose.CornerRadius = 4F;
     this.butClose.Location = new System.Drawing.Point(778,602);
     this.butClose.Name = "butClose";
     this.butClose.Size = new System.Drawing.Size(75,24);
     this.butClose.TabIndex = 2;
     this.butClose.Text = "Close";
     this.butClose.Click += new System.EventHandler(this.butClose_Click);
     //
     // butSave
     //
     this.butSave.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butSave.Autosize = true;
     this.butSave.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butSave.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butSave.CornerRadius = 4F;
     this.butSave.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butSave.Location = new System.Drawing.Point(405,600);
     this.butSave.Name = "butSave";
     this.butSave.Size = new System.Drawing.Size(94,24);
     this.butSave.TabIndex = 197;
     this.butSave.Text = "Save To Images";
     this.butSave.Click += new System.EventHandler(this.butSave_Click);
     //
     // label2
     //
     this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label2.Location = new System.Drawing.Point(505,590);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(125,49);
     this.label2.TabIndex = 198;
     this.label2.Text = "To help archive any changes to this list";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // gridMain
     //
     this.gridMain.AllowSortingByColumn = true;
     this.gridMain.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)));
     this.gridMain.HScrollVisible = false;
     this.gridMain.Location = new System.Drawing.Point(9,48);
     this.gridMain.Name = "gridMain";
     this.gridMain.ScrollValue = 0;
     this.gridMain.Size = new System.Drawing.Size(553,539);
     this.gridMain.TabIndex = 193;
     this.gridMain.Title = "Provider Keys";
     this.gridMain.TranslationName = "";
     this.gridMain.CellDoubleClick += new OpenDental.UI.ODGridClickEventHandler(this.gridMain_CellDoubleClick);
     //
     // gridQ
     //
     this.gridQ.AllowSortingByColumn = true;
     this.gridQ.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.gridQ.HScrollVisible = false;
     this.gridQ.Location = new System.Drawing.Point(568,48);
     this.gridQ.Name = "gridQ";
     this.gridQ.ScrollValue = 0;
     this.gridQ.Size = new System.Drawing.Size(290,539);
     this.gridQ.TabIndex = 199;
     this.gridQ.Title = "Quarterly Keys";
     this.gridQ.TranslationName = "";
     this.gridQ.CellDoubleClick += new OpenDental.UI.ODGridClickEventHandler(this.gridQ_CellDoubleClick);
     //
     // butAddQuarterly
     //
     this.butAddQuarterly.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butAddQuarterly.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butAddQuarterly.Autosize = true;
     this.butAddQuarterly.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butAddQuarterly.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butAddQuarterly.CornerRadius = 4F;
     this.butAddQuarterly.Image = global::OpenDental.Properties.Resources.Add;
     this.butAddQuarterly.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butAddQuarterly.Location = new System.Drawing.Point(568,12);
     this.butAddQuarterly.Name = "butAddQuarterly";
     this.butAddQuarterly.Size = new System.Drawing.Size(75,24);
     this.butAddQuarterly.TabIndex = 200;
     this.butAddQuarterly.Text = "Add";
     this.butAddQuarterly.Click += new System.EventHandler(this.butAddQuarterly_Click);
     //
     // FormEhrProvKeysCustomer
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.ClientSize = new System.Drawing.Size(865,638);
     this.Controls.Add(this.butAddQuarterly);
     this.Controls.Add(this.gridQ);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.butSave);
     this.Controls.Add(this.textCharge);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.butAdd);
     this.Controls.Add(this.gridMain);
     this.Controls.Add(this.butClose);
     this.Name = "FormEhrProvKeysCustomer";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Provider Keys for This Family";
     this.Load += new System.EventHandler(this.FormEhrProvKeysCustomer_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #19
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.butOK = new OpenDental.UI.Button();
     this.butCancel = new OpenDental.UI.Button();
     this.label3 = new System.Windows.Forms.Label();
     this.comboManufacturer = new System.Windows.Forms.ComboBox();
     this.textVaccineName = new System.Windows.Forms.TextBox();
     this.label1 = new System.Windows.Forms.Label();
     this.textCVXCode = new System.Windows.Forms.TextBox();
     this.labelCVXCode = new System.Windows.Forms.Label();
     this.butDelete = new OpenDental.UI.Button();
     this.SuspendLayout();
     //
     // butOK
     //
     this.butOK.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butOK.Autosize = true;
     this.butOK.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butOK.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butOK.CornerRadius = 4F;
     this.butOK.Location = new System.Drawing.Point(174,135);
     this.butOK.Name = "butOK";
     this.butOK.Size = new System.Drawing.Size(75,24);
     this.butOK.TabIndex = 3;
     this.butOK.Text = "&OK";
     this.butOK.Click += new System.EventHandler(this.butOK_Click);
     //
     // butCancel
     //
     this.butCancel.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butCancel.Autosize = true;
     this.butCancel.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butCancel.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butCancel.CornerRadius = 4F;
     this.butCancel.Location = new System.Drawing.Point(255,135);
     this.butCancel.Name = "butCancel";
     this.butCancel.Size = new System.Drawing.Size(75,24);
     this.butCancel.TabIndex = 4;
     this.butCancel.Text = "&Cancel";
     this.butCancel.Click += new System.EventHandler(this.butCancel_Click);
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(1,83);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(98,18);
     this.label3.TabIndex = 22;
     this.label3.Text = "Manufacturer";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // comboManufacturer
     //
     this.comboManufacturer.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboManufacturer.FormattingEnabled = true;
     this.comboManufacturer.Location = new System.Drawing.Point(101,83);
     this.comboManufacturer.Name = "comboManufacturer";
     this.comboManufacturer.Size = new System.Drawing.Size(173,21);
     this.comboManufacturer.TabIndex = 2;
     //
     // textVaccineName
     //
     this.textVaccineName.Location = new System.Drawing.Point(101,57);
     this.textVaccineName.Name = "textVaccineName";
     this.textVaccineName.Size = new System.Drawing.Size(229,20);
     this.textVaccineName.TabIndex = 1;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(11,56);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(88,20);
     this.label1.TabIndex = 19;
     this.label1.Text = "Vaccine Name";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // textCVXCode
     //
     this.textCVXCode.Location = new System.Drawing.Point(101,31);
     this.textCVXCode.Name = "textCVXCode";
     this.textCVXCode.Size = new System.Drawing.Size(77,20);
     this.textCVXCode.TabIndex = 0;
     //
     // labelCVXCode
     //
     this.labelCVXCode.Location = new System.Drawing.Point(11,30);
     this.labelCVXCode.Name = "labelCVXCode";
     this.labelCVXCode.Size = new System.Drawing.Size(88,20);
     this.labelCVXCode.TabIndex = 17;
     this.labelCVXCode.Text = "CVX Code";
     this.labelCVXCode.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // butDelete
     //
     this.butDelete.AdjustImageLocation = new System.Drawing.Point(0,1);
     this.butDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butDelete.Autosize = true;
     this.butDelete.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butDelete.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butDelete.CornerRadius = 4F;
     this.butDelete.Image = global::OpenDental.Properties.Resources.deleteX;
     this.butDelete.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butDelete.Location = new System.Drawing.Point(25,135);
     this.butDelete.Name = "butDelete";
     this.butDelete.Size = new System.Drawing.Size(79,24);
     this.butDelete.TabIndex = 5;
     this.butDelete.Text = "Delete";
     this.butDelete.Click += new System.EventHandler(this.butDelete_Click);
     //
     // FormVaccineDefEdit
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.ClientSize = new System.Drawing.Size(355,186);
     this.Controls.Add(this.butDelete);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.comboManufacturer);
     this.Controls.Add(this.textVaccineName);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.textCVXCode);
     this.Controls.Add(this.labelCVXCode);
     this.Controls.Add(this.butOK);
     this.Controls.Add(this.butCancel);
     this.Name = "FormVaccineDefEdit";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Vaccine Definition Edit";
     this.Load += new System.EventHandler(this.FormVaccineDefEdit_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #20
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.butOK = new OpenDental.UI.Button();
     this.butCancel = new OpenDental.UI.Button();
     this.label2 = new System.Windows.Forms.Label();
     this.textNote = new OpenDental.ODtextBox();
     this.label4 = new System.Windows.Forms.Label();
     this.textUser = new System.Windows.Forms.TextBox();
     this.label16 = new System.Windows.Forms.Label();
     this.textDateTime = new System.Windows.Forms.TextBox();
     this.butDelete = new OpenDental.UI.Button();
     this.SuspendLayout();
     //
     // butOK
     //
     this.butOK.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butOK.Autosize = true;
     this.butOK.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butOK.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butOK.CornerRadius = 4F;
     this.butOK.Location = new System.Drawing.Point(471,315);
     this.butOK.Name = "butOK";
     this.butOK.Size = new System.Drawing.Size(75,24);
     this.butOK.TabIndex = 1;
     this.butOK.Text = "&OK";
     this.butOK.Click += new System.EventHandler(this.butOK_Click);
     //
     // butCancel
     //
     this.butCancel.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butCancel.Autosize = true;
     this.butCancel.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butCancel.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butCancel.CornerRadius = 4F;
     this.butCancel.Location = new System.Drawing.Point(564,315);
     this.butCancel.Name = "butCancel";
     this.butCancel.Size = new System.Drawing.Size(75,24);
     this.butCancel.TabIndex = 2;
     this.butCancel.Text = "&Cancel";
     this.butCancel.Click += new System.EventHandler(this.butCancel_Click);
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(0,15);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(97,16);
     this.label2.TabIndex = 6;
     this.label2.Text = "Date / Time";
     this.label2.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // textNote
     //
     this.textNote.AcceptsReturn = true;
     this.textNote.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.textNote.Location = new System.Drawing.Point(98,63);
     this.textNote.Multiline = true;
     this.textNote.Name = "textNote";
     this.textNote.QuickPasteType = OpenDentBusiness.QuickPasteType.Adjustment;
     this.textNote.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
     this.textNote.Size = new System.Drawing.Size(541,218);
     this.textNote.TabIndex = 0;
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(3,66);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(94,16);
     this.label4.TabIndex = 9;
     this.label4.Text = "Note";
     this.label4.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // textUser
     //
     this.textUser.Location = new System.Drawing.Point(98,37);
     this.textUser.Name = "textUser";
     this.textUser.ReadOnly = true;
     this.textUser.Size = new System.Drawing.Size(134,20);
     this.textUser.TabIndex = 126;
     //
     // label16
     //
     this.label16.Location = new System.Drawing.Point(2,39);
     this.label16.Name = "label16";
     this.label16.Size = new System.Drawing.Size(94,16);
     this.label16.TabIndex = 127;
     this.label16.Text = "User";
     this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // textDateTime
     //
     this.textDateTime.Location = new System.Drawing.Point(98,11);
     this.textDateTime.Name = "textDateTime";
     this.textDateTime.Size = new System.Drawing.Size(164,20);
     this.textDateTime.TabIndex = 128;
     //
     // butDelete
     //
     this.butDelete.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butDelete.Autosize = true;
     this.butDelete.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butDelete.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butDelete.CornerRadius = 4F;
     this.butDelete.Image = global::OpenDental.Properties.Resources.deleteX;
     this.butDelete.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butDelete.Location = new System.Drawing.Point(33,315);
     this.butDelete.Name = "butDelete";
     this.butDelete.Size = new System.Drawing.Size(80,24);
     this.butDelete.TabIndex = 129;
     this.butDelete.Text = "&Delete";
     this.butDelete.Click += new System.EventHandler(this.butDelete_Click);
     //
     // FormTaskNoteEdit
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.ClientSize = new System.Drawing.Size(664,366);
     this.Controls.Add(this.butDelete);
     this.Controls.Add(this.textDateTime);
     this.Controls.Add(this.textUser);
     this.Controls.Add(this.label16);
     this.Controls.Add(this.textNote);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.butOK);
     this.Controls.Add(this.butCancel);
     this.Name = "FormTaskNoteEdit";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Task Note Edit";
     this.Load += new System.EventHandler(this.FormTaskNoteEdit_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #21
0
        public Controller()
            : base()
        {
            int currentPlanet = DB.CurrentPlanet;

              Player = new Player(new Vector2(World.WORLD_WIDTH / 2, 100));
              Type = (PlanetTypes)DB.Planets[currentPlanet].PlanetType;
              Camera = new Camera();

              WhaleButton = new UI.Button(Player.Position.X, 100, "Planet/WhaleButton", Events.GoToSystemView);

              if (currentPlanet != 7)
              {
            Generators.Add(new Generator(new Vector2(0, 250)));
            Generators.Add(new Generator(new Vector2(World.WORLD_WIDTH - Generator.WIDTH, 250)));
              }
              else
              {
            AncientMachines.Add(new AncientMachine(new Vector2(0, 250)));
            AncientMachines.Add(new AncientMachine(new Vector2(
              World.WORLD_WIDTH - Generator.WIDTH, 250)));
              }

              if (Generators.Count > 0)
              {
            ActiveObjects.Add(Generators[0]);
            ActiveObjects.Add(Generators[1]);
              }

              foreach (var item in DB.Planets[currentPlanet].Hostiles)
              {
            switch ((HostilesTypes)item.Type)
            {
              case HostilesTypes.Boomba: ActiveObjects.Add(new Boomba(item.Position)); break;
              case HostilesTypes.Buffalo: ActiveObjects.Add(new Buffalo(item.Position)); break;
              case HostilesTypes.Bullfrog: ActiveObjects.Add(new Bullfrog(item.Position)); break;
              case HostilesTypes.CrushingMachine: ActiveObjects.Add(new CrushingMachine(item.Position)); break;
              case HostilesTypes.FireColumn: ActiveObjects.Add(new FireColumn(item.Position)); break;
              case HostilesTypes.FlamingBoulderSpawner: ActiveObjects.Add(new FlamingBoulder(item.Position)); break;
              case HostilesTypes.IceCloud: ActiveObjects.Add(new IceCloud(item.Position)); break;
              case HostilesTypes.IceColumn: ActiveObjects.Add(new IceColumn(item.Position)); break;
              case HostilesTypes.Icydactyl: ActiveObjects.Add(new Icydactyl(item.Position)); break;
              case HostilesTypes.Leech: ActiveObjects.Add(new Leech(item.Position)); break;
              case HostilesTypes.RobotSender: ActiveObjects.Add(new RobotSender(item.Position)); break;
              case HostilesTypes.RobotSentinel: ActiveObjects.Add(new RobotSentinel(item.Position)); break;
              case HostilesTypes.Rockguy: ActiveObjects.Add(new Rockguy(item.Position)); break;
              case HostilesTypes.SnappingPlant: ActiveObjects.Add(new SnappingPlant(item.Position)); break;
              case HostilesTypes.SpikeWall: ActiveObjects.Add(new SpikeWall(item.Position)); break;
              case HostilesTypes.StoneRobot: ActiveObjects.Add(new StoneRobot(item.Position)); break;
              case HostilesTypes.StormCloud: ActiveObjects.Add(new StormCloud(item.Position)); break;
              case HostilesTypes.Swarm: ActiveObjects.Add(new Swarm(item.Position)); break;
              case HostilesTypes.Yeti: ActiveObjects.Add(new Yeti(item.Position)); break;
            }
              }

              foreach (var item in DB.Planets[currentPlanet].Foods)
            Foods.Add(new Food(item.Position));

              foreach (var item in DB.Planets[currentPlanet].Cubes)
            Cubes.Add(new Cube(item.Position));

              foreach (var item in DB.Planets[currentPlanet].Critters)
            Critters.Add(new Critter(item.Position, item.Type));

              foreach (var item in DB.Planets[currentPlanet].Peoples)
            Persons.Add(new Person((CharacterTypes)item.Type, item.Position));

              Game1.EventMan.Register(Events.MouseMove, MouseMove);
              Game1.EventMan.Register(Events.MouseClick, MouseClick);
              Game1.EventMan.Register(Events.GoToSystemView, GoToSystemView);
              Game1.EventMan.Register(Events.PlayerHitByFeedback, PlayerHitByFeedback);
              Game1.EventMan.Register(Events.TeleportedFood, TeleportedFood);
              Game1.EventMan.Register(Events.PersonTeleported, PersonTeleported);

              WhaleButton.DeregisterEvents();

              switch (Type)
              {
            case PlanetTypes.Green:
              Audio.Play(Music.Jungle);
              break;
            case PlanetTypes.Jungle:
              Audio.Play(Music.Jungle);
              break;
            case PlanetTypes.Ice:
              Audio.Play(Music.Ice);
              break;
            case PlanetTypes.Desert:
              Audio.Play(Music.Jungle);
              break;
            case PlanetTypes.Volcano:
              Audio.Play(Music.Volcano);
              break;
            case PlanetTypes.Machine:
              Audio.Play(Music.Machine);
              break;
              }
        }
예제 #22
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.checkShowHidden = new System.Windows.Forms.CheckBox();
     this.gridMain = new OpenDental.UI.ODGrid();
     this.butAdd = new OpenDental.UI.Button();
     this.butClose = new OpenDental.UI.Button();
     this.butOK = new OpenDental.UI.Button();
     this.SuspendLayout();
     //
     // checkShowHidden
     //
     this.checkShowHidden.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.checkShowHidden.Location = new System.Drawing.Point(296,148);
     this.checkShowHidden.Name = "checkShowHidden";
     this.checkShowHidden.Size = new System.Drawing.Size(98,24);
     this.checkShowHidden.TabIndex = 5;
     this.checkShowHidden.TabStop = false;
     this.checkShowHidden.Text = "Show Hidden";
     this.checkShowHidden.UseVisualStyleBackColor = true;
     this.checkShowHidden.CheckedChanged += new System.EventHandler(this.checkShowHidden_CheckedChanged);
     //
     // gridMain
     //
     this.gridMain.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.gridMain.HScrollVisible = false;
     this.gridMain.Location = new System.Drawing.Point(26,24);
     this.gridMain.Name = "gridMain";
     this.gridMain.ScrollValue = 0;
     this.gridMain.Size = new System.Drawing.Size(242,310);
     this.gridMain.TabIndex = 4;
     this.gridMain.Title = "Allergies";
     this.gridMain.TranslationName = null;
     this.gridMain.CellDoubleClick += new OpenDental.UI.ODGridClickEventHandler(this.gridMain_CellDoubleClick);
     //
     // butAdd
     //
     this.butAdd.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butAdd.Autosize = true;
     this.butAdd.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butAdd.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butAdd.CornerRadius = 4F;
     this.butAdd.Image = global::OpenDental.Properties.Resources.Add;
     this.butAdd.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butAdd.Location = new System.Drawing.Point(296,24);
     this.butAdd.Name = "butAdd";
     this.butAdd.Size = new System.Drawing.Size(75,24);
     this.butAdd.TabIndex = 3;
     this.butAdd.Text = "&Add";
     this.butAdd.Click += new System.EventHandler(this.butAdd_Click);
     //
     // butClose
     //
     this.butClose.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butClose.Autosize = true;
     this.butClose.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butClose.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butClose.CornerRadius = 4F;
     this.butClose.Location = new System.Drawing.Point(296,310);
     this.butClose.Name = "butClose";
     this.butClose.Size = new System.Drawing.Size(75,24);
     this.butClose.TabIndex = 2;
     this.butClose.Text = "&Close";
     this.butClose.Click += new System.EventHandler(this.butClose_Click);
     //
     // butOK
     //
     this.butOK.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butOK.Autosize = true;
     this.butOK.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butOK.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butOK.CornerRadius = 4F;
     this.butOK.Location = new System.Drawing.Point(296,280);
     this.butOK.Name = "butOK";
     this.butOK.Size = new System.Drawing.Size(75,24);
     this.butOK.TabIndex = 6;
     this.butOK.Text = "&OK";
     this.butOK.Visible = false;
     this.butOK.Click += new System.EventHandler(this.butOK_Click);
     //
     // FormAllergySetup
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.ClientSize = new System.Drawing.Size(396,361);
     this.Controls.Add(this.butOK);
     this.Controls.Add(this.checkShowHidden);
     this.Controls.Add(this.gridMain);
     this.Controls.Add(this.butAdd);
     this.Controls.Add(this.butClose);
     this.Name = "FormAllergySetup";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Allergy Setup";
     this.Load += new System.EventHandler(this.FormAllergySetup_Load);
     this.ResumeLayout(false);
 }
예제 #23
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormBackup));
     this.tabControl1         = new System.Windows.Forms.TabControl();
     this.tabPageBackup       = new System.Windows.Forms.TabPage();
     this.groupManagedBackups = new System.Windows.Forms.GroupBox();
     this.pictureCDS          = new OpenDental.UI.ODPictureBox();
     this.label1                                   = new System.Windows.Forms.Label();
     this.checkExcludeImages                       = new System.Windows.Forms.CheckBox();
     this.butSave                                  = new OpenDental.UI.Button();
     this.groupBox1                                = new System.Windows.Forms.GroupBox();
     this.textBox5                                 = new System.Windows.Forms.TextBox();
     this.butBrowseRestoreAtoZTo                   = new OpenDental.UI.Button();
     this.textBackupRestoreAtoZToPath              = new System.Windows.Forms.TextBox();
     this.textBox3                                 = new System.Windows.Forms.TextBox();
     this.butBrowseRestoreTo                       = new OpenDental.UI.Button();
     this.textBackupRestoreToPath                  = new System.Windows.Forms.TextBox();
     this.textBox4                                 = new System.Windows.Forms.TextBox();
     this.butBrowseRestoreFrom                     = new OpenDental.UI.Button();
     this.textBackupRestoreFromPath                = new System.Windows.Forms.TextBox();
     this.butRestore                               = new OpenDental.UI.Button();
     this.textBox2                                 = new System.Windows.Forms.TextBox();
     this.butCancel                                = new OpenDental.UI.Button();
     this.butBrowseFrom                            = new OpenDental.UI.Button();
     this.butBackup                                = new OpenDental.UI.Button();
     this.textBackupFromPath                       = new System.Windows.Forms.TextBox();
     this.textBackupToPath                         = new System.Windows.Forms.TextBox();
     this.textBox1                                 = new System.Windows.Forms.TextBox();
     this.butBrowseTo                              = new OpenDental.UI.Button();
     this.groupBox2                                = new System.Windows.Forms.GroupBox();
     this.tabPageArchive                           = new System.Windows.Forms.TabPage();
     this.checkArchiveDoBackupFirst                = new System.Windows.Forms.CheckBox();
     this.labelWarning                             = new System.Windows.Forms.Label();
     this.label7                                   = new System.Windows.Forms.Label();
     this.butSaveArchiveData                       = new OpenDental.UI.Button();
     this.groupBoxBackupConnection                 = new System.Windows.Forms.GroupBox();
     this.label5                                   = new System.Windows.Forms.Label();
     this.label8                                   = new System.Windows.Forms.Label();
     this.label3                                   = new System.Windows.Forms.Label();
     this.textArchiveServerName                    = new System.Windows.Forms.TextBox();
     this.textArchivePass                          = new System.Windows.Forms.TextBox();
     this.textArchiveUser                          = new System.Windows.Forms.TextBox();
     this.butArchive                               = new OpenDental.UI.Button();
     this.label2                                   = new System.Windows.Forms.Label();
     this.dateTimeArchive                          = new System.Windows.Forms.DateTimePicker();
     this.tabPageSupplementalBackups               = new System.Windows.Forms.TabPage();
     this.butSupplementalSaveDefaults              = new OpenDental.UI.Button();
     this.butSupplementalBrowse                    = new OpenDental.UI.Button();
     this.labelSupplementalBackupCopyNetworkPath   = new System.Windows.Forms.Label();
     this.textSupplementalBackupCopyNetworkPath    = new OpenDental.ODtextBox();
     this.labelLastSupplementalBackupDateTime      = new System.Windows.Forms.Label();
     this.textSupplementalBackupDateLastComplete   = new OpenDental.ODtextBox();
     this.checkSupplementalBackupEnabled           = new System.Windows.Forms.CheckBox();
     this.labelExplanation                         = new System.Windows.Forms.Label();
     this.folderBrowserSupplementalCopyNetworkPath = new OpenDental.FolderBrowserDialog();
     this.tabControl1.SuspendLayout();
     this.tabPageBackup.SuspendLayout();
     this.groupManagedBackups.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.tabPageArchive.SuspendLayout();
     this.groupBoxBackupConnection.SuspendLayout();
     this.tabPageSupplementalBackups.SuspendLayout();
     this.SuspendLayout();
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.tabPageBackup);
     this.tabControl1.Controls.Add(this.tabPageArchive);
     this.tabControl1.Controls.Add(this.tabPageSupplementalBackups);
     this.tabControl1.Location      = new System.Drawing.Point(0, 0);
     this.tabControl1.Name          = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size          = new System.Drawing.Size(780, 579);
     this.tabControl1.TabIndex      = 1;
     this.tabControl1.Selected     += new System.Windows.Forms.TabControlEventHandler(this.TabControl1Tab_Selected);
     //
     // tabPageBackup
     //
     this.tabPageBackup.BackColor = System.Drawing.SystemColors.Control;
     this.tabPageBackup.Controls.Add(this.groupManagedBackups);
     this.tabPageBackup.Controls.Add(this.label1);
     this.tabPageBackup.Controls.Add(this.checkExcludeImages);
     this.tabPageBackup.Controls.Add(this.butSave);
     this.tabPageBackup.Controls.Add(this.groupBox1);
     this.tabPageBackup.Controls.Add(this.textBox2);
     this.tabPageBackup.Controls.Add(this.butCancel);
     this.tabPageBackup.Controls.Add(this.butBrowseFrom);
     this.tabPageBackup.Controls.Add(this.butBackup);
     this.tabPageBackup.Controls.Add(this.textBackupFromPath);
     this.tabPageBackup.Controls.Add(this.textBackupToPath);
     this.tabPageBackup.Controls.Add(this.textBox1);
     this.tabPageBackup.Controls.Add(this.butBrowseTo);
     this.tabPageBackup.Controls.Add(this.groupBox2);
     this.tabPageBackup.Location = new System.Drawing.Point(4, 22);
     this.tabPageBackup.Name     = "tabPageBackup";
     this.tabPageBackup.Padding  = new System.Windows.Forms.Padding(3);
     this.tabPageBackup.Size     = new System.Drawing.Size(772, 553);
     this.tabPageBackup.TabIndex = 0;
     this.tabPageBackup.Text     = "Backup";
     //
     // groupManagedBackups
     //
     this.groupManagedBackups.Controls.Add(this.pictureCDS);
     this.groupManagedBackups.Location = new System.Drawing.Point(319, 488);
     this.groupManagedBackups.Name     = "groupManagedBackups";
     this.groupManagedBackups.Size     = new System.Drawing.Size(114, 57);
     this.groupManagedBackups.TabIndex = 17;
     this.groupManagedBackups.TabStop  = false;
     this.groupManagedBackups.Text     = "Managed Backups";
     //
     // pictureCDS
     //
     this.pictureCDS.HasBorder     = false;
     this.pictureCDS.Image         = global::OpenDental.Properties.Resources.CDS_Button_green;
     this.pictureCDS.Location      = new System.Drawing.Point(10, 22);
     this.pictureCDS.Name          = "pictureCDS";
     this.pictureCDS.Size          = new System.Drawing.Size(83, 24);
     this.pictureCDS.TabIndex      = 16;
     this.pictureCDS.TextNullImage = null;
     this.pictureCDS.Click        += new System.EventHandler(this.pictureCDS_Click);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(19, 12);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(713, 28);
     this.label1.TabIndex = 2;
     this.label1.Text     = "BACKUPS ARE USELESS UNLESS YOU REGULARLY VERIFY THEIR QUALITY BY TAKING A BACKUP " +
                            "HOME AND RESTORING IT TO YOUR HOME COMPUTER.  We suggest an encrypted USB flash " +
                            "drive for this purpose.";
     this.label1.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
     //
     // checkExcludeImages
     //
     this.checkExcludeImages.AutoSize = true;
     this.checkExcludeImages.Location = new System.Drawing.Point(13, 49);
     this.checkExcludeImages.Name     = "checkExcludeImages";
     this.checkExcludeImages.Size     = new System.Drawing.Size(221, 17);
     this.checkExcludeImages.TabIndex = 15;
     this.checkExcludeImages.Text     = "Exclude image folder in backup or restore";
     this.checkExcludeImages.UseVisualStyleBackColor = true;
     this.checkExcludeImages.Click += new System.EventHandler(this.checkExcludeImages_Click);
     //
     // butSave
     //
     this.butSave.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butSave.Location = new System.Drawing.Point(15, 491);
     this.butSave.Name     = "butSave";
     this.butSave.Size     = new System.Drawing.Size(86, 26);
     this.butSave.TabIndex = 13;
     this.butSave.Text     = "Save Defaults";
     this.butSave.Click   += new System.EventHandler(this.butSave_Click);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.textBox5);
     this.groupBox1.Controls.Add(this.butBrowseRestoreAtoZTo);
     this.groupBox1.Controls.Add(this.textBackupRestoreAtoZToPath);
     this.groupBox1.Controls.Add(this.textBox3);
     this.groupBox1.Controls.Add(this.butBrowseRestoreTo);
     this.groupBox1.Controls.Add(this.textBackupRestoreToPath);
     this.groupBox1.Controls.Add(this.textBox4);
     this.groupBox1.Controls.Add(this.butBrowseRestoreFrom);
     this.groupBox1.Controls.Add(this.textBackupRestoreFromPath);
     this.groupBox1.Controls.Add(this.butRestore);
     this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.groupBox1.Location  = new System.Drawing.Point(13, 262);
     this.groupBox1.Name      = "groupBox1";
     this.groupBox1.Size      = new System.Drawing.Size(747, 213);
     this.groupBox1.TabIndex  = 8;
     this.groupBox1.TabStop   = false;
     this.groupBox1.Text      = "Restore";
     //
     // textBox5
     //
     this.textBox5.BackColor   = System.Drawing.SystemColors.Control;
     this.textBox5.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.textBox5.Location    = new System.Drawing.Point(7, 142);
     this.textBox5.Multiline   = true;
     this.textBox5.Name        = "textBox5";
     this.textBox5.Size        = new System.Drawing.Size(396, 27);
     this.textBox5.TabIndex    = 21;
     this.textBox5.Text        = "Restore A-Z images to this folder: (example:)\r\nC:\\OpenDentImages\\";
     //
     // butBrowseRestoreAtoZTo
     //
     this.butBrowseRestoreAtoZTo.Location = new System.Drawing.Point(500, 170);
     this.butBrowseRestoreAtoZTo.Name     = "butBrowseRestoreAtoZTo";
     this.butBrowseRestoreAtoZTo.Size     = new System.Drawing.Size(86, 26);
     this.butBrowseRestoreAtoZTo.TabIndex = 20;
     this.butBrowseRestoreAtoZTo.Text     = "Browse";
     this.butBrowseRestoreAtoZTo.Click   += new System.EventHandler(this.butBrowseRestoreAtoZTo_Click);
     //
     // textBackupRestoreAtoZToPath
     //
     this.textBackupRestoreAtoZToPath.Location = new System.Drawing.Point(6, 173);
     this.textBackupRestoreAtoZToPath.Name     = "textBackupRestoreAtoZToPath";
     this.textBackupRestoreAtoZToPath.Size     = new System.Drawing.Size(481, 20);
     this.textBackupRestoreAtoZToPath.TabIndex = 19;
     //
     // textBox3
     //
     this.textBox3.BackColor   = System.Drawing.SystemColors.Control;
     this.textBox3.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.textBox3.Location    = new System.Drawing.Point(7, 81);
     this.textBox3.Multiline   = true;
     this.textBox3.Name        = "textBox3";
     this.textBox3.Size        = new System.Drawing.Size(247, 27);
     this.textBox3.TabIndex    = 18;
     this.textBox3.Text        = "Restore database TO this folder: (example:)\r\nC:\\mysql\\data\\";
     //
     // butBrowseRestoreTo
     //
     this.butBrowseRestoreTo.Location = new System.Drawing.Point(500, 109);
     this.butBrowseRestoreTo.Name     = "butBrowseRestoreTo";
     this.butBrowseRestoreTo.Size     = new System.Drawing.Size(86, 26);
     this.butBrowseRestoreTo.TabIndex = 17;
     this.butBrowseRestoreTo.Text     = "Browse";
     this.butBrowseRestoreTo.Click   += new System.EventHandler(this.butBrowseRestoreTo_Click);
     //
     // textBackupRestoreToPath
     //
     this.textBackupRestoreToPath.Location = new System.Drawing.Point(6, 112);
     this.textBackupRestoreToPath.Name     = "textBackupRestoreToPath";
     this.textBackupRestoreToPath.Size     = new System.Drawing.Size(481, 20);
     this.textBackupRestoreToPath.TabIndex = 16;
     //
     // textBox4
     //
     this.textBox4.BackColor   = System.Drawing.SystemColors.Control;
     this.textBox4.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.textBox4.Location    = new System.Drawing.Point(7, 20);
     this.textBox4.Multiline   = true;
     this.textBox4.Name        = "textBox4";
     this.textBox4.Size        = new System.Drawing.Size(280, 29);
     this.textBox4.TabIndex    = 15;
     this.textBox4.Text        = "Restore FROM this folder: (example:)\r\nD:\\";
     //
     // butBrowseRestoreFrom
     //
     this.butBrowseRestoreFrom.Location = new System.Drawing.Point(500, 47);
     this.butBrowseRestoreFrom.Name     = "butBrowseRestoreFrom";
     this.butBrowseRestoreFrom.Size     = new System.Drawing.Size(86, 26);
     this.butBrowseRestoreFrom.TabIndex = 14;
     this.butBrowseRestoreFrom.Text     = "Browse";
     this.butBrowseRestoreFrom.Click   += new System.EventHandler(this.butBrowseRestoreFrom_Click);
     //
     // textBackupRestoreFromPath
     //
     this.textBackupRestoreFromPath.Location = new System.Drawing.Point(6, 50);
     this.textBackupRestoreFromPath.Name     = "textBackupRestoreFromPath";
     this.textBackupRestoreFromPath.Size     = new System.Drawing.Size(481, 20);
     this.textBackupRestoreFromPath.TabIndex = 13;
     //
     // butRestore
     //
     this.butRestore.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butRestore.Location = new System.Drawing.Point(648, 170);
     this.butRestore.Name     = "butRestore";
     this.butRestore.Size     = new System.Drawing.Size(86, 26);
     this.butRestore.TabIndex = 6;
     this.butRestore.Text     = "Restore";
     this.butRestore.Click   += new System.EventHandler(this.butRestore_Click);
     //
     // textBox2
     //
     this.textBox2.BackColor   = System.Drawing.SystemColors.Control;
     this.textBox2.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.textBox2.Location    = new System.Drawing.Point(20, 88);
     this.textBox2.Multiline   = true;
     this.textBox2.Name        = "textBox2";
     this.textBox2.Size        = new System.Drawing.Size(240, 43);
     this.textBox2.TabIndex    = 12;
     this.textBox2.Text        = "Backup database FROM this folder: (examples:)\r\nC:\\mysql\\data\\\r\n\\\\server\\mysql\\dat" +
                                 "a\\";
     //
     // butCancel
     //
     this.butCancel.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butCancel.Location = new System.Drawing.Point(663, 491);
     this.butCancel.Name     = "butCancel";
     this.butCancel.Size     = new System.Drawing.Size(86, 26);
     this.butCancel.TabIndex = 0;
     this.butCancel.Text     = "&Cancel";
     this.butCancel.Click   += new System.EventHandler(this.butCancel_Click);
     //
     // butBrowseFrom
     //
     this.butBrowseFrom.Location = new System.Drawing.Point(513, 130);
     this.butBrowseFrom.Name     = "butBrowseFrom";
     this.butBrowseFrom.Size     = new System.Drawing.Size(86, 26);
     this.butBrowseFrom.TabIndex = 11;
     this.butBrowseFrom.Text     = "Browse";
     this.butBrowseFrom.Click   += new System.EventHandler(this.butBrowseFrom_Click);
     //
     // butBackup
     //
     this.butBackup.Location = new System.Drawing.Point(666, 216);
     this.butBackup.Name     = "butBackup";
     this.butBackup.Size     = new System.Drawing.Size(86, 26);
     this.butBackup.TabIndex = 1;
     this.butBackup.Text     = "Backup";
     this.butBackup.Click   += new System.EventHandler(this.butBackup_Click);
     //
     // textBackupFromPath
     //
     this.textBackupFromPath.Location = new System.Drawing.Point(19, 133);
     this.textBackupFromPath.Name     = "textBackupFromPath";
     this.textBackupFromPath.Size     = new System.Drawing.Size(481, 20);
     this.textBackupFromPath.TabIndex = 10;
     //
     // textBackupToPath
     //
     this.textBackupToPath.Location = new System.Drawing.Point(19, 219);
     this.textBackupToPath.Name     = "textBackupToPath";
     this.textBackupToPath.Size     = new System.Drawing.Size(481, 20);
     this.textBackupToPath.TabIndex = 4;
     //
     // textBox1
     //
     this.textBox1.BackColor   = System.Drawing.SystemColors.Control;
     this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.textBox1.Location    = new System.Drawing.Point(20, 162);
     this.textBox1.Multiline   = true;
     this.textBox1.Name        = "textBox1";
     this.textBox1.Size        = new System.Drawing.Size(279, 55);
     this.textBox1.TabIndex    = 9;
     this.textBox1.Text        = "Backup TO this folder: (examples:)\r\nD:\\\r\nD:\\Backups\\\r\n\\\\frontdesk\\backups\\";
     //
     // butBrowseTo
     //
     this.butBrowseTo.Location = new System.Drawing.Point(513, 216);
     this.butBrowseTo.Name     = "butBrowseTo";
     this.butBrowseTo.Size     = new System.Drawing.Size(86, 26);
     this.butBrowseTo.TabIndex = 5;
     this.butBrowseTo.Text     = "Browse";
     this.butBrowseTo.Click   += new System.EventHandler(this.butBrowseTo_Click);
     //
     // groupBox2
     //
     this.groupBox2.Location = new System.Drawing.Point(13, 72);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(747, 184);
     this.groupBox2.TabIndex = 14;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Backup";
     //
     // tabPageArchive
     //
     this.tabPageArchive.BackColor = System.Drawing.SystemColors.Control;
     this.tabPageArchive.Controls.Add(this.checkArchiveDoBackupFirst);
     this.tabPageArchive.Controls.Add(this.labelWarning);
     this.tabPageArchive.Controls.Add(this.label7);
     this.tabPageArchive.Controls.Add(this.butSaveArchiveData);
     this.tabPageArchive.Controls.Add(this.groupBoxBackupConnection);
     this.tabPageArchive.Controls.Add(this.butArchive);
     this.tabPageArchive.Controls.Add(this.label2);
     this.tabPageArchive.Controls.Add(this.dateTimeArchive);
     this.tabPageArchive.Location = new System.Drawing.Point(4, 22);
     this.tabPageArchive.Name     = "tabPageArchive";
     this.tabPageArchive.Padding  = new System.Windows.Forms.Padding(3);
     this.tabPageArchive.Size     = new System.Drawing.Size(772, 553);
     this.tabPageArchive.TabIndex = 1;
     this.tabPageArchive.Text     = "Remove Old Data";
     //
     // checkArchiveDoBackupFirst
     //
     this.checkArchiveDoBackupFirst.Location = new System.Drawing.Point(140, 128);
     this.checkArchiveDoBackupFirst.Name     = "checkArchiveDoBackupFirst";
     this.checkArchiveDoBackupFirst.Size     = new System.Drawing.Size(166, 17);
     this.checkArchiveDoBackupFirst.TabIndex = 14;
     this.checkArchiveDoBackupFirst.Text     = "Backup before removing data";
     this.checkArchiveDoBackupFirst.UseVisualStyleBackColor = true;
     this.checkArchiveDoBackupFirst.CheckedChanged         += new System.EventHandler(this.checkMakeBackup_CheckedChanged);
     //
     // labelWarning
     //
     this.labelWarning.Anchor    = System.Windows.Forms.AnchorStyles.Top;
     this.labelWarning.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelWarning.ForeColor = System.Drawing.Color.Red;
     this.labelWarning.Location  = new System.Drawing.Point(246, 350);
     this.labelWarning.Name      = "labelWarning";
     this.labelWarning.Size      = new System.Drawing.Size(509, 55);
     this.labelWarning.TabIndex  = 13;
     this.labelWarning.Text      = "Not available when using random primary keys.\r\nPlease call support.";
     this.labelWarning.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.labelWarning.Visible   = false;
     //
     // label7
     //
     this.label7.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label7.Location = new System.Drawing.Point(19, 12);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(734, 58);
     this.label7.TabIndex = 12;
     this.label7.Text     = resources.GetString("label7.Text");
     //
     // butSaveArchiveData
     //
     this.butSaveArchiveData.Location = new System.Drawing.Point(140, 333);
     this.butSaveArchiveData.Name     = "butSaveArchiveData";
     this.butSaveArchiveData.Size     = new System.Drawing.Size(86, 26);
     this.butSaveArchiveData.TabIndex = 4;
     this.butSaveArchiveData.Text     = "Save Defaults";
     this.butSaveArchiveData.UseVisualStyleBackColor = true;
     this.butSaveArchiveData.Click += new System.EventHandler(this.butSaveArchive_Click);
     //
     // groupBoxBackupConnection
     //
     this.groupBoxBackupConnection.Anchor = System.Windows.Forms.AnchorStyles.Top;
     this.groupBoxBackupConnection.Controls.Add(this.label5);
     this.groupBoxBackupConnection.Controls.Add(this.label8);
     this.groupBoxBackupConnection.Controls.Add(this.label3);
     this.groupBoxBackupConnection.Controls.Add(this.textArchiveServerName);
     this.groupBoxBackupConnection.Controls.Add(this.textArchivePass);
     this.groupBoxBackupConnection.Controls.Add(this.textArchiveUser);
     this.groupBoxBackupConnection.Location = new System.Drawing.Point(140, 151);
     this.groupBoxBackupConnection.Name     = "groupBoxBackupConnection";
     this.groupBoxBackupConnection.Size     = new System.Drawing.Size(493, 176);
     this.groupBoxBackupConnection.TabIndex = 0;
     this.groupBoxBackupConnection.TabStop  = false;
     this.groupBoxBackupConnection.Text     = "Backup Connection Settings";
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(7, 122);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(480, 18);
     this.label5.TabIndex  = 37;
     this.label5.Text      = "Password: For new installations, the password will be blank.";
     this.label5.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
     //
     // label8
     //
     this.label8.Location  = new System.Drawing.Point(7, 78);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(480, 18);
     this.label8.TabIndex  = 36;
     this.label8.Text      = "User: When MySQL is first installed, the user is root.";
     this.label8.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(6, 16);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(481, 36);
     this.label3.TabIndex = 35;
     this.label3.Text     = "Server Name: The name of the computer where the backup server and database are lo" +
                            "cated.\r\nIf running on a single computer only, Server Name may be localhost.";
     this.label3.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
     //
     // textArchiveServerName
     //
     this.textArchiveServerName.Location = new System.Drawing.Point(9, 55);
     this.textArchiveServerName.Name     = "textArchiveServerName";
     this.textArchiveServerName.Size     = new System.Drawing.Size(283, 20);
     this.textArchiveServerName.TabIndex = 0;
     //
     // textArchivePass
     //
     this.textArchivePass.Location     = new System.Drawing.Point(10, 143);
     this.textArchivePass.Name         = "textArchivePass";
     this.textArchivePass.PasswordChar = '*';
     this.textArchivePass.Size         = new System.Drawing.Size(283, 20);
     this.textArchivePass.TabIndex     = 3;
     //
     // textArchiveUser
     //
     this.textArchiveUser.Location = new System.Drawing.Point(10, 99);
     this.textArchiveUser.Name     = "textArchiveUser";
     this.textArchiveUser.Size     = new System.Drawing.Size(283, 20);
     this.textArchiveUser.TabIndex = 2;
     //
     // butArchive
     //
     this.butArchive.Anchor   = System.Windows.Forms.AnchorStyles.Top;
     this.butArchive.Location = new System.Drawing.Point(141, 365);
     this.butArchive.Name     = "butArchive";
     this.butArchive.Size     = new System.Drawing.Size(99, 26);
     this.butArchive.TabIndex = 2;
     this.butArchive.Text     = "Remove Old Data";
     this.butArchive.UseVisualStyleBackColor = true;
     this.butArchive.Click += new System.EventHandler(this.butArchive_Click);
     //
     // label2
     //
     this.label2.Anchor    = System.Windows.Forms.AnchorStyles.Top;
     this.label2.Location  = new System.Drawing.Point(149, 76);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(272, 17);
     this.label2.TabIndex  = 1;
     this.label2.Text      = "Remove old data entries on or before:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
     //
     // dateTimeArchive
     //
     this.dateTimeArchive.Anchor   = System.Windows.Forms.AnchorStyles.Top;
     this.dateTimeArchive.Location = new System.Drawing.Point(150, 96);
     this.dateTimeArchive.Name     = "dateTimeArchive";
     this.dateTimeArchive.Size     = new System.Drawing.Size(237, 20);
     this.dateTimeArchive.TabIndex = 1;
     //
     // tabPageSupplementalBackups
     //
     this.tabPageSupplementalBackups.BackColor = System.Drawing.SystemColors.Control;
     this.tabPageSupplementalBackups.Controls.Add(this.butSupplementalSaveDefaults);
     this.tabPageSupplementalBackups.Controls.Add(this.butSupplementalBrowse);
     this.tabPageSupplementalBackups.Controls.Add(this.labelSupplementalBackupCopyNetworkPath);
     this.tabPageSupplementalBackups.Controls.Add(this.textSupplementalBackupCopyNetworkPath);
     this.tabPageSupplementalBackups.Controls.Add(this.labelLastSupplementalBackupDateTime);
     this.tabPageSupplementalBackups.Controls.Add(this.textSupplementalBackupDateLastComplete);
     this.tabPageSupplementalBackups.Controls.Add(this.checkSupplementalBackupEnabled);
     this.tabPageSupplementalBackups.Controls.Add(this.labelExplanation);
     this.tabPageSupplementalBackups.Location = new System.Drawing.Point(4, 22);
     this.tabPageSupplementalBackups.Name     = "tabPageSupplementalBackups";
     this.tabPageSupplementalBackups.Size     = new System.Drawing.Size(772, 553);
     this.tabPageSupplementalBackups.TabIndex = 2;
     this.tabPageSupplementalBackups.Text     = "Supplemental Backups";
     //
     // butSupplementalSaveDefaults
     //
     this.butSupplementalSaveDefaults.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butSupplementalSaveDefaults.Location = new System.Drawing.Point(188, 135);
     this.butSupplementalSaveDefaults.Name     = "butSupplementalSaveDefaults";
     this.butSupplementalSaveDefaults.Size     = new System.Drawing.Size(86, 26);
     this.butSupplementalSaveDefaults.TabIndex = 20;
     this.butSupplementalSaveDefaults.Text     = "Save Defaults";
     this.butSupplementalSaveDefaults.Click   += new System.EventHandler(this.ButSupplementalSaveDefaults_Click);
     //
     // butSupplementalBrowse
     //
     this.butSupplementalBrowse.Location = new System.Drawing.Point(688, 109);
     this.butSupplementalBrowse.Name     = "butSupplementalBrowse";
     this.butSupplementalBrowse.Size     = new System.Drawing.Size(30, 20);
     this.butSupplementalBrowse.TabIndex = 19;
     this.butSupplementalBrowse.Text     = "...";
     this.butSupplementalBrowse.Click   += new System.EventHandler(this.ButSupplementalBrowse_Click);
     //
     // labelSupplementalBackupCopyNetworkPath
     //
     this.labelSupplementalBackupCopyNetworkPath.Location  = new System.Drawing.Point(8, 109);
     this.labelSupplementalBackupCopyNetworkPath.Name      = "labelSupplementalBackupCopyNetworkPath";
     this.labelSupplementalBackupCopyNetworkPath.Size      = new System.Drawing.Size(180, 20);
     this.labelSupplementalBackupCopyNetworkPath.TabIndex  = 18;
     this.labelSupplementalBackupCopyNetworkPath.Text      = "Backup Copy Network Path";
     this.labelSupplementalBackupCopyNetworkPath.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // textSupplementalBackupCopyNetworkPath
     //
     this.textSupplementalBackupCopyNetworkPath.AcceptsTab         = true;
     this.textSupplementalBackupCopyNetworkPath.BackColor          = System.Drawing.SystemColors.Window;
     this.textSupplementalBackupCopyNetworkPath.DetectLinksEnabled = false;
     this.textSupplementalBackupCopyNetworkPath.DetectUrls         = false;
     this.textSupplementalBackupCopyNetworkPath.Location           = new System.Drawing.Point(188, 109);
     this.textSupplementalBackupCopyNetworkPath.Multiline          = false;
     this.textSupplementalBackupCopyNetworkPath.Name           = "textSupplementalBackupCopyNetworkPath";
     this.textSupplementalBackupCopyNetworkPath.QuickPasteType = OpenDentBusiness.QuickPasteType.ReadOnly;
     this.textSupplementalBackupCopyNetworkPath.ScrollBars     = System.Windows.Forms.RichTextBoxScrollBars.Vertical;
     this.textSupplementalBackupCopyNetworkPath.Size           = new System.Drawing.Size(494, 20);
     this.textSupplementalBackupCopyNetworkPath.TabIndex       = 17;
     this.textSupplementalBackupCopyNetworkPath.Text           = "";
     //
     // labelLastSupplementalBackupDateTime
     //
     this.labelLastSupplementalBackupDateTime.Location  = new System.Drawing.Point(8, 83);
     this.labelLastSupplementalBackupDateTime.Name      = "labelLastSupplementalBackupDateTime";
     this.labelLastSupplementalBackupDateTime.Size      = new System.Drawing.Size(180, 20);
     this.labelLastSupplementalBackupDateTime.TabIndex  = 16;
     this.labelLastSupplementalBackupDateTime.Text      = "Last Backup Date Time";
     this.labelLastSupplementalBackupDateTime.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // textSupplementalBackupDateLastComplete
     //
     this.textSupplementalBackupDateLastComplete.AcceptsTab         = true;
     this.textSupplementalBackupDateLastComplete.BackColor          = System.Drawing.SystemColors.Control;
     this.textSupplementalBackupDateLastComplete.DetectLinksEnabled = false;
     this.textSupplementalBackupDateLastComplete.DetectUrls         = false;
     this.textSupplementalBackupDateLastComplete.Location           = new System.Drawing.Point(188, 83);
     this.textSupplementalBackupDateLastComplete.Multiline          = false;
     this.textSupplementalBackupDateLastComplete.Name           = "textSupplementalBackupDateLastComplete";
     this.textSupplementalBackupDateLastComplete.QuickPasteType = OpenDentBusiness.QuickPasteType.ReadOnly;
     this.textSupplementalBackupDateLastComplete.ReadOnly       = true;
     this.textSupplementalBackupDateLastComplete.ScrollBars     = System.Windows.Forms.RichTextBoxScrollBars.Vertical;
     this.textSupplementalBackupDateLastComplete.Size           = new System.Drawing.Size(150, 20);
     this.textSupplementalBackupDateLastComplete.TabIndex       = 15;
     this.textSupplementalBackupDateLastComplete.Text           = "";
     //
     // checkSupplementalBackupEnabled
     //
     this.checkSupplementalBackupEnabled.Location                = new System.Drawing.Point(8, 60);
     this.checkSupplementalBackupEnabled.Name                    = "checkSupplementalBackupEnabled";
     this.checkSupplementalBackupEnabled.RightToLeft             = System.Windows.Forms.RightToLeft.Yes;
     this.checkSupplementalBackupEnabled.Size                    = new System.Drawing.Size(193, 20);
     this.checkSupplementalBackupEnabled.TabIndex                = 14;
     this.checkSupplementalBackupEnabled.Text                    = "Supplemental Backups Enabled";
     this.checkSupplementalBackupEnabled.UseVisualStyleBackColor = true;
     //
     // labelExplanation
     //
     this.labelExplanation.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                          | System.Windows.Forms.AnchorStyles.Right)));
     this.labelExplanation.Location  = new System.Drawing.Point(8, 8);
     this.labelExplanation.Name      = "labelExplanation";
     this.labelExplanation.Size      = new System.Drawing.Size(755, 39);
     this.labelExplanation.TabIndex  = 13;
     this.labelExplanation.Text      = resources.GetString("labelExplanation.Text");
     this.labelExplanation.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
     //
     // FormBackup
     //
     this.ClientSize = new System.Drawing.Size(777, 582);
     this.Controls.Add(this.tabControl1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.MinimumSize     = new System.Drawing.Size(793, 621);
     this.Name            = "FormBackup";
     this.ShowInTaskbar   = false;
     this.Text            = "Backup";
     this.Load           += new System.EventHandler(this.FormBackup_Load);
     this.tabControl1.ResumeLayout(false);
     this.tabPageBackup.ResumeLayout(false);
     this.tabPageBackup.PerformLayout();
     this.groupManagedBackups.ResumeLayout(false);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.tabPageArchive.ResumeLayout(false);
     this.groupBoxBackupConnection.ResumeLayout(false);
     this.groupBoxBackupConnection.PerformLayout();
     this.tabPageSupplementalBackups.ResumeLayout(false);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.butOK = new OpenDental.UI.Button();
     this.butCancel = new OpenDental.UI.Button();
     this.butDelete = new OpenDental.UI.Button();
     this.textManufacturerName = new System.Windows.Forms.TextBox();
     this.labelManufacturerName = new System.Windows.Forms.Label();
     this.textManufacturerCode = new System.Windows.Forms.TextBox();
     this.labelManufacturerCode = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // butOK
     //
     this.butOK.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butOK.Autosize = true;
     this.butOK.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butOK.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butOK.CornerRadius = 4F;
     this.butOK.Location = new System.Drawing.Point(218,115);
     this.butOK.Name = "butOK";
     this.butOK.Size = new System.Drawing.Size(75,24);
     this.butOK.TabIndex = 2;
     this.butOK.Text = "&OK";
     this.butOK.Click += new System.EventHandler(this.butOK_Click);
     //
     // butCancel
     //
     this.butCancel.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butCancel.Autosize = true;
     this.butCancel.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butCancel.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butCancel.CornerRadius = 4F;
     this.butCancel.Location = new System.Drawing.Point(299,115);
     this.butCancel.Name = "butCancel";
     this.butCancel.Size = new System.Drawing.Size(75,24);
     this.butCancel.TabIndex = 3;
     this.butCancel.Text = "&Cancel";
     this.butCancel.Click += new System.EventHandler(this.butCancel_Click);
     //
     // butDelete
     //
     this.butDelete.AdjustImageLocation = new System.Drawing.Point(0,1);
     this.butDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butDelete.Autosize = true;
     this.butDelete.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butDelete.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butDelete.CornerRadius = 4F;
     this.butDelete.Image = global::OpenDental.Properties.Resources.deleteX;
     this.butDelete.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butDelete.Location = new System.Drawing.Point(26,115);
     this.butDelete.Name = "butDelete";
     this.butDelete.Size = new System.Drawing.Size(79,24);
     this.butDelete.TabIndex = 4;
     this.butDelete.Text = "Delete";
     this.butDelete.Click += new System.EventHandler(this.butDelete_Click);
     //
     // textManufacturerName
     //
     this.textManufacturerName.Location = new System.Drawing.Point(137,28);
     this.textManufacturerName.Name = "textManufacturerName";
     this.textManufacturerName.Size = new System.Drawing.Size(237,20);
     this.textManufacturerName.TabIndex = 0;
     //
     // labelManufacturerName
     //
     this.labelManufacturerName.Location = new System.Drawing.Point(12,27);
     this.labelManufacturerName.Name = "labelManufacturerName";
     this.labelManufacturerName.Size = new System.Drawing.Size(119,20);
     this.labelManufacturerName.TabIndex = 111;
     this.labelManufacturerName.Text = "Manufacturer Name";
     this.labelManufacturerName.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // textManufacturerCode
     //
     this.textManufacturerCode.Location = new System.Drawing.Point(137,53);
     this.textManufacturerCode.Name = "textManufacturerCode";
     this.textManufacturerCode.Size = new System.Drawing.Size(82,20);
     this.textManufacturerCode.TabIndex = 1;
     //
     // labelManufacturerCode
     //
     this.labelManufacturerCode.Location = new System.Drawing.Point(20,53);
     this.labelManufacturerCode.Name = "labelManufacturerCode";
     this.labelManufacturerCode.Size = new System.Drawing.Size(111,20);
     this.labelManufacturerCode.TabIndex = 109;
     this.labelManufacturerCode.Text = "Manufacturer Code";
     this.labelManufacturerCode.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // FormDrugManufacturerEdit
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.ClientSize = new System.Drawing.Size(399,166);
     this.Controls.Add(this.textManufacturerName);
     this.Controls.Add(this.labelManufacturerName);
     this.Controls.Add(this.textManufacturerCode);
     this.Controls.Add(this.labelManufacturerCode);
     this.Controls.Add(this.butDelete);
     this.Controls.Add(this.butOK);
     this.Controls.Add(this.butCancel);
     this.Name = "FormDrugManufacturerEdit";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Drug Manufacturer Edit";
     this.Load += new System.EventHandler(this.FormDrugManufacturerEdit_Load);
     this.ResumeLayout(false);
     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.butOK = new OpenDental.UI.Button();
     this.butCancel = new OpenDental.UI.Button();
     this.label1 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.textKey = new System.Windows.Forms.TextBox();
     this.textYear = new OpenDental.ValidNum();
     this.textQuarter = new OpenDental.ValidNum();
     this.butDelete = new OpenDental.UI.Button();
     this.SuspendLayout();
     //
     // butOK
     //
     this.butOK.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butOK.Autosize = true;
     this.butOK.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butOK.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butOK.CornerRadius = 4F;
     this.butOK.Location = new System.Drawing.Point(204,119);
     this.butOK.Name = "butOK";
     this.butOK.Size = new System.Drawing.Size(75,24);
     this.butOK.TabIndex = 3;
     this.butOK.Text = "&OK";
     this.butOK.Click += new System.EventHandler(this.butOK_Click);
     //
     // butCancel
     //
     this.butCancel.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butCancel.Autosize = true;
     this.butCancel.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butCancel.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butCancel.CornerRadius = 4F;
     this.butCancel.Location = new System.Drawing.Point(294,119);
     this.butCancel.Name = "butCancel";
     this.butCancel.Size = new System.Drawing.Size(75,24);
     this.butCancel.TabIndex = 2;
     this.butCancel.Text = "&Cancel";
     this.butCancel.Click += new System.EventHandler(this.butCancel_Click);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(17,24);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(100,18);
     this.label1.TabIndex = 5;
     this.label1.Text = "Year, ex: 12";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(17,50);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(100,18);
     this.label2.TabIndex = 7;
     this.label2.Text = "Quarter, ex: 2";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(17,74);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(100,18);
     this.label3.TabIndex = 9;
     this.label3.Text = "Key";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // textKey
     //
     this.textKey.Location = new System.Drawing.Point(122,73);
     this.textKey.Name = "textKey";
     this.textKey.Size = new System.Drawing.Size(163,20);
     this.textKey.TabIndex = 8;
     //
     // textYear
     //
     this.textYear.Location = new System.Drawing.Point(122,23);
     this.textYear.MaxVal = 20;
     this.textYear.MinVal = 11;
     this.textYear.Name = "textYear";
     this.textYear.Size = new System.Drawing.Size(58,20);
     this.textYear.TabIndex = 10;
     //
     // textQuarter
     //
     this.textQuarter.Location = new System.Drawing.Point(122,48);
     this.textQuarter.MaxVal = 4;
     this.textQuarter.MinVal = 1;
     this.textQuarter.Name = "textQuarter";
     this.textQuarter.Size = new System.Drawing.Size(58,20);
     this.textQuarter.TabIndex = 11;
     //
     // butDelete
     //
     this.butDelete.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butDelete.Autosize = true;
     this.butDelete.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butDelete.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butDelete.CornerRadius = 4F;
     this.butDelete.Location = new System.Drawing.Point(12,119);
     this.butDelete.Name = "butDelete";
     this.butDelete.Size = new System.Drawing.Size(75,24);
     this.butDelete.TabIndex = 12;
     this.butDelete.Text = "Delete";
     this.butDelete.Click += new System.EventHandler(this.butDelete_Click);
     //
     // FormEhrQuarterlyKeyEdit
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.ClientSize = new System.Drawing.Size(388,158);
     this.Controls.Add(this.butDelete);
     this.Controls.Add(this.textQuarter);
     this.Controls.Add(this.textYear);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.textKey);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.butOK);
     this.Controls.Add(this.butCancel);
     this.Name = "FormEhrQuarterlyKeyEdit";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Edit Ehr Quarterly Key";
     this.Load += new System.EventHandler(this.FormEhrQuarterlyKeyEdit_Load);
     this.ResumeLayout(false);
     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.butOK = new OpenDental.UI.Button();
     this.butCancel = new OpenDental.UI.Button();
     this.gridMain = new OpenDental.UI.ODGrid();
     this.butProvHygenist = new OpenDental.UI.Button();
     this.butProvDentist = new OpenDental.UI.Button();
     this.SuspendLayout();
     //
     // butOK
     //
     this.butOK.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butOK.Autosize = true;
     this.butOK.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butOK.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butOK.CornerRadius = 4F;
     this.butOK.Location = new System.Drawing.Point(410,589);
     this.butOK.Name = "butOK";
     this.butOK.Size = new System.Drawing.Size(75,24);
     this.butOK.TabIndex = 3;
     this.butOK.Text = "&OK";
     this.butOK.Click += new System.EventHandler(this.butOK_Click);
     //
     // butCancel
     //
     this.butCancel.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butCancel.Autosize = true;
     this.butCancel.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butCancel.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butCancel.CornerRadius = 4F;
     this.butCancel.Location = new System.Drawing.Point(410,630);
     this.butCancel.Name = "butCancel";
     this.butCancel.Size = new System.Drawing.Size(75,24);
     this.butCancel.TabIndex = 2;
     this.butCancel.Text = "&Cancel";
     this.butCancel.Click += new System.EventHandler(this.butCancel_Click);
     //
     // gridMain
     //
     this.gridMain.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.gridMain.HScrollVisible = false;
     this.gridMain.Location = new System.Drawing.Point(12,12);
     this.gridMain.Name = "gridMain";
     this.gridMain.ScrollValue = 0;
     this.gridMain.SelectionMode = OpenDental.UI.GridSelectionMode.MultiExtended;
     this.gridMain.Size = new System.Drawing.Size(362,642);
     this.gridMain.TabIndex = 14;
     this.gridMain.Title = "Providers";
     this.gridMain.TranslationName = null;
     //
     // butProvHygenist
     //
     this.butProvHygenist.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butProvHygenist.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butProvHygenist.Autosize = true;
     this.butProvHygenist.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butProvHygenist.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butProvHygenist.CornerRadius = 4F;
     this.butProvHygenist.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butProvHygenist.Location = new System.Drawing.Point(410,149);
     this.butProvHygenist.Name = "butProvHygenist";
     this.butProvHygenist.Size = new System.Drawing.Size(75,24);
     this.butProvHygenist.TabIndex = 90;
     this.butProvHygenist.Text = "Hygienists";
     this.butProvHygenist.Click += new System.EventHandler(this.butProvHygenist_Click);
     //
     // butProvDentist
     //
     this.butProvDentist.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butProvDentist.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butProvDentist.Autosize = true;
     this.butProvDentist.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butProvDentist.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butProvDentist.CornerRadius = 4F;
     this.butProvDentist.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butProvDentist.Location = new System.Drawing.Point(410,108);
     this.butProvDentist.Name = "butProvDentist";
     this.butProvDentist.Size = new System.Drawing.Size(75,24);
     this.butProvDentist.TabIndex = 89;
     this.butProvDentist.Text = "Dentists";
     this.butProvDentist.Click += new System.EventHandler(this.butProvDentist_Click);
     //
     // FormProvidersMultiPick
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.ClientSize = new System.Drawing.Size(514,670);
     this.Controls.Add(this.butProvHygenist);
     this.Controls.Add(this.butProvDentist);
     this.Controls.Add(this.gridMain);
     this.Controls.Add(this.butOK);
     this.Controls.Add(this.butCancel);
     this.KeyPreview = true;
     this.Name = "FormProvidersMultiPick";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Providers";
     this.Load += new System.EventHandler(this.FormProvidersMultiPick_Load);
     this.ResumeLayout(false);
 }
예제 #27
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.butClose = new OpenDental.UI.Button();
     this.gridMain = new OpenDental.UI.ODGrid();
     this.butAdd = new OpenDental.UI.Button();
     this.SuspendLayout();
     //
     // butClose
     //
     this.butClose.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butClose.Autosize = true;
     this.butClose.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butClose.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butClose.CornerRadius = 4F;
     this.butClose.Location = new System.Drawing.Point(500,354);
     this.butClose.Name = "butClose";
     this.butClose.Size = new System.Drawing.Size(75,24);
     this.butClose.TabIndex = 2;
     this.butClose.Text = "&Close";
     this.butClose.Click += new System.EventHandler(this.butClose_Click);
     //
     // gridMain
     //
     this.gridMain.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.gridMain.HScrollVisible = false;
     this.gridMain.Location = new System.Drawing.Point(24,12);
     this.gridMain.Name = "gridMain";
     this.gridMain.ScrollValue = 0;
     this.gridMain.Size = new System.Drawing.Size(551,325);
     this.gridMain.TabIndex = 4;
     this.gridMain.Title = "Popups";
     this.gridMain.TranslationName = null;
     this.gridMain.CellDoubleClick += new OpenDental.UI.ODGridClickEventHandler(this.gridMain_CellDoubleClick);
     //
     // butAdd
     //
     this.butAdd.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butAdd.Autosize = true;
     this.butAdd.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butAdd.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butAdd.CornerRadius = 4F;
     this.butAdd.Image = global::OpenDental.Properties.Resources.Add;
     this.butAdd.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butAdd.Location = new System.Drawing.Point(24,354);
     this.butAdd.Name = "butAdd";
     this.butAdd.Size = new System.Drawing.Size(75,24);
     this.butAdd.TabIndex = 2;
     this.butAdd.Text = "Add";
     this.butAdd.Click += new System.EventHandler(this.butAdd_Click);
     //
     // FormPopupsForFam
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.ClientSize = new System.Drawing.Size(600,391);
     this.Controls.Add(this.gridMain);
     this.Controls.Add(this.butAdd);
     this.Controls.Add(this.butClose);
     this.Name = "FormPopupsForFam";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Popups for Family";
     this.Load += new System.EventHandler(this.FormPopupsForFam_Load);
     this.ResumeLayout(false);
 }
예제 #28
0
 /// <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();
     this.textNote = new System.Windows.Forms.TextBox();
     this.labelNote = new System.Windows.Forms.Label();
     this.labelDateTime = new System.Windows.Forms.Label();
     this.panel1 = new System.Windows.Forms.Panel();
     this.panelMain = new System.Windows.Forms.Panel();
     this.checkErase = new System.Windows.Forms.CheckBox();
     this.textDescription = new System.Windows.Forms.TextBox();
     this.labelDescription = new System.Windows.Forms.Label();
     this.labelShowInTerminal = new System.Windows.Forms.Label();
     this.timer1 = new System.Windows.Forms.Timer(this.components);
     this.textDateTime = new System.Windows.Forms.TextBox();
     this.butUnlock = new OpenDental.UI.Button();
     this.textShowInTerminal = new OpenDental.ValidNumber();
     this.butPDF = new OpenDental.UI.Button();
     this.butDelete = new OpenDental.UI.Button();
     this.butPrint = new OpenDental.UI.Button();
     this.butOK = new OpenDental.UI.Button();
     this.butCancel = new OpenDental.UI.Button();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // textNote
     //
     this.textNote.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.textNote.Location = new System.Drawing.Point(633,107);
     this.textNote.Multiline = true;
     this.textNote.Name = "textNote";
     this.textNote.Size = new System.Drawing.Size(146,90);
     this.textNote.TabIndex = 6;
     this.textNote.TabStop = false;
     //
     // labelNote
     //
     this.labelNote.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelNote.Location = new System.Drawing.Point(632,88);
     this.labelNote.Name = "labelNote";
     this.labelNote.Size = new System.Drawing.Size(147,16);
     this.labelNote.TabIndex = 7;
     this.labelNote.Text = "Internal Note";
     this.labelNote.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
     //
     // labelDateTime
     //
     this.labelDateTime.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelDateTime.Location = new System.Drawing.Point(632,6);
     this.labelDateTime.Name = "labelDateTime";
     this.labelDateTime.Size = new System.Drawing.Size(84,16);
     this.labelDateTime.TabIndex = 76;
     this.labelDateTime.Text = "Date time";
     this.labelDateTime.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
     //
     // panel1
     //
     this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.panel1.AutoScroll = true;
     this.panel1.Controls.Add(this.panelMain);
     this.panel1.Location = new System.Drawing.Point(3,3);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(617,657);
     this.panel1.TabIndex = 78;
     //
     // panelMain
     //
     this.panelMain.BackColor = System.Drawing.SystemColors.Window;
     this.panelMain.Location = new System.Drawing.Point(0,0);
     this.panelMain.Name = "panelMain";
     this.panelMain.Size = new System.Drawing.Size(549,513);
     this.panelMain.TabIndex = 0;
     //
     // checkErase
     //
     this.checkErase.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.checkErase.Location = new System.Drawing.Point(698,342);
     this.checkErase.Name = "checkErase";
     this.checkErase.Size = new System.Drawing.Size(89,20);
     this.checkErase.TabIndex = 81;
     this.checkErase.TabStop = false;
     this.checkErase.Text = "Eraser Tool";
     this.checkErase.UseVisualStyleBackColor = true;
     this.checkErase.Click += new System.EventHandler(this.checkErase_Click);
     //
     // textDescription
     //
     this.textDescription.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.textDescription.Location = new System.Drawing.Point(633,66);
     this.textDescription.Name = "textDescription";
     this.textDescription.Size = new System.Drawing.Size(146,20);
     this.textDescription.TabIndex = 84;
     this.textDescription.TabStop = false;
     //
     // labelDescription
     //
     this.labelDescription.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelDescription.Location = new System.Drawing.Point(632,47);
     this.labelDescription.Name = "labelDescription";
     this.labelDescription.Size = new System.Drawing.Size(147,16);
     this.labelDescription.TabIndex = 85;
     this.labelDescription.Text = "Description";
     this.labelDescription.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
     //
     // labelShowInTerminal
     //
     this.labelShowInTerminal.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelShowInTerminal.Location = new System.Drawing.Point(632,204);
     this.labelShowInTerminal.Name = "labelShowInTerminal";
     this.labelShowInTerminal.Size = new System.Drawing.Size(120,16);
     this.labelShowInTerminal.TabIndex = 86;
     this.labelShowInTerminal.Text = "Show Order In Kiosk";
     this.labelShowInTerminal.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
     //
     // timer1
     //
     this.timer1.Interval = 4000;
     this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
     //
     // textDateTime
     //
     this.textDateTime.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.textDateTime.Location = new System.Drawing.Point(635,25);
     this.textDateTime.Name = "textDateTime";
     this.textDateTime.Size = new System.Drawing.Size(144,20);
     this.textDateTime.TabIndex = 88;
     this.textDateTime.TabStop = false;
     //
     // butUnlock
     //
     this.butUnlock.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butUnlock.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butUnlock.Autosize = true;
     this.butUnlock.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butUnlock.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butUnlock.CornerRadius = 4F;
     this.butUnlock.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butUnlock.Location = new System.Drawing.Point(697,492);
     this.butUnlock.Name = "butUnlock";
     this.butUnlock.Size = new System.Drawing.Size(81,24);
     this.butUnlock.TabIndex = 89;
     this.butUnlock.TabStop = false;
     this.butUnlock.Text = "Unlock";
     this.butUnlock.Visible = false;
     this.butUnlock.Click += new System.EventHandler(this.butUnlock_Click);
     //
     // textShowInTerminal
     //
     this.textShowInTerminal.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.textShowInTerminal.Location = new System.Drawing.Point(750,203);
     this.textShowInTerminal.MaxVal = 127;
     this.textShowInTerminal.MinVal = 1;
     this.textShowInTerminal.Name = "textShowInTerminal";
     this.textShowInTerminal.Size = new System.Drawing.Size(29,20);
     this.textShowInTerminal.TabIndex = 87;
     this.textShowInTerminal.TabStop = false;
     //
     // butPDF
     //
     this.butPDF.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butPDF.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butPDF.Autosize = true;
     this.butPDF.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butPDF.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butPDF.CornerRadius = 4F;
     this.butPDF.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butPDF.Location = new System.Drawing.Point(698,425);
     this.butPDF.Name = "butPDF";
     this.butPDF.Size = new System.Drawing.Size(81,24);
     this.butPDF.TabIndex = 83;
     this.butPDF.TabStop = false;
     this.butPDF.Text = "Create PDF";
     this.butPDF.Click += new System.EventHandler(this.butPDF_Click);
     //
     // butDelete
     //
     this.butDelete.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butDelete.Autosize = true;
     this.butDelete.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butDelete.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butDelete.CornerRadius = 4F;
     this.butDelete.Image = global::OpenDental.Properties.Resources.deleteX;
     this.butDelete.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butDelete.Location = new System.Drawing.Point(698,550);
     this.butDelete.Name = "butDelete";
     this.butDelete.Size = new System.Drawing.Size(81,24);
     this.butDelete.TabIndex = 79;
     this.butDelete.TabStop = false;
     this.butDelete.Text = "Delete";
     this.butDelete.Click += new System.EventHandler(this.butDelete_Click);
     //
     // butPrint
     //
     this.butPrint.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butPrint.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butPrint.Autosize = true;
     this.butPrint.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butPrint.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butPrint.CornerRadius = 4F;
     this.butPrint.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butPrint.Location = new System.Drawing.Point(698,395);
     this.butPrint.Name = "butPrint";
     this.butPrint.Size = new System.Drawing.Size(81,24);
     this.butPrint.TabIndex = 80;
     this.butPrint.TabStop = false;
     this.butPrint.Text = "Print/Email";
     this.butPrint.Click += new System.EventHandler(this.butPrint_Click);
     //
     // butOK
     //
     this.butOK.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butOK.Autosize = true;
     this.butOK.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butOK.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butOK.CornerRadius = 4F;
     this.butOK.Location = new System.Drawing.Point(698,606);
     this.butOK.Name = "butOK";
     this.butOK.Size = new System.Drawing.Size(81,24);
     this.butOK.TabIndex = 3;
     this.butOK.TabStop = false;
     this.butOK.Text = "OK";
     this.butOK.Click += new System.EventHandler(this.butOK_Click);
     //
     // butCancel
     //
     this.butCancel.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butCancel.Autosize = true;
     this.butCancel.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butCancel.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butCancel.CornerRadius = 4F;
     this.butCancel.Location = new System.Drawing.Point(698,636);
     this.butCancel.Name = "butCancel";
     this.butCancel.Size = new System.Drawing.Size(81,24);
     this.butCancel.TabIndex = 2;
     this.butCancel.TabStop = false;
     this.butCancel.Text = "&Cancel";
     this.butCancel.Click += new System.EventHandler(this.butCancel_Click);
     //
     // FormSheetFillEdit
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.ClientSize = new System.Drawing.Size(790,672);
     this.Controls.Add(this.butUnlock);
     this.Controls.Add(this.textDateTime);
     this.Controls.Add(this.textShowInTerminal);
     this.Controls.Add(this.labelShowInTerminal);
     this.Controls.Add(this.textDescription);
     this.Controls.Add(this.labelDescription);
     this.Controls.Add(this.butPDF);
     this.Controls.Add(this.butDelete);
     this.Controls.Add(this.checkErase);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.butPrint);
     this.Controls.Add(this.labelDateTime);
     this.Controls.Add(this.textNote);
     this.Controls.Add(this.labelNote);
     this.Controls.Add(this.butOK);
     this.Controls.Add(this.butCancel);
     this.Name = "FormSheetFillEdit";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Fill Sheet";
     this.Load += new System.EventHandler(this.FormSheetFillEdit_Load);
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #29
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.labelName = new System.Windows.Forms.Label();
     this.textMessage = new System.Windows.Forms.TextBox();
     this.labelMessage = new System.Windows.Forms.Label();
     this.butDelete = new OpenDental.UI.Button();
     this.butOK = new OpenDental.UI.Button();
     this.butCancel = new OpenDental.UI.Button();
     this.textName = new System.Windows.Forms.TextBox();
     this.textRxName = new System.Windows.Forms.TextBox();
     this.labelRx = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     this.textRxNorm = new System.Windows.Forms.TextBox();
     this.labelRxNorm = new System.Windows.Forms.Label();
     this.groupBox = new System.Windows.Forms.GroupBox();
     this.groupBox.SuspendLayout();
     this.SuspendLayout();
     //
     // labelName
     //
     this.labelName.Location = new System.Drawing.Point(67,18);
     this.labelName.Name = "labelName";
     this.labelName.Size = new System.Drawing.Size(241,20);
     this.labelName.TabIndex = 7;
     this.labelName.Text = "If the patient is already taking this medication";
     this.labelName.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // textMessage
     //
     this.textMessage.Location = new System.Drawing.Point(312,161);
     this.textMessage.Multiline = true;
     this.textMessage.Name = "textMessage";
     this.textMessage.Size = new System.Drawing.Size(308,91);
     this.textMessage.TabIndex = 8;
     //
     // labelMessage
     //
     this.labelMessage.Location = new System.Drawing.Point(11,158);
     this.labelMessage.Name = "labelMessage";
     this.labelMessage.Size = new System.Drawing.Size(297,20);
     this.labelMessage.TabIndex = 9;
     this.labelMessage.Text = "Or this alternate custom message may be shown instead";
     this.labelMessage.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // butDelete
     //
     this.butDelete.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butDelete.Autosize = true;
     this.butDelete.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butDelete.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butDelete.CornerRadius = 4F;
     this.butDelete.Image = global::OpenDental.Properties.Resources.deleteX;
     this.butDelete.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butDelete.Location = new System.Drawing.Point(12,274);
     this.butDelete.Name = "butDelete";
     this.butDelete.Size = new System.Drawing.Size(85,24);
     this.butDelete.TabIndex = 4;
     this.butDelete.Text = "&Delete";
     this.butDelete.Click += new System.EventHandler(this.butDelete_Click);
     //
     // butOK
     //
     this.butOK.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butOK.Autosize = true;
     this.butOK.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butOK.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butOK.CornerRadius = 4F;
     this.butOK.Location = new System.Drawing.Point(529,274);
     this.butOK.Name = "butOK";
     this.butOK.Size = new System.Drawing.Size(75,24);
     this.butOK.TabIndex = 3;
     this.butOK.Text = "&OK";
     this.butOK.Click += new System.EventHandler(this.butOK_Click);
     //
     // butCancel
     //
     this.butCancel.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butCancel.Autosize = true;
     this.butCancel.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butCancel.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butCancel.CornerRadius = 4F;
     this.butCancel.Location = new System.Drawing.Point(610,274);
     this.butCancel.Name = "butCancel";
     this.butCancel.Size = new System.Drawing.Size(75,24);
     this.butCancel.TabIndex = 2;
     this.butCancel.Text = "&Cancel";
     this.butCancel.Click += new System.EventHandler(this.butCancel_Click);
     //
     // textName
     //
     this.textName.Location = new System.Drawing.Point(312,18);
     this.textName.Name = "textName";
     this.textName.ReadOnly = true;
     this.textName.Size = new System.Drawing.Size(308,20);
     this.textName.TabIndex = 10;
     //
     // textRxName
     //
     this.textRxName.Location = new System.Drawing.Point(303,19);
     this.textRxName.Name = "textRxName";
     this.textRxName.ReadOnly = true;
     this.textRxName.Size = new System.Drawing.Size(308,20);
     this.textRxName.TabIndex = 12;
     //
     // labelRx
     //
     this.labelRx.Location = new System.Drawing.Point(5,19);
     this.labelRx.Name = "labelRx";
     this.labelRx.Size = new System.Drawing.Size(294,20);
     this.labelRx.TabIndex = 11;
     this.labelRx.Text = "This Rx is entered";
     this.labelRx.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(56,130);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(252,20);
     this.label1.TabIndex = 13;
     this.label1.Text = "Then the user will see a default alert message.";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // textRxNorm
     //
     this.textRxNorm.Location = new System.Drawing.Point(303,45);
     this.textRxNorm.Name = "textRxNorm";
     this.textRxNorm.ReadOnly = true;
     this.textRxNorm.Size = new System.Drawing.Size(308,20);
     this.textRxNorm.TabIndex = 15;
     //
     // labelRxNorm
     //
     this.labelRxNorm.Location = new System.Drawing.Point(5,45);
     this.labelRxNorm.Name = "labelRxNorm";
     this.labelRxNorm.Size = new System.Drawing.Size(294,20);
     this.labelRxNorm.TabIndex = 14;
     this.labelRxNorm.Text = "or a Medication Order with this RxNorm code is entered";
     this.labelRxNorm.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // groupBox
     //
     this.groupBox.Controls.Add(this.textRxName);
     this.groupBox.Controls.Add(this.textRxNorm);
     this.groupBox.Controls.Add(this.labelRx);
     this.groupBox.Controls.Add(this.labelRxNorm);
     this.groupBox.Location = new System.Drawing.Point(9,44);
     this.groupBox.Name = "groupBox";
     this.groupBox.Size = new System.Drawing.Size(636,75);
     this.groupBox.TabIndex = 16;
     this.groupBox.TabStop = false;
     this.groupBox.Text = "And then,";
     //
     // FormRxAlertEdit
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.ClientSize = new System.Drawing.Size(697,310);
     this.Controls.Add(this.groupBox);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.textName);
     this.Controls.Add(this.labelMessage);
     this.Controls.Add(this.textMessage);
     this.Controls.Add(this.labelName);
     this.Controls.Add(this.butDelete);
     this.Controls.Add(this.butOK);
     this.Controls.Add(this.butCancel);
     this.Name = "FormRxAlertEdit";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Rx Alert Edit";
     this.Load += new System.EventHandler(this.FormRxAlertEdit_Load);
     this.groupBox.ResumeLayout(false);
     this.groupBox.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #30
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.checkActive = new System.Windows.Forms.CheckBox();
     this.textReaction = new System.Windows.Forms.TextBox();
     this.labelReaction = new System.Windows.Forms.Label();
     this.labelAllergy = new System.Windows.Forms.Label();
     this.comboAllergies = new System.Windows.Forms.ComboBox();
     this.butCancel = new OpenDental.UI.Button();
     this.butOK = new OpenDental.UI.Button();
     this.butDelete = new OpenDental.UI.Button();
     this.textDate = new System.Windows.Forms.TextBox();
     this.label1 = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // checkActive
     //
     this.checkActive.Checked = true;
     this.checkActive.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkActive.Location = new System.Drawing.Point(59,124);
     this.checkActive.Name = "checkActive";
     this.checkActive.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.checkActive.Size = new System.Drawing.Size(100,24);
     this.checkActive.TabIndex = 11;
     this.checkActive.Text = "Is Active";
     this.checkActive.UseVisualStyleBackColor = true;
     //
     // textReaction
     //
     this.textReaction.Location = new System.Drawing.Point(144,45);
     this.textReaction.Multiline = true;
     this.textReaction.Name = "textReaction";
     this.textReaction.Size = new System.Drawing.Size(272,53);
     this.textReaction.TabIndex = 10;
     //
     // labelReaction
     //
     this.labelReaction.Location = new System.Drawing.Point(60,45);
     this.labelReaction.Name = "labelReaction";
     this.labelReaction.Size = new System.Drawing.Size(81,20);
     this.labelReaction.TabIndex = 9;
     this.labelReaction.Text = "Reaction";
     this.labelReaction.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // labelAllergy
     //
     this.labelAllergy.Location = new System.Drawing.Point(60,18);
     this.labelAllergy.Name = "labelAllergy";
     this.labelAllergy.Size = new System.Drawing.Size(81,20);
     this.labelAllergy.TabIndex = 12;
     this.labelAllergy.Text = "Allergy";
     this.labelAllergy.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // comboAllergies
     //
     this.comboAllergies.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboAllergies.FormattingEnabled = true;
     this.comboAllergies.Location = new System.Drawing.Point(144,19);
     this.comboAllergies.Name = "comboAllergies";
     this.comboAllergies.Size = new System.Drawing.Size(272,21);
     this.comboAllergies.TabIndex = 13;
     //
     // butCancel
     //
     this.butCancel.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butCancel.Autosize = true;
     this.butCancel.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butCancel.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butCancel.CornerRadius = 4F;
     this.butCancel.Location = new System.Drawing.Point(362,191);
     this.butCancel.Name = "butCancel";
     this.butCancel.Size = new System.Drawing.Size(75,24);
     this.butCancel.TabIndex = 14;
     this.butCancel.Text = "&Cancel";
     this.butCancel.Click += new System.EventHandler(this.butCancel_Click);
     //
     // butOK
     //
     this.butOK.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butOK.Autosize = true;
     this.butOK.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butOK.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butOK.CornerRadius = 4F;
     this.butOK.Location = new System.Drawing.Point(281,191);
     this.butOK.Name = "butOK";
     this.butOK.Size = new System.Drawing.Size(75,24);
     this.butOK.TabIndex = 3;
     this.butOK.Text = "&OK";
     this.butOK.Click += new System.EventHandler(this.butOK_Click);
     //
     // butDelete
     //
     this.butDelete.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butDelete.Autosize = true;
     this.butDelete.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butDelete.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butDelete.CornerRadius = 4F;
     this.butDelete.Image = global::OpenDental.Properties.Resources.deleteX;
     this.butDelete.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butDelete.Location = new System.Drawing.Point(19,191);
     this.butDelete.Name = "butDelete";
     this.butDelete.Size = new System.Drawing.Size(75,24);
     this.butDelete.TabIndex = 2;
     this.butDelete.Text = "&Delete";
     this.butDelete.Click += new System.EventHandler(this.butDelete_Click);
     //
     // textDate
     //
     this.textDate.Location = new System.Drawing.Point(144,104);
     this.textDate.Name = "textDate";
     this.textDate.Size = new System.Drawing.Size(100,20);
     this.textDate.TabIndex = 15;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(4,103);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(137,20);
     this.label1.TabIndex = 16;
     this.label1.Text = "Date Adverse Reaction";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // FormAllergyEdit
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.ClientSize = new System.Drawing.Size(449,227);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.textDate);
     this.Controls.Add(this.butCancel);
     this.Controls.Add(this.comboAllergies);
     this.Controls.Add(this.labelAllergy);
     this.Controls.Add(this.checkActive);
     this.Controls.Add(this.textReaction);
     this.Controls.Add(this.labelReaction);
     this.Controls.Add(this.butOK);
     this.Controls.Add(this.butDelete);
     this.Name = "FormAllergyEdit";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Allergy Edit";
     this.Load += new System.EventHandler(this.FormAllergyEdit_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormEhrProvKeyEditCust));
     this.butOK = new OpenDental.UI.Button();
     this.butCancel = new OpenDental.UI.Button();
     this.textLName = new System.Windows.Forms.TextBox();
     this.textFName = new System.Windows.Forms.TextBox();
     this.label10 = new System.Windows.Forms.Label();
     this.label8 = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     this.textEhrKey = new System.Windows.Forms.TextBox();
     this.labelEhrKey = new System.Windows.Forms.Label();
     this.butGenerate = new OpenDental.UI.Button();
     this.butDelete = new OpenDental.UI.Button();
     this.textFullTimeEquiv = new System.Windows.Forms.TextBox();
     this.label2 = new System.Windows.Forms.Label();
     this.textNotes = new System.Windows.Forms.TextBox();
     this.label3 = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.checkHasReportAccess = new System.Windows.Forms.CheckBox();
     this.SuspendLayout();
     //
     // butOK
     //
     this.butOK.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butOK.Autosize = true;
     this.butOK.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butOK.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butOK.CornerRadius = 4F;
     this.butOK.Location = new System.Drawing.Point(511,414);
     this.butOK.Name = "butOK";
     this.butOK.Size = new System.Drawing.Size(75,24);
     this.butOK.TabIndex = 3;
     this.butOK.Text = "&OK";
     this.butOK.Click += new System.EventHandler(this.butOK_Click);
     //
     // butCancel
     //
     this.butCancel.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butCancel.Autosize = true;
     this.butCancel.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butCancel.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butCancel.CornerRadius = 4F;
     this.butCancel.Location = new System.Drawing.Point(606,414);
     this.butCancel.Name = "butCancel";
     this.butCancel.Size = new System.Drawing.Size(75,24);
     this.butCancel.TabIndex = 2;
     this.butCancel.Text = "&Cancel";
     this.butCancel.Click += new System.EventHandler(this.butCancel_Click);
     //
     // textLName
     //
     this.textLName.Location = new System.Drawing.Point(188,124);
     this.textLName.MaxLength = 100;
     this.textLName.Name = "textLName";
     this.textLName.Size = new System.Drawing.Size(161,20);
     this.textLName.TabIndex = 115;
     //
     // textFName
     //
     this.textFName.Location = new System.Drawing.Point(188,147);
     this.textFName.MaxLength = 100;
     this.textFName.Name = "textFName";
     this.textFName.Size = new System.Drawing.Size(161,20);
     this.textFName.TabIndex = 116;
     //
     // label10
     //
     this.label10.Location = new System.Drawing.Point(54,128);
     this.label10.Name = "label10";
     this.label10.Size = new System.Drawing.Size(132,14);
     this.label10.TabIndex = 118;
     this.label10.Text = "Prov Last Name";
     this.label10.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // label8
     //
     this.label8.Location = new System.Drawing.Point(60,151);
     this.label8.Name = "label8";
     this.label8.Size = new System.Drawing.Size(127,14);
     this.label8.TabIndex = 117;
     this.label8.Text = "Prov First Name";
     this.label8.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(78,29);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(422,89);
     this.label1.TabIndex = 114;
     this.label1.Text = resources.GetString("label1.Text");
     //
     // textEhrKey
     //
     this.textEhrKey.Location = new System.Drawing.Point(188,190);
     this.textEhrKey.MaxLength = 15;
     this.textEhrKey.Name = "textEhrKey";
     this.textEhrKey.Size = new System.Drawing.Size(161,20);
     this.textEhrKey.TabIndex = 112;
     //
     // labelEhrKey
     //
     this.labelEhrKey.Location = new System.Drawing.Point(49,194);
     this.labelEhrKey.Name = "labelEhrKey";
     this.labelEhrKey.Size = new System.Drawing.Size(139,14);
     this.labelEhrKey.TabIndex = 113;
     this.labelEhrKey.Text = "Provider EHR Key";
     this.labelEhrKey.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // butGenerate
     //
     this.butGenerate.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butGenerate.Autosize = true;
     this.butGenerate.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butGenerate.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butGenerate.CornerRadius = 4F;
     this.butGenerate.Location = new System.Drawing.Point(355,189);
     this.butGenerate.Name = "butGenerate";
     this.butGenerate.Size = new System.Drawing.Size(75,24);
     this.butGenerate.TabIndex = 119;
     this.butGenerate.Text = "Generate";
     this.butGenerate.Click += new System.EventHandler(this.butGenerate_Click);
     //
     // butDelete
     //
     this.butDelete.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butDelete.Autosize = true;
     this.butDelete.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butDelete.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butDelete.CornerRadius = 4F;
     this.butDelete.Image = global::OpenDental.Properties.Resources.deleteX;
     this.butDelete.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butDelete.Location = new System.Drawing.Point(30,414);
     this.butDelete.Name = "butDelete";
     this.butDelete.Size = new System.Drawing.Size(75,24);
     this.butDelete.TabIndex = 120;
     this.butDelete.Text = "Delete";
     this.butDelete.Click += new System.EventHandler(this.butDelete_Click);
     //
     // textFullTimeEquiv
     //
     this.textFullTimeEquiv.Location = new System.Drawing.Point(188,213);
     this.textFullTimeEquiv.MaxLength = 15;
     this.textFullTimeEquiv.Name = "textFullTimeEquiv";
     this.textFullTimeEquiv.Size = new System.Drawing.Size(46,20);
     this.textFullTimeEquiv.TabIndex = 122;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(12,217);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(176,14);
     this.label2.TabIndex = 123;
     this.label2.Text = "FTE (Full-Time Equivalent)";
     this.label2.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // textNotes
     //
     this.textNotes.Location = new System.Drawing.Point(188,252);
     this.textNotes.MaxLength = 15;
     this.textNotes.Multiline = true;
     this.textNotes.Name = "textNotes";
     this.textNotes.Size = new System.Drawing.Size(319,92);
     this.textNotes.TabIndex = 124;
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(100,256);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(88,14);
     this.label3.TabIndex = 125;
     this.label3.Text = "Notes";
     this.label3.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(238,217);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(463,32);
     this.label4.TabIndex = 126;
     this.label4.Text = "Usually 1. For example, half-time would be .5 and 1 day a week would be about .25" +
     "\r\n0 may be used if the provider is no longer working";
     //
     // checkHasReportAccess
     //
     this.checkHasReportAccess.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.checkHasReportAccess.Location = new System.Drawing.Point(15,170);
     this.checkHasReportAccess.Name = "checkHasReportAccess";
     this.checkHasReportAccess.Size = new System.Drawing.Size(188,18);
     this.checkHasReportAccess.TabIndex = 127;
     this.checkHasReportAccess.Text = "Has Report Access";
     this.checkHasReportAccess.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.checkHasReportAccess.UseVisualStyleBackColor = true;
     //
     // FormEhrProvKeyEditCust
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.ClientSize = new System.Drawing.Size(706,458);
     this.Controls.Add(this.checkHasReportAccess);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.textNotes);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.textFullTimeEquiv);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.butDelete);
     this.Controls.Add(this.butGenerate);
     this.Controls.Add(this.textLName);
     this.Controls.Add(this.textFName);
     this.Controls.Add(this.label10);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.textEhrKey);
     this.Controls.Add(this.labelEhrKey);
     this.Controls.Add(this.butOK);
     this.Controls.Add(this.butCancel);
     this.Name = "FormEhrProvKeyEditCust";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Edit Provider Key";
     this.Load += new System.EventHandler(this.FormEhrProvKeyEditCust_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #32
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.labelColumnsPerPage = new System.Windows.Forms.Label();
     this.labelFontSize = new System.Windows.Forms.Label();
     this.labelStartTime = new System.Windows.Forms.Label();
     this.labelStopTime = new System.Windows.Forms.Label();
     this.textStopTime = new System.Windows.Forms.TextBox();
     this.textStartTime = new System.Windows.Forms.TextBox();
     this.label1 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.textFontSize = new OpenDental.ValidNum();
     this.butSave = new OpenDental.UI.Button();
     this.textColumnsPerPage = new OpenDental.ValidNumber();
     this.butOK = new OpenDental.UI.Button();
     this.butCancel = new OpenDental.UI.Button();
     this.label3 = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // labelColumnsPerPage
     //
     this.labelColumnsPerPage.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.labelColumnsPerPage.Location = new System.Drawing.Point(12,85);
     this.labelColumnsPerPage.Name = "labelColumnsPerPage";
     this.labelColumnsPerPage.Size = new System.Drawing.Size(128,15);
     this.labelColumnsPerPage.TabIndex = 72;
     this.labelColumnsPerPage.Text = "Operatories per page";
     this.labelColumnsPerPage.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // labelFontSize
     //
     this.labelFontSize.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.labelFontSize.Location = new System.Drawing.Point(45,111);
     this.labelFontSize.Name = "labelFontSize";
     this.labelFontSize.Size = new System.Drawing.Size(95,15);
     this.labelFontSize.TabIndex = 74;
     this.labelFontSize.Text = "Font size";
     this.labelFontSize.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // labelStartTime
     //
     this.labelStartTime.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.labelStartTime.Location = new System.Drawing.Point(45,33);
     this.labelStartTime.Name = "labelStartTime";
     this.labelStartTime.Size = new System.Drawing.Size(95,15);
     this.labelStartTime.TabIndex = 76;
     this.labelStartTime.Text = "Start time";
     this.labelStartTime.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // labelStopTime
     //
     this.labelStopTime.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.labelStopTime.Location = new System.Drawing.Point(45,59);
     this.labelStopTime.Name = "labelStopTime";
     this.labelStopTime.Size = new System.Drawing.Size(95,15);
     this.labelStopTime.TabIndex = 78;
     this.labelStopTime.Text = "Stop time";
     this.labelStopTime.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // textStopTime
     //
     this.textStopTime.Location = new System.Drawing.Point(146,56);
     this.textStopTime.Name = "textStopTime";
     this.textStopTime.Size = new System.Drawing.Size(75,20);
     this.textStopTime.TabIndex = 83;
     //
     // textStartTime
     //
     this.textStartTime.Location = new System.Drawing.Point(146,30);
     this.textStartTime.Name = "textStartTime";
     this.textStartTime.Size = new System.Drawing.Size(75,20);
     this.textStartTime.TabIndex = 84;
     //
     // label1
     //
     this.label1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label1.Location = new System.Drawing.Point(227,33);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(128,15);
     this.label1.TabIndex = 86;
     this.label1.Text = "Example: 5:00 AM";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label2
     //
     this.label2.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label2.Location = new System.Drawing.Point(227,59);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(128,15);
     this.label2.TabIndex = 87;
     this.label2.Text = "Example: 8:00 PM";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // textFontSize
     //
     this.textFontSize.Location = new System.Drawing.Point(146,108);
     this.textFontSize.MaxVal = 50;
     this.textFontSize.MinVal = 2;
     this.textFontSize.Name = "textFontSize";
     this.textFontSize.Size = new System.Drawing.Size(50,20);
     this.textFontSize.TabIndex = 88;
     //
     // butSave
     //
     this.butSave.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butSave.Autosize = true;
     this.butSave.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butSave.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butSave.CornerRadius = 4F;
     this.butSave.Location = new System.Drawing.Point(12,168);
     this.butSave.Name = "butSave";
     this.butSave.Size = new System.Drawing.Size(75,24);
     this.butSave.TabIndex = 82;
     this.butSave.Text = "Save";
     this.butSave.Click += new System.EventHandler(this.butSave_Click);
     //
     // textColumnsPerPage
     //
     this.textColumnsPerPage.Location = new System.Drawing.Point(146,82);
     this.textColumnsPerPage.MaxVal = 255;
     this.textColumnsPerPage.MinVal = 0;
     this.textColumnsPerPage.Name = "textColumnsPerPage";
     this.textColumnsPerPage.Size = new System.Drawing.Size(50,20);
     this.textColumnsPerPage.TabIndex = 73;
     //
     // butOK
     //
     this.butOK.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butOK.Autosize = true;
     this.butOK.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butOK.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butOK.CornerRadius = 4F;
     this.butOK.Location = new System.Drawing.Point(197,168);
     this.butOK.Name = "butOK";
     this.butOK.Size = new System.Drawing.Size(75,24);
     this.butOK.TabIndex = 3;
     this.butOK.Text = "&OK";
     this.butOK.Click += new System.EventHandler(this.butOK_Click);
     //
     // butCancel
     //
     this.butCancel.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butCancel.Autosize = true;
     this.butCancel.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butCancel.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butCancel.CornerRadius = 4F;
     this.butCancel.Location = new System.Drawing.Point(280,168);
     this.butCancel.Name = "butCancel";
     this.butCancel.Size = new System.Drawing.Size(75,24);
     this.butCancel.TabIndex = 2;
     this.butCancel.Text = "&Cancel";
     this.butCancel.Click += new System.EventHandler(this.butCancel_Click);
     //
     // label3
     //
     this.label3.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label3.Location = new System.Drawing.Point(202,112);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(128,15);
     this.label3.TabIndex = 89;
     this.label3.Text = "Between 2 and 50";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // FormApptPrintSetup
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.ClientSize = new System.Drawing.Size(367,204);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.textFontSize);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.textStartTime);
     this.Controls.Add(this.textStopTime);
     this.Controls.Add(this.butSave);
     this.Controls.Add(this.labelStopTime);
     this.Controls.Add(this.labelStartTime);
     this.Controls.Add(this.labelFontSize);
     this.Controls.Add(this.textColumnsPerPage);
     this.Controls.Add(this.labelColumnsPerPage);
     this.Controls.Add(this.butOK);
     this.Controls.Add(this.butCancel);
     this.Name = "FormApptPrintSetup";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Form Appt Print Setup";
     this.Load += new System.EventHandler(this.FormApptPrintSetup_Load);
     this.ResumeLayout(false);
     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.listMain = new System.Windows.Forms.ListBox();
     this.butAdd = new OpenDental.UI.Button();
     this.butClose = new OpenDental.UI.Button();
     this.SuspendLayout();
     //
     // listMain
     //
     this.listMain.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.listMain.Location = new System.Drawing.Point(28,32);
     this.listMain.Name = "listMain";
     this.listMain.Size = new System.Drawing.Size(268,251);
     this.listMain.TabIndex = 12;
     this.listMain.DoubleClick += new System.EventHandler(this.listMain_DoubleClick);
     //
     // butAdd
     //
     this.butAdd.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butAdd.Autosize = true;
     this.butAdd.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butAdd.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butAdd.CornerRadius = 4F;
     this.butAdd.Image = global::OpenDental.Properties.Resources.Add;
     this.butAdd.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butAdd.Location = new System.Drawing.Point(28,310);
     this.butAdd.Name = "butAdd";
     this.butAdd.Size = new System.Drawing.Size(79,24);
     this.butAdd.TabIndex = 13;
     this.butAdd.Text = "&Add";
     this.butAdd.Click += new System.EventHandler(this.butAdd_Click);
     //
     // butClose
     //
     this.butClose.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butClose.Autosize = true;
     this.butClose.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butClose.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butClose.CornerRadius = 4F;
     this.butClose.Location = new System.Drawing.Point(221,310);
     this.butClose.Name = "butClose";
     this.butClose.Size = new System.Drawing.Size(75,24);
     this.butClose.TabIndex = 11;
     this.butClose.Text = "&Close";
     this.butClose.Click += new System.EventHandler(this.butClose_Click);
     //
     // FormDrugManufacturerSetup
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.ClientSize = new System.Drawing.Size(324,362);
     this.Controls.Add(this.listMain);
     this.Controls.Add(this.butAdd);
     this.Controls.Add(this.butClose);
     this.Name = "FormDrugManufacturerSetup";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = " Drug Manufacturer Setup";
     this.Load += new System.EventHandler(this.FormDrugManufacturerSetup_Load);
     this.ResumeLayout(false);
 }