コード例 #1
0
		public override void Initialize() {
			AutoScrollCanvas = true;
			windowSD = ScrollControl.ScrollDirector;
			documentSD = new DocumentScrollDirector();

			ToolBar toolBar = new ToolBar();
			ToolBarButton btnWindow = new ToolBarButton(WINDOW_LABEL);
			ToolBarButton btnDocument = new ToolBarButton(DOCUMENT_LABEL);
			toolBar.Buttons.Add(btnWindow);
			toolBar.Buttons.Add(btnDocument);
			toolBar.ButtonClick += new ToolBarButtonClickEventHandler(toolBar_ButtonClick);
			this.Controls.Add(toolBar);

			ScrollControl.Bounds = new Rectangle(ClientRectangle.X, toolBar.Bottom, ScrollControl.Width, ScrollControl.Height - toolBar.Height);

			// Make some rectangles on the surface so we can see where we are
			for (int x = 0; x < 20; x++) {
				for (int y = 0; y < 20; y++) {
					if (((x + y) % 2) == 0) {
						PPath path = PPath.CreateRectangle(50 * x, 50 * y, 40, 40);
						path.Brush = Brushes.Blue;
						path.Pen = Pens.Black;
						Canvas.Layer.AddChild(path);
					}
					else if (((x + y) % 2) == 1) {
						PPath path = PPath.CreateEllipse(50 * x, 50 * y, 40, 40);
						path.Brush = Brushes.Blue;
						path.Pen = Pens.Black;
						Canvas.Layer.AddChild(path);
					}
				}
			}
		}
コード例 #2
0
ファイル: Form1.cs プロジェクト: xs2ranjeet/13ns9-1spr
        public Form1()
        {
            InitializeComponent();
            list = new ImageList();
            list.ImageSize = new Size(50, 50);
            list.Images.Add(new Bitmap("open.bmp"));
            list.Images.Add(new Bitmap("save.bmp"));
            list.Images.Add(new Bitmap("exit.bmp"));

            tBar = new ToolBar();
                        
            tBar.ImageList = list; //привяжем список картинок к тулбару
            ToolBarButton toolBarButton1 = new ToolBarButton();
            ToolBarButton toolBarButton2 = new ToolBarButton();
            ToolBarButton toolBarButton3 = new ToolBarButton();
            ToolBarButton separator = new ToolBarButton();
            separator.Style = ToolBarButtonStyle.Separator;

            toolBarButton1.ImageIndex = 0; //Open
            toolBarButton2.ImageIndex = 1;// save
            toolBarButton3.ImageIndex = 2; //exit

            tBar.Buttons.Add(toolBarButton1);
            tBar.Buttons.Add(separator);
            tBar.Buttons.Add(toolBarButton2);
            tBar.Buttons.Add(separator);
            tBar.Buttons.Add(toolBarButton3);

            tBar.Appearance = ToolBarAppearance.Flat;
            tBar.BorderStyle = BorderStyle.Fixed3D;
            tBar.ButtonClick += new ToolBarButtonClickEventHandler(tBar_ButtonClick); 
            
            this.Controls.Add(tBar);
            
        }
コード例 #3
0
ファイル: Program.cs プロジェクト: kmrashish/DotNetLab
        public MyWindow()
            : base()
        {
            Menu = new MainMenu();
            Menu.MenuItems.Add("File");
            Menu.MenuItems.Add("Edit");
            Menu.MenuItems.Add("View");
            Menu.MenuItems.Add("Help");

            Bitmap bm = new Bitmap(GetType(), "SimpleToolbar.bmp");
            ImageList imglist = new ImageList();
            imglist.Images.AddStrip(bm);
            imglist.TransparentColor = Color.LightBlue;
            ToolBar tb = new ToolBar();
            tb.Parent = this;
            tb.ShowToolTips = true;
            string[] astr = { "New", "Open", "Save", "Print", "Cut", "Copy", "Paste" };
            for (int i = 0; i < 7; i++)
            {
                ToolBarButton tbb = new ToolBarButton();
                tbb.ImageIndex = i;
                tbb.ToolTipText = astr[i];
                tb.Buttons.Add(tbb);
            }
        }
コード例 #4
0
ファイル: ImageToolBar.cs プロジェクト: Amphora2015/DemoTest
        internal ToolBar GetExtendedToolBar(ToolBar toolbar)
        {
            // filtet the images that are applicable.

            _automationToolbar = toolbar;
            toolbar.ButtonSize = new Size(5, 5);
            int buttonLength = toolbar.Buttons.Count;
            for (int i = 0; i < buttonLength; ++i)
            {
                ToolBarButton button = toolbar.Buttons[i];
                string toolText = button.ToolTipText;
                if (Array.IndexOf(allowedEditButtons, toolText) < 0)
                {
                    button.Visible = false;
              //      button.M
                }
                if (button.ToolTipText.Equals("Stamp", StringComparison.CurrentCultureIgnoreCase))
                {
                    
                    button.ToolTipText = "Signature";
                }
                

            }
            
            return toolbar;

        }
コード例 #5
0
ファイル: FormTest.cs プロジェクト: mono/uia2atk
		static public void InitializeMyToolBar(Form form)
		{
			// Create and initialize the ToolBar and ToolBarButton controls.
			ToolBar toolBar1 = new ToolBar();
			ToolBarButton toolBarButton1 = new ToolBarButton();
			ToolBarButton toolBarButton2 = new ToolBarButton();
			ToolBarButton toolBarButton3 = new ToolBarButton();
	
			// Set the Text properties of the ToolBarButton controls.
			toolBarButton1.Text = "Open";
			toolBarButton2.Text = "Save";
			toolBarButton3.Text = "Print";
	
			// Add the ToolBarButton controls to the ToolBar.
			toolBar1.Buttons.Add(toolBarButton1);
			toolBar1.Buttons.Add(toolBarButton2);
			toolBar1.Buttons.Add(toolBarButton3);
	
			//Add the event-handler delegate.
			toolBar1.ButtonClick += new ToolBarButtonClickEventHandler (
			  toolBar1_ButtonClick);
	
			// Add the ToolBar to the Form.
			form.Controls.Add(toolBar1);
 		}
コード例 #6
0
ファイル: IDialog.cs プロジェクト: ntj/GravurGIS
        public IDialog()
            : base()
        {
            // Button
            resultButton = new ResultButton();
            this.Controls.Add(resultButton);

            this.toolBar = new System.Windows.Forms.ToolBar();
            this.tbOkButton = new System.Windows.Forms.ToolBarButton();
            this.tbCancelButton = new System.Windows.Forms.ToolBarButton();

            //
            // toolBar
            //
            this.toolBar.Buttons.Add(this.tbOkButton);
            this.toolBar.Buttons.Add(this.tbCancelButton);
            this.toolBar.Name = "toolBar";
            this.toolBar.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar_ButtonClick);

            this.Controls.Add(this.toolBar);

            // Toolbar
            string appPath = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetModules()[0].FullyQualifiedName);
            ToolbarMaker.ToolBar = toolBar;
            ToolbarMaker.AddIcon(appPath + @"\Icons\tbOk");
            ToolbarMaker.AddIcon(appPath + @"\Icons\tbCancel");

            this.TopMost = true;
        }
コード例 #7
0
ファイル: ToolBar_Manager.CS プロジェクト: kcb146/editor
  { public static void Install (Panel ParentArg)
    { T_New New = new T_New (0) ;
      T_Open Open = new T_Open (1) ;
      T_Save Save = new T_Save (2) ;
      T_SaveAll SaveAll = new T_SaveAll (3) ;
      T_Close Close = new T_Close (4) ;
      T_Cut Cut = new T_Cut (5) ;
      T_Copy Copy = new T_Copy (6) ;
      T_Paste Paste = new T_Paste (7) ;
      T_Undo Undo = new T_Undo (8) ;
      T_ColorHighlighter ColorHighlighter = new T_ColorHighlighter (9) ;
      T_Search Search = new T_Search (10) ;
      T_Print Print = new T_Print (11) ;

      ToolBarButton Spacer = new ToolBarButton () ;
      Spacer.Style = ToolBarButtonStyle.Separator ;

      ImageList List = new ImageList () ;

      List.Images.Add (New.GetBMP()) ;
      List.Images.Add (Open.GetBMP()) ;
      List.Images.Add (Save.GetBMP()) ;
      List.Images.Add (SaveAll.GetBMP()) ;
      List.Images.Add (Close.GetBMP()) ;
      List.Images.Add (Cut.GetBMP()) ;
      List.Images.Add (Copy.GetBMP()) ;
      List.Images.Add (Paste.GetBMP()) ;
      List.Images.Add (Undo.GetBMP()) ;
      List.Images.Add (ColorHighlighter.GetBMP()) ;
      List.Images.Add (Search.GetBMP()) ;
      List.Images.Add (Print.GetBMP()) ;

      ToolBar Bar = new ToolBar () ;

      Bar.Parent = ParentArg ;
      Bar.ImageList = List ;
      Bar.ShowToolTips = true ;
      Bar.ButtonClick += new ToolBarButtonClickEventHandler (BarClick) ;

      Bar.Buttons.Add (New) ; 
      Bar.Buttons.Add (Open) ; 
      Bar.Buttons.Add (Save) ; 
      Bar.Buttons.Add (SaveAll) ; 
      Bar.Buttons.Add (Close) ;
 
      Bar.Buttons.Add (Spacer) ;
 
      Bar.Buttons.Add (Cut) ; 
      Bar.Buttons.Add (Copy) ; 
      Bar.Buttons.Add (Paste) ; 

      Bar.Buttons.Add (Spacer) ;
 
      Bar.Buttons.Add (Undo) ; 
      Bar.Buttons.Add (ColorHighlighter) ; 
      Bar.Buttons.Add (Search) ; 
      Bar.Buttons.Add (Print) ; 
    }
コード例 #8
0
ファイル: MxToolBarSubclasser.cs プロジェクト: ikvm/webmatrix
 public MxToolBarSubclasser(System.Windows.Forms.ToolBar toolBar)
 {
     if (toolBar == null)
     {
         throw new ArgumentNullException();
     }
     this._toolBar = toolBar;
     this._painter = new MxToolBarPainter(this._toolBar);
 }
コード例 #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.components = new System.ComponentModel.Container();
      System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof (ListToolBarControl));
      this.toolBar = new System.Windows.Forms.ToolBar();
      this.tbtnPasteList = new System.Windows.Forms.ToolBarButton();
      this.tbtnSeparator = new System.Windows.Forms.ToolBarButton();
      this.imageList = new System.Windows.Forms.ImageList(this.components);
      this.tbtnAppendList = new System.Windows.Forms.ToolBarButton();
      this.SuspendLayout();
      // 
      // toolBar
      // 
      this.toolBar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[]{
        this.tbtnPasteList,
        this.tbtnAppendList,
        this.tbtnSeparator
      });
      this.toolBar.DropDownArrows = true;
      this.toolBar.ImageList = this.imageList;
      this.toolBar.Location = new System.Drawing.Point(0, 0);
      this.toolBar.Name = "toolBar";
      this.toolBar.ShowToolTips = true;
      this.toolBar.Size = new System.Drawing.Size(64, 30);
      this.toolBar.TabIndex = 0;
      this.toolBar.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar_ButtonClick);
      // 
      // tbtnPasteList
      // 
      this.tbtnPasteList.ImageIndex = 0;
      this.tbtnPasteList.Tag = "PasteList";
      this.tbtnPasteList.ToolTipText = "Paste list";
      // 
      // tbtnSeparator
      // 
      this.tbtnSeparator.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
      // 
      // imageList
      // 
      this.imageList.ImageSize = new System.Drawing.Size(19, 18);
      this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream")));
      this.imageList.TransparentColor = System.Drawing.Color.Transparent;
      // 
      // tbtnAppendList
      // 
      this.tbtnAppendList.ImageIndex = 1;
      this.tbtnAppendList.Tag = "AppendList";
      this.tbtnAppendList.ToolTipText = "Append list";
      // 
      // ListToolBarControl
      // 
      this.Controls.Add(this.toolBar);
      this.Name = "ListToolBarControl";
      this.Size = new System.Drawing.Size(64, 32);
      this.ResumeLayout(false);

    }
コード例 #10
0
ファイル: GISAControl.cs プロジェクト: aureliopires/gisa
		private void InitializeComponent()
		{
			this.components = new System.ComponentModel.Container();
			this.ToolBar = new System.Windows.Forms.ToolBar();
			this.ImgList = new System.Windows.Forms.ImageList(this.components);
			this.pnlToolbarPadding = new System.Windows.Forms.Panel();
			this.CurrentToolTip = new System.Windows.Forms.ToolTip(this.components);
			this.pnlToolbarPadding.SuspendLayout();
			this.SuspendLayout();
			//
			//ToolBar
			//
			this.ToolBar.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.ToolBar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
			this.ToolBar.AutoSize = false;
			this.ToolBar.ButtonSize = new System.Drawing.Size(16, 16);
			this.ToolBar.Divider = false;
			this.ToolBar.Dock = System.Windows.Forms.DockStyle.None;
			this.ToolBar.DropDownArrows = true;
			this.ToolBar.ImageList = this.ImgList;
			this.ToolBar.Location = new System.Drawing.Point(8, 1);
			this.ToolBar.Name = "ToolBar";
			this.ToolBar.ShowToolTips = true;
			this.ToolBar.Size = new System.Drawing.Size(580, 26);
			this.ToolBar.TabIndex = 0;
			//
			//ImgList
			//
			this.ImgList.ColorDepth = System.Windows.Forms.ColorDepth.Depth16Bit;
			this.ImgList.ImageSize = new System.Drawing.Size(16, 16);
			this.ImgList.TransparentColor = System.Drawing.Color.Transparent;
			//
			//pnlToolbarPadding
			//
			this.pnlToolbarPadding.Controls.Add(this.ToolBar);
			this.pnlToolbarPadding.Dock = System.Windows.Forms.DockStyle.Top;
			this.pnlToolbarPadding.DockPadding.Left = 8;
			this.pnlToolbarPadding.DockPadding.Right = 8;
			this.pnlToolbarPadding.Location = new System.Drawing.Point(0, 0);
			this.pnlToolbarPadding.Name = "pnlToolbarPadding";
			this.pnlToolbarPadding.Size = new System.Drawing.Size(600, 28);
			this.pnlToolbarPadding.TabIndex = 1;
			//
			//CurrentToolTip
			//
			this.CurrentToolTip.ShowAlways = true;
			//
			//GISAControl
			//
			this.Controls.Add(this.pnlToolbarPadding);
			this.Name = "GISAControl";
			this.Size = new System.Drawing.Size(600, 280);
			this.pnlToolbarPadding.ResumeLayout(false);
			this.ResumeLayout(false);

		}
コード例 #11
0
ファイル: layout-toolbar.cs プロジェクト: hitswa/winforms
                public ToolbarLayout ()
                {
                        toolbar = new ToolBar();
                        toolbar.Appearance = ToolBarAppearance.Flat;
                        //toolbar.ButtonSize = new Size(8, 8);
                        toolbar.Buttons.Add("Image");
                        toolbar.Buttons.Add("NoImage");
                        toolbar.Buttons.Add("Blahblahblah");
			toolbar.Dock = DockStyle.Top;
                        Controls.Add (toolbar);
			Panel fmt_frame = new Panel ();
			fmt_frame.Dock = DockStyle.Fill;
                        Controls.Add (fmt_frame);
			chkbox_appearance = new CheckBox ();
			chkbox_appearance.Text = "Flat";
			chkbox_appearance.Checked = true;
			chkbox_appearance.CheckedChanged += new EventHandler (AppearanceChanged);
			chkbox_appearance.Location = new Point (10, 10);
			chkbox_appearance.Size = new Size (100, 20);
                        fmt_frame.Controls.Add (chkbox_appearance);
			chkbox_btnsize = new CheckBox ();
			chkbox_btnsize.Text = "Button Size";
			chkbox_btnsize.Checked = false;
			chkbox_btnsize.CheckedChanged += new EventHandler (ButtonSizeChanged);
			chkbox_btnsize.Location = new Point (10, 40);
			chkbox_btnsize.Size = new Size (100, 20);
                        fmt_frame.Controls.Add (chkbox_btnsize);
			txt_width = new TextBox ();
			txt_width.Location = new Point (110, 40);
			txt_width.Size = new Size (50, 20);
                        fmt_frame.Controls.Add (txt_width);
			txt_height = new TextBox ();
			txt_height.Location = new Point (170, 40);
			txt_height.Size = new Size (50, 20);
                        fmt_frame.Controls.Add (txt_height);
			chkbox_images = new CheckBox ();
			chkbox_images.Text = "Show Images";
			chkbox_images.Checked = false;
			chkbox_images.CheckedChanged += new EventHandler (ImagesChanged);
			chkbox_images.Location = new Point (10, 70);
			chkbox_images.Size = new Size (100, 20);
                        fmt_frame.Controls.Add (chkbox_images);
			chkbox_align = new CheckBox ();
			chkbox_align.Text = "Text Underneath";
			chkbox_align.Checked = true;
			chkbox_align.CheckedChanged += new EventHandler (AlignmentChanged);
			chkbox_align.Location = new Point (10, 100);
			chkbox_align.Size = new Size (150, 20);
                        fmt_frame.Controls.Add (chkbox_align);
			images.ColorDepth = ColorDepth.Depth32Bit;
			images.Images.Add (new Bitmap ("image1.bmp"));
			images.ImageSize = new Size (40, 40);
                }
コード例 #12
0
		public void CanExtendTest ()
		{
			Control myControl = new Control ();
			Form myForm = new Form ();
			myForm.ShowInTaskbar = false;
			ToolBar myToolBar = new ToolBar ();
			ErrorProvider myErrorProvider = new ErrorProvider ();
			Assert.AreEqual (myErrorProvider.CanExtend (myControl), true, "#ext1");
			Assert.AreEqual (myErrorProvider.CanExtend (myToolBar), false, "#ext2");
			Assert.AreEqual (myErrorProvider.CanExtend (myForm), false, "#ext3");
			myForm.Dispose ();
		}
コード例 #13
0
ファイル: PtxToolBar.cs プロジェクト: JeffreyZksun/opendraw
        public PtxToolBar()
        {
            m_ToolBar = new ToolBar();
            m_ToolBar.ButtonClick += new ToolBarButtonClickEventHandler(
               this.OnToolBarClick);

            m_ButtonList = new FRList<PtxToolButton>();

            m_ToolBar.TextAlign = ToolBarTextAlign.Right;
            m_ToolBar.AutoSize = false;
            m_ToolBar.Height = 25;
            m_ToolBar.ButtonSize = new System.Drawing.Size(30, 20);
        }
コード例 #14
0
ファイル: Helper.cs プロジェクト: spzenk/sfdocsamples
        public static void SaveToolBarToFile(ToolBar pButtons, string pFile)
        {
            if (string.IsNullOrEmpty(pFile))
            {
                return;
            }

            if (pButtons == null)
            {
                return;
            }

            FileFunctions.SaveTextFile(pFile, pButtons.GetXml(), false);
        }
コード例 #15
0
 private void InitializeComponent() {
     this.components = new Container();
     ResourceManager resources = new ResourceManager(typeof (ScalerToolBarControl));
     this.toolBar = new ToolBar();
     this.tbtnScaleUp = new ToolBarButton();
     this.tbtnScaleDown = new ToolBarButton();
     this.imageList = new ImageList(this.components);
     this.SuspendLayout();
     // 
     // toolBar
     // 
     this.toolBar.Buttons.AddRange(new ToolBarButton[] {
                                                           this.tbtnScaleUp,
                                                           this.tbtnScaleDown
                                                       });
     this.toolBar.DropDownArrows = true;
     this.toolBar.ImageList = this.imageList;
     this.toolBar.Location = new Point(0, 0);
     this.toolBar.Name = "toolBar";
     this.toolBar.ShowToolTips = true;
     this.toolBar.Size = new Size(56, 30);
     this.toolBar.TabIndex = 0;
     this.toolBar.ButtonClick += new ToolBarButtonClickEventHandler(this.toolBar_ButtonClick);
     // 
     // tbtnScaleUp
     // 
     this.tbtnScaleUp.ImageIndex = 0;
     this.tbtnScaleUp.Tag = "ScaleUp";
     this.tbtnScaleUp.ToolTipText = "Scale up";
     // 
     // tbtnScaleDown
     // 
     this.tbtnScaleDown.ImageIndex = 1;
     this.tbtnScaleDown.Tag = "ScaleDown";
     this.tbtnScaleDown.ToolTipText = "Scale down";
     // 
     // imageList
     // 
     this.imageList.ImageSize = new Size(19, 18);
     this.imageList.ImageStream = ((ImageListStreamer) (resources.GetObject("imageList.ImageStream")));
     this.imageList.TransparentColor = Color.Transparent;
     // 
     // ScalerToolBarControl
     // 
     this.Controls.Add(this.toolBar);
     this.Name = "ScalerToolBarControl";
     this.Size = new Size(56, 32);
     this.ResumeLayout(false);
 }
コード例 #16
0
		public override void SetUp ()
		{
			base.SetUp ();

			menuButton = null;
			toolBar = new ToolBar ();
			toolBarButton = new ToolBarButton ("Button");
			toolBar.Buttons.Add (toolBarButton);

			//we rather create 2, to expose a bug in the provider
			toolBar.Buttons.Add (new ToolBarButton ("another one"));
			
			Form.Controls.Add (toolBar);
			Form.Show ();
		}
コード例 #17
0
ファイル: MainController.cs プロジェクト: ssoller/Krypsis
        public MainController(Form1 mainForm)
        {
            this._mainForm = mainForm;
            this._controlBbar = mainForm.ControlBar;
            this._browser = mainForm.Browser;
            _browser.Navigating += new WebBrowserNavigatingEventHandler(_browser_Navigating);
            _controlBbar.ButtonClick += new ToolBarButtonClickEventHandler(controlBbar_ButtonClick);

            StringBuilder sb = new StringBuilder();
            sb.Append("<html><body>Test</body></html>");
            _browser.DocumentText = " ";
            _browser.DocumentText = " ";
            _browser.DocumentText = sb.ToString();

            moduleController = new ModuleController(_browser);
        }
コード例 #18
0
ファイル: DropDownButton.cs プロジェクト: Hza100/subindex-mod
		/// <summary> 
		/// 设计器支持所需的方法 - 不要使用代码编辑器 
		/// 修改此方法的内容。
		/// </summary>
		private void InitializeComponent()
		{
            this.toolBar = new System.Windows.Forms.ToolBar();
            this.button = new System.Windows.Forms.ToolBarButton();
            this.menu = new System.Windows.Forms.ContextMenu();
            this.SuspendLayout();
            // 
            // toolBar
            // 
            this.toolBar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
            this.button});
            this.toolBar.ButtonSize = new System.Drawing.Size(62, 23);
            this.toolBar.Divider = false;
            this.toolBar.Dock = System.Windows.Forms.DockStyle.None;
            this.toolBar.DropDownArrows = true;
            this.toolBar.Location = new System.Drawing.Point(0, -2);
            this.toolBar.Name = "toolBar";
            this.toolBar.ShowToolTips = true;
            this.toolBar.Size = new System.Drawing.Size(120, 34);
            this.toolBar.TabIndex = 0;
            this.toolBar.TextAlign = System.Windows.Forms.ToolBarTextAlign.Right;
            this.toolBar.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar_ButtonClick);
            // 
            // button
            // 
            this.button.DropDownMenu = this.menu;
            this.button.Name = "button";
            this.button.Style = System.Windows.Forms.ToolBarButtonStyle.DropDownButton;
            // 
            // menu
            // 
            this.menu.Popup += new System.EventHandler(this.menu_Popup);
            // 
            // DropDownButton
            // 
            this.Controls.Add(this.toolBar);
            this.Name = "DropDownButton";
            this.Size = new System.Drawing.Size(76, 23);
            this.Load += new System.EventHandler(this.DropDownButton_Load);
            this.Resize += new System.EventHandler(this.DropDownButton_Resize);
            this.ResumeLayout(false);
            this.PerformLayout();

		}
コード例 #19
0
ファイル: ToolBarProviderTest.cs プロジェクト: mono/uia2atk
		public void BasicPropertiesTest ()
		{
			ToolBar toolBar = new ToolBar ();
			IRawElementProviderSimple provider =
				ProviderFactory.GetProvider (toolBar);
			
			TestProperty (provider,
			              AutomationElementIdentifiers.ControlTypeProperty,
			              ControlType.ToolBar.Id);
			
			TestProperty (provider,
			              AutomationElementIdentifiers.LocalizedControlTypeProperty,
			              "tool bar");

			string value = "ToolBar Name Property";
			toolBar.Text = value;
			TestProperty (provider,
			              AutomationElementIdentifiers.NameProperty,
			              value);
		}
コード例 #20
0
        ///<summary>
        /// Set each ToolBarButton to a specific MenuItem
        ///</summary>
        public void SetButtonMenuItem( Component pComponent, MenuCommand pMenuItem )
        {
            if( ! m_Dictionary.Contains( pComponent ))
            {
                m_Dictionary.Add( pComponent, pMenuItem );

                if( m_ToolBar == null )
                {
                    ToolBarButton pToolBarButton = pComponent as ToolBarButton;

                    if( pToolBarButton != null )
                    {
                        m_ToolBar = pToolBarButton.Parent as ToolBar;

                        if( m_ToolBar != null )
                            m_ToolBar.ButtonClick += new ToolBarButtonClickEventHandler( Handle_ToolbarButtonClick );
                    }
                }
            }
            else
            {
                m_Dictionary[ pComponent ] = pMenuItem;
            }
        }
コード例 #21
0
ファイル: ls-styles.cs プロジェクト: hitswa/winforms
		public MainForm()
		{
			// Label
			Label label = new Label ();
			label.Parent = this;
			PrintControlStyles (label);
	
			label.BorderStyle = BorderStyle.FixedSingle;
			PrintControlStyles (label, "FixedSingle border");
	
			label.BorderStyle = BorderStyle.Fixed3D;
			PrintControlStyles (label, "Fixed3D border");

			// LinkLabel
			Label linklabel = new LinkLabel ();
			linklabel.Parent = this;
			PrintControlStyles (linklabel);
	
			linklabel.BorderStyle = BorderStyle.FixedSingle;
			PrintControlStyles (linklabel, "FixedSingle border");
	
			linklabel.BorderStyle = BorderStyle.Fixed3D;
			PrintControlStyles (linklabel, "Fixed3D border");

			// TextBox
			TextBox textbox = new TextBox ();
			textbox.Parent = this;
			PrintControlStyles (textbox);
			
			// ToolBar
			ToolBar toolbar = new ToolBar ();
			toolbar.Parent = this;
			PrintControlStyles (toolbar);
			
			Application.Exit ();
		}
コード例 #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.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmlivelloclassmovimenti));
     this.MetaDataToolBar          = new System.Windows.Forms.ToolBar();
     this.seleziona                = new System.Windows.Forms.ToolBarButton();
     this.impostaricerca           = new System.Windows.Forms.ToolBarButton();
     this.effettuaricerca          = new System.Windows.Forms.ToolBarButton();
     this.modifica                 = new System.Windows.Forms.ToolBarButton();
     this.inserisci                = new System.Windows.Forms.ToolBarButton();
     this.inseriscicopia           = new System.Windows.Forms.ToolBarButton();
     this.elimina                  = new System.Windows.Forms.ToolBarButton();
     this.Salva                    = new System.Windows.Forms.ToolBarButton();
     this.aggiorna                 = new System.Windows.Forms.ToolBarButton();
     this.images                   = new System.Windows.Forms.ImageList(this.components);
     this.MetaDataDetail           = new System.Windows.Forms.GroupBox();
     this.pictureBox1              = new System.Windows.Forms.PictureBox();
     this.groupBox1                = new System.Windows.Forms.GroupBox();
     this.rdbAlfanumerico          = new System.Windows.Forms.RadioButton();
     this.rdbNumerico              = new System.Windows.Forms.RadioButton();
     this.label3                   = new System.Windows.Forms.Label();
     this.txtLungCodice            = new System.Windows.Forms.TextBox();
     this.ckbFlagReset             = new System.Windows.Forms.CheckBox();
     this.ckbFlagOperativo         = new System.Windows.Forms.CheckBox();
     this.label2                   = new System.Windows.Forms.Label();
     this.label1                   = new System.Windows.Forms.Label();
     this.txtCodiceLivello         = new System.Windows.Forms.TextBox();
     this.txtDescrizione           = new System.Windows.Forms.TextBox();
     this.dgrLivelloClassMovimenti = new System.Windows.Forms.DataGrid();
     this.DS = new sortinglevel_default.vistaForm();
     this.MetaDataDetail.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgrLivelloClassMovimenti)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.DS)).BeginInit();
     this.SuspendLayout();
     //
     // MetaDataToolBar
     //
     this.MetaDataToolBar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.MetaDataToolBar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.seleziona,
         this.impostaricerca,
         this.effettuaricerca,
         this.modifica,
         this.inserisci,
         this.inseriscicopia,
         this.elimina,
         this.Salva,
         this.aggiorna
     });
     this.MetaDataToolBar.ButtonSize     = new System.Drawing.Size(56, 56);
     this.MetaDataToolBar.DropDownArrows = true;
     this.MetaDataToolBar.ImageList      = this.images;
     this.MetaDataToolBar.Location       = new System.Drawing.Point(0, 0);
     this.MetaDataToolBar.Name           = "MetaDataToolBar";
     this.MetaDataToolBar.ShowToolTips   = true;
     this.MetaDataToolBar.Size           = new System.Drawing.Size(658, 106);
     this.MetaDataToolBar.TabIndex       = 40;
     this.MetaDataToolBar.Tag            = "";
     //
     // seleziona
     //
     this.seleziona.ImageIndex  = 1;
     this.seleziona.Name        = "seleziona";
     this.seleziona.Tag         = "mainselect";
     this.seleziona.Text        = "Seleziona";
     this.seleziona.ToolTipText = "Seleziona l\'elemento desiderato";
     //
     // impostaricerca
     //
     this.impostaricerca.ImageIndex  = 10;
     this.impostaricerca.Name        = "impostaricerca";
     this.impostaricerca.Tag         = "mainsetsearch";
     this.impostaricerca.Text        = "Imposta Ricerca";
     this.impostaricerca.ToolTipText = "Imposta una nuova ricerca";
     //
     // effettuaricerca
     //
     this.effettuaricerca.ImageIndex  = 12;
     this.effettuaricerca.Name        = "effettuaricerca";
     this.effettuaricerca.Tag         = "maindosearch";
     this.effettuaricerca.Text        = "Effettua Ricerca";
     this.effettuaricerca.ToolTipText = "Cerca in base ai dati immessi";
     //
     // modifica
     //
     this.modifica.ImageIndex  = 6;
     this.modifica.Name        = "modifica";
     this.modifica.Tag         = "mainedit";
     this.modifica.Text        = "Modifica";
     this.modifica.ToolTipText = "Modifica l\'elemento selezionato";
     //
     // inserisci
     //
     this.inserisci.ImageIndex  = 0;
     this.inserisci.Name        = "inserisci";
     this.inserisci.Tag         = "maininsert";
     this.inserisci.Text        = "Inserisci";
     this.inserisci.ToolTipText = "Inserisci un nuovo elemento";
     //
     // inseriscicopia
     //
     this.inseriscicopia.ImageIndex  = 9;
     this.inseriscicopia.Name        = "inseriscicopia";
     this.inseriscicopia.Tag         = "maininsertcopy";
     this.inseriscicopia.Text        = "Inserisci copia";
     this.inseriscicopia.ToolTipText = "Inserisci un nuovo elemento copiando i dati da quello attuale";
     //
     // elimina
     //
     this.elimina.ImageIndex  = 3;
     this.elimina.Name        = "elimina";
     this.elimina.Tag         = "maindelete";
     this.elimina.Text        = "Elimina";
     this.elimina.ToolTipText = "Elimina l\'elemento selezionato";
     //
     // Salva
     //
     this.Salva.ImageIndex  = 2;
     this.Salva.Name        = "Salva";
     this.Salva.Tag         = "mainsave";
     this.Salva.Text        = "Salva";
     this.Salva.ToolTipText = "Salva le modifiche effettuate";
     //
     // aggiorna
     //
     this.aggiorna.ImageIndex = 13;
     this.aggiorna.Name       = "aggiorna";
     this.aggiorna.Tag        = "mainrefresh";
     this.aggiorna.Text       = "Aggiorna";
     //
     // images
     //
     this.images.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("images.ImageStream")));
     this.images.TransparentColor = System.Drawing.Color.Transparent;
     this.images.Images.SetKeyName(0, "");
     this.images.Images.SetKeyName(1, "");
     this.images.Images.SetKeyName(2, "");
     this.images.Images.SetKeyName(3, "");
     this.images.Images.SetKeyName(4, "");
     this.images.Images.SetKeyName(5, "");
     this.images.Images.SetKeyName(6, "");
     this.images.Images.SetKeyName(7, "");
     this.images.Images.SetKeyName(8, "");
     this.images.Images.SetKeyName(9, "");
     this.images.Images.SetKeyName(10, "");
     this.images.Images.SetKeyName(11, "");
     this.images.Images.SetKeyName(12, "");
     this.images.Images.SetKeyName(13, "");
     //
     // MetaDataDetail
     //
     this.MetaDataDetail.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.MetaDataDetail.Controls.Add(this.pictureBox1);
     this.MetaDataDetail.Controls.Add(this.groupBox1);
     this.MetaDataDetail.Controls.Add(this.label3);
     this.MetaDataDetail.Controls.Add(this.txtLungCodice);
     this.MetaDataDetail.Controls.Add(this.ckbFlagReset);
     this.MetaDataDetail.Controls.Add(this.ckbFlagOperativo);
     this.MetaDataDetail.Controls.Add(this.label2);
     this.MetaDataDetail.Controls.Add(this.label1);
     this.MetaDataDetail.Controls.Add(this.txtCodiceLivello);
     this.MetaDataDetail.Controls.Add(this.txtDescrizione);
     this.MetaDataDetail.Location = new System.Drawing.Point(328, 64);
     this.MetaDataDetail.Name     = "MetaDataDetail";
     this.MetaDataDetail.Size     = new System.Drawing.Size(328, 288);
     this.MetaDataDetail.TabIndex = 43;
     this.MetaDataDetail.TabStop  = false;
     this.MetaDataDetail.Text     = "Dettaglio";
     //
     // pictureBox1
     //
     this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.pictureBox1.Image       = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location    = new System.Drawing.Point(200, 72);
     this.pictureBox1.Name        = "pictureBox1";
     this.pictureBox1.Size        = new System.Drawing.Size(120, 88);
     this.pictureBox1.TabIndex    = 23;
     this.pictureBox1.TabStop     = false;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.rdbAlfanumerico);
     this.groupBox1.Controls.Add(this.rdbNumerico);
     this.groupBox1.Location = new System.Drawing.Point(8, 216);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(136, 64);
     this.groupBox1.TabIndex = 4;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Tipo codice";
     //
     // rdbAlfanumerico
     //
     this.rdbAlfanumerico.Location = new System.Drawing.Point(16, 40);
     this.rdbAlfanumerico.Name     = "rdbAlfanumerico";
     this.rdbAlfanumerico.Size     = new System.Drawing.Size(104, 16);
     this.rdbAlfanumerico.TabIndex = 1;
     this.rdbAlfanumerico.Tag      = "sortinglevel.flag::0";
     this.rdbAlfanumerico.Text     = "Alfanumerico";
     //
     // rdbNumerico
     //
     this.rdbNumerico.Location = new System.Drawing.Point(16, 16);
     this.rdbNumerico.Name     = "rdbNumerico";
     this.rdbNumerico.Size     = new System.Drawing.Size(104, 16);
     this.rdbNumerico.TabIndex = 0;
     this.rdbNumerico.Tag      = "sortinglevel.flag::#0";
     this.rdbNumerico.Text     = "Numerico";
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(8, 160);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(80, 16);
     this.label3.TabIndex  = 22;
     this.label3.Text      = "Lungh. codice";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtLungCodice
     //
     this.txtLungCodice.Location = new System.Drawing.Point(8, 184);
     this.txtLungCodice.Name     = "txtLungCodice";
     this.txtLungCodice.Size     = new System.Drawing.Size(72, 20);
     this.txtLungCodice.TabIndex = 3;
     this.txtLungCodice.Tag      = "";
     //
     // ckbFlagReset
     //
     this.ckbFlagReset.Location = new System.Drawing.Point(152, 248);
     this.ckbFlagReset.Name     = "ckbFlagReset";
     this.ckbFlagReset.Size     = new System.Drawing.Size(144, 24);
     this.ckbFlagReset.TabIndex = 6;
     this.ckbFlagReset.Tag      = "sortinglevel.flag:#2";
     this.ckbFlagReset.Text     = "Numerazione continua";
     //
     // ckbFlagOperativo
     //
     this.ckbFlagOperativo.Location = new System.Drawing.Point(152, 224);
     this.ckbFlagOperativo.Name     = "ckbFlagOperativo";
     this.ckbFlagOperativo.Size     = new System.Drawing.Size(104, 24);
     this.ckbFlagOperativo.TabIndex = 5;
     this.ckbFlagOperativo.Tag      = "sortinglevel.flag:1";
     this.ckbFlagOperativo.Text     = "Voce operativa";
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(16, 72);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(80, 16);
     this.label2.TabIndex  = 17;
     this.label2.Text      = "Descrizione:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(16, 16);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(80, 16);
     this.label1.TabIndex  = 16;
     this.label1.Text      = "Codice:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtCodiceLivello
     //
     this.txtCodiceLivello.Location = new System.Drawing.Point(8, 40);
     this.txtCodiceLivello.Name     = "txtCodiceLivello";
     this.txtCodiceLivello.Size     = new System.Drawing.Size(104, 20);
     this.txtCodiceLivello.TabIndex = 1;
     this.txtCodiceLivello.Tag      = "sortinglevel.nlevel";
     //
     // txtDescrizione
     //
     this.txtDescrizione.Location  = new System.Drawing.Point(8, 96);
     this.txtDescrizione.Multiline = true;
     this.txtDescrizione.Name      = "txtDescrizione";
     this.txtDescrizione.Size      = new System.Drawing.Size(184, 56);
     this.txtDescrizione.TabIndex  = 2;
     this.txtDescrizione.Tag       = "sortinglevel.description";
     //
     // dgrLivelloClassMovimenti
     //
     this.dgrLivelloClassMovimenti.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.dgrLivelloClassMovimenti.DataMember      = "";
     this.dgrLivelloClassMovimenti.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dgrLivelloClassMovimenti.Location        = new System.Drawing.Point(16, 72);
     this.dgrLivelloClassMovimenti.Name            = "dgrLivelloClassMovimenti";
     this.dgrLivelloClassMovimenti.Size            = new System.Drawing.Size(311, 280);
     this.dgrLivelloClassMovimenti.TabIndex        = 42;
     this.dgrLivelloClassMovimenti.Tag             = "sortinglevel.default";
     //
     // DS
     //
     this.DS.DataSetName        = "vistaForm";
     this.DS.EnforceConstraints = false;
     this.DS.Locale             = new System.Globalization.CultureInfo("en-US");
     //
     // frmlivelloclassmovimenti
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(658, 360);
     this.Controls.Add(this.MetaDataDetail);
     this.Controls.Add(this.dgrLivelloClassMovimenti);
     this.Controls.Add(this.MetaDataToolBar);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Name            = "frmlivelloclassmovimenti";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "frmlivelloclassmovimenti";
     this.MetaDataDetail.ResumeLayout(false);
     this.MetaDataDetail.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dgrLivelloClassMovimenti)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.DS)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #23
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();
            var resources    = new System.Resources.ResourceManager(typeof(frm2DPeakProcessing));
            var penProvider1 = new PNNL.Controls.PenProvider();
            var penProvider2 = new PNNL.Controls.PenProvider();
            var penProvider3 = new PNNL.Controls.PenProvider();
            var penProvider4 = new PNNL.Controls.PenProvider();

            this.mexpandPanelBottom         = new PNNL.Controls.ExpandPanel(284);
            this.msplitterBottom            = new System.Windows.Forms.Splitter();
            this.ctlChartTopPane            = new PNNL.Controls.MS.ctlSpectrum();
            this.mpanelCenter               = new System.Windows.Forms.Panel();
            this.mctl_rawdata               = new PNNL.Controls.MS.ctl2DPeaks();
            this.splitter2                  = new System.Windows.Forms.Splitter();
            this.splitter1                  = new System.Windows.Forms.Splitter();
            this.mtlbMain                   = new System.Windows.Forms.ToolBar();
            this.mtlbButtonOpen             = new System.Windows.Forms.ToolBarButton();
            this.mtlbButtonSave             = new System.Windows.Forms.ToolBarButton();
            this.mtlbButtonLinkRaw          = new System.Windows.Forms.ToolBarButton();
            this.mtlnButtonBack             = new System.Windows.Forms.ToolBarButton();
            this.mtlnButtonForward          = new System.Windows.Forms.ToolBarButton();
            this.mtlnButtonOverlay          = new System.Windows.Forms.ToolBarButton();
            this.mtlnButtonLinkZoom         = new System.Windows.Forms.ToolBarButton();
            this.mimageListIcons            = new System.Windows.Forms.ImageList(this.components);
            this.mtlnButtonSelectBackground = new System.Windows.Forms.ToolBarButton();
            ((System.ComponentModel.ISupportInitialize)(this.mexpandPanelBottom)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ctlChartTopPane)).BeginInit();
            this.mpanelCenter.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.mctl_rawdata)).BeginInit();
            this.SuspendLayout();
            //
            // mexpandPanelBottom
            //
            this.mexpandPanelBottom.Dock              = System.Windows.Forms.DockStyle.Bottom;
            this.mexpandPanelBottom.DockPadding.All   = 10;
            this.mexpandPanelBottom.ExpandImage       = ((System.Drawing.Image)(resources.GetObject("mexpandPanelBottom.ExpandImage")));
            this.mexpandPanelBottom.HeaderRightToLeft = System.Windows.Forms.RightToLeft.No;
            this.mexpandPanelBottom.HeaderTextAlign   = System.Drawing.ContentAlignment.TopCenter;
            this.mexpandPanelBottom.Location          = new System.Drawing.Point(0, 558);
            this.mexpandPanelBottom.Name              = "mexpandPanelBottom";
            this.mexpandPanelBottom.Size              = new System.Drawing.Size(1128, 304);
            this.mexpandPanelBottom.TabIndex          = 0;
            //
            // msplitterBottom
            //
            this.msplitterBottom.BackColor = System.Drawing.SystemColors.ControlDarkDark;
            this.msplitterBottom.Dock      = System.Windows.Forms.DockStyle.Bottom;
            this.msplitterBottom.Location  = new System.Drawing.Point(0, 552);
            this.msplitterBottom.Name      = "msplitterBottom";
            this.msplitterBottom.Size      = new System.Drawing.Size(1128, 6);
            this.msplitterBottom.TabIndex  = 1;
            this.msplitterBottom.TabStop   = false;
            //
            // ctlChartTopPane
            //
            this.ctlChartTopPane.AutoViewPortOnAddition       = true;
            this.ctlChartTopPane.AutoViewPortOnSeriesChange   = true;
            this.ctlChartTopPane.AutoViewPortXBase            = 0F;
            this.ctlChartTopPane.AutoViewPortYBase            = 0F;
            this.ctlChartTopPane.AxisAndLabelFont             = new System.Drawing.Font("Microsoft Sans Serif", 12F);
            this.ctlChartTopPane.AxisAndLabelMaxFontSize      = 16;
            this.ctlChartTopPane.AxisAndLabelMinFontSize      = 12;
            this.ctlChartTopPane.ChartBackgroundColor         = System.Drawing.Color.White;
            this.ctlChartTopPane.ChartLayout.LegendFraction   = 0.2F;
            this.ctlChartTopPane.ChartLayout.LegendLocation   = PNNL.Controls.ChartLegendLocation.Right;
            this.ctlChartTopPane.ChartLayout.MaxLegendHeight  = 150;
            this.ctlChartTopPane.ChartLayout.MaxLegendWidth   = 250;
            this.ctlChartTopPane.ChartLayout.MaxTitleHeight   = 50;
            this.ctlChartTopPane.ChartLayout.MinLegendHeight  = 50;
            this.ctlChartTopPane.ChartLayout.MinLegendWidth   = 75;
            this.ctlChartTopPane.ChartLayout.MinTitleHeight   = 15;
            this.ctlChartTopPane.ChartLayout.TitleFraction    = 0.1F;
            this.ctlChartTopPane.DefaultZoomHandler.Active    = true;
            this.ctlChartTopPane.DefaultZoomHandler.FillColor = System.Drawing.Color.FromArgb(((System.Byte)(60)), ((System.Byte)(119)), ((System.Byte)(136)), ((System.Byte)(153)));
            this.ctlChartTopPane.DefaultZoomHandler.LineColor = System.Drawing.Color.Black;
            this.ctlChartTopPane.Dock          = System.Windows.Forms.DockStyle.Right;
            this.ctlChartTopPane.FWHMFont      = new System.Drawing.Font("Times New Roman", 8F);
            this.ctlChartTopPane.FWHMLineWidth = 1F;
            this.ctlChartTopPane.FWHMPeakColor = System.Drawing.Color.Purple;
            penProvider1.Color = System.Drawing.Color.FromArgb(((System.Byte)(211)), ((System.Byte)(211)), ((System.Byte)(211)));
            penProvider1.Width = 1F;
            this.ctlChartTopPane.GridLinePen      = penProvider1;
            this.ctlChartTopPane.HasLegend        = false;
            this.ctlChartTopPane.HilightColor     = System.Drawing.Color.Magenta;
            this.ctlChartTopPane.LabelOffset      = 0F;
            this.ctlChartTopPane.Legend.BackColor = System.Drawing.Color.Transparent;
            penProvider2.Color = System.Drawing.Color.Black;
            penProvider2.Width = 1F;
            this.ctlChartTopPane.Legend.BorderPen              = penProvider2;
            this.ctlChartTopPane.Legend.Bounds                 = new System.Drawing.Rectangle(0, 0, 0, 0);
            this.ctlChartTopPane.Legend.ColumnWidth            = 125;
            this.ctlChartTopPane.Legend.Font                   = new System.Drawing.Font("Microsoft Sans Serif", 12F);
            this.ctlChartTopPane.Legend.MaxFontSize            = 12F;
            this.ctlChartTopPane.Legend.MinFontSize            = 6F;
            this.ctlChartTopPane.LineWidth                     = 1F;
            this.ctlChartTopPane.Location                      = new System.Drawing.Point(848, 0);
            this.ctlChartTopPane.Margins.BottomMarginFraction  = 0.1F;
            this.ctlChartTopPane.Margins.BottomMarginMax       = 72;
            this.ctlChartTopPane.Margins.BottomMarginMin       = 30;
            this.ctlChartTopPane.Margins.DefaultMarginFraction = 0.05F;
            this.ctlChartTopPane.Margins.DefaultMarginMax      = 15;
            this.ctlChartTopPane.Margins.DefaultMarginMin      = 5;
            this.ctlChartTopPane.Margins.LeftMarginFraction    = 0.2F;
            this.ctlChartTopPane.Margins.LeftMarginMax         = 150;
            this.ctlChartTopPane.Margins.LeftMarginMin         = 72;
            this.ctlChartTopPane.MarkerSize                    = 5;
            this.ctlChartTopPane.MinPixelForFWHM               = 5F;
            this.ctlChartTopPane.Name      = "ctlChartTopPane";
            this.ctlChartTopPane.NumFWHM   = 1F;
            this.ctlChartTopPane.NumXBins  = 20;
            this.ctlChartTopPane.PeakColor = System.Drawing.Color.Red;
            this.ctlChartTopPane.PeakLabelRelativeHeightPercent = 5F;
            this.ctlChartTopPane.PeakLineEndCap    = System.Drawing.Drawing2D.LineCap.Flat;
            this.ctlChartTopPane.Size              = new System.Drawing.Size(280, 521);
            this.ctlChartTopPane.TabIndex          = 2;
            this.ctlChartTopPane.Title             = "Elution Profile";
            this.ctlChartTopPane.TitleFont         = new System.Drawing.Font("Microsoft Sans Serif", 18F);
            this.ctlChartTopPane.TitleMaxFontSize  = 18F;
            this.ctlChartTopPane.TitleMinFontSize  = 16F;
            this.ctlChartTopPane.VerticalExpansion = 1F;
            this.ctlChartTopPane.ViewPort          = ((System.Drawing.RectangleF)(resources.GetObject("ctlChartTopPane.ViewPort")));
            this.ctlChartTopPane.XAxisLabel        = "Intensity";
            this.ctlChartTopPane.YAxisLabel        = "scan#";
            //
            // mpanelCenter
            //
            this.mpanelCenter.Controls.Add(this.mctl_rawdata);
            this.mpanelCenter.Controls.Add(this.splitter2);
            this.mpanelCenter.Controls.Add(this.ctlChartTopPane);
            this.mpanelCenter.Controls.Add(this.splitter1);
            this.mpanelCenter.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.mpanelCenter.Location = new System.Drawing.Point(0, 31);
            this.mpanelCenter.Name     = "mpanelCenter";
            this.mpanelCenter.Size     = new System.Drawing.Size(1128, 521);
            this.mpanelCenter.TabIndex = 4;
            //
            // mctl_rawdata
            //
            this.mctl_rawdata.AutoViewPortOnAddition       = true;
            this.mctl_rawdata.AutoViewPortOnSeriesChange   = true;
            this.mctl_rawdata.AutoViewPortXBase            = 0F;
            this.mctl_rawdata.AutoViewPortYBase            = 0F;
            this.mctl_rawdata.AxisAndLabelFont             = new System.Drawing.Font("Microsoft Sans Serif", 12F);
            this.mctl_rawdata.AxisAndLabelMaxFontSize      = 18;
            this.mctl_rawdata.AxisAndLabelMinFontSize      = 12;
            this.mctl_rawdata.ChartBackgroundColor         = System.Drawing.Color.White;
            this.mctl_rawdata.ChartLayout.LegendFraction   = 0.2F;
            this.mctl_rawdata.ChartLayout.LegendLocation   = PNNL.Controls.ChartLegendLocation.Right;
            this.mctl_rawdata.ChartLayout.MaxLegendHeight  = 150;
            this.mctl_rawdata.ChartLayout.MaxLegendWidth   = 250;
            this.mctl_rawdata.ChartLayout.MaxTitleHeight   = 50;
            this.mctl_rawdata.ChartLayout.MinLegendHeight  = 50;
            this.mctl_rawdata.ChartLayout.MinLegendWidth   = 75;
            this.mctl_rawdata.ChartLayout.MinTitleHeight   = 15;
            this.mctl_rawdata.ChartLayout.TitleFraction    = 0.1F;
            this.mctl_rawdata.DefaultZoomHandler.Active    = true;
            this.mctl_rawdata.DefaultZoomHandler.FillColor = System.Drawing.Color.FromArgb(((System.Byte)(60)), ((System.Byte)(119)), ((System.Byte)(136)), ((System.Byte)(153)));
            this.mctl_rawdata.DefaultZoomHandler.LineColor = System.Drawing.Color.Black;
            this.mctl_rawdata.Dock                          = System.Windows.Forms.DockStyle.Fill;
            this.mctl_rawdata.FocusMZ                       = 0.5F;
            this.mctl_rawdata.FocusScan                     = 0;
            penProvider3.Color                              = System.Drawing.Color.FromArgb(((System.Byte)(211)), ((System.Byte)(211)), ((System.Byte)(211)));
            penProvider3.Width                              = 1F;
            this.mctl_rawdata.GridLinePen                   = penProvider3;
            this.mctl_rawdata.HasLegend                     = false;
            this.mctl_rawdata.HilightColor                  = System.Drawing.Color.Magenta;
            this.mctl_rawdata.Legend.BackColor              = System.Drawing.Color.Transparent;
            penProvider4.Color                              = System.Drawing.Color.Black;
            penProvider4.Width                              = 1F;
            this.mctl_rawdata.Legend.BorderPen              = penProvider4;
            this.mctl_rawdata.Legend.Bounds                 = new System.Drawing.Rectangle(0, 0, 0, 0);
            this.mctl_rawdata.Legend.ColumnWidth            = 125;
            this.mctl_rawdata.Legend.Font                   = new System.Drawing.Font("Microsoft Sans Serif", 6F);
            this.mctl_rawdata.Legend.MaxFontSize            = 12F;
            this.mctl_rawdata.Legend.MinFontSize            = 6F;
            this.mctl_rawdata.Location                      = new System.Drawing.Point(3, 0);
            this.mctl_rawdata.Margins.BottomMarginFraction  = 0.1F;
            this.mctl_rawdata.Margins.BottomMarginMax       = 72;
            this.mctl_rawdata.Margins.BottomMarginMin       = 30;
            this.mctl_rawdata.Margins.DefaultMarginFraction = 0.05F;
            this.mctl_rawdata.Margins.DefaultMarginMax      = 15;
            this.mctl_rawdata.Margins.DefaultMarginMin      = 5;
            this.mctl_rawdata.Margins.LeftMarginFraction    = 0.2F;
            this.mctl_rawdata.Margins.LeftMarginMax         = 150;
            this.mctl_rawdata.Margins.LeftMarginMin         = 72;
            this.mctl_rawdata.MZHorizontal                  = false;
            this.mctl_rawdata.Name                          = "mctl_rawdata";
            this.mctl_rawdata.Size                          = new System.Drawing.Size(839, 521);
            this.mctl_rawdata.TabIndex                      = 0;
            this.mctl_rawdata.Title                         = "Survey Profile";
            this.mctl_rawdata.TitleFont                     = new System.Drawing.Font("Microsoft Sans Serif", 18F);
            this.mctl_rawdata.TitleMaxFontSize              = 18F;
            this.mctl_rawdata.TitleMinFontSize              = 16F;
            this.mctl_rawdata.VerticalExpansion             = 1F;
            this.mctl_rawdata.ViewPort                      = ((System.Drawing.RectangleF)(resources.GetObject("mctl_rawdata.ViewPort")));
            this.mctl_rawdata.XAxisLabel                    = "m/z";
            this.mctl_rawdata.YAxisLabel                    = "scan #";
            //
            // splitter2
            //
            this.splitter2.BackColor = System.Drawing.SystemColors.ControlDarkDark;
            this.splitter2.Dock      = System.Windows.Forms.DockStyle.Right;
            this.splitter2.Location  = new System.Drawing.Point(842, 0);
            this.splitter2.Name      = "splitter2";
            this.splitter2.Size      = new System.Drawing.Size(6, 521);
            this.splitter2.TabIndex  = 4;
            this.splitter2.TabStop   = false;
            //
            // splitter1
            //
            this.splitter1.Location = new System.Drawing.Point(0, 0);
            this.splitter1.Name     = "splitter1";
            this.splitter1.Size     = new System.Drawing.Size(3, 521);
            this.splitter1.TabIndex = 3;
            this.splitter1.TabStop  = false;
            //
            // mtlbMain
            //
            this.mtlbMain.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.mtlbMain.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
                this.mtlbButtonOpen,
                this.mtlbButtonSave,
                this.mtlbButtonLinkRaw,
                this.mtlnButtonBack,
                this.mtlnButtonForward,
                this.mtlnButtonOverlay,
                this.mtlnButtonLinkZoom,
                this.mtlnButtonSelectBackground
            });
            this.mtlbMain.ButtonSize     = new System.Drawing.Size(24, 24);
            this.mtlbMain.DropDownArrows = true;
            this.mtlbMain.ImageList      = this.mimageListIcons;
            this.mtlbMain.Location       = new System.Drawing.Point(0, 0);
            this.mtlbMain.Name           = "mtlbMain";
            this.mtlbMain.ShowToolTips   = true;
            this.mtlbMain.Size           = new System.Drawing.Size(1128, 31);
            this.mtlbMain.TabIndex       = 5;
            this.mtlbMain.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.mtlbMain_ButtonClick);
            //
            // mtlbButtonOpen
            //
            this.mtlbButtonOpen.ImageIndex = 1;
            //
            // mtlbButtonSave
            //
            this.mtlbButtonSave.ImageIndex = 2;
            //
            // mtlbButtonLinkRaw
            //
            this.mtlbButtonLinkRaw.ImageIndex = 4;
            //
            // mtlnButtonBack
            //
            this.mtlnButtonBack.ImageIndex = 5;
            //
            // mtlnButtonForward
            //
            this.mtlnButtonForward.ImageIndex = 6;
            //
            // mtlnButtonOverlay
            //
            this.mtlnButtonOverlay.ImageIndex = 7;
            //
            // mtlnButtonLinkZoom
            //
            this.mtlnButtonLinkZoom.ImageIndex  = 9;
            this.mtlnButtonLinkZoom.Text        = "Linked Zoom";
            this.mtlnButtonLinkZoom.ToolTipText = "Linked Zoom";
            //
            // mimageListIcons
            //
            this.mimageListIcons.ColorDepth       = System.Windows.Forms.ColorDepth.Depth24Bit;
            this.mimageListIcons.ImageSize        = new System.Drawing.Size(16, 16);
            this.mimageListIcons.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("mimageListIcons.ImageStream")));
            this.mimageListIcons.TransparentColor = System.Drawing.Color.Transparent;
            //
            // mtlnButtonSelectBackground
            //
            this.mtlnButtonSelectBackground.ImageIndex = 10;
            //
            // frm2DPeakProcessing
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize        = new System.Drawing.Size(1128, 862);
            this.Controls.Add(this.mpanelCenter);
            this.Controls.Add(this.mtlbMain);
            this.Controls.Add(this.msplitterBottom);
            this.Controls.Add(this.mexpandPanelBottom);
            this.Name = "frm2DPeakProcessing";
            this.Text = "frm2DPeakProcessing";
            ((System.ComponentModel.ISupportInitialize)(this.mexpandPanelBottom)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ctlChartTopPane)).EndInit();
            this.mpanelCenter.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.mctl_rawdata)).EndInit();
            this.ResumeLayout(false);
        }
コード例 #24
0
ファイル: main.cs プロジェクト: poohpaintii/book-source-codes
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(DesignedToolbarForm));
     this.tbDefault      = new System.Windows.Forms.ToolBar();
     this.tbbNew         = new System.Windows.Forms.ToolBarButton();
     this.tbbOpen        = new System.Windows.Forms.ToolBarButton();
     this.tbbSave        = new System.Windows.Forms.ToolBarButton();
     this.tbbSeparator   = new System.Windows.Forms.ToolBarButton();
     this.tbbCut         = new System.Windows.Forms.ToolBarButton();
     this.tbbCopy        = new System.Windows.Forms.ToolBarButton();
     this.tbbPaste       = new System.Windows.Forms.ToolBarButton();
     this.tbbHelp        = new System.Windows.Forms.ToolBarButton();
     this.imgListToolbar = new System.Windows.Forms.ImageList(this.components);
     this.mnuDemo        = new System.Windows.Forms.MainMenu();
     this.menuItem1      = new System.Windows.Forms.MenuItem();
     this.SuspendLayout();
     //
     // tbDefault
     //
     this.tbDefault.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.tbbNew,
         this.tbbOpen,
         this.tbbSave,
         this.tbbSeparator,
         this.tbbCut,
         this.tbbCopy,
         this.tbbPaste,
         this.tbbHelp
     });
     this.tbDefault.DropDownArrows = true;
     this.tbDefault.ImageList      = this.imgListToolbar;
     this.tbDefault.Name           = "tbDefault";
     this.tbDefault.ShowToolTips   = true;
     this.tbDefault.Size           = new System.Drawing.Size(360, 39);
     this.tbDefault.TabIndex       = 0;
     this.tbDefault.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.OnButtonClick);
     //
     // tbbNew
     //
     this.tbbNew.ImageIndex  = 0;
     this.tbbNew.Text        = "New";
     this.tbbNew.ToolTipText = "Create a new file";
     //
     // tbbOpen
     //
     this.tbbOpen.ImageIndex  = 1;
     this.tbbOpen.Text        = "Open";
     this.tbbOpen.ToolTipText = "Open an existing file";
     //
     // tbbSave
     //
     this.tbbSave.ImageIndex  = 2;
     this.tbbSave.Text        = "Save";
     this.tbbSave.ToolTipText = "Save active document";
     //
     // tbbSeparator
     //
     this.tbbSeparator.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // tbbCut
     //
     this.tbbCut.ImageIndex  = 3;
     this.tbbCut.Text        = "Cut";
     this.tbbCut.ToolTipText = "Cut selection";
     //
     // tbbCopy
     //
     this.tbbCopy.ImageIndex  = 4;
     this.tbbCopy.Text        = "Copy";
     this.tbbCopy.ToolTipText = "Copy selection";
     //
     // tbbPaste
     //
     this.tbbPaste.ImageIndex  = 5;
     this.tbbPaste.Text        = "Paste";
     this.tbbPaste.ToolTipText = "Paste from clipboard";
     //
     // tbbHelp
     //
     this.tbbHelp.ImageIndex  = 6;
     this.tbbHelp.Text        = "Help";
     this.tbbHelp.ToolTipText = "Help";
     //
     // imgListToolbar
     //
     this.imgListToolbar.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.imgListToolbar.ImageSize        = new System.Drawing.Size(16, 16);
     this.imgListToolbar.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imgListToolbar.ImageStream")));
     this.imgListToolbar.TransparentColor = System.Drawing.Color.Transparent;
     //
     // mnuDemo
     //
     this.mnuDemo.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1
     });
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.Text  = "File";
     //
     // DesignedToolbarForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(360, 273);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.tbDefault
     });
     this.Menu = this.mnuDemo;
     this.Name = "DesignedToolbarForm";
     this.Text = "Designed Toolbar";
     this.ResumeLayout(false);
 }
コード例 #25
0
 /// <summary>
 /// Método necesario para admitir el Diseñador. No se puede modificar
 /// el contenido del método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(FrmComprobantesDeCompraSelectN));
     this.ultraExplorerBarContainerControl1 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarContainerControl();
     this.gridEX1           = new Janus.Windows.GridEX.GridEX();
     this.ultraExplorerBar1 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar();
     this.imglStandar       = new System.Windows.Forms.ImageList(this.components);
     this.toolBarStandar    = new System.Windows.Forms.ToolBar();
     this.toolBarButton1    = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton2    = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton3    = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton4    = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton5    = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton6    = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton7    = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton8    = new System.Windows.Forms.ToolBarButton();
     this.tbStep3           = new System.Windows.Forms.ToolBarButton();
     this.tbDelete          = new System.Windows.Forms.ToolBarButton();
     this.ultraExplorerBarContainerControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridEX1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ultraExplorerBar1)).BeginInit();
     this.ultraExplorerBar1.SuspendLayout();
     this.SuspendLayout();
     //
     // ultraExplorerBarContainerControl1
     //
     this.ultraExplorerBarContainerControl1.Controls.Add(this.gridEX1);
     this.ultraExplorerBarContainerControl1.Location = new System.Drawing.Point(28, 49);
     this.ultraExplorerBarContainerControl1.Name     = "ultraExplorerBarContainerControl1";
     this.ultraExplorerBarContainerControl1.Size     = new System.Drawing.Size(839, 295);
     this.ultraExplorerBarContainerControl1.TabIndex = 0;
     //
     // gridEX1
     //
     this.gridEX1.AllowDrop = true;
     this.gridEX1.AutoEdit  = true;
     this.gridEX1.Cursor    = System.Windows.Forms.Cursors.Default;
     this.gridEX1.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.gridEX1.EditorsControlStyle.ButtonAppearance = Janus.Windows.GridEX.ButtonAppearance.Regular;
     this.gridEX1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.gridEX1.GroupByBoxVisible  = false;
     this.gridEX1.InvalidValueAction = Janus.Windows.GridEX.InvalidValueAction.DiscardChanges;
     this.gridEX1.LayoutData         = "<GridEXLayoutData><RootTable><Columns Collection=\"true\"><Column0 ID=\"Column1\"><Fo" +
                                       "rmatString>c</FormatString><Key>Column1</Key><Position>0</Position><Width>81</Wi" +
                                       "dth></Column0></Columns><GroupCondition ID=\"\" /></RootTable></GridEXLayoutData>";
     this.gridEX1.Location      = new System.Drawing.Point(0, 0);
     this.gridEX1.Name          = "gridEX1";
     this.gridEX1.SelectionMode = Janus.Windows.GridEX.SelectionMode.MultipleSelection;
     this.gridEX1.Size          = new System.Drawing.Size(839, 295);
     this.gridEX1.TabIndex      = 13;
     //
     // ultraExplorerBar1
     //
     this.ultraExplorerBar1.Controls.Add(this.ultraExplorerBarContainerControl1);
     this.ultraExplorerBar1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.ultraExplorerBar1.Location = new System.Drawing.Point(0, 0);
     this.ultraExplorerBar1.Name     = "ultraExplorerBar1";
     this.ultraExplorerBar1.Size     = new System.Drawing.Size(888, 413);
     this.ultraExplorerBar1.TabIndex = 18;
     //
     // imglStandar
     //
     this.imglStandar.ImageSize        = new System.Drawing.Size(16, 16);
     this.imglStandar.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imglStandar.ImageStream")));
     this.imglStandar.TransparentColor = System.Drawing.Color.Magenta;
     //
     // toolBarStandar
     //
     this.toolBarStandar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.toolBarStandar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.toolBarButton1,
         this.toolBarButton2,
         this.toolBarButton3,
         this.toolBarButton4,
         this.toolBarButton5,
         this.toolBarButton6,
         this.toolBarButton7,
         this.toolBarButton8,
         this.tbStep3,
         this.tbDelete
     });
     this.toolBarStandar.DropDownArrows = true;
     this.toolBarStandar.ImageList      = this.imglStandar;
     this.toolBarStandar.Location       = new System.Drawing.Point(0, 0);
     this.toolBarStandar.Name           = "toolBarStandar";
     this.toolBarStandar.ShowToolTips   = true;
     this.toolBarStandar.Size           = new System.Drawing.Size(888, 28);
     this.toolBarStandar.TabIndex       = 19;
     this.toolBarStandar.TextAlign      = System.Windows.Forms.ToolBarTextAlign.Right;
     this.toolBarStandar.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBarStandar_ButtonClick);
     //
     // toolBarButton1
     //
     this.toolBarButton1.ImageIndex = 0;
     //
     // toolBarButton2
     //
     this.toolBarButton2.ImageIndex = 1;
     //
     // toolBarButton3
     //
     this.toolBarButton3.ImageIndex = 2;
     //
     // toolBarButton4
     //
     this.toolBarButton4.ImageIndex = 3;
     //
     // toolBarButton5
     //
     this.toolBarButton5.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton6
     //
     this.toolBarButton6.ImageIndex = 5;
     //
     // toolBarButton7
     //
     this.toolBarButton7.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton8
     //
     this.toolBarButton8.ImageIndex = 8;
     this.toolBarButton8.Text       = "Continuar";
     //
     // tbStep3
     //
     this.tbStep3.Style   = System.Windows.Forms.ToolBarButtonStyle.Separator;
     this.tbStep3.Visible = false;
     //
     // tbDelete
     //
     this.tbDelete.ImageIndex = 7;
     this.tbDelete.Text       = "Borrar";
     this.tbDelete.Visible    = false;
     //
     // FrmComprobantesDeComppraSelectN
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(888, 413);
     this.Controls.Add(this.toolBarStandar);
     this.Controls.Add(this.ultraExplorerBar1);
     this.KeyPreview = true;
     this.Name       = "FrmComprobantesDeComppraSelectN";
     this.Text       = "Selección de items de comprobantes";
     this.KeyDown   += new System.Windows.Forms.KeyEventHandler(this.FrmComprobantesSelectN_KeyDown);
     this.ultraExplorerBarContainerControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridEX1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ultraExplorerBar1)).EndInit();
     this.ultraExplorerBar1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #26
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();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmFolios));
     this.imgList      = new System.Windows.Forms.ImageList(this.components);
     this.tbNotas      = new System.Windows.Forms.ToolBar();
     this.tbCaptura    = new System.Windows.Forms.ToolBarButton();
     this.tbCerrar     = new System.Windows.Forms.ToolBarButton();
     this.dtpFecha     = new System.Windows.Forms.DateTimePicker();
     this.label4       = new System.Windows.Forms.Label();
     this.label1       = new System.Windows.Forms.Label();
     this.cboCelula    = new System.Windows.Forms.ComboBox();
     this.btnConsultar = new System.Windows.Forms.Button();
     this.lblFolios    = new System.Windows.Forms.Label();
     this.vwgFolios    = new CustGrd.vwGrd();
     this.SuspendLayout();
     //
     // imgList
     //
     this.imgList.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.imgList.ImageSize        = new System.Drawing.Size(16, 16);
     this.imgList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imgList.ImageStream")));
     this.imgList.TransparentColor = System.Drawing.Color.Transparent;
     //
     // tbNotas
     //
     this.tbNotas.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.tbNotas.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.tbCaptura,
         this.tbCerrar
     });
     this.tbNotas.DropDownArrows = true;
     this.tbNotas.ImageList      = this.imgList;
     this.tbNotas.Name           = "tbNotas";
     this.tbNotas.ShowToolTips   = true;
     this.tbNotas.Size           = new System.Drawing.Size(768, 39);
     this.tbNotas.TabIndex       = 1;
     this.tbNotas.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.tbNotas_ButtonClick);
     //
     // tbCaptura
     //
     this.tbCaptura.ImageIndex = 3;
     this.tbCaptura.Tag        = "Captura";
     this.tbCaptura.Text       = "Captura";
     //
     // tbCerrar
     //
     this.tbCerrar.ImageIndex = 5;
     this.tbCerrar.Tag        = "Cerrar";
     this.tbCerrar.Text       = "&Cerrar";
     //
     // dtpFecha
     //
     this.dtpFecha.Anchor   = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right);
     this.dtpFecha.Format   = System.Windows.Forms.DateTimePickerFormat.Short;
     this.dtpFecha.Location = new System.Drawing.Point(480, 8);
     this.dtpFecha.Name     = "dtpFecha";
     this.dtpFecha.Size     = new System.Drawing.Size(90, 20);
     this.dtpFecha.TabIndex = 10;
     //
     // label4
     //
     this.label4.Anchor   = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right);
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(440, 12);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(39, 13);
     this.label4.TabIndex = 11;
     this.label4.Text     = "Fecha:";
     //
     // label1
     //
     this.label1.Anchor   = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right);
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(576, 12);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(40, 13);
     this.label1.TabIndex = 12;
     this.label1.Text     = "Célula:";
     //
     // cboCelula
     //
     this.cboCelula.Anchor        = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right);
     this.cboCelula.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboCelula.Location      = new System.Drawing.Point(616, 8);
     this.cboCelula.Name          = "cboCelula";
     this.cboCelula.Size          = new System.Drawing.Size(90, 21);
     this.cboCelula.TabIndex      = 13;
     //
     // btnConsultar
     //
     this.btnConsultar.Anchor    = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right);
     this.btnConsultar.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.btnConsultar.Image     = ((System.Drawing.Bitmap)(resources.GetObject("btnConsultar.Image")));
     this.btnConsultar.Location  = new System.Drawing.Point(720, 8);
     this.btnConsultar.Name      = "btnConsultar";
     this.btnConsultar.Size      = new System.Drawing.Size(24, 24);
     this.btnConsultar.TabIndex  = 14;
     this.btnConsultar.Click    += new System.EventHandler(this.btnConsultar_Click);
     //
     // lblFolios
     //
     this.lblFolios.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                              | System.Windows.Forms.AnchorStyles.Right);
     this.lblFolios.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.lblFolios.Font        = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lblFolios.Location    = new System.Drawing.Point(0, 40);
     this.lblFolios.Name        = "lblFolios";
     this.lblFolios.Size        = new System.Drawing.Size(768, 23);
     this.lblFolios.TabIndex    = 15;
     this.lblFolios.Text        = "Folios";
     this.lblFolios.TextAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // vwgFolios
     //
     this.vwgFolios.Anchor = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                               | System.Windows.Forms.AnchorStyles.Left)
                              | System.Windows.Forms.AnchorStyles.Right);
     this.vwgFolios.ColumnMargin  = 1;
     this.vwgFolios.FullRowSelect = true;
     this.vwgFolios.HideSelection = false;
     this.vwgFolios.Location      = new System.Drawing.Point(0, 64);
     this.vwgFolios.MultiSelect   = false;
     this.vwgFolios.Name          = "vwgFolios";
     this.vwgFolios.Size          = new System.Drawing.Size(760, 392);
     this.vwgFolios.TabIndex      = 16;
     this.vwgFolios.View          = System.Windows.Forms.View.Details;
     //
     // frmFolios
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(768, 462);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.vwgFolios,
         this.lblFolios,
         this.btnConsultar,
         this.cboCelula,
         this.label1,
         this.label4,
         this.dtpFecha,
         this.tbNotas
     });
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox   = false;
     this.MinimizeBox   = false;
     this.Name          = "frmFolios";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Folios";
     this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
     this.Load         += new System.EventHandler(this.frmFolios_Load);
     this.ResumeLayout(false);
 }
コード例 #27
0
ファイル: frmDayPlan.cs プロジェクト: iamwsx05/HIS
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.m_Menu         = new System.Windows.Forms.ContextMenu();
     this.m_muToDay      = new System.Windows.Forms.MenuItem();
     this.m_muDay        = new System.Windows.Forms.MenuItem();
     this.mu_M           = new System.Windows.Forms.ContextMenu();
     this.mu_Add         = new System.Windows.Forms.MenuItem();
     this.mu_Edit        = new System.Windows.Forms.MenuItem();
     this.mu_Del         = new System.Windows.Forms.MenuItem();
     this.panel3         = new System.Windows.Forms.Panel();
     this.label2         = new System.Windows.Forms.Label();
     this.m_tb           = new System.Windows.Forms.ToolBar();
     this.Add            = new System.Windows.Forms.ToolBarButton();
     this.Edit           = new System.Windows.Forms.ToolBarButton();
     this.Del            = new System.Windows.Forms.ToolBarButton();
     this.Find           = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton1 = new System.Windows.Forms.ToolBarButton();
     this.reNew          = new System.Windows.Forms.ToolBarButton();
     this.Re             = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton2 = new System.Windows.Forms.ToolBarButton();
     this.Esc            = new System.Windows.Forms.ToolBarButton();
     this.m_TV           = new System.Windows.Forms.TreeView();
     this.splitter1      = new System.Windows.Forms.Splitter();
     this.panel1         = new System.Windows.Forms.Panel();
     this.m_lvwPlan      = new System.Windows.Forms.ListView();
     this.col9           = new System.Windows.Forms.ColumnHeader();
     this.col1           = new System.Windows.Forms.ColumnHeader();
     this.col2           = new System.Windows.Forms.ColumnHeader();
     this.col3           = new System.Windows.Forms.ColumnHeader();
     this.col4           = new System.Windows.Forms.ColumnHeader();
     this.col5           = new System.Windows.Forms.ColumnHeader();
     this.col6           = new System.Windows.Forms.ColumnHeader();
     this.col7           = new System.Windows.Forms.ColumnHeader();
     this.col8           = new System.Windows.Forms.ColumnHeader();
     this.panel2         = new System.Windows.Forms.Panel();
     this.label1         = new System.Windows.Forms.Label();
     this.m_DTP          = new System.Windows.Forms.DateTimePicker();
     this.panel3.SuspendLayout();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // m_Menu
     //
     this.m_Menu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.m_muToDay,
         this.m_muDay
     });
     //
     // m_muToDay
     //
     this.m_muToDay.Index  = 0;
     this.m_muToDay.Text   = "当天";
     this.m_muToDay.Click += new System.EventHandler(this.m_muToDay_Click);
     //
     // m_muDay
     //
     this.m_muDay.Index  = 1;
     this.m_muDay.Text   = "指定日期";
     this.m_muDay.Click += new System.EventHandler(this.m_muDay_Click);
     //
     // mu_M
     //
     this.mu_M.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mu_Add,
         this.mu_Edit,
         this.mu_Del
     });
     //
     // mu_Add
     //
     this.mu_Add.Index  = 0;
     this.mu_Add.Text   = "新增";
     this.mu_Add.Click += new System.EventHandler(this.mu_Add_Click);
     //
     // mu_Edit
     //
     this.mu_Edit.Index  = 1;
     this.mu_Edit.Text   = "修改";
     this.mu_Edit.Click += new System.EventHandler(this.mu_Edit_Click);
     //
     // mu_Del
     //
     this.mu_Del.Index  = 2;
     this.mu_Del.Text   = "删除";
     this.mu_Del.Click += new System.EventHandler(this.mu_Del_Click);
     //
     // panel3
     //
     this.panel3.Controls.Add(this.label2);
     this.panel3.Controls.Add(this.m_tb);
     this.panel3.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel3.Location = new System.Drawing.Point(0, 0);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(912, 48);
     this.panel3.TabIndex = 15;
     //
     // label2
     //
     this.label2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.label2.Dock        = System.Windows.Forms.DockStyle.Bottom;
     this.label2.Location    = new System.Drawing.Point(0, 46);
     this.label2.Name        = "label2";
     this.label2.Size        = new System.Drawing.Size(912, 2);
     this.label2.TabIndex    = 13;
     this.label2.Text        = "label2";
     //
     // m_tb
     //
     this.m_tb.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.m_tb.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.Add,
         this.Edit,
         this.Del,
         this.Find,
         this.toolBarButton1,
         this.reNew,
         this.Re,
         this.toolBarButton2,
         this.Esc
     });
     this.m_tb.DropDownArrows = true;
     this.m_tb.Location       = new System.Drawing.Point(0, 0);
     this.m_tb.Name           = "m_tb";
     this.m_tb.ShowToolTips   = true;
     this.m_tb.Size           = new System.Drawing.Size(912, 43);
     this.m_tb.TabIndex       = 12;
     this.m_tb.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.m_tb_ButtonClick);
     //
     // Add
     //
     this.Add.DropDownMenu = this.m_Menu;
     this.Add.Tag          = "";
     this.Add.Text         = " 新增";
     this.Add.ToolTipText  = "新增";
     //
     // Edit
     //
     this.Edit.Text        = "编辑";
     this.Edit.ToolTipText = "编辑";
     //
     // Del
     //
     this.Del.Tag         = "";
     this.Del.Text        = "删除";
     this.Del.ToolTipText = "删除";
     //
     // Find
     //
     this.Find.Text        = "查找";
     this.Find.ToolTipText = "查找";
     this.Find.Visible     = false;
     //
     // toolBarButton1
     //
     this.toolBarButton1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // reNew
     //
     this.reNew.Text        = "刷新";
     this.reNew.ToolTipText = "刷新";
     //
     // Re
     //
     this.Re.DropDownMenu = this.m_Menu;
     this.Re.Style        = System.Windows.Forms.ToolBarButtonStyle.DropDownButton;
     this.Re.Text         = "导入";
     this.Re.ToolTipText  = "导入周计划";
     //
     // toolBarButton2
     //
     this.toolBarButton2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // Esc
     //
     this.Esc.Text        = " 关闭 ";
     this.Esc.ToolTipText = "关闭";
     //
     // m_TV
     //
     this.m_TV.Dock               = System.Windows.Forms.DockStyle.Left;
     this.m_TV.ForeColor          = System.Drawing.SystemColors.WindowText;
     this.m_TV.HideSelection      = false;
     this.m_TV.HotTracking        = true;
     this.m_TV.ImageIndex         = -1;
     this.m_TV.Location           = new System.Drawing.Point(0, 48);
     this.m_TV.Name               = "m_TV";
     this.m_TV.SelectedImageIndex = -1;
     this.m_TV.Size               = new System.Drawing.Size(184, 501);
     this.m_TV.TabIndex           = 17;
     this.m_TV.AfterSelect       += new System.Windows.Forms.TreeViewEventHandler(this.m_TV_AfterSelect);
     //
     // splitter1
     //
     this.splitter1.Location = new System.Drawing.Point(184, 48);
     this.splitter1.Name     = "splitter1";
     this.splitter1.Size     = new System.Drawing.Size(3, 501);
     this.splitter1.TabIndex = 18;
     this.splitter1.TabStop  = false;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.m_lvwPlan);
     this.panel1.Controls.Add(this.panel2);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(187, 48);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(725, 501);
     this.panel1.TabIndex = 19;
     //
     // m_lvwPlan
     //
     this.m_lvwPlan.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.col9,
         this.col1,
         this.col2,
         this.col3,
         this.col4,
         this.col5,
         this.col6,
         this.col7,
         this.col8
     });
     this.m_lvwPlan.ContextMenu   = this.mu_M;
     this.m_lvwPlan.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.m_lvwPlan.Font          = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.m_lvwPlan.FullRowSelect = true;
     this.m_lvwPlan.GridLines     = true;
     this.m_lvwPlan.Location      = new System.Drawing.Point(0, 32);
     this.m_lvwPlan.MultiSelect   = false;
     this.m_lvwPlan.Name          = "m_lvwPlan";
     this.m_lvwPlan.Size          = new System.Drawing.Size(725, 469);
     this.m_lvwPlan.TabIndex      = 19;
     this.m_lvwPlan.View          = System.Windows.Forms.View.Details;
     this.m_lvwPlan.MouseDown    += new System.Windows.Forms.MouseEventHandler(this.m_lvwPlan_MouseDown);
     this.m_lvwPlan.DoubleClick  += new System.EventHandler(this.m_lvwPlan_DoubleClick);
     this.m_lvwPlan.ColumnClick  += new System.Windows.Forms.ColumnClickEventHandler(this.m_lvwPlan_ColumnClick);
     //
     // col9
     //
     this.col9.Text  = "门诊科室";
     this.col9.Width = 110;
     //
     // col1
     //
     this.col1.Text  = "医生编号";
     this.col1.Width = 100;
     //
     // col2
     //
     this.col2.Text      = "姓名";
     this.col2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.col2.Width     = 100;
     //
     // col3
     //
     this.col3.Text  = "门诊类型";
     this.col3.Width = 88;
     //
     // col4
     //
     this.col4.Text      = "坐诊时间段";
     this.col4.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.col4.Width     = 100;
     //
     // col5
     //
     this.col5.Text      = "开始时间";
     this.col5.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.col5.Width     = 100;
     //
     // col6
     //
     this.col6.Text      = "结束时间";
     this.col6.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.col6.Width     = 100;
     //
     // col7
     //
     this.col7.Text = "诊间";
     //
     // col8
     //
     this.col8.Text = "限号";
     //
     // panel2
     //
     this.panel2.Controls.Add(this.label1);
     this.panel2.Controls.Add(this.m_DTP);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel2.Location = new System.Drawing.Point(0, 0);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(725, 32);
     this.panel2.TabIndex = 0;
     this.panel2.Paint   += new System.Windows.Forms.PaintEventHandler(this.panel2_Paint);
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(8, 8);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(64, 21);
     this.label1.TabIndex  = 1;
     this.label1.Text      = "排班日期";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // m_DTP
     //
     this.m_DTP.Location      = new System.Drawing.Point(80, 8);
     this.m_DTP.Name          = "m_DTP";
     this.m_DTP.Size          = new System.Drawing.Size(120, 23);
     this.m_DTP.TabIndex      = 0;
     this.m_DTP.KeyPress     += new System.Windows.Forms.KeyPressEventHandler(this.m_DTP_KeyPress);
     this.m_DTP.ValueChanged += new System.EventHandler(this.m_DTP_ValueChanged);
     //
     // frmDayPlan
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(7, 16);
     this.ClientSize        = new System.Drawing.Size(912, 549);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.splitter1);
     this.Controls.Add(this.m_TV);
     this.Controls.Add(this.panel3);
     this.Font          = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
     this.KeyPreview    = true;
     this.Name          = "frmDayPlan";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "门诊日排班计划";
     this.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.frmDayPlan_KeyDown);
     this.Load         += new System.EventHandler(this.frmDayPlan_Load);
     this.panel3.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     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();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
     this.mainMenu1          = new System.Windows.Forms.MainMenu();
     this.menuItem1          = new System.Windows.Forms.MenuItem();
     this.mnuItmLoad         = new System.Windows.Forms.MenuItem();
     this.mnuItmPrint        = new System.Windows.Forms.MenuItem();
     this.mnuItmPrintPreview = new System.Windows.Forms.MenuItem();
     this.menuItem3          = new System.Windows.Forms.MenuItem();
     this.menuItem4          = new System.Windows.Forms.MenuItem();
     this.menuItem5          = new System.Windows.Forms.MenuItem();
     this.menuItem6          = new System.Windows.Forms.MenuItem();
     this.openFileDialog1    = new System.Windows.Forms.OpenFileDialog();
     this.toolBar1           = new System.Windows.Forms.ToolBar();
     this._btnPrevPage       = new System.Windows.Forms.ToolBarButton();
     this._btnNextPage       = new System.Windows.Forms.ToolBarButton();
     this.imageList1         = new System.Windows.Forms.ImageList(this.components);
     this.miFormsComponent1  = new MiCo.MiForms.MiFormsComponent();
     this.SuspendLayout();
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1,
         this.menuItem3
     });
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuItmLoad,
         this.mnuItmPrint,
         this.mnuItmPrintPreview
     });
     this.menuItem1.Text = "&File";
     //
     // mnuItmLoad
     //
     this.mnuItmLoad.Index  = 0;
     this.mnuItmLoad.Text   = "&Load Form";
     this.mnuItmLoad.Click += new System.EventHandler(this.mnuItmLoad_Click);
     //
     // mnuItmPrint
     //
     this.mnuItmPrint.Enabled  = false;
     this.mnuItmPrint.Index    = 1;
     this.mnuItmPrint.Shortcut = System.Windows.Forms.Shortcut.CtrlP;
     this.mnuItmPrint.Text     = "Print";
     this.mnuItmPrint.Click   += new System.EventHandler(this.mnuItmPrint_Click);
     //
     // mnuItmPrintPreview
     //
     this.mnuItmPrintPreview.Enabled = false;
     this.mnuItmPrintPreview.Index   = 2;
     this.mnuItmPrintPreview.Text    = "Print Preview";
     this.mnuItmPrintPreview.Click  += new System.EventHandler(this.mnuItmPrintPreview_Click);
     //
     // menuItem3
     //
     this.menuItem3.Index = 1;
     this.menuItem3.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem4,
         this.menuItem5,
         this.menuItem6
     });
     this.menuItem3.Text   = "&Input";
     this.menuItem3.Popup += new System.EventHandler(this.menuItem3_Popup);
     //
     // menuItem4
     //
     this.menuItem4.Index      = 0;
     this.menuItem4.RadioCheck = true;
     this.menuItem4.Text       = "&Pen";
     this.menuItem4.Click     += new System.EventHandler(this.menuItem4_Click);
     //
     // menuItem5
     //
     this.menuItem5.Index      = 1;
     this.menuItem5.RadioCheck = true;
     this.menuItem5.Text       = "&Eraser";
     this.menuItem5.Click     += new System.EventHandler(this.menuItem5_Click);
     //
     // menuItem6
     //
     this.menuItem6.Index      = 2;
     this.menuItem6.RadioCheck = true;
     this.menuItem6.Text       = "&Keyboard";
     this.menuItem6.Click     += new System.EventHandler(this.menuItem6_Click);
     //
     // toolBar1
     //
     this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this._btnPrevPage,
         this._btnNextPage
     });
     this.toolBar1.DropDownArrows = true;
     this.toolBar1.ImageList      = this.imageList1;
     this.toolBar1.Location       = new System.Drawing.Point(0, 0);
     this.toolBar1.Name           = "toolBar1";
     this.toolBar1.ShowToolTips   = true;
     this.toolBar1.Size           = new System.Drawing.Size(680, 28);
     this.toolBar1.TabIndex       = 1;
     this.toolBar1.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick);
     //
     // _btnPrevPage
     //
     this._btnPrevPage.Enabled    = false;
     this._btnPrevPage.ImageIndex = 0;
     //
     // _btnNextPage
     //
     this._btnNextPage.Enabled    = false;
     this._btnNextPage.ImageIndex = 1;
     //
     // imageList1
     //
     this.imageList1.ColorDepth       = System.Windows.Forms.ColorDepth.Depth32Bit;
     this.imageList1.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     //
     // miFormsComponent1
     //
     this.miFormsComponent1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.miFormsComponent1.Location = new System.Drawing.Point(0, 28);
     this.miFormsComponent1.Name     = "miFormsComponent1";
     this.miFormsComponent1.Size     = new System.Drawing.Size(680, 538);
     this.miFormsComponent1.TabIndex = 0;
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(680, 566);
     this.Controls.Add(this.miFormsComponent1);
     this.Controls.Add(this.toolBar1);
     this.Menu  = this.mainMenu1;
     this.Name  = "Form1";
     this.Text  = "Form1";
     this.Load += new System.EventHandler(this.Form1_Load);
     this.ResumeLayout(false);
 }
コード例 #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.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(MainForm));
     this.mainMenu = new System.Windows.Forms.MainMenu();
     this.menuItem3 = new System.Windows.Forms.MenuItem();
     this.menuItem4 = new System.Windows.Forms.MenuItem();
     this.menuItem6 = new System.Windows.Forms.MenuItem();
     this.menuItem2 = new System.Windows.Forms.MenuItem();
     this.menuItem5 = new System.Windows.Forms.MenuItem();
     this.depthFirstSearchAlgorithmItem = new System.Windows.Forms.MenuItem();
     this.edgeDepthFirstSearchItem = new System.Windows.Forms.MenuItem();
     this.breadthFirstSearchItem = new System.Windows.Forms.MenuItem();
     this.menuItem1 = new System.Windows.Forms.MenuItem();
     this.menuItem7 = new System.Windows.Forms.MenuItem();
     this.menuItem8 = new System.Windows.Forms.MenuItem();
     this.statusBar = new System.Windows.Forms.StatusBar();
     this.messageBarPanel = new System.Windows.Forms.StatusBarPanel();
     this.errorBarPanel = new System.Windows.Forms.StatusBarPanel();
     this.toolBar = new System.Windows.Forms.ToolBar();
     this.imageList1 = new System.Windows.Forms.ImageList(this.components);
     this.dockingManagerExtender1 = new DockingManagerExtender.DockingManagerExtender(this.components);
     this.netronPanel = new QuickGraph.Layout.Forms.QuickNetronPanel(this.components);
     this.netronOverview1 = new Netron.UI.NetronOverview();
     ((System.ComponentModel.ISupportInitialize)(this.messageBarPanel)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.errorBarPanel)).BeginInit();
     this.netronPanel.SuspendLayout();
     this.SuspendLayout();
     //
     // mainMenu
     //
     this.mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                              this.menuItem3,
                                                                              this.menuItem2});
     //
     // menuItem3
     //
     this.menuItem3.Index = 0;
     this.menuItem3.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                               this.menuItem4,
                                                                               this.menuItem6});
     this.menuItem3.Text = "File";
     //
     // menuItem4
     //
     this.menuItem4.Index = 0;
     this.menuItem4.Text = "Load GraphML";
     this.menuItem4.Click += new System.EventHandler(this.menuItem4_Click);
     //
     // menuItem6
     //
     this.menuItem6.Index = 1;
     this.menuItem6.Text = "Load GXL";
     //
     // menuItem2
     //
     this.menuItem2.Index = 1;
     this.menuItem2.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                               this.menuItem5,
                                                                               this.menuItem1});
     this.menuItem2.Text = "Algorithms";
     //
     // menuItem5
     //
     this.menuItem5.Index = 0;
     this.menuItem5.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                               this.depthFirstSearchAlgorithmItem,
                                                                               this.edgeDepthFirstSearchItem,
                                                                               this.breadthFirstSearchItem});
     this.menuItem5.Text = "Search";
     //
     // depthFirstSearchAlgorithmItem
     //
     this.depthFirstSearchAlgorithmItem.Index = 0;
     this.depthFirstSearchAlgorithmItem.Text = "DepthFirstSearchAlgorithm";
     this.depthFirstSearchAlgorithmItem.Click += new System.EventHandler(this.depthFirstSearchAlgorithmItem_Click);
     //
     // edgeDepthFirstSearchItem
     //
     this.edgeDepthFirstSearchItem.Index = 1;
     this.edgeDepthFirstSearchItem.Text = "EdgeDepthFirstSearchAlgorithm";
     this.edgeDepthFirstSearchItem.Click += new System.EventHandler(this.edgeDepthFirstSearchItem_Click);
     //
     // breadthFirstSearchItem
     //
     this.breadthFirstSearchItem.Index = 2;
     this.breadthFirstSearchItem.Text = "BreadthFirstSearchAlgorithm";
     this.breadthFirstSearchItem.Click += new System.EventHandler(this.breadthFirstSearchItem_Click);
     //
     // menuItem1
     //
     this.menuItem1.Index = 1;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                               this.menuItem7,
                                                                               this.menuItem8});
     this.menuItem1.Text = "Walks";
     //
     // menuItem7
     //
     this.menuItem7.Index = 0;
     this.menuItem7.Text = "Uniform walk";
     this.menuItem7.Click += new System.EventHandler(this.menuItem7_Click);
     //
     // menuItem8
     //
     this.menuItem8.Index = 1;
     this.menuItem8.Text = "Weighted walk";
     this.menuItem8.Click += new System.EventHandler(this.menuItem8_Click);
     //
     // statusBar
     //
     this.statusBar.Location = new System.Drawing.Point(0, 403);
     this.statusBar.Name = "statusBar";
     this.statusBar.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
                                                                                  this.messageBarPanel,
                                                                                  this.errorBarPanel});
     this.statusBar.Size = new System.Drawing.Size(584, 22);
     this.statusBar.TabIndex = 0;
     this.statusBar.Text = "Status Bar";
     //
     // messageBarPanel
     //
     this.messageBarPanel.Text = "Message";
     //
     // errorBarPanel
     //
     this.errorBarPanel.Alignment = System.Windows.Forms.HorizontalAlignment.Right;
     this.errorBarPanel.Text = "Error";
     this.errorBarPanel.Width = 20;
     //
     // toolBar
     //
     this.toolBar.ButtonSize = new System.Drawing.Size(16, 16);
     this.toolBar.DropDownArrows = true;
     this.toolBar.ImageList = this.imageList1;
     this.toolBar.Location = new System.Drawing.Point(0, 0);
     this.toolBar.Name = "toolBar";
     this.toolBar.ShowToolTips = true;
     this.toolBar.Size = new System.Drawing.Size(584, 22);
     this.toolBar.TabIndex = 1;
     //
     // imageList1
     //
     this.imageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth32Bit;
     this.imageList1.ImageSize = new System.Drawing.Size(32, 32);
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     //
     // dockingManagerExtender1
     //
     this.dockingManagerExtender1.AutomaticStatePersistence = false;
     this.dockingManagerExtender1.ContainerControl = this;
     this.dockingManagerExtender1.InnerControl = null;
     this.dockingManagerExtender1.OuterControl = null;
     this.dockingManagerExtender1.PlainTabBorder = false;
     this.dockingManagerExtender1.VisualStyle = Crownwood.Magic.Common.VisualStyle.IDE;
     //
     // netronPanel
     //
     this.dockingManagerExtender1.SetADockingEnable(this.netronPanel, false);
     this.netronPanel.BackColor = System.Drawing.Color.White;
     this.netronPanel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.dockingManagerExtender1.SetCloseButton(this.netronPanel, false);
     this.dockingManagerExtender1.SetCloseOnHide(this.netronPanel, false);
     this.netronPanel.Controls.Add(this.netronOverview1);
     this.netronPanel.DataUpdateInterval = 50;
     this.netronPanel.Dock = System.Windows.Forms.DockStyle.Fill;
     this.dockingManagerExtender1.SetDockingStyle(this.netronPanel, System.Windows.Forms.DockStyle.Left);
     this.netronPanel.Domain = null;
     this.dockingManagerExtender1.SetFullTitle(this.netronPanel, "netronPanel");
     this.netronPanel.Graph = null;
     this.dockingManagerExtender1.SetIcon(this.netronPanel, null);
     this.netronPanel.Location = new System.Drawing.Point(0, 22);
     this.netronPanel.Name = "netronPanel";
     this.netronPanel.Size = new System.Drawing.Size(584, 381);
     this.dockingManagerExtender1.SetTabbedMode(this.netronPanel, true);
     this.netronPanel.TabIndex = 4;
     this.dockingManagerExtender1.SetTitle(this.netronPanel, "netronPanel");
     this.netronPanel.Zoom = 1F;
     //
     // netronOverview1
     //
     this.dockingManagerExtender1.SetADockingEnable(this.netronOverview1, true);
     this.dockingManagerExtender1.SetCloseButton(this.netronOverview1, true);
     this.dockingManagerExtender1.SetCloseOnHide(this.netronOverview1, false);
     this.dockingManagerExtender1.SetDockingStyle(this.netronOverview1, System.Windows.Forms.DockStyle.Left);
     this.dockingManagerExtender1.SetFullTitle(this.netronOverview1, "NetronOverview");
     this.dockingManagerExtender1.SetIcon(this.netronOverview1, null);
     this.netronOverview1.Location = new System.Drawing.Point(24, 16);
     this.netronOverview1.Name = "netronOverview1";
     this.netronOverview1.Panel = null;
     this.netronOverview1.Size = new System.Drawing.Size(224, 248);
     this.dockingManagerExtender1.SetTabbedMode(this.netronOverview1, true);
     this.netronOverview1.TabIndex = 0;
     this.dockingManagerExtender1.SetTitle(this.netronOverview1, "NetronOverview");
     this.netronOverview1.Zoom = 0.2F;
     //
     // MainForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(584, 425);
     this.Controls.Add(this.netronPanel);
     this.Controls.Add(this.toolBar);
     this.Controls.Add(this.statusBar);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Menu = this.mainMenu;
     this.Name = "MainForm";
     this.Text = "QuickGraph - Netron - Test Application";
     ((System.ComponentModel.ISupportInitialize)(this.messageBarPanel)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.errorBarPanel)).EndInit();
     this.netronPanel.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #30
0
ファイル: TifEditor.cs プロジェクト: Amphora2015/DemoTest
        private void IntializeAnnContainer()
        {
             SuspendLayout();

            imageViewer = new RasterImageViewer();
             imageViewer.Dock = DockStyle.Fill;
             imageViewer.EnableScrollingInterface = true;
             this.imageViewer.KeyDown += new System.Windows.Forms.KeyEventHandler(this.imageViewer_KeyDown);
             this.imageViewer.DoubleClick += new System.EventHandler(this.imageViewer_Clicked);
            // this.imageViewer.MouseMove += new System.Windows.Forms.MouseEventHandler(this._viewer_MouseMove);
             
             this.Controls.Add(imageViewer);

            

            _automationManager = new AnnAutomationManager();
            _annAutomation = new AnnAutomation(_automationManager, this.imageViewer);
            _annAutomation.Active = true;
            this.imageViewer.BringToFront();
            
            //imageViewer.
            
           
      
            _codec = new RasterCodecs();
            CodecsTxtLoadOptions txtOption = _codec.Options.Txt.Load;
            txtOption.Enabled = true;

            _automationManager.RasterCodecs = _codec;
            _automationManager.RedactionRealizePassword = "";
            _automationManager.CreateDefaultObjects();
            CustomizeObjectProperty();

             
            PropertyForm propForm = new PropertyForm();
            
            _automationManager.ObjectPropertiesDialogType = propForm.GetType();
         //   _automationManager.ObjectPropertiesDialogType = null;
            AddCheckMark(_automationManager);

            _automationManager.CreateToolBar();
            _automationManager.ToolBar.BringToFront();
            imageToolBar = new ImageToolBar();
            this.imageToolBar.TifEditor = this;
            toolBar = imageToolBar.GetExtendedToolBar(_automationManager.ToolBar);
            toolBar.Dock = DockStyle.Bottom;

            this.Controls.Add(_automationManager.ToolBar);




            topToolBar = imageToolBar.AddCustomToolBar(topToolBar);

            
            imageToolBar.UpdateToolBar();
            ResumeLayout();

            RasterPaintProperties prop = imageViewer.PaintProperties;
           // prop.PaintDisplayMode |= RasterPaintDisplayModeFlags.ScaleToGray | RasterPaintDisplayModeFlags.Bicubic;
            prop.PaintDisplayMode = RasterPaintDisplayModeFlags.ScaleToGray;
            imageViewer.PaintProperties = prop;
            

            
            InitialzeEdit();


        }
コード例 #31
0
 /// <summary>
 /// Método necesario para admitir el Diseñador. No se puede modificar
 /// el contenido del método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     Infragistics.Win.UltraWinSchedule.CalendarCombo.DateButton dateButton1 = new Infragistics.Win.UltraWinSchedule.CalendarCombo.DateButton();
     Infragistics.Win.UltraWinSchedule.CalendarCombo.DateButton dateButton2 = new Infragistics.Win.UltraWinSchedule.CalendarCombo.DateButton();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(FrmConsultarFacturasImpagas));
     Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup ultraExplorerBarGroup1 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup();
     Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup ultraExplorerBarGroup2 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup();
     Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup ultraExplorerBarGroup3 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup();
     this.ultraExplorerBarContainerControl1 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarContainerControl();
     this.lbTarea         = new System.Windows.Forms.Label();
     this.ContainerFiltro = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarContainerControl();
     this.groupBox4       = new System.Windows.Forms.GroupBox();
     this.label4          = new System.Windows.Forms.Label();
     this.groupBox3       = new System.Windows.Forms.GroupBox();
     this.rbPeriodoPorFechaVencimiento = new System.Windows.Forms.RadioButton();
     this.rbPeriodoPorFechaEmision     = new System.Windows.Forms.RadioButton();
     this.uneCantPeriodo     = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
     this.groupBox2          = new System.Windows.Forms.GroupBox();
     this.rbEnMeses          = new System.Windows.Forms.RadioButton();
     this.rbPeriodoEnSemanas = new System.Windows.Forms.RadioButton();
     this.rbPeriodoEnDias    = new System.Windows.Forms.RadioButton();
     this.label3             = new System.Windows.Forms.Label();
     this.chkMostrarElResto  = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
     this.label2             = new System.Windows.Forms.Label();
     this.mzCmbCuenta        = new mz.erp.ui.controls.mzCuentasControl();
     this.label7             = new System.Windows.Forms.Label();
     this.label1             = new System.Windows.Forms.Label();
     this.FechaDesde         = new Infragistics.Win.UltraWinSchedule.UltraCalendarCombo();
     this.label6             = new System.Windows.Forms.Label();
     this.FechaHasta         = new Infragistics.Win.UltraWinSchedule.UltraCalendarCombo();
     this.groupBox1          = new System.Windows.Forms.GroupBox();
     this.rbFechaVencimiento = new System.Windows.Forms.RadioButton();
     this.rbFechaEmision     = new System.Windows.Forms.RadioButton();
     this.ultraExplorerBarContainerControl2 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarContainerControl();
     this.gridManagerView1    = new mz.erp.ui.controls.GridManagerView();
     this.gridResultado       = new Janus.Windows.GridEX.GridEX();
     this.imglStandar         = new System.Windows.Forms.ImageList(this.components);
     this.toolBarStandar      = new System.Windows.Forms.ToolBar();
     this.tbbAnterior         = new System.Windows.Forms.ToolBarButton();
     this.tbbSeparator        = new System.Windows.Forms.ToolBarButton();
     this.tbbSiguiente        = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton11     = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton12     = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton13     = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton14     = new System.Windows.Forms.ToolBarButton();
     this.tbbSeparadorCacelar = new System.Windows.Forms.ToolBarButton();
     this.tbbCancelar         = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton16     = new System.Windows.Forms.ToolBarButton();
     this.ultraExplorerBar1   = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar();
     this.ultraExplorerBarContainerControl1.SuspendLayout();
     this.ContainerFiltro.SuspendLayout();
     this.groupBox4.SuspendLayout();
     this.groupBox3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.uneCantPeriodo)).BeginInit();
     this.groupBox2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.FechaDesde)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.FechaHasta)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.ultraExplorerBarContainerControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridResultado)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ultraExplorerBar1)).BeginInit();
     this.ultraExplorerBar1.SuspendLayout();
     this.SuspendLayout();
     //
     // ultraExplorerBarContainerControl1
     //
     this.ultraExplorerBarContainerControl1.Controls.Add(this.lbTarea);
     this.ultraExplorerBarContainerControl1.Location = new System.Drawing.Point(28, 24);
     this.ultraExplorerBarContainerControl1.Name     = "ultraExplorerBarContainerControl1";
     this.ultraExplorerBarContainerControl1.Size     = new System.Drawing.Size(878, 16);
     this.ultraExplorerBarContainerControl1.TabIndex = 2;
     //
     // lbTarea
     //
     this.lbTarea.BackColor = System.Drawing.Color.Transparent;
     this.lbTarea.Dock      = System.Windows.Forms.DockStyle.Top;
     this.lbTarea.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lbTarea.Location  = new System.Drawing.Point(0, 0);
     this.lbTarea.Name      = "lbTarea";
     this.lbTarea.Size      = new System.Drawing.Size(878, 16);
     this.lbTarea.TabIndex  = 2;
     this.lbTarea.Text      = "Tarea";
     this.lbTarea.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // ContainerFiltro
     //
     this.ContainerFiltro.Controls.Add(this.groupBox4);
     this.ContainerFiltro.Controls.Add(this.groupBox3);
     this.ContainerFiltro.Controls.Add(this.chkMostrarElResto);
     this.ContainerFiltro.Controls.Add(this.label2);
     this.ContainerFiltro.Controls.Add(this.mzCmbCuenta);
     this.ContainerFiltro.Controls.Add(this.label7);
     this.ContainerFiltro.Controls.Add(this.label1);
     this.ContainerFiltro.Controls.Add(this.FechaDesde);
     this.ContainerFiltro.Controls.Add(this.label6);
     this.ContainerFiltro.Controls.Add(this.FechaHasta);
     this.ContainerFiltro.Controls.Add(this.groupBox1);
     this.ContainerFiltro.Location = new System.Drawing.Point(28, 99);
     this.ContainerFiltro.Name     = "ContainerFiltro";
     this.ContainerFiltro.Size     = new System.Drawing.Size(878, 135);
     this.ContainerFiltro.TabIndex = 0;
     //
     // groupBox4
     //
     this.groupBox4.BackColor = System.Drawing.Color.Transparent;
     this.groupBox4.Controls.Add(this.label4);
     this.groupBox4.Location = new System.Drawing.Point(568, 0);
     this.groupBox4.Name     = "groupBox4";
     this.groupBox4.Size     = new System.Drawing.Size(304, 96);
     this.groupBox4.TabIndex = 138;
     this.groupBox4.TabStop  = false;
     //
     // label4
     //
     this.label4.BackColor = System.Drawing.Color.Transparent;
     this.label4.Location  = new System.Drawing.Point(16, 16);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(280, 72);
     this.label4.TabIndex  = 134;
     this.label4.Tag       = "";
     this.label4.Text      = "La consulta divide las facturas impagas en 5 períodos, cuya extensión será decidi" +
                             "da por el usuario. En caso de seleccionar Mostrar el Resto, un sexto período mos" +
                             "trará las facturas impagas no incluidas dentro los períodos seleccionados.";
     //
     // groupBox3
     //
     this.groupBox3.BackColor = System.Drawing.Color.Transparent;
     this.groupBox3.Controls.Add(this.rbPeriodoPorFechaVencimiento);
     this.groupBox3.Controls.Add(this.rbPeriodoPorFechaEmision);
     this.groupBox3.Controls.Add(this.uneCantPeriodo);
     this.groupBox3.Controls.Add(this.groupBox2);
     this.groupBox3.Controls.Add(this.label3);
     this.groupBox3.Location = new System.Drawing.Point(96, 64);
     this.groupBox3.Name     = "groupBox3";
     this.groupBox3.Size     = new System.Drawing.Size(456, 64);
     this.groupBox3.TabIndex = 137;
     this.groupBox3.TabStop  = false;
     //
     // rbPeriodoPorFechaVencimiento
     //
     this.rbPeriodoPorFechaVencimiento.Location = new System.Drawing.Point(144, 8);
     this.rbPeriodoPorFechaVencimiento.Name     = "rbPeriodoPorFechaVencimiento";
     this.rbPeriodoPorFechaVencimiento.Size     = new System.Drawing.Size(160, 24);
     this.rbPeriodoPorFechaVencimiento.TabIndex = 6;
     this.rbPeriodoPorFechaVencimiento.Text     = "Por Fecha Vencimiento";
     //
     // rbPeriodoPorFechaEmision
     //
     this.rbPeriodoPorFechaEmision.Location = new System.Drawing.Point(8, 8);
     this.rbPeriodoPorFechaEmision.Name     = "rbPeriodoPorFechaEmision";
     this.rbPeriodoPorFechaEmision.Size     = new System.Drawing.Size(128, 24);
     this.rbPeriodoPorFechaEmision.TabIndex = 5;
     this.rbPeriodoPorFechaEmision.Text     = "Por Fecha Emisión";
     //
     // uneCantPeriodo
     //
     this.uneCantPeriodo.Location   = new System.Drawing.Point(80, 32);
     this.uneCantPeriodo.MinValue   = 0;
     this.uneCantPeriodo.Name       = "uneCantPeriodo";
     this.uneCantPeriodo.PromptChar = ' ';
     this.uneCantPeriodo.Size       = new System.Drawing.Size(100, 21);
     this.uneCantPeriodo.TabIndex   = 7;
     this.uneCantPeriodo.Value      = 1;
     //
     // groupBox2
     //
     this.groupBox2.BackColor = System.Drawing.Color.Transparent;
     this.groupBox2.Controls.Add(this.rbEnMeses);
     this.groupBox2.Controls.Add(this.rbPeriodoEnSemanas);
     this.groupBox2.Controls.Add(this.rbPeriodoEnDias);
     this.groupBox2.Location = new System.Drawing.Point(184, 27);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(264, 27);
     this.groupBox2.TabIndex = 135;
     this.groupBox2.TabStop  = false;
     //
     // rbEnMeses
     //
     this.rbEnMeses.Location = new System.Drawing.Point(184, 3);
     this.rbEnMeses.Name     = "rbEnMeses";
     this.rbEnMeses.Size     = new System.Drawing.Size(72, 24);
     this.rbEnMeses.TabIndex = 10;
     this.rbEnMeses.Text     = "Meses";
     //
     // rbPeriodoEnSemanas
     //
     this.rbPeriodoEnSemanas.Location = new System.Drawing.Point(96, 3);
     this.rbPeriodoEnSemanas.Name     = "rbPeriodoEnSemanas";
     this.rbPeriodoEnSemanas.Size     = new System.Drawing.Size(72, 24);
     this.rbPeriodoEnSemanas.TabIndex = 9;
     this.rbPeriodoEnSemanas.Text     = "Semanas";
     //
     // rbPeriodoEnDias
     //
     this.rbPeriodoEnDias.Location = new System.Drawing.Point(24, 3);
     this.rbPeriodoEnDias.Name     = "rbPeriodoEnDias";
     this.rbPeriodoEnDias.Size     = new System.Drawing.Size(56, 24);
     this.rbPeriodoEnDias.TabIndex = 8;
     this.rbPeriodoEnDias.Text     = "Días";
     //
     // label3
     //
     this.label3.BackColor = System.Drawing.Color.Transparent;
     this.label3.Location  = new System.Drawing.Point(8, 32);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(72, 16);
     this.label3.TabIndex  = 138;
     this.label3.Tag       = "Periodos";
     this.label3.Text      = "Cantidad de";
     //
     // chkMostrarElResto
     //
     this.chkMostrarElResto.BackColor = System.Drawing.Color.Transparent;
     this.chkMostrarElResto.Location  = new System.Drawing.Point(560, 104);
     this.chkMostrarElResto.Name      = "chkMostrarElResto";
     this.chkMostrarElResto.TabIndex  = 11;
     this.chkMostrarElResto.Text      = "Mostrar el resto";
     //
     // label2
     //
     this.label2.BackColor = System.Drawing.Color.Transparent;
     this.label2.Location  = new System.Drawing.Point(8, 72);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(56, 16);
     this.label2.TabIndex  = 133;
     this.label2.Tag       = "Periodos";
     this.label2.Text      = "Períodos";
     //
     // mzCmbCuenta
     //
     this.mzCmbCuenta.AllowEditClientePaso = false;
     this.mzCmbCuenta.BackColor            = System.Drawing.SystemColors.Control;
     this.mzCmbCuenta.DataValue            = "";
     this.mzCmbCuenta.EnableCtaCte         = false;
     this.mzCmbCuenta.FastSearch           = false;
     this.mzCmbCuenta.Location             = new System.Drawing.Point(96, 0);
     this.mzCmbCuenta.Name = "mzCmbCuenta";
     this.mzCmbCuenta.SearchObjectListener = null;
     this.mzCmbCuenta.Size     = new System.Drawing.Size(456, 24);
     this.mzCmbCuenta.TabIndex = 0;
     //
     // label7
     //
     this.label7.BackColor = System.Drawing.Color.Transparent;
     this.label7.Location  = new System.Drawing.Point(8, 26);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(72, 16);
     this.label7.TabIndex  = 123;
     this.label7.Tag       = "FechaDesde";
     this.label7.Text      = "Fecha inicio";
     //
     // label1
     //
     this.label1.BackColor = System.Drawing.Color.Transparent;
     this.label1.Location  = new System.Drawing.Point(8, 3);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(64, 17);
     this.label1.TabIndex  = 120;
     this.label1.Tag       = "Cliente";
     this.label1.Text      = "Cliente";
     //
     // FechaDesde
     //
     dateButton1.Caption = "Today";
     this.FechaDesde.DateButtons.Add(dateButton1);
     this.FechaDesde.Location          = new System.Drawing.Point(96, 22);
     this.FechaDesde.Name              = "FechaDesde";
     this.FechaDesde.NonAutoSizeHeight = 23;
     this.FechaDesde.Size              = new System.Drawing.Size(96, 21);
     this.FechaDesde.TabIndex          = 1;
     this.FechaDesde.Tag   = "FechaDesde";
     this.FechaDesde.Value = new System.DateTime(2006, 3, 7, 0, 0, 0, 0);
     //
     // label6
     //
     this.label6.BackColor = System.Drawing.Color.Transparent;
     this.label6.Location  = new System.Drawing.Point(8, 50);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(56, 16);
     this.label6.TabIndex  = 119;
     this.label6.Tag       = "FechaHasta";
     this.label6.Text      = "Fecha fin";
     //
     // FechaHasta
     //
     dateButton2.Caption = "Today";
     this.FechaHasta.DateButtons.Add(dateButton2);
     this.FechaHasta.Location          = new System.Drawing.Point(96, 43);
     this.FechaHasta.Name              = "FechaHasta";
     this.FechaHasta.NonAutoSizeHeight = 23;
     this.FechaHasta.Size              = new System.Drawing.Size(96, 21);
     this.FechaHasta.TabIndex          = 1;
     this.FechaHasta.Tag   = "FechaHasta";
     this.FechaHasta.Value = new System.DateTime(2006, 3, 7, 0, 0, 0, 0);
     //
     // groupBox1
     //
     this.groupBox1.BackColor = System.Drawing.Color.Transparent;
     this.groupBox1.Controls.Add(this.rbFechaVencimiento);
     this.groupBox1.Controls.Add(this.rbFechaEmision);
     this.groupBox1.Location = new System.Drawing.Point(200, 21);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(352, 40);
     this.groupBox1.TabIndex = 125;
     this.groupBox1.TabStop  = false;
     //
     // rbFechaVencimiento
     //
     this.rbFechaVencimiento.Location = new System.Drawing.Point(176, 16);
     this.rbFechaVencimiento.Name     = "rbFechaVencimiento";
     this.rbFechaVencimiento.Size     = new System.Drawing.Size(160, 24);
     this.rbFechaVencimiento.TabIndex = 4;
     this.rbFechaVencimiento.Text     = "Por Fecha Vencimiento";
     //
     // rbFechaEmision
     //
     this.rbFechaEmision.Location = new System.Drawing.Point(24, 16);
     this.rbFechaEmision.Name     = "rbFechaEmision";
     this.rbFechaEmision.Size     = new System.Drawing.Size(128, 24);
     this.rbFechaEmision.TabIndex = 3;
     this.rbFechaEmision.Text     = "Por Fecha Emisión";
     //
     // ultraExplorerBarContainerControl2
     //
     this.ultraExplorerBarContainerControl2.Controls.Add(this.gridManagerView1);
     this.ultraExplorerBarContainerControl2.Controls.Add(this.gridResultado);
     this.ultraExplorerBarContainerControl2.Location = new System.Drawing.Point(28, 293);
     this.ultraExplorerBarContainerControl2.Name     = "ultraExplorerBarContainerControl2";
     this.ultraExplorerBarContainerControl2.Size     = new System.Drawing.Size(878, 205);
     this.ultraExplorerBarContainerControl2.TabIndex = 1;
     //
     // gridManagerView1
     //
     this.gridManagerView1.BackColor = System.Drawing.SystemColors.Control;
     this.gridManagerView1.Dock      = System.Windows.Forms.DockStyle.Top;
     this.gridManagerView1.Location  = new System.Drawing.Point(0, 0);
     this.gridManagerView1.Name      = "gridManagerView1";
     this.gridManagerView1.Size      = new System.Drawing.Size(878, 24);
     this.gridManagerView1.TabIndex  = 52;
     //
     // gridResultado
     //
     this.gridResultado.AllowEdit = Janus.Windows.GridEX.InheritableBoolean.False;
     this.gridResultado.Anchor    = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                          | System.Windows.Forms.AnchorStyles.Right)));
     this.gridResultado.Cursor             = System.Windows.Forms.Cursors.Default;
     this.gridResultado.FilterMode         = Janus.Windows.GridEX.FilterMode.Automatic;
     this.gridResultado.GroupByBoxVisible  = false;
     this.gridResultado.InvalidValueAction = Janus.Windows.GridEX.InvalidValueAction.DiscardChanges;
     this.gridResultado.Location           = new System.Drawing.Point(0, 24);
     this.gridResultado.Name     = "gridResultado";
     this.gridResultado.Size     = new System.Drawing.Size(872, 184);
     this.gridResultado.TabIndex = 0;
     //
     // imglStandar
     //
     this.imglStandar.ImageSize        = new System.Drawing.Size(16, 16);
     this.imglStandar.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imglStandar.ImageStream")));
     this.imglStandar.TransparentColor = System.Drawing.Color.Magenta;
     //
     // toolBarStandar
     //
     this.toolBarStandar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.toolBarStandar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.tbbAnterior,
         this.tbbSeparator,
         this.tbbSiguiente,
         this.toolBarButton11,
         this.toolBarButton12,
         this.toolBarButton13,
         this.toolBarButton14,
         this.tbbSeparadorCacelar,
         this.tbbCancelar,
         this.toolBarButton16
     });
     this.toolBarStandar.DropDownArrows = true;
     this.toolBarStandar.ImageList      = this.imglStandar;
     this.toolBarStandar.Location       = new System.Drawing.Point(0, 0);
     this.toolBarStandar.Name           = "toolBarStandar";
     this.toolBarStandar.ShowToolTips   = true;
     this.toolBarStandar.Size           = new System.Drawing.Size(944, 28);
     this.toolBarStandar.TabIndex       = 21;
     this.toolBarStandar.TextAlign      = System.Windows.Forms.ToolBarTextAlign.Right;
     //
     // tbbAnterior
     //
     this.tbbAnterior.ImageIndex = 10;
     this.tbbAnterior.Text       = "&Anterior";
     //
     // tbbSeparator
     //
     this.tbbSeparator.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // tbbSiguiente
     //
     this.tbbSiguiente.ImageIndex = 11;
     this.tbbSiguiente.Text       = "&Siguiente";
     //
     // toolBarButton11
     //
     this.toolBarButton11.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton12
     //
     this.toolBarButton12.ImageIndex = 2;
     this.toolBarButton12.Text       = "Ejecutar Consulta [F5]";
     //
     // toolBarButton13
     //
     this.toolBarButton13.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton14
     //
     this.toolBarButton14.ImageIndex = 5;
     this.toolBarButton14.Text       = "Reiniciar Filtros de Busqueda";
     //
     // tbbSeparadorCacelar
     //
     this.tbbSeparadorCacelar.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // tbbCancelar
     //
     this.tbbCancelar.ImageIndex = 7;
     this.tbbCancelar.Text       = "Cancelar";
     //
     // toolBarButton16
     //
     this.toolBarButton16.ImageIndex = 9;
     this.toolBarButton16.Text       = "&Selección";
     this.toolBarButton16.Visible    = false;
     //
     // ultraExplorerBar1
     //
     this.ultraExplorerBar1.Controls.Add(this.ContainerFiltro);
     this.ultraExplorerBar1.Controls.Add(this.ultraExplorerBarContainerControl2);
     this.ultraExplorerBar1.Controls.Add(this.ultraExplorerBarContainerControl1);
     this.ultraExplorerBar1.Dock      = System.Windows.Forms.DockStyle.Fill;
     ultraExplorerBarGroup1.Container = this.ultraExplorerBarContainerControl1;
     ultraExplorerBarGroup1.Key       = "Tarea";
     ultraExplorerBarGroup1.Settings.ContainerHeight = 16;
     ultraExplorerBarGroup1.Settings.HeaderVisible   = Infragistics.Win.DefaultableBoolean.False;
     ultraExplorerBarGroup1.Settings.Style           = Infragistics.Win.UltraWinExplorerBar.GroupStyle.ControlContainer;
     ultraExplorerBarGroup1.Text      = "Tarea";
     ultraExplorerBarGroup2.Container = this.ContainerFiltro;
     ultraExplorerBarGroup2.Key       = "FiltroPrincipal";
     ultraExplorerBarGroup2.Settings.ContainerHeight = 135;
     ultraExplorerBarGroup2.Settings.Style           = Infragistics.Win.UltraWinExplorerBar.GroupStyle.ControlContainer;
     ultraExplorerBarGroup2.Text      = "Filtro";
     ultraExplorerBarGroup3.Container = this.ultraExplorerBarContainerControl2;
     ultraExplorerBarGroup3.Key       = "Resultado";
     ultraExplorerBarGroup3.Settings.ContainerHeight = 205;
     ultraExplorerBarGroup3.Settings.Style           = Infragistics.Win.UltraWinExplorerBar.GroupStyle.ControlContainer;
     ultraExplorerBarGroup3.Text = "Resultado";
     this.ultraExplorerBar1.Groups.AddRange(new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup[] {
         ultraExplorerBarGroup1,
         ultraExplorerBarGroup2,
         ultraExplorerBarGroup3
     });
     this.ultraExplorerBar1.Location = new System.Drawing.Point(0, 28);
     this.ultraExplorerBar1.Name     = "ultraExplorerBar1"; this.ultraExplorerBar1.AnimationEnabled = false;         //German 20101207 - Tarea Infragistics 2008 – Tarea 983
     this.ultraExplorerBar1.Size     = new System.Drawing.Size(944, 394);
     this.ultraExplorerBar1.TabIndex = 22;
     this.ultraExplorerBar1.TabStop  = false;
     //
     // FrmConsultarFacturasImpagas
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(944, 422);
     this.Controls.Add(this.ultraExplorerBar1);
     this.Controls.Add(this.toolBarStandar);
     this.Name = "FrmConsultarFacturasImpagas";
     this.Text = "FrmConsultarFacturasImpagas";
     this.ultraExplorerBarContainerControl1.ResumeLayout(false);
     this.ContainerFiltro.ResumeLayout(false);
     this.groupBox4.ResumeLayout(false);
     this.groupBox3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.uneCantPeriodo)).EndInit();
     this.groupBox2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.FechaDesde)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.FechaHasta)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.ultraExplorerBarContainerControl2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridResultado)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ultraExplorerBar1)).EndInit();
     this.ultraExplorerBar1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #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.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(CurrList));
     this.dataGrid1              = new AM_Controls.DataGridV();
     this.contextMenu1           = new System.Windows.Forms.ContextMenu();
     this.dataView1              = new System.Data.DataView();
     this.dsCurr1                = new BPS.BLL.Currency.DataSets.dsCurr();
     this.dataGridTableStyle1    = new System.Windows.Forms.DataGridTableStyle();
     this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.toolBar1               = new System.Windows.Forms.ToolBar();
     this.toolBarButton1         = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton2         = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton4         = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton3         = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton5         = new System.Windows.Forms.ToolBarButton();
     this.tbbRate                = new System.Windows.Forms.ToolBarButton();
     this.imageList1             = new System.Windows.Forms.ImageList(this.components);
     this.mainMenu1              = new System.Windows.Forms.MainMenu();
     this.mnuEdit                = new System.Windows.Forms.MenuItem();
     this.menuItem2              = new System.Windows.Forms.MenuItem();
     this.menuItem3              = new System.Windows.Forms.MenuItem();
     this.menuItem4              = new System.Windows.Forms.MenuItem();
     this.menuItem5              = new System.Windows.Forms.MenuItem();
     this.menuItem6              = new System.Windows.Forms.MenuItem();
     this.menuItem1              = new System.Windows.Forms.MenuItem();
     this.mnuSetCurrencyRate     = new System.Windows.Forms.MenuItem();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsCurr1)).BeginInit();
     this.SuspendLayout();
     //
     // dataGrid1
     //
     this.dataGrid1._CanEdit         = false;
     this.dataGrid1._InvisibleColumn = 0;
     this.dataGrid1.CaptionVisible   = false;
     this.dataGrid1.ContextMenu      = this.contextMenu1;
     this.dataGrid1.DataMember       = "";
     this.dataGrid1.DataSource       = this.dataView1;
     this.dataGrid1.Dock             = System.Windows.Forms.DockStyle.Fill;
     this.dataGrid1.HeaderForeColor  = System.Drawing.SystemColors.ControlText;
     this.dataGrid1.Location         = new System.Drawing.Point(0, 72);
     this.dataGrid1.Name             = "dataGrid1";
     this.dataGrid1.ReadOnly         = true;
     this.dataGrid1.Size             = new System.Drawing.Size(340, 175);
     this.dataGrid1.TabIndex         = 1;
     this.dataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.dataGridTableStyle1
     });
     this.dataGrid1.DoubleClick += new System.EventHandler(this.dataGrid1_DoubleClick);
     //
     // dataView1
     //
     this.dataView1.Table = this.dsCurr1.Currencies;
     //
     // dsCurr1
     //
     this.dsCurr1.DataSetName = "dsCurr";
     this.dsCurr1.Locale      = new System.Globalization.CultureInfo("ru-RU");
     //
     // dataGridTableStyle1
     //
     this.dataGridTableStyle1.DataGrid = this.dataGrid1;
     this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.dataGridTextBoxColumn1,
         this.dataGridTextBoxColumn2,
         this.dataGridTextBoxColumn3
     });
     this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dataGridTableStyle1.MappingName     = "Currencies";
     //
     // dataGridTextBoxColumn1
     //
     this.dataGridTextBoxColumn1.Format      = "";
     this.dataGridTextBoxColumn1.FormatInfo  = null;
     this.dataGridTextBoxColumn1.HeaderText  = "Код";
     this.dataGridTextBoxColumn1.MappingName = "CurrencyID";
     this.dataGridTextBoxColumn1.NullText    = "?";
     this.dataGridTextBoxColumn1.Width       = 50;
     //
     // dataGridTextBoxColumn2
     //
     this.dataGridTextBoxColumn2.Format      = "";
     this.dataGridTextBoxColumn2.FormatInfo  = null;
     this.dataGridTextBoxColumn2.HeaderText  = "Название";
     this.dataGridTextBoxColumn2.MappingName = "CurrencyName";
     this.dataGridTextBoxColumn2.NullText    = "";
     this.dataGridTextBoxColumn2.Width       = 150;
     //
     // dataGridTextBoxColumn3
     //
     this.dataGridTextBoxColumn3.Format      = "#,##0.00";
     this.dataGridTextBoxColumn3.FormatInfo  = null;
     this.dataGridTextBoxColumn3.HeaderText  = "Курс";
     this.dataGridTextBoxColumn3.MappingName = "CurrencyRate";
     this.dataGridTextBoxColumn3.NullText    = "-";
     this.dataGridTextBoxColumn3.Width       = 75;
     //
     // toolBar1
     //
     this.toolBar1.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.toolBarButton1,
         this.toolBarButton2,
         this.toolBarButton4,
         this.toolBarButton3,
         this.toolBarButton5,
         this.tbbRate
     });
     this.toolBar1.ButtonSize     = new System.Drawing.Size(100, 22);
     this.toolBar1.DropDownArrows = true;
     this.toolBar1.ImageList      = this.imageList1;
     this.toolBar1.Location       = new System.Drawing.Point(0, 0);
     this.toolBar1.Name           = "toolBar1";
     this.toolBar1.ShowToolTips   = true;
     this.toolBar1.Size           = new System.Drawing.Size(340, 72);
     this.toolBar1.TabIndex       = 0;
     this.toolBar1.TextAlign      = System.Windows.Forms.ToolBarTextAlign.Right;
     this.toolBar1.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick);
     //
     // toolBarButton1
     //
     this.toolBarButton1.ImageIndex = 3;
     this.toolBarButton1.Text       = "Новый";
     //
     // toolBarButton2
     //
     this.toolBarButton2.ImageIndex = 0;
     this.toolBarButton2.Text       = "Изменить";
     //
     // toolBarButton4
     //
     this.toolBarButton4.ImageIndex = 1;
     this.toolBarButton4.Text       = "Удалить";
     //
     // toolBarButton3
     //
     this.toolBarButton3.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton5
     //
     this.toolBarButton5.ImageIndex = 2;
     this.toolBarButton5.Text       = "Обновить";
     //
     // tbbRate
     //
     this.tbbRate.ImageIndex = 4;
     this.tbbRate.Text       = "Курс";
     //
     // imageList1
     //
     this.imageList1.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.mnuEdit
     });
     //
     // mnuEdit
     //
     this.mnuEdit.Index = 0;
     this.mnuEdit.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem2,
         this.menuItem3,
         this.menuItem4,
         this.menuItem5,
         this.menuItem6,
         this.menuItem1,
         this.mnuSetCurrencyRate
     });
     this.mnuEdit.Text = "Редактирование";
     //
     // menuItem2
     //
     this.menuItem2.Index    = 0;
     this.menuItem2.Shortcut = System.Windows.Forms.Shortcut.F3;
     this.menuItem2.Text     = "Новая";
     this.menuItem2.Click   += new System.EventHandler(this.menuItem2_Click);
     //
     // menuItem3
     //
     this.menuItem3.Index    = 1;
     this.menuItem3.Shortcut = System.Windows.Forms.Shortcut.F10;
     this.menuItem3.Text     = "Изменить";
     this.menuItem3.Click   += new System.EventHandler(this.menuItem3_Click);
     //
     // menuItem4
     //
     this.menuItem4.Index    = 2;
     this.menuItem4.Shortcut = System.Windows.Forms.Shortcut.CtrlDel;
     this.menuItem4.Text     = "Удалить";
     this.menuItem4.Click   += new System.EventHandler(this.menuItem4_Click);
     //
     // menuItem5
     //
     this.menuItem5.Index = 3;
     this.menuItem5.Text  = "-";
     //
     // menuItem6
     //
     this.menuItem6.Index    = 4;
     this.menuItem6.Shortcut = System.Windows.Forms.Shortcut.F5;
     this.menuItem6.Text     = "Обновить";
     this.menuItem6.Click   += new System.EventHandler(this.menuItem6_Click);
     //
     // menuItem1
     //
     this.menuItem1.Index = 5;
     this.menuItem1.Text  = "-";
     //
     // mnuSetCurrencyRate
     //
     this.mnuSetCurrencyRate.Index  = 6;
     this.mnuSetCurrencyRate.Text   = "Изменить Курс";
     this.mnuSetCurrencyRate.Click += new System.EventHandler(this.mnuSetCurrencyRate_Click);
     //
     // CurrList
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
     this.ClientSize        = new System.Drawing.Size(340, 247);
     this.Controls.Add(this.dataGrid1);
     this.Controls.Add(this.toolBar1);
     this.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Menu          = this.mainMenu1;
     this.Name          = "CurrList";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text          = "Валюты";
     this.Load         += new System.EventHandler(this.CurrList_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dataView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsCurr1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #33
0
ファイル: HtmlEditor.cs プロジェクト: mo5h/omeo
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(HtmlEditor));
     this._toolbar       = new System.Windows.Forms.ToolBar();
     this._htmled        = new JetBrains.Omea.GUIControls.MshtmlBrowser.MshtmlEdit();
     this.toolBarButton1 = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton2 = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton3 = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton4 = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton5 = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton6 = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton7 = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton8 = new System.Windows.Forms.ToolBarButton();
     ((System.ComponentModel.ISupportInitialize)(this._htmled)).BeginInit();
     this.SuspendLayout();
     //
     // _toolbar
     //
     this._toolbar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this._toolbar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.toolBarButton1,
         this.toolBarButton2,
         this.toolBarButton3,
         this.toolBarButton4,
         this.toolBarButton5,
         this.toolBarButton6,
         this.toolBarButton7,
         this.toolBarButton8
     });
     this._toolbar.ButtonSize     = new System.Drawing.Size(60, 22);
     this._toolbar.Divider        = false;
     this._toolbar.DropDownArrows = true;
     this._toolbar.Location       = new System.Drawing.Point(0, 0);
     this._toolbar.Name           = "_toolbar";
     this._toolbar.ShowToolTips   = true;
     this._toolbar.Size           = new System.Drawing.Size(532, 26);
     this._toolbar.TabIndex       = 0;
     this._toolbar.TextAlign      = System.Windows.Forms.ToolBarTextAlign.Right;
     this._toolbar.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.OnToolbarClick);
     //
     // _htmled
     //
     this._htmled.Dock    = System.Windows.Forms.DockStyle.Fill;
     this._htmled.Enabled = true;
     this._htmled.Html    = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">\r\n<HTML><HEAD>\r\n<M" +
                            "ETA http-equiv=Content-Type content=\"text/html; charset=unicode\">\r\n<META content" +
                            "=\"MSHTML 6.00.2900.2604\" name=GENERATOR></HEAD>\r\n<BODY></BODY></HTML>\r\n";
     this._htmled.Location = new System.Drawing.Point(0, 26);
     this._htmled.Name     = "_htmled";
     this._htmled.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("_htmled.OcxState")));
     this._htmled.Size     = new System.Drawing.Size(532, 272);
     this._htmled.TabIndex = 1;
     this._htmled.Text     = "undefined";
     //
     // toolBarButton1
     //
     this.toolBarButton1.Text = "Color";
     //
     // toolBarButton2
     //
     this.toolBarButton2.Tag  = "Bold";
     this.toolBarButton2.Text = "B";
     //
     // toolBarButton3
     //
     this.toolBarButton3.Tag  = "Italic";
     this.toolBarButton3.Text = "I";
     //
     // toolBarButton4
     //
     this.toolBarButton4.Tag  = "Underline";
     this.toolBarButton4.Text = "U";
     //
     // toolBarButton5
     //
     this.toolBarButton5.Tag  = "JustifyLeft";
     this.toolBarButton5.Text = "Left";
     //
     // toolBarButton6
     //
     this.toolBarButton6.Tag  = "JustifyRight";
     this.toolBarButton6.Text = "Right";
     //
     // toolBarButton7
     //
     this.toolBarButton7.Tag  = "JustifyCenter";
     this.toolBarButton7.Text = "Center";
     //
     // toolBarButton8
     //
     this.toolBarButton8.Tag  = "JustifyFull";
     this.toolBarButton8.Text = "Justify";
     //
     // HtmlEditor
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(532, 298);
     this.Controls.Add(this._htmled);
     this.Controls.Add(this._toolbar);
     this.Name = "HtmlEditor";
     this.Text = "HtmlEditor";
     ((System.ComponentModel.ISupportInitialize)(this._htmled)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #34
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();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Frm_authmodel_default));
     this.MetaDataToolBar         = new System.Windows.Forms.ToolBar();
     this.seleziona               = new System.Windows.Forms.ToolBarButton();
     this.impostaricerca          = new System.Windows.Forms.ToolBarButton();
     this.effettuaricerca         = new System.Windows.Forms.ToolBarButton();
     this.modifica                = new System.Windows.Forms.ToolBarButton();
     this.inserisci               = new System.Windows.Forms.ToolBarButton();
     this.inseriscicopia          = new System.Windows.Forms.ToolBarButton();
     this.elimina                 = new System.Windows.Forms.ToolBarButton();
     this.Salva                   = new System.Windows.Forms.ToolBarButton();
     this.aggiorna                = new System.Windows.Forms.ToolBarButton();
     this.images                  = new System.Windows.Forms.ImageList(this.components);
     this.dataGrid1               = new System.Windows.Forms.DataGrid();
     this.MetaDataDetail          = new System.Windows.Forms.Panel();
     this.tabControl1             = new System.Windows.Forms.TabControl();
     this.tabPage3                = new System.Windows.Forms.TabPage();
     this.checkBox1               = new System.Windows.Forms.CheckBox();
     this.txtImportoMax           = new System.Windows.Forms.TextBox();
     this.label4                  = new System.Windows.Forms.Label();
     this.txtLunghezzaMax         = new System.Windows.Forms.TextBox();
     this.label5                  = new System.Windows.Forms.Label();
     this.txtCodice               = new System.Windows.Forms.TextBox();
     this.label1                  = new System.Windows.Forms.Label();
     this.label3                  = new System.Windows.Forms.Label();
     this.textBox1                = new System.Windows.Forms.TextBox();
     this.Responsabile            = new System.Windows.Forms.CheckBox();
     this.label2                  = new System.Windows.Forms.Label();
     this.textBox2                = new System.Windows.Forms.TextBox();
     this.tabPage1                = new System.Windows.Forms.TabPage();
     this.listAgentiAutorizzativi = new System.Windows.Forms.ListView();
     this.tabPage2                = new System.Windows.Forms.TabPage();
     this.listViewSpese           = new System.Windows.Forms.ListView();
     this.tabAttributi            = new System.Windows.Forms.TabPage();
     this.gboxclass05             = new System.Windows.Forms.GroupBox();
     this.DS          = new authmodel_default.vistaForm();
     this.btnCodice05 = new System.Windows.Forms.Button();
     this.txtDenom05  = new System.Windows.Forms.TextBox();
     this.gboxclass04 = new System.Windows.Forms.GroupBox();
     this.btnCodice04 = new System.Windows.Forms.Button();
     this.txtDenom04  = new System.Windows.Forms.TextBox();
     this.gboxclass03 = new System.Windows.Forms.GroupBox();
     this.btnCodice03 = new System.Windows.Forms.Button();
     this.txtDenom03  = new System.Windows.Forms.TextBox();
     this.gboxclass02 = new System.Windows.Forms.GroupBox();
     this.btnCodice02 = new System.Windows.Forms.Button();
     this.txtDenom02  = new System.Windows.Forms.TextBox();
     this.gboxclass01 = new System.Windows.Forms.GroupBox();
     this.btnCodice01 = new System.Windows.Forms.Button();
     this.txtDenom01  = new System.Windows.Forms.TextBox();
     this.txtCodice01 = new System.Windows.Forms.TextBox();
     this.txtCodice02 = new System.Windows.Forms.TextBox();
     this.txtCodice03 = new System.Windows.Forms.TextBox();
     this.txtCodice04 = new System.Windows.Forms.TextBox();
     this.txtCodice05 = new System.Windows.Forms.TextBox();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     this.MetaDataDetail.SuspendLayout();
     this.tabControl1.SuspendLayout();
     this.tabPage3.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.tabPage2.SuspendLayout();
     this.tabAttributi.SuspendLayout();
     this.gboxclass05.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.DS)).BeginInit();
     this.gboxclass04.SuspendLayout();
     this.gboxclass03.SuspendLayout();
     this.gboxclass02.SuspendLayout();
     this.gboxclass01.SuspendLayout();
     this.SuspendLayout();
     //
     // MetaDataToolBar
     //
     this.MetaDataToolBar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.MetaDataToolBar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.seleziona,
         this.impostaricerca,
         this.effettuaricerca,
         this.modifica,
         this.inserisci,
         this.inseriscicopia,
         this.elimina,
         this.Salva,
         this.aggiorna
     });
     this.MetaDataToolBar.ButtonSize     = new System.Drawing.Size(56, 56);
     this.MetaDataToolBar.DropDownArrows = true;
     this.MetaDataToolBar.ImageList      = this.images;
     this.MetaDataToolBar.Location       = new System.Drawing.Point(0, 0);
     this.MetaDataToolBar.Name           = "MetaDataToolBar";
     this.MetaDataToolBar.ShowToolTips   = true;
     this.MetaDataToolBar.Size           = new System.Drawing.Size(771, 56);
     this.MetaDataToolBar.TabIndex       = 5;
     this.MetaDataToolBar.Tag            = "";
     //
     // seleziona
     //
     this.seleziona.ImageIndex  = 1;
     this.seleziona.Name        = "seleziona";
     this.seleziona.Tag         = "mainselect";
     this.seleziona.Text        = "Seleziona";
     this.seleziona.ToolTipText = "Seleziona l\'elemento desiderato";
     //
     // impostaricerca
     //
     this.impostaricerca.ImageIndex  = 10;
     this.impostaricerca.Name        = "impostaricerca";
     this.impostaricerca.Tag         = "mainsetsearch";
     this.impostaricerca.Text        = "Imposta Ricerca";
     this.impostaricerca.ToolTipText = "Imposta una nuova ricerca";
     //
     // effettuaricerca
     //
     this.effettuaricerca.ImageIndex  = 12;
     this.effettuaricerca.Name        = "effettuaricerca";
     this.effettuaricerca.Tag         = "maindosearch";
     this.effettuaricerca.Text        = "Effettua Ricerca";
     this.effettuaricerca.ToolTipText = "Cerca in base ai dati immessi";
     //
     // modifica
     //
     this.modifica.ImageIndex  = 6;
     this.modifica.Name        = "modifica";
     this.modifica.Tag         = "mainedit";
     this.modifica.Text        = "Modifica";
     this.modifica.ToolTipText = "Modifica l\'elemento selezionato";
     //
     // inserisci
     //
     this.inserisci.ImageIndex  = 0;
     this.inserisci.Name        = "inserisci";
     this.inserisci.Tag         = "maininsert";
     this.inserisci.Text        = "Inserisci";
     this.inserisci.ToolTipText = "Inserisci un nuovo elemento";
     //
     // inseriscicopia
     //
     this.inseriscicopia.ImageIndex  = 9;
     this.inseriscicopia.Name        = "inseriscicopia";
     this.inseriscicopia.Tag         = "maininsertcopy";
     this.inseriscicopia.Text        = "Inserisci copia";
     this.inseriscicopia.ToolTipText = "Inserisci un nuovo elemento copiando i dati da quello attuale";
     //
     // elimina
     //
     this.elimina.ImageIndex  = 3;
     this.elimina.Name        = "elimina";
     this.elimina.Tag         = "maindelete";
     this.elimina.Text        = "Elimina";
     this.elimina.ToolTipText = "Elimina l\'elemento selezionato";
     //
     // Salva
     //
     this.Salva.ImageIndex  = 2;
     this.Salva.Name        = "Salva";
     this.Salva.Tag         = "mainsave";
     this.Salva.Text        = "Salva";
     this.Salva.ToolTipText = "Salva le modifiche effettuate";
     //
     // aggiorna
     //
     this.aggiorna.ImageIndex = 13;
     this.aggiorna.Name       = "aggiorna";
     this.aggiorna.Tag        = "mainrefresh";
     this.aggiorna.Text       = "Aggiorna";
     //
     // images
     //
     this.images.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("images.ImageStream")));
     this.images.TransparentColor = System.Drawing.Color.Transparent;
     this.images.Images.SetKeyName(0, "");
     this.images.Images.SetKeyName(1, "");
     this.images.Images.SetKeyName(2, "");
     this.images.Images.SetKeyName(3, "");
     this.images.Images.SetKeyName(4, "");
     this.images.Images.SetKeyName(5, "");
     this.images.Images.SetKeyName(6, "");
     this.images.Images.SetKeyName(7, "");
     this.images.Images.SetKeyName(8, "");
     this.images.Images.SetKeyName(9, "");
     this.images.Images.SetKeyName(10, "");
     this.images.Images.SetKeyName(11, "");
     this.images.Images.SetKeyName(12, "");
     this.images.Images.SetKeyName(13, "");
     //
     // dataGrid1
     //
     this.dataGrid1.AllowNavigation = false;
     this.dataGrid1.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.dataGrid1.DataMember      = "";
     this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dataGrid1.Location        = new System.Drawing.Point(8, 62);
     this.dataGrid1.Name            = "dataGrid1";
     this.dataGrid1.Size            = new System.Drawing.Size(369, 429);
     this.dataGrid1.TabIndex        = 0;
     this.dataGrid1.Tag             = "authmodel.default";
     //
     // MetaDataDetail
     //
     this.MetaDataDetail.Anchor      = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.MetaDataDetail.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.MetaDataDetail.Controls.Add(this.tabControl1);
     this.MetaDataDetail.Location = new System.Drawing.Point(383, 62);
     this.MetaDataDetail.Name     = "MetaDataDetail";
     this.MetaDataDetail.Size     = new System.Drawing.Size(376, 429);
     this.MetaDataDetail.TabIndex = 1;
     //
     // tabControl1
     //
     this.tabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.tabControl1.Controls.Add(this.tabPage3);
     this.tabControl1.Controls.Add(this.tabPage1);
     this.tabControl1.Controls.Add(this.tabPage2);
     this.tabControl1.Controls.Add(this.tabAttributi);
     this.tabControl1.Location      = new System.Drawing.Point(3, 3);
     this.tabControl1.Name          = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size          = new System.Drawing.Size(366, 418);
     this.tabControl1.TabIndex      = 0;
     //
     // tabPage3
     //
     this.tabPage3.Controls.Add(this.checkBox1);
     this.tabPage3.Controls.Add(this.txtImportoMax);
     this.tabPage3.Controls.Add(this.label4);
     this.tabPage3.Controls.Add(this.txtLunghezzaMax);
     this.tabPage3.Controls.Add(this.label5);
     this.tabPage3.Controls.Add(this.txtCodice);
     this.tabPage3.Controls.Add(this.label1);
     this.tabPage3.Controls.Add(this.label3);
     this.tabPage3.Controls.Add(this.textBox1);
     this.tabPage3.Controls.Add(this.Responsabile);
     this.tabPage3.Controls.Add(this.label2);
     this.tabPage3.Controls.Add(this.textBox2);
     this.tabPage3.Location = new System.Drawing.Point(4, 22);
     this.tabPage3.Name     = "tabPage3";
     this.tabPage3.Padding  = new System.Windows.Forms.Padding(3);
     this.tabPage3.Size     = new System.Drawing.Size(358, 392);
     this.tabPage3.TabIndex = 2;
     this.tabPage3.Text     = "Generale";
     this.tabPage3.UseVisualStyleBackColor = true;
     //
     // checkBox1
     //
     this.checkBox1.AutoSize = true;
     this.checkBox1.Location = new System.Drawing.Point(8, 246);
     this.checkBox1.Name     = "checkBox1";
     this.checkBox1.Size     = new System.Drawing.Size(53, 17);
     this.checkBox1.TabIndex = 23;
     this.checkBox1.Tag      = "authmodel.active:S:N";
     this.checkBox1.Text     = "Attivo";
     this.checkBox1.UseVisualStyleBackColor = true;
     //
     // txtImportoMax
     //
     this.txtImportoMax.Location  = new System.Drawing.Point(214, 205);
     this.txtImportoMax.Name      = "txtImportoMax";
     this.txtImportoMax.Size      = new System.Drawing.Size(112, 20);
     this.txtImportoMax.TabIndex  = 22;
     this.txtImportoMax.TabStop   = false;
     this.txtImportoMax.Tag       = "authmodel.maxlen";
     this.txtImportoMax.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(95, 205);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(109, 16);
     this.label4.TabIndex  = 21;
     this.label4.Text      = "Durata Max:";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtLunghezzaMax
     //
     this.txtLunghezzaMax.Location  = new System.Drawing.Point(214, 179);
     this.txtLunghezzaMax.Name      = "txtLunghezzaMax";
     this.txtLunghezzaMax.Size      = new System.Drawing.Size(112, 20);
     this.txtLunghezzaMax.TabIndex  = 20;
     this.txtLunghezzaMax.TabStop   = false;
     this.txtLunghezzaMax.Tag       = "authmodel.maxamount.c";
     this.txtLunghezzaMax.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(112, 179);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(92, 16);
     this.label5.TabIndex  = 19;
     this.label5.Text      = "Importo Max:";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtCodice
     //
     this.txtCodice.Location = new System.Drawing.Point(4, 25);
     this.txtCodice.Name     = "txtCodice";
     this.txtCodice.Size     = new System.Drawing.Size(49, 20);
     this.txtCodice.TabIndex = 13;
     this.txtCodice.Tag      = "authmodel.idauthmodel";
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(5, 6);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(48, 16);
     this.label1.TabIndex  = 12;
     this.label1.Text      = "Codice:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(4, 98);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(72, 16);
     this.label3.TabIndex  = 17;
     this.label3.Text      = "Descrizione:";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // textBox1
     //
     this.textBox1.Location  = new System.Drawing.Point(4, 114);
     this.textBox1.Multiline = true;
     this.textBox1.Name      = "textBox1";
     this.textBox1.Size      = new System.Drawing.Size(324, 54);
     this.textBox1.TabIndex  = 18;
     this.textBox1.Tag       = "authmodel.description";
     //
     // Responsabile
     //
     this.Responsabile.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.Responsabile.AutoSize = true;
     this.Responsabile.Location = new System.Drawing.Point(171, 25);
     this.Responsabile.Name     = "Responsabile";
     this.Responsabile.Size     = new System.Drawing.Size(181, 17);
     this.Responsabile.TabIndex = 14;
     this.Responsabile.Tag      = "authmodel.authfinrequired:S:N";
     this.Responsabile.Text     = "Appunti per il pagamento richiesti";
     this.Responsabile.UseVisualStyleBackColor = true;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(4, 53);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(100, 16);
     this.label2.TabIndex  = 15;
     this.label2.Text      = "Denominazione:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // textBox2
     //
     this.textBox2.Location  = new System.Drawing.Point(4, 69);
     this.textBox2.Multiline = true;
     this.textBox2.Name      = "textBox2";
     this.textBox2.Size      = new System.Drawing.Size(324, 23);
     this.textBox2.TabIndex  = 16;
     this.textBox2.Tag       = "authmodel.title";
     //
     // tabPage1
     //
     this.tabPage1.Controls.Add(this.listAgentiAutorizzativi);
     this.tabPage1.Location = new System.Drawing.Point(4, 22);
     this.tabPage1.Name     = "tabPage1";
     this.tabPage1.Padding  = new System.Windows.Forms.Padding(3);
     this.tabPage1.Size     = new System.Drawing.Size(358, 392);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text     = "Agenti autorizzativi";
     this.tabPage1.UseVisualStyleBackColor = true;
     //
     // listAgentiAutorizzativi
     //
     this.listAgentiAutorizzativi.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.listAgentiAutorizzativi.AutoArrange = false;
     this.listAgentiAutorizzativi.CheckBoxes  = true;
     this.listAgentiAutorizzativi.Location    = new System.Drawing.Point(33, 6);
     this.listAgentiAutorizzativi.Name        = "listAgentiAutorizzativi";
     this.listAgentiAutorizzativi.Size        = new System.Drawing.Size(319, 376);
     this.listAgentiAutorizzativi.TabIndex    = 68;
     this.listAgentiAutorizzativi.Tag         = "authagency.solodescrizione";
     this.listAgentiAutorizzativi.UseCompatibleStateImageBehavior = false;
     this.listAgentiAutorizzativi.View = System.Windows.Forms.View.List;
     //
     // tabPage2
     //
     this.tabPage2.Controls.Add(this.listViewSpese);
     this.tabPage2.Location = new System.Drawing.Point(4, 22);
     this.tabPage2.Name     = "tabPage2";
     this.tabPage2.Padding  = new System.Windows.Forms.Padding(3);
     this.tabPage2.Size     = new System.Drawing.Size(358, 392);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text     = "Tipi Spese Missione";
     this.tabPage2.UseVisualStyleBackColor = true;
     //
     // listViewSpese
     //
     this.listViewSpese.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.listViewSpese.AutoArrange = false;
     this.listViewSpese.CheckBoxes  = true;
     this.listViewSpese.Location    = new System.Drawing.Point(6, 8);
     this.listViewSpese.Name        = "listViewSpese";
     this.listViewSpese.Size        = new System.Drawing.Size(346, 376);
     this.listViewSpese.TabIndex    = 69;
     this.listViewSpese.Tag         = "itinerationrefundkind.solodescrizione";
     this.listViewSpese.UseCompatibleStateImageBehavior = false;
     this.listViewSpese.View = System.Windows.Forms.View.List;
     //
     // tabAttributi
     //
     this.tabAttributi.Controls.Add(this.gboxclass05);
     this.tabAttributi.Controls.Add(this.gboxclass04);
     this.tabAttributi.Controls.Add(this.gboxclass03);
     this.tabAttributi.Controls.Add(this.gboxclass02);
     this.tabAttributi.Controls.Add(this.gboxclass01);
     this.tabAttributi.Location = new System.Drawing.Point(4, 22);
     this.tabAttributi.Name     = "tabAttributi";
     this.tabAttributi.Padding  = new System.Windows.Forms.Padding(3);
     this.tabAttributi.Size     = new System.Drawing.Size(358, 392);
     this.tabAttributi.TabIndex = 3;
     this.tabAttributi.Text     = "Attributi";
     this.tabAttributi.UseVisualStyleBackColor = true;
     //
     // gboxclass05
     //
     this.gboxclass05.Controls.Add(this.txtCodice05);
     this.gboxclass05.Controls.Add(this.btnCodice05);
     this.gboxclass05.Controls.Add(this.txtDenom05);
     this.gboxclass05.Location = new System.Drawing.Point(6, 304);
     this.gboxclass05.Name     = "gboxclass05";
     this.gboxclass05.Size     = new System.Drawing.Size(349, 64);
     this.gboxclass05.TabIndex = 13;
     this.gboxclass05.TabStop  = false;
     this.gboxclass05.Tag      = "";
     this.gboxclass05.Text     = "Classificazione 5";
     //
     // DS
     //
     this.DS.DataSetName        = "vistaForm";
     this.DS.EnforceConstraints = false;
     //
     // btnCodice05
     //
     this.btnCodice05.Location  = new System.Drawing.Point(8, 16);
     this.btnCodice05.Name      = "btnCodice05";
     this.btnCodice05.Size      = new System.Drawing.Size(88, 23);
     this.btnCodice05.TabIndex  = 4;
     this.btnCodice05.Tag       = "manage.sorting05.tree";
     this.btnCodice05.Text      = "Codice";
     this.btnCodice05.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     //
     // txtDenom05
     //
     this.txtDenom05.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.txtDenom05.Location  = new System.Drawing.Point(220, 8);
     this.txtDenom05.Multiline = true;
     this.txtDenom05.Name      = "txtDenom05";
     this.txtDenom05.ReadOnly  = true;
     this.txtDenom05.Size      = new System.Drawing.Size(121, 52);
     this.txtDenom05.TabIndex  = 3;
     this.txtDenom05.TabStop   = false;
     this.txtDenom05.Tag       = "sorting05.description";
     //
     // gboxclass04
     //
     this.gboxclass04.Controls.Add(this.txtCodice04);
     this.gboxclass04.Controls.Add(this.btnCodice04);
     this.gboxclass04.Controls.Add(this.txtDenom04);
     this.gboxclass04.Location = new System.Drawing.Point(6, 234);
     this.gboxclass04.Name     = "gboxclass04";
     this.gboxclass04.Size     = new System.Drawing.Size(349, 64);
     this.gboxclass04.TabIndex = 12;
     this.gboxclass04.TabStop  = false;
     this.gboxclass04.Tag      = "";
     this.gboxclass04.Text     = "Classificazione 4";
     //
     // btnCodice04
     //
     this.btnCodice04.Location  = new System.Drawing.Point(8, 16);
     this.btnCodice04.Name      = "btnCodice04";
     this.btnCodice04.Size      = new System.Drawing.Size(88, 23);
     this.btnCodice04.TabIndex  = 4;
     this.btnCodice04.Tag       = "manage.sorting04.tree";
     this.btnCodice04.Text      = "Codice";
     this.btnCodice04.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     //
     // txtDenom04
     //
     this.txtDenom04.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.txtDenom04.Location  = new System.Drawing.Point(220, 8);
     this.txtDenom04.Multiline = true;
     this.txtDenom04.Name      = "txtDenom04";
     this.txtDenom04.ReadOnly  = true;
     this.txtDenom04.Size      = new System.Drawing.Size(121, 52);
     this.txtDenom04.TabIndex  = 3;
     this.txtDenom04.TabStop   = false;
     this.txtDenom04.Tag       = "sorting04.description";
     //
     // gboxclass03
     //
     this.gboxclass03.Controls.Add(this.txtCodice03);
     this.gboxclass03.Controls.Add(this.btnCodice03);
     this.gboxclass03.Controls.Add(this.txtDenom03);
     this.gboxclass03.Location = new System.Drawing.Point(7, 164);
     this.gboxclass03.Name     = "gboxclass03";
     this.gboxclass03.Size     = new System.Drawing.Size(349, 64);
     this.gboxclass03.TabIndex = 10;
     this.gboxclass03.TabStop  = false;
     this.gboxclass03.Tag      = "";
     this.gboxclass03.Text     = "Classificazione 3";
     //
     // btnCodice03
     //
     this.btnCodice03.Location  = new System.Drawing.Point(8, 14);
     this.btnCodice03.Name      = "btnCodice03";
     this.btnCodice03.Size      = new System.Drawing.Size(88, 23);
     this.btnCodice03.TabIndex  = 4;
     this.btnCodice03.Tag       = "manage.sorting03.tree";
     this.btnCodice03.Text      = "Codice";
     this.btnCodice03.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     //
     // txtDenom03
     //
     this.txtDenom03.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.txtDenom03.Location  = new System.Drawing.Point(220, 8);
     this.txtDenom03.Multiline = true;
     this.txtDenom03.Name      = "txtDenom03";
     this.txtDenom03.ReadOnly  = true;
     this.txtDenom03.Size      = new System.Drawing.Size(121, 52);
     this.txtDenom03.TabIndex  = 3;
     this.txtDenom03.TabStop   = false;
     this.txtDenom03.Tag       = "sorting03.description";
     //
     // gboxclass02
     //
     this.gboxclass02.Controls.Add(this.txtCodice02);
     this.gboxclass02.Controls.Add(this.btnCodice02);
     this.gboxclass02.Controls.Add(this.txtDenom02);
     this.gboxclass02.Location = new System.Drawing.Point(7, 94);
     this.gboxclass02.Name     = "gboxclass02";
     this.gboxclass02.Size     = new System.Drawing.Size(348, 64);
     this.gboxclass02.TabIndex = 11;
     this.gboxclass02.TabStop  = false;
     this.gboxclass02.Tag      = "";
     this.gboxclass02.Text     = "Classificazione 2";
     //
     // btnCodice02
     //
     this.btnCodice02.Location  = new System.Drawing.Point(8, 13);
     this.btnCodice02.Name      = "btnCodice02";
     this.btnCodice02.Size      = new System.Drawing.Size(88, 23);
     this.btnCodice02.TabIndex  = 4;
     this.btnCodice02.Tag       = "manage.sorting02.tree";
     this.btnCodice02.Text      = "Codice";
     this.btnCodice02.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     //
     // txtDenom02
     //
     this.txtDenom02.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.txtDenom02.Location  = new System.Drawing.Point(220, 8);
     this.txtDenom02.Multiline = true;
     this.txtDenom02.Name      = "txtDenom02";
     this.txtDenom02.ReadOnly  = true;
     this.txtDenom02.Size      = new System.Drawing.Size(120, 52);
     this.txtDenom02.TabIndex  = 3;
     this.txtDenom02.TabStop   = false;
     this.txtDenom02.Tag       = "sorting02.description";
     //
     // gboxclass01
     //
     this.gboxclass01.Controls.Add(this.txtCodice01);
     this.gboxclass01.Controls.Add(this.btnCodice01);
     this.gboxclass01.Controls.Add(this.txtDenom01);
     this.gboxclass01.Location = new System.Drawing.Point(7, 24);
     this.gboxclass01.Name     = "gboxclass01";
     this.gboxclass01.Size     = new System.Drawing.Size(348, 64);
     this.gboxclass01.TabIndex = 9;
     this.gboxclass01.TabStop  = false;
     this.gboxclass01.Tag      = "";
     this.gboxclass01.Text     = "Classificazione 1";
     //
     // btnCodice01
     //
     this.btnCodice01.Location  = new System.Drawing.Point(8, 15);
     this.btnCodice01.Name      = "btnCodice01";
     this.btnCodice01.Size      = new System.Drawing.Size(88, 23);
     this.btnCodice01.TabIndex  = 4;
     this.btnCodice01.Tag       = "manage.sorting01.tree";
     this.btnCodice01.Text      = "Codice";
     this.btnCodice01.TextAlign = System.Drawing.ContentAlignment.TopCenter;
     //
     // txtDenom01
     //
     this.txtDenom01.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.txtDenom01.Location  = new System.Drawing.Point(220, 8);
     this.txtDenom01.Multiline = true;
     this.txtDenom01.Name      = "txtDenom01";
     this.txtDenom01.ReadOnly  = true;
     this.txtDenom01.Size      = new System.Drawing.Size(120, 52);
     this.txtDenom01.TabIndex  = 3;
     this.txtDenom01.TabStop   = false;
     this.txtDenom01.Tag       = "sorting01.description";
     //
     // txtCodice01
     //
     this.txtCodice01.Location = new System.Drawing.Point(8, 38);
     this.txtCodice01.Name     = "txtCodice01";
     this.txtCodice01.Size     = new System.Drawing.Size(206, 20);
     this.txtCodice01.TabIndex = 7;
     //
     // txtCodice02
     //
     this.txtCodice02.Location = new System.Drawing.Point(8, 39);
     this.txtCodice02.Name     = "txtCodice02";
     this.txtCodice02.Size     = new System.Drawing.Size(206, 20);
     this.txtCodice02.TabIndex = 8;
     //
     // txtCodice03
     //
     this.txtCodice03.Location = new System.Drawing.Point(8, 40);
     this.txtCodice03.Name     = "txtCodice03";
     this.txtCodice03.Size     = new System.Drawing.Size(206, 20);
     this.txtCodice03.TabIndex = 8;
     //
     // txtCodice04
     //
     this.txtCodice04.Location = new System.Drawing.Point(9, 40);
     this.txtCodice04.Name     = "txtCodice04";
     this.txtCodice04.Size     = new System.Drawing.Size(206, 20);
     this.txtCodice04.TabIndex = 8;
     //
     // txtCodice05
     //
     this.txtCodice05.Location = new System.Drawing.Point(9, 41);
     this.txtCodice05.Name     = "txtCodice05";
     this.txtCodice05.Size     = new System.Drawing.Size(206, 20);
     this.txtCodice05.TabIndex = 8;
     //
     // Frm_authmodel_default
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(771, 497);
     this.Controls.Add(this.MetaDataDetail);
     this.Controls.Add(this.dataGrid1);
     this.Controls.Add(this.MetaDataToolBar);
     this.Name          = "Frm_authmodel_default";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "frmauthmodel";
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     this.MetaDataDetail.ResumeLayout(false);
     this.tabControl1.ResumeLayout(false);
     this.tabPage3.ResumeLayout(false);
     this.tabPage3.PerformLayout();
     this.tabPage1.ResumeLayout(false);
     this.tabPage2.ResumeLayout(false);
     this.tabAttributi.ResumeLayout(false);
     this.gboxclass05.ResumeLayout(false);
     this.gboxclass05.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.DS)).EndInit();
     this.gboxclass04.ResumeLayout(false);
     this.gboxclass04.PerformLayout();
     this.gboxclass03.ResumeLayout(false);
     this.gboxclass03.PerformLayout();
     this.gboxclass02.ResumeLayout(false);
     this.gboxclass02.PerformLayout();
     this.gboxclass01.ResumeLayout(false);
     this.gboxclass01.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #35
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();
     System.Configuration.AppSettingsReader configurationAppSettings = new System.Configuration.AppSettingsReader();
     System.Resources.ResourceManager       resources = new System.Resources.ResourceManager(typeof(PaymsOrdersUnknownList));
     this.dataGrid1     = new System.Windows.Forms.DataGrid();
     this.dvUnknownList = new System.Data.DataView();
     this.dsPaymentsOrdersUnknownList1 = new BPS._Forms.dsPaymentsOrdersUnknownList();
     this.dataGridTableStyle1          = new System.Windows.Forms.DataGridTableStyle();
     this.ColumnHeaderID            = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ColumnHeaderDate          = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ColumnPaymentOrderID      = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ColumnPaymentNo           = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ColumnPaymentOrderDate    = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ColumnPaymentOrderSum     = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ColumnOrgName             = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ColumnRAccount            = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ColumnCodeINN             = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ColumnOrgNameContra       = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ColumnRAccountContra      = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ColumnCodeINNContra       = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ColumnPaymentOrderPurpose = new System.Windows.Forms.DataGridTextBoxColumn();
     this.ColumnRemarks             = new System.Windows.Forms.DataGridTextBoxColumn();
     this.sqlConnection1            = new System.Data.SqlClient.SqlConnection();
     this.sqlDataAdapter1           = new System.Data.SqlClient.SqlDataAdapter();
     this.sqlSelectCommand1         = new System.Data.SqlClient.SqlCommand();
     this.toolBar1              = new System.Windows.Forms.ToolBar();
     this.tbtnRefresh           = new System.Windows.Forms.ToolBarButton();
     this.tbtnClentSetLink      = new System.Windows.Forms.ToolBarButton();
     this.tbbHistory            = new System.Windows.Forms.ToolBarButton();
     this.imageList1            = new System.Windows.Forms.ImageList(this.components);
     this.panel1                = new System.Windows.Forms.Panel();
     this.label2                = new System.Windows.Forms.Label();
     this.tbServiceCharge       = new AM_Controls.TextBoxV();
     this.label1                = new System.Windows.Forms.Label();
     this.cmbClients            = new System.Windows.Forms.ComboBox();
     this.panel2                = new System.Windows.Forms.Panel();
     this.panel3                = new System.Windows.Forms.Panel();
     this.sqlCmdSetLinkByClient = new System.Data.SqlClient.SqlCommand();
     this.dvClients             = new System.Data.DataView();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dvUnknownList)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsPaymentsOrdersUnknownList1)).BeginInit();
     this.panel1.SuspendLayout();
     this.panel3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dvClients)).BeginInit();
     this.SuspendLayout();
     //
     // dataGrid1
     //
     this.dataGrid1.DataMember      = "";
     this.dataGrid1.DataSource      = this.dvUnknownList;
     this.dataGrid1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dataGrid1.Name            = "dataGrid1";
     this.dataGrid1.ReadOnly        = true;
     this.dataGrid1.Size            = new System.Drawing.Size(944, 230);
     this.dataGrid1.TabIndex        = 0;
     this.dataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.dataGridTableStyle1
     });
     //
     // dvUnknownList
     //
     this.dvUnknownList.Table = this.dsPaymentsOrdersUnknownList1.PaymentsOrders;
     //
     // dsPaymentsOrdersUnknownList1
     //
     this.dsPaymentsOrdersUnknownList1.DataSetName = "dsPaymentsOrdersUnknownList";
     this.dsPaymentsOrdersUnknownList1.Locale      = new System.Globalization.CultureInfo("ru-RU");
     this.dsPaymentsOrdersUnknownList1.Namespace   = "http://www.tempuri.org/dsPaymentsOrdersUnknownList.xsd";
     //
     // dataGridTableStyle1
     //
     this.dataGridTableStyle1.DataGrid = this.dataGrid1;
     this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.ColumnHeaderID,
         this.ColumnHeaderDate,
         this.ColumnPaymentOrderID,
         this.ColumnPaymentNo,
         this.ColumnPaymentOrderDate,
         this.ColumnPaymentOrderSum,
         this.ColumnOrgName,
         this.ColumnRAccount,
         this.ColumnCodeINN,
         this.ColumnOrgNameContra,
         this.ColumnRAccountContra,
         this.ColumnCodeINNContra,
         this.ColumnPaymentOrderPurpose,
         this.ColumnRemarks
     });
     this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dataGridTableStyle1.MappingName     = "PaymentsOrders";
     //
     // ColumnHeaderID
     //
     this.ColumnHeaderID.Format      = "00000";
     this.ColumnHeaderID.FormatInfo  = null;
     this.ColumnHeaderID.HeaderText  = "ID";
     this.ColumnHeaderID.MappingName = "HeaderID";
     this.ColumnHeaderID.Width       = 50;
     //
     // ColumnHeaderDate
     //
     this.ColumnHeaderDate.Format      = "dd-MMM-yy";
     this.ColumnHeaderDate.FormatInfo  = null;
     this.ColumnHeaderDate.HeaderText  = "Дата Выписки";
     this.ColumnHeaderDate.MappingName = "HeaderDate";
     this.ColumnHeaderDate.NullText    = "-";
     this.ColumnHeaderDate.Width       = 90;
     //
     // ColumnPaymentOrderID
     //
     this.ColumnPaymentOrderID.Format      = "000000";
     this.ColumnPaymentOrderID.FormatInfo  = null;
     this.ColumnPaymentOrderID.HeaderText  = "ID П/П";
     this.ColumnPaymentOrderID.MappingName = "PaymentOrderID";
     this.ColumnPaymentOrderID.Width       = 50;
     //
     // ColumnPaymentNo
     //
     this.ColumnPaymentNo.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.ColumnPaymentNo.Format      = "";
     this.ColumnPaymentNo.FormatInfo  = null;
     this.ColumnPaymentNo.HeaderText  = "Номер П/П";
     this.ColumnPaymentNo.MappingName = "PaymentNo";
     this.ColumnPaymentNo.NullText    = "-";
     this.ColumnPaymentNo.Width       = 75;
     //
     // ColumnPaymentOrderDate
     //
     this.ColumnPaymentOrderDate.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.ColumnPaymentOrderDate.Format      = "dd-MMM-yy";
     this.ColumnPaymentOrderDate.FormatInfo  = null;
     this.ColumnPaymentOrderDate.HeaderText  = "Дата П/П";
     this.ColumnPaymentOrderDate.MappingName = "PaymentOrderDate";
     this.ColumnPaymentOrderDate.NullText    = "-";
     this.ColumnPaymentOrderDate.Width       = 90;
     //
     // ColumnPaymentOrderSum
     //
     this.ColumnPaymentOrderSum.Alignment   = System.Windows.Forms.HorizontalAlignment.Right;
     this.ColumnPaymentOrderSum.Format      = "#,##0.00";
     this.ColumnPaymentOrderSum.FormatInfo  = null;
     this.ColumnPaymentOrderSum.HeaderText  = "Сумма";
     this.ColumnPaymentOrderSum.MappingName = "PaymentOrderSum";
     this.ColumnPaymentOrderSum.NullText    = "-";
     this.ColumnPaymentOrderSum.Width       = 75;
     //
     // ColumnOrgName
     //
     this.ColumnOrgName.Format      = "";
     this.ColumnOrgName.FormatInfo  = null;
     this.ColumnOrgName.HeaderText  = "Получатель";
     this.ColumnOrgName.MappingName = "OrgName";
     this.ColumnOrgName.NullText    = "-";
     this.ColumnOrgName.Width       = 75;
     //
     // ColumnRAccount
     //
     this.ColumnRAccount.Format      = "";
     this.ColumnRAccount.FormatInfo  = null;
     this.ColumnRAccount.HeaderText  = "Получатель-Счёт";
     this.ColumnRAccount.MappingName = "RAccount";
     this.ColumnRAccount.Width       = 150;
     //
     // ColumnCodeINN
     //
     this.ColumnCodeINN.Format      = "";
     this.ColumnCodeINN.FormatInfo  = null;
     this.ColumnCodeINN.HeaderText  = "Получатель ИНН";
     this.ColumnCodeINN.MappingName = "CodeINN";
     this.ColumnCodeINN.NullText    = "-";
     this.ColumnCodeINN.Width       = 75;
     //
     // ColumnOrgNameContra
     //
     this.ColumnOrgNameContra.Format      = "";
     this.ColumnOrgNameContra.FormatInfo  = null;
     this.ColumnOrgNameContra.HeaderText  = "Плательщик";
     this.ColumnOrgNameContra.MappingName = "OrgNameContra";
     this.ColumnOrgNameContra.NullText    = "-";
     this.ColumnOrgNameContra.Width       = 75;
     //
     // ColumnRAccountContra
     //
     this.ColumnRAccountContra.Format      = "";
     this.ColumnRAccountContra.FormatInfo  = null;
     this.ColumnRAccountContra.HeaderText  = "Плательщик-Счёт";
     this.ColumnRAccountContra.MappingName = "RAccountContra";
     this.ColumnRAccountContra.NullText    = "-";
     this.ColumnRAccountContra.Width       = 150;
     //
     // ColumnCodeINNContra
     //
     this.ColumnCodeINNContra.Format      = "";
     this.ColumnCodeINNContra.FormatInfo  = null;
     this.ColumnCodeINNContra.HeaderText  = "Плательщик-ИНН";
     this.ColumnCodeINNContra.MappingName = "CodeINNContra";
     this.ColumnCodeINNContra.NullText    = "-";
     this.ColumnCodeINNContra.Width       = 75;
     //
     // ColumnPaymentOrderPurpose
     //
     this.ColumnPaymentOrderPurpose.Format      = "";
     this.ColumnPaymentOrderPurpose.FormatInfo  = null;
     this.ColumnPaymentOrderPurpose.HeaderText  = "Основание";
     this.ColumnPaymentOrderPurpose.MappingName = "PaymentOrderPurpose";
     this.ColumnPaymentOrderPurpose.NullText    = "-";
     this.ColumnPaymentOrderPurpose.Width       = 75;
     //
     // ColumnRemarks
     //
     this.ColumnRemarks.Format      = "";
     this.ColumnRemarks.FormatInfo  = null;
     this.ColumnRemarks.HeaderText  = "Примечание";
     this.ColumnRemarks.MappingName = "Remarks";
     this.ColumnRemarks.NullText    = "-";
     this.ColumnRemarks.Width       = 75;
     //
     // sqlConnection1
     //
     this.sqlConnection1.ConnectionString = ((string)(configurationAppSettings.GetValue("ConnectionString", typeof(string))));
     //
     // sqlDataAdapter1
     //
     this.sqlDataAdapter1.SelectCommand = this.sqlSelectCommand1;
     this.sqlDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
         new System.Data.Common.DataTableMapping("Table", "PaymentsOrders", new System.Data.Common.DataColumnMapping[] {
             new System.Data.Common.DataColumnMapping("HeaderID", "HeaderID"),
             new System.Data.Common.DataColumnMapping("HeaderDate", "HeaderDate"),
             new System.Data.Common.DataColumnMapping("PaymentOrderID", "PaymentOrderID"),
             new System.Data.Common.DataColumnMapping("PaymentNo", "PaymentNo"),
             new System.Data.Common.DataColumnMapping("PaymentOrderDate", "PaymentOrderDate"),
             new System.Data.Common.DataColumnMapping("Confirmed", "Confirmed"),
             new System.Data.Common.DataColumnMapping("RAccount", "RAccount"),
             new System.Data.Common.DataColumnMapping("OrgName", "OrgName"),
             new System.Data.Common.DataColumnMapping("CodeINN", "CodeINN"),
             new System.Data.Common.DataColumnMapping("RAccountContra", "RAccountContra"),
             new System.Data.Common.DataColumnMapping("OrgNameContra", "OrgNameContra"),
             new System.Data.Common.DataColumnMapping("PaymentOrderSum", "PaymentOrderSum"),
             new System.Data.Common.DataColumnMapping("PaymentOrderPurpose", "PaymentOrderPurpose"),
             new System.Data.Common.DataColumnMapping("CodeINNContra", "CodeINNContra")
         })
     });
     //
     // sqlSelectCommand1
     //
     this.sqlSelectCommand1.CommandText = @"SELECT AccountsStatementsHeaders.HeaderID, AccountsStatementsHeaders.HeaderDate, PaymentsOrders.PaymentOrderID, PaymentsOrders.PaymentNo, PaymentsOrders.PaymentOrderDate, AccountsStatementsHeaders.Confirmed, OrgsAccounts.RAccount, Orgs.OrgName, Orgs.CodeINN, OrgsAccounts_1.RAccount AS RAccountContra, Orgs_1.OrgName AS OrgNameContra, PaymentsOrders.PaymentOrderSum, PaymentsOrders.PaymentOrderPurpose, Orgs_1.CodeINN AS CodeINNContra, OrgsAccounts_1.OrgsAccountsID, Orgs_1.OrgID, OrgsAccounts.OrgsAccountsID AS OrgsAccountsIDContra, Orgs.OrgID AS OrgIDContra, PaymentsOrders.Remarks FROM PaymentsOrders INNER JOIN AccountsStatementsHeaders ON PaymentsOrders.HeaderID = AccountsStatementsHeaders.HeaderID INNER JOIN OrgsAccounts ON AccountsStatementsHeaders.OrgAccountID = OrgsAccounts.OrgsAccountsID INNER JOIN Accounts ON OrgsAccounts.AccountID = Accounts.AccountID INNER JOIN Orgs ON OrgsAccounts.OrgID = Orgs.OrgID INNER JOIN OrgsAccounts OrgsAccounts_1 ON PaymentsOrders.OrgAccountIDCorr = OrgsAccounts_1.OrgsAccountsID INNER JOIN Orgs Orgs_1 ON OrgsAccounts_1.OrgID = Orgs_1.OrgID LEFT OUTER JOIN Transactions ON PaymentsOrders.PaymentOrderID = Transactions.DocumentID WHERE (AccountsStatementsHeaders.Confirmed = 1) AND (PaymentsOrders.Direction = 1) AND (Transactions.TransactionTypeID = 1 OR Transactions.TransactionTypeID = 10) AND (Transactions.ClientRequestID IS NULL) AND (Transactions.TransactionCommited = 1) AND (Transactions.TransactionPosted = 0)";
     this.sqlSelectCommand1.Connection  = this.sqlConnection1;
     //
     // toolBar1
     //
     this.toolBar1.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.tbtnRefresh,
         this.tbtnClentSetLink,
         this.tbbHistory
     });
     this.toolBar1.DropDownArrows = true;
     this.toolBar1.ImageList      = this.imageList1;
     this.toolBar1.Name           = "toolBar1";
     this.toolBar1.ShowToolTips   = true;
     this.toolBar1.Size           = new System.Drawing.Size(944, 25);
     this.toolBar1.TabIndex       = 3;
     this.toolBar1.TextAlign      = System.Windows.Forms.ToolBarTextAlign.Right;
     this.toolBar1.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick);
     //
     // tbtnRefresh
     //
     this.tbtnRefresh.ImageIndex = 0;
     this.tbtnRefresh.Text       = "Обновить";
     //
     // tbtnClentSetLink
     //
     this.tbtnClentSetLink.ImageIndex = 1;
     this.tbtnClentSetLink.Text       = "Свзать с Клиентом";
     //
     // tbbHistory
     //
     this.tbbHistory.ImageIndex = 2;
     this.tbbHistory.Text       = "История";
     //
     // imageList1
     //
     this.imageList1.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.imageList1.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     //
     // panel1
     //
     this.panel1.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.label2,
         this.tbServiceCharge,
         this.label1,
         this.cmbClients
     });
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel1.Location = new System.Drawing.Point(0, 25);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(944, 31);
     this.panel1.TabIndex = 4;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(316, 8);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(100, 16);
     this.label2.TabIndex  = 3;
     this.label2.Text      = "% Обслуживания:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // tbServiceCharge
     //
     this.tbServiceCharge.AllowDrop = true;
     this.tbServiceCharge.dValue    = 0;
     this.tbServiceCharge.IsPcnt    = true;
     this.tbServiceCharge.Location  = new System.Drawing.Point(418, 5);
     this.tbServiceCharge.MaxDecPos = 2;
     this.tbServiceCharge.MaxPos    = 8;
     this.tbServiceCharge.Name      = "tbServiceCharge";
     this.tbServiceCharge.nValue    = ((long)(0));
     this.tbServiceCharge.Size      = new System.Drawing.Size(50, 20);
     this.tbServiceCharge.TabIndex  = 2;
     this.tbServiceCharge.Text      = "0";
     this.tbServiceCharge.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.tbServiceCharge.TextMode  = false;
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(4, 8);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(50, 16);
     this.label1.TabIndex  = 1;
     this.label1.Text      = "Клиент:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // cmbClients
     //
     this.cmbClients.Location = new System.Drawing.Point(56, 5);
     this.cmbClients.Name     = "cmbClients";
     this.cmbClients.Size     = new System.Drawing.Size(248, 21);
     this.cmbClients.TabIndex = 0;
     //
     // panel2
     //
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.panel2.Location = new System.Drawing.Point(0, 286);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(944, 4);
     this.panel2.TabIndex = 5;
     //
     // panel3
     //
     this.panel3.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.dataGrid1
     });
     this.panel3.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel3.Location = new System.Drawing.Point(0, 56);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(944, 230);
     this.panel3.TabIndex = 6;
     //
     // sqlCmdSetLinkByClient
     //
     this.sqlCmdSetLinkByClient.CommandText = "[ClientsRequestLinkToTransactionAuto]";
     this.sqlCmdSetLinkByClient.CommandType = System.Data.CommandType.StoredProcedure;
     this.sqlCmdSetLinkByClient.Connection  = this.sqlConnection1;
     this.sqlCmdSetLinkByClient.Parameters.Add(new System.Data.SqlClient.SqlParameter("@RETURN_VALUE", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.ReturnValue, false, ((System.Byte)(10)), ((System.Byte)(0)), "", System.Data.DataRowVersion.Current, null));
     this.sqlCmdSetLinkByClient.Parameters.Add(new System.Data.SqlClient.SqlParameter("@nPaymentOrderID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((System.Byte)(10)), ((System.Byte)(0)), "", System.Data.DataRowVersion.Current, null));
     this.sqlCmdSetLinkByClient.Parameters.Add(new System.Data.SqlClient.SqlParameter("@nClientID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((System.Byte)(10)), ((System.Byte)(0)), "", System.Data.DataRowVersion.Current, null));
     this.sqlCmdSetLinkByClient.Parameters.Add(new System.Data.SqlClient.SqlParameter("@dServiceChargeValue", System.Data.SqlDbType.Float, 8, System.Data.ParameterDirection.Input, false, ((System.Byte)(15)), ((System.Byte)(0)), "", System.Data.DataRowVersion.Current, null));
     //
     // PaymsOrdersUnknownList
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(944, 290);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.panel3,
         this.panel2,
         this.panel1,
         this.toolBar1
     });
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "PaymsOrdersUnknownList";
     this.SizeGripStyle   = System.Windows.Forms.SizeGripStyle.Hide;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Неопознанные приходы";
     this.TopMost         = true;
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dvUnknownList)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsPaymentsOrdersUnknownList1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.panel3.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dvClients)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #36
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(Form1));
     this.btnCustomers  = new System.Windows.Forms.Button();
     this.btnEmployees  = new System.Windows.Forms.Button();
     this.btnSave       = new System.Windows.Forms.Button();
     this.Panel1        = new System.Windows.Forms.Panel();
     this._ppv          = new C1.Win.C1Preview.C1PreviewPane();
     this._toolBar      = new System.Windows.Forms.ToolBar();
     this.tbbtnFirst    = new System.Windows.Forms.ToolBarButton();
     this.tbbtnPrev     = new System.Windows.Forms.ToolBarButton();
     this.tbbtnNext     = new System.Windows.Forms.ToolBarButton();
     this.tbbtnLast     = new System.Windows.Forms.ToolBarButton();
     this.tbbtnSep      = new System.Windows.Forms.ToolBarButton();
     this.tbbtnZoom     = new System.Windows.Forms.ToolBarButton();
     this.mnuZoom       = new System.Windows.Forms.ContextMenu();
     this._mz100        = new System.Windows.Forms.MenuItem();
     this._mzPage       = new System.Windows.Forms.MenuItem();
     this._mzTwoPages   = new System.Windows.Forms.MenuItem();
     this._mzThumbnails = new System.Windows.Forms.MenuItem();
     this.chkGroup      = new System.Windows.Forms.CheckBox();
     this._btnCustomers = new System.Windows.Forms.Button();
     this._btnEmployees = new System.Windows.Forms.Button();
     this._btnSave      = new System.Windows.Forms.Button();
     this.c1r           = new C1.C1Report.C1Report();
     this.status        = new System.Windows.Forms.StatusBar();
     this.Panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this._ppv)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1r)).BeginInit();
     this.SuspendLayout();
     //
     // btnCustomers
     //
     this.btnCustomers.Location = new System.Drawing.Point(26, -64);
     this.btnCustomers.Name     = "btnCustomers";
     this.btnCustomers.Size     = new System.Drawing.Size(80, 29);
     this.btnCustomers.TabIndex = 7;
     this.btnCustomers.Text     = "Customers";
     //
     // btnEmployees
     //
     this.btnEmployees.Location = new System.Drawing.Point(-62, -64);
     this.btnEmployees.Name     = "btnEmployees";
     this.btnEmployees.Size     = new System.Drawing.Size(80, 29);
     this.btnEmployees.TabIndex = 5;
     this.btnEmployees.Text     = "Employees";
     //
     // btnSave
     //
     this.btnSave.Location = new System.Drawing.Point(234, -64);
     this.btnSave.Name     = "btnSave";
     this.btnSave.Size     = new System.Drawing.Size(80, 29);
     this.btnSave.TabIndex = 6;
     this.btnSave.Text     = "Save";
     //
     // 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.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.Panel1.Controls.Add(this._ppv);
     this.Panel1.Controls.Add(this._toolBar);
     this.Panel1.Location = new System.Drawing.Point(8, 40);
     this.Panel1.Name     = "Panel1";
     this.Panel1.Size     = new System.Drawing.Size(489, 351);
     this.Panel1.TabIndex = 8;
     //
     // _ppv
     //
     this._ppv.Dock     = System.Windows.Forms.DockStyle.Fill;
     this._ppv.Location = new System.Drawing.Point(0, 36);
     this._ppv.Name     = "_ppv";
     this._ppv.Size     = new System.Drawing.Size(485, 311);
     this._ppv.TabIndex = 6;
     this._ppv.ZoomMode = C1.Win.C1Preview.ZoomModeEnum.ActualSize;
     //
     // _toolBar
     //
     this._toolBar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this._toolBar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.tbbtnFirst,
         this.tbbtnPrev,
         this.tbbtnNext,
         this.tbbtnLast,
         this.tbbtnSep,
         this.tbbtnZoom
     });
     this._toolBar.ButtonSize     = new System.Drawing.Size(0, 22);
     this._toolBar.DropDownArrows = true;
     this._toolBar.Location       = new System.Drawing.Point(0, 0);
     this._toolBar.Name           = "_toolBar";
     this._toolBar.ShowToolTips   = true;
     this._toolBar.Size           = new System.Drawing.Size(485, 36);
     this._toolBar.TabIndex       = 5;
     this._toolBar.TextAlign      = System.Windows.Forms.ToolBarTextAlign.Right;
     this._toolBar.Wrappable      = false;
     this._toolBar.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this._toolBar_ButtonClick);
     //
     // tbbtnFirst
     //
     this.tbbtnFirst.Name = "tbbtnFirst";
     this.tbbtnFirst.Text = "<<";
     //
     // tbbtnPrev
     //
     this.tbbtnPrev.Name = "tbbtnPrev";
     this.tbbtnPrev.Text = "<";
     //
     // tbbtnNext
     //
     this.tbbtnNext.Name = "tbbtnNext";
     this.tbbtnNext.Text = ">";
     //
     // tbbtnLast
     //
     this.tbbtnLast.Name = "tbbtnLast";
     this.tbbtnLast.Text = ">>";
     //
     // tbbtnSep
     //
     this.tbbtnSep.Name  = "tbbtnSep";
     this.tbbtnSep.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // tbbtnZoom
     //
     this.tbbtnZoom.DropDownMenu = this.mnuZoom;
     this.tbbtnZoom.Name         = "tbbtnZoom";
     this.tbbtnZoom.Style        = System.Windows.Forms.ToolBarButtonStyle.DropDownButton;
     this.tbbtnZoom.Text         = "Zoom";
     //
     // mnuZoom
     //
     this.mnuZoom.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this._mz100,
         this._mzPage,
         this._mzTwoPages,
         this._mzThumbnails
     });
     //
     // _mz100
     //
     this._mz100.Index  = 0;
     this._mz100.Text   = "100%";
     this._mz100.Click += new System.EventHandler(this._zoom_Click);
     //
     // _mzPage
     //
     this._mzPage.Index  = 1;
     this._mzPage.Text   = "Full Page";
     this._mzPage.Click += new System.EventHandler(this._zoom_Click);
     //
     // _mzTwoPages
     //
     this._mzTwoPages.Index  = 2;
     this._mzTwoPages.Text   = "Two Pages";
     this._mzTwoPages.Click += new System.EventHandler(this._zoom_Click);
     //
     // _mzThumbnails
     //
     this._mzThumbnails.Index  = 3;
     this._mzThumbnails.Text   = "Thumbnails";
     this._mzThumbnails.Click += new System.EventHandler(this._zoom_Click);
     //
     // chkGroup
     //
     this.chkGroup.Location = new System.Drawing.Point(200, 12);
     this.chkGroup.Name     = "chkGroup";
     this.chkGroup.Size     = new System.Drawing.Size(96, 16);
     this.chkGroup.TabIndex = 12;
     this.chkGroup.Text     = "Add Groups";
     //
     // _btnCustomers
     //
     this._btnCustomers.Location = new System.Drawing.Point(96, 8);
     this._btnCustomers.Name     = "_btnCustomers";
     this._btnCustomers.Size     = new System.Drawing.Size(80, 24);
     this._btnCustomers.TabIndex = 11;
     this._btnCustomers.Text     = "Customers";
     this._btnCustomers.Click   += new System.EventHandler(this._btnCustomers_Click);
     //
     // _btnEmployees
     //
     this._btnEmployees.Location = new System.Drawing.Point(8, 8);
     this._btnEmployees.Name     = "_btnEmployees";
     this._btnEmployees.Size     = new System.Drawing.Size(80, 24);
     this._btnEmployees.TabIndex = 9;
     this._btnEmployees.Text     = "Employees";
     this._btnEmployees.Click   += new System.EventHandler(this._btnEmployees_Click);
     //
     // _btnSave
     //
     this._btnSave.Location = new System.Drawing.Point(304, 8);
     this._btnSave.Name     = "_btnSave";
     this._btnSave.Size     = new System.Drawing.Size(80, 24);
     this._btnSave.TabIndex = 10;
     this._btnSave.Text     = "Save";
     this._btnSave.Click   += new System.EventHandler(this._btnSave_Click);
     //
     // c1r
     //
     this.c1r.ReportDefinition = resources.GetString("c1r.ReportDefinition");
     //
     // status
     //
     this.status.Location = new System.Drawing.Point(0, 398);
     this.status.Name     = "status";
     this.status.Size     = new System.Drawing.Size(505, 22);
     this.status.TabIndex = 13;
     this.status.Text     = "Ready";
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(505, 420);
     this.Controls.Add(this.status);
     this.Controls.Add(this.chkGroup);
     this.Controls.Add(this._btnCustomers);
     this.Controls.Add(this._btnEmployees);
     this.Controls.Add(this._btnSave);
     this.Controls.Add(this.Panel1);
     this.Controls.Add(this.btnCustomers);
     this.Controls.Add(this.btnEmployees);
     this.Controls.Add(this.btnSave);
     this.Name          = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "C1Report: On-the-fly Reports";
     this.Panel1.ResumeLayout(false);
     this.Panel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this._ppv)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.c1r)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #37
0
ファイル: Form1.cs プロジェクト: oluwabukola/script
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
     this.contextMenu1        = new System.Windows.Forms.ContextMenu();
     this.menuItem5           = new System.Windows.Forms.MenuItem();
     this.menuItem6_Exit      = new System.Windows.Forms.MenuItem();
     this.mainMenu1           = new System.Windows.Forms.MainMenu();
     this.menuItem1           = new System.Windows.Forms.MenuItem();
     this.menuItem2_Exit      = new System.Windows.Forms.MenuItem();
     this.menuItem3           = new System.Windows.Forms.MenuItem();
     this.menuItem4           = new System.Windows.Forms.MenuItem();
     this.menuItem2           = new System.Windows.Forms.MenuItem();
     this.toolBar1            = new System.Windows.Forms.ToolBar();
     this.toolBarButton1      = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton2_Exit = new System.Windows.Forms.ToolBarButton();
     this.imageList1          = new System.Windows.Forms.ImageList(this.components);
     this.statusBar1          = new System.Windows.Forms.StatusBar();
     this.statusBarPanel1     = new System.Windows.Forms.StatusBarPanel();
     this.statusBarPanel2     = new System.Windows.Forms.StatusBarPanel();
     this.label1        = new System.Windows.Forms.Label();
     this.textBox1      = new System.Windows.Forms.TextBox();
     this.contextMenu2  = new System.Windows.Forms.ContextMenu();
     this.menuItem9_Cut = new System.Windows.Forms.MenuItem();
     this.menuItem7     = new System.Windows.Forms.MenuItem();
     this.menuItem8     = new System.Windows.Forms.MenuItem();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit();
     this.SuspendLayout();
     //
     // contextMenu1
     //
     this.contextMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem5,
         this.menuItem6_Exit
     });
     //
     // menuItem5
     //
     this.menuItem5.Index = 0;
     this.menuItem5.Text  = "About|About this sample";
     //
     // menuItem6_Exit
     //
     this.menuItem6_Exit.Index = 1;
     this.menuItem6_Exit.Text  = "Exit|Exits from the application";
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1,
         this.menuItem3
     });
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem2_Exit
     });
     this.menuItem1.Text = "File";
     //
     // menuItem2_Exit
     //
     this.menuItem2_Exit.Index    = 0;
     this.menuItem2_Exit.Shortcut = System.Windows.Forms.Shortcut.F1;
     this.menuItem2_Exit.Text     = "Exit|Exits from the application";
     //
     // menuItem3
     //
     this.menuItem3.Index = 1;
     this.menuItem3.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem4,
         this.menuItem2
     });
     this.menuItem3.Text = "Help";
     //
     // menuItem4
     //
     this.menuItem4.Index = 0;
     this.menuItem4.Text  = "&About|About this application";
     //
     // menuItem2
     //
     this.menuItem2.Index = 1;
     this.menuItem2.Text  = "More";
     //
     // toolBar1
     //
     this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.toolBarButton1,
         this.toolBarButton2_Exit
     });
     this.toolBar1.ButtonSize     = new System.Drawing.Size(16, 16);
     this.toolBar1.DropDownArrows = true;
     this.toolBar1.ImageList      = this.imageList1;
     this.toolBar1.Name           = "toolBar1";
     this.toolBar1.ShowToolTips   = true;
     this.toolBar1.Size           = new System.Drawing.Size(240, 25);
     this.toolBar1.TabIndex       = 8;
     //
     // toolBarButton1
     //
     this.toolBarButton1.DropDownMenu = this.contextMenu1;
     this.toolBarButton1.ImageIndex   = 1;
     this.toolBarButton1.Style        = System.Windows.Forms.ToolBarButtonStyle.DropDownButton;
     this.toolBarButton1.ToolTipText  = "Open";
     //
     // toolBarButton2_Exit
     //
     this.toolBarButton2_Exit.ImageIndex  = 0;
     this.toolBarButton2_Exit.ToolTipText = "Exits from the application";
     //
     // imageList1
     //
     this.imageList1.ColorDepth       = System.Windows.Forms.ColorDepth.Depth32Bit;
     this.imageList1.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     //
     // statusBar1
     //
     this.statusBar1.Location = new System.Drawing.Point(0, 89);
     this.statusBar1.Name     = "statusBar1";
     this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
         this.statusBarPanel1,
         this.statusBarPanel2
     });
     this.statusBar1.ShowPanels = true;
     this.statusBar1.Size       = new System.Drawing.Size(240, 24);
     this.statusBar1.TabIndex   = 9;
     this.statusBar1.Text       = "statusBar1";
     //
     // statusBarPanel1
     //
     this.statusBarPanel1.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring;
     this.statusBarPanel1.Text     = "Press Ctrl+A for About.";
     this.statusBarPanel1.Width    = 174;
     //
     // statusBarPanel2
     //
     this.statusBarPanel2.Text  = "Page 1";
     this.statusBarPanel2.Width = 50;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 64);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(120, 16);
     this.label1.TabIndex = 10;
     this.label1.Text     = "Context menu here...";
     //
     // textBox1
     //
     this.textBox1.ContextMenu = this.contextMenu2;
     this.textBox1.Location    = new System.Drawing.Point(112, 32);
     this.textBox1.Name        = "textBox1";
     this.textBox1.Size        = new System.Drawing.Size(112, 20);
     this.textBox1.TabIndex    = 11;
     this.textBox1.Text        = "Context menu here...";
     //
     // contextMenu2
     //
     this.contextMenu2.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem9_Cut,
         this.menuItem7,
         this.menuItem8
     });
     //
     // menuItem9_Cut
     //
     this.menuItem9_Cut.Index = 0;
     this.menuItem9_Cut.Text  = " Cut|Cuts the text to the clipboard";
     //
     // menuItem7
     //
     this.menuItem7.Index    = 1;
     this.menuItem7.Shortcut = System.Windows.Forms.Shortcut.CtrlC;
     this.menuItem7.Text     = " Copy|Copies the text to the clipboard";
     //
     // menuItem8
     //
     this.menuItem8.Index    = 2;
     this.menuItem8.Shortcut = System.Windows.Forms.Shortcut.CtrlV;
     this.menuItem8.Text     = " Paste|Pastes the text from the clipboard";
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(240, 113);
     this.ContextMenu       = this.contextMenu1;
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.textBox1,
         this.label1,
         this.statusBar1,
         this.toolBar1
     });
     this.MaximizeBox   = false;
     this.Menu          = this.mainMenu1;
     this.MinimizeBox   = false;
     this.Name          = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Menus";
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #38
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();
       System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LightmapToolDlg));
       this.timer_LMUpdate = new System.Timers.Timer();
       this.tabControl_Effects = new System.Windows.Forms.TabControl();
       this.tabPage_BrightnessContrast = new System.Windows.Forms.TabPage();
       this.hScrollBar_ContrastRadiosity = new System.Windows.Forms.HScrollBar();
       this.hScrollBar_ContrastBase = new System.Windows.Forms.HScrollBar();
       this.hScrollBar_BrightnessRadiosity = new System.Windows.Forms.HScrollBar();
       this.hScrollBar_BrightnessBase = new System.Windows.Forms.HScrollBar();
       this.groupBox1 = new System.Windows.Forms.GroupBox();
       this.label_bright1 = new System.Windows.Forms.Label();
       this.numericUpDown_ContrastBase = new System.Windows.Forms.NumericUpDown();
       this.numericUpDown_BrightnessBase = new System.Windows.Forms.NumericUpDown();
       this.label_contrast1 = new System.Windows.Forms.Label();
       this.groupBox2 = new System.Windows.Forms.GroupBox();
       this.numericUpDown_ContrastRad = new System.Windows.Forms.NumericUpDown();
       this.numericUpDown_BrightnessRad = new System.Windows.Forms.NumericUpDown();
       this.label_contrast2 = new System.Windows.Forms.Label();
       this.label_bright2 = new System.Windows.Forms.Label();
       this.tabPage_Saturation = new System.Windows.Forms.TabPage();
       this.numericUpDown_SaturationRad = new System.Windows.Forms.NumericUpDown();
       this.hScrollBar_SaturationRadiosity = new System.Windows.Forms.HScrollBar();
       this.groupBox4 = new System.Windows.Forms.GroupBox();
       this.label_saturation2 = new System.Windows.Forms.Label();
       this.numericUpDown_SaturationBase = new System.Windows.Forms.NumericUpDown();
       this.hScrollBar_SaturationBase = new System.Windows.Forms.HScrollBar();
       this.groupBox3 = new System.Windows.Forms.GroupBox();
       this.label_saturation1 = new System.Windows.Forms.Label();
       this.ToolTip = new System.Windows.Forms.ToolTip(this.components);
       this.statusBar1 = new System.Windows.Forms.StatusBar();
       this.toolBar_main = new System.Windows.Forms.ToolBar();
       this.toolBarButton_Save = new System.Windows.Forms.ToolBarButton();
       this.toolBarButton_Reset = new System.Windows.Forms.ToolBarButton();
       this.toolBarButton1 = new System.Windows.Forms.ToolBarButton();
       this.toolBarButton_Undo = new System.Windows.Forms.ToolBarButton();
       this.toolBarButton_Redo = new System.Windows.Forms.ToolBarButton();
       this.toolBarButton2 = new System.Windows.Forms.ToolBarButton();
       this.toolBarButton_DirectLighting = new System.Windows.Forms.ToolBarButton();
       this.toolBarButton_Radiosity = new System.Windows.Forms.ToolBarButton();
       this.ImageList = new System.Windows.Forms.ImageList(this.components);
       this.comboBox_Target = new System.Windows.Forms.ComboBox();
       this.label_Target = new System.Windows.Forms.Label();
       ((System.ComponentModel.ISupportInitialize)(this.timer_LMUpdate)).BeginInit();
       this.tabControl_Effects.SuspendLayout();
       this.tabPage_BrightnessContrast.SuspendLayout();
       this.groupBox1.SuspendLayout();
       ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_ContrastBase)).BeginInit();
       ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_BrightnessBase)).BeginInit();
       this.groupBox2.SuspendLayout();
       ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_ContrastRad)).BeginInit();
       ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_BrightnessRad)).BeginInit();
       this.tabPage_Saturation.SuspendLayout();
       ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_SaturationRad)).BeginInit();
       this.groupBox4.SuspendLayout();
       ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_SaturationBase)).BeginInit();
       this.groupBox3.SuspendLayout();
       this.SuspendLayout();
       //
       // timer_LMUpdate
       //
       this.timer_LMUpdate.Enabled = true;
       this.timer_LMUpdate.Interval = 50;
       this.timer_LMUpdate.SynchronizingObject = this;
       this.timer_LMUpdate.Elapsed += new System.Timers.ElapsedEventHandler(this.timer_LMUpdate_Elapsed);
       //
       // tabControl_Effects
       //
       this.tabControl_Effects.Controls.Add(this.tabPage_BrightnessContrast);
       this.tabControl_Effects.Controls.Add(this.tabPage_Saturation);
       this.tabControl_Effects.Location = new System.Drawing.Point(8, 72);
       this.tabControl_Effects.Name = "tabControl_Effects";
       this.tabControl_Effects.SelectedIndex = 0;
       this.tabControl_Effects.Size = new System.Drawing.Size(480, 192);
       this.tabControl_Effects.TabIndex = 3;
       //
       // tabPage_BrightnessContrast
       //
       this.tabPage_BrightnessContrast.Controls.Add(this.hScrollBar_ContrastRadiosity);
       this.tabPage_BrightnessContrast.Controls.Add(this.hScrollBar_ContrastBase);
       this.tabPage_BrightnessContrast.Controls.Add(this.hScrollBar_BrightnessRadiosity);
       this.tabPage_BrightnessContrast.Controls.Add(this.hScrollBar_BrightnessBase);
       this.tabPage_BrightnessContrast.Controls.Add(this.groupBox1);
       this.tabPage_BrightnessContrast.Controls.Add(this.groupBox2);
       this.tabPage_BrightnessContrast.Location = new System.Drawing.Point(4, 22);
       this.tabPage_BrightnessContrast.Name = "tabPage_BrightnessContrast";
       this.tabPage_BrightnessContrast.Size = new System.Drawing.Size(472, 166);
       this.tabPage_BrightnessContrast.TabIndex = 0;
       this.tabPage_BrightnessContrast.Text = "Brightness and Contrast";
       //
       // hScrollBar_ContrastRadiosity
       //
       this.hScrollBar_ContrastRadiosity.LargeChange = 20;
       this.hScrollBar_ContrastRadiosity.Location = new System.Drawing.Point(40, 136);
       this.hScrollBar_ContrastRadiosity.Maximum = 400;
       this.hScrollBar_ContrastRadiosity.Name = "hScrollBar_ContrastRadiosity";
       this.hScrollBar_ContrastRadiosity.Size = new System.Drawing.Size(347, 16);
       this.hScrollBar_ContrastRadiosity.TabIndex = 5;
       this.ToolTip.SetToolTip(this.hScrollBar_ContrastRadiosity, "Contrast of radiosity contribution");
       this.hScrollBar_ContrastRadiosity.Value = 100;
       this.hScrollBar_ContrastRadiosity.ValueChanged += new System.EventHandler(this.hScrollBar_ContrastRadiosity_ValueChanged);
       this.hScrollBar_ContrastRadiosity.Scroll += new System.Windows.Forms.ScrollEventHandler(this.hScrollBar_ContrastRadiosity_Scroll);
       //
       // hScrollBar_ContrastBase
       //
       this.hScrollBar_ContrastBase.LargeChange = 20;
       this.hScrollBar_ContrastBase.Location = new System.Drawing.Point(40, 56);
       this.hScrollBar_ContrastBase.Maximum = 400;
       this.hScrollBar_ContrastBase.Name = "hScrollBar_ContrastBase";
       this.hScrollBar_ContrastBase.Size = new System.Drawing.Size(347, 16);
       this.hScrollBar_ContrastBase.TabIndex = 2;
       this.ToolTip.SetToolTip(this.hScrollBar_ContrastBase, "Contrast of direct lighting");
       this.hScrollBar_ContrastBase.Value = 100;
       this.hScrollBar_ContrastBase.ValueChanged += new System.EventHandler(this.hScrollBar_ContrastBase_ValueChanged);
       this.hScrollBar_ContrastBase.Scroll += new System.Windows.Forms.ScrollEventHandler(this.hScrollBar_ContrastBase_Scroll);
       //
       // hScrollBar_BrightnessRadiosity
       //
       this.hScrollBar_BrightnessRadiosity.Location = new System.Drawing.Point(40, 112);
       this.hScrollBar_BrightnessRadiosity.Minimum = -100;
       this.hScrollBar_BrightnessRadiosity.Name = "hScrollBar_BrightnessRadiosity";
       this.hScrollBar_BrightnessRadiosity.Size = new System.Drawing.Size(347, 16);
       this.hScrollBar_BrightnessRadiosity.TabIndex = 4;
       this.ToolTip.SetToolTip(this.hScrollBar_BrightnessRadiosity, "Brightness of radiosity contribution");
       this.hScrollBar_BrightnessRadiosity.ValueChanged += new System.EventHandler(this.hScrollBar_BrightnessRadiosity_ValueChanged);
       this.hScrollBar_BrightnessRadiosity.Scroll += new System.Windows.Forms.ScrollEventHandler(this.hScrollBar_BrightnessRadiosity_Scroll);
       //
       // hScrollBar_BrightnessBase
       //
       this.hScrollBar_BrightnessBase.Location = new System.Drawing.Point(40, 32);
       this.hScrollBar_BrightnessBase.Minimum = -100;
       this.hScrollBar_BrightnessBase.Name = "hScrollBar_BrightnessBase";
       this.hScrollBar_BrightnessBase.Size = new System.Drawing.Size(347, 16);
       this.hScrollBar_BrightnessBase.TabIndex = 1;
       this.ToolTip.SetToolTip(this.hScrollBar_BrightnessBase, "Brightness of direct lighting");
       this.hScrollBar_BrightnessBase.ValueChanged += new System.EventHandler(this.hScrollBar_BrightnessBase_ValueChanged);
       this.hScrollBar_BrightnessBase.Scroll += new System.Windows.Forms.ScrollEventHandler(this.hScrollBar_BrightnessBase_Scroll);
       //
       // groupBox1
       //
       this.groupBox1.Controls.Add(this.label_bright1);
       this.groupBox1.Controls.Add(this.numericUpDown_ContrastBase);
       this.groupBox1.Controls.Add(this.numericUpDown_BrightnessBase);
       this.groupBox1.Controls.Add(this.label_contrast1);
       this.groupBox1.Location = new System.Drawing.Point(8, 8);
       this.groupBox1.Name = "groupBox1";
       this.groupBox1.Size = new System.Drawing.Size(456, 72);
       this.groupBox1.TabIndex = 0;
       this.groupBox1.TabStop = false;
       this.groupBox1.Text = "Direct lighting";
       //
       // label_bright1
       //
       this.label_bright1.Image = ((System.Drawing.Image)(resources.GetObject("label_bright1.Image")));
       this.label_bright1.Location = new System.Drawing.Point(8, 24);
       this.label_bright1.Name = "label_bright1";
       this.label_bright1.Size = new System.Drawing.Size(16, 16);
       this.label_bright1.TabIndex = 0;
       this.ToolTip.SetToolTip(this.label_bright1, "Brightness");
       //
       // numericUpDown_ContrastBase
       //
       this.numericUpDown_ContrastBase.DecimalPlaces = 1;
       this.numericUpDown_ContrastBase.Location = new System.Drawing.Point(392, 48);
       this.numericUpDown_ContrastBase.Maximum = new decimal(new int[] {
     1000,
     0,
     0,
     0});
       this.numericUpDown_ContrastBase.Name = "numericUpDown_ContrastBase";
       this.numericUpDown_ContrastBase.Size = new System.Drawing.Size(56, 20);
       this.numericUpDown_ContrastBase.TabIndex = 3;
       this.numericUpDown_ContrastBase.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
       this.ToolTip.SetToolTip(this.numericUpDown_ContrastBase, "Contrast of direct lighting");
       this.numericUpDown_ContrastBase.ValueChanged += new System.EventHandler(this.numericUpDown_ContrastBase_ValueChanged);
       //
       // numericUpDown_BrightnessBase
       //
       this.numericUpDown_BrightnessBase.DecimalPlaces = 1;
       this.numericUpDown_BrightnessBase.Location = new System.Drawing.Point(392, 24);
       this.numericUpDown_BrightnessBase.Minimum = new decimal(new int[] {
     100,
     0,
     0,
     -2147483648});
       this.numericUpDown_BrightnessBase.Name = "numericUpDown_BrightnessBase";
       this.numericUpDown_BrightnessBase.Size = new System.Drawing.Size(56, 20);
       this.numericUpDown_BrightnessBase.TabIndex = 1;
       this.numericUpDown_BrightnessBase.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
       this.ToolTip.SetToolTip(this.numericUpDown_BrightnessBase, "Brightness of direct lighting");
       this.numericUpDown_BrightnessBase.ValueChanged += new System.EventHandler(this.numericUpDown_BrightnessBase_ValueChanged);
       //
       // label_contrast1
       //
       this.label_contrast1.Image = ((System.Drawing.Image)(resources.GetObject("label_contrast1.Image")));
       this.label_contrast1.Location = new System.Drawing.Point(8, 48);
       this.label_contrast1.Name = "label_contrast1";
       this.label_contrast1.Size = new System.Drawing.Size(16, 16);
       this.label_contrast1.TabIndex = 2;
       this.ToolTip.SetToolTip(this.label_contrast1, "Contrast");
       //
       // groupBox2
       //
       this.groupBox2.Controls.Add(this.numericUpDown_ContrastRad);
       this.groupBox2.Controls.Add(this.numericUpDown_BrightnessRad);
       this.groupBox2.Controls.Add(this.label_contrast2);
       this.groupBox2.Controls.Add(this.label_bright2);
       this.groupBox2.Location = new System.Drawing.Point(8, 88);
       this.groupBox2.Name = "groupBox2";
       this.groupBox2.Size = new System.Drawing.Size(456, 72);
       this.groupBox2.TabIndex = 3;
       this.groupBox2.TabStop = false;
       this.groupBox2.Text = "Radiosity contribution";
       //
       // numericUpDown_ContrastRad
       //
       this.numericUpDown_ContrastRad.DecimalPlaces = 1;
       this.numericUpDown_ContrastRad.Location = new System.Drawing.Point(392, 48);
       this.numericUpDown_ContrastRad.Maximum = new decimal(new int[] {
     1000,
     0,
     0,
     0});
       this.numericUpDown_ContrastRad.Name = "numericUpDown_ContrastRad";
       this.numericUpDown_ContrastRad.Size = new System.Drawing.Size(56, 20);
       this.numericUpDown_ContrastRad.TabIndex = 3;
       this.numericUpDown_ContrastRad.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
       this.ToolTip.SetToolTip(this.numericUpDown_ContrastRad, "Contrast of radiosity contribution");
       this.numericUpDown_ContrastRad.ValueChanged += new System.EventHandler(this.numericUpDown_ContrastRad_ValueChanged);
       //
       // numericUpDown_BrightnessRad
       //
       this.numericUpDown_BrightnessRad.DecimalPlaces = 1;
       this.numericUpDown_BrightnessRad.Location = new System.Drawing.Point(392, 24);
       this.numericUpDown_BrightnessRad.Minimum = new decimal(new int[] {
     100,
     0,
     0,
     -2147483648});
       this.numericUpDown_BrightnessRad.Name = "numericUpDown_BrightnessRad";
       this.numericUpDown_BrightnessRad.Size = new System.Drawing.Size(56, 20);
       this.numericUpDown_BrightnessRad.TabIndex = 1;
       this.numericUpDown_BrightnessRad.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
       this.ToolTip.SetToolTip(this.numericUpDown_BrightnessRad, "Brightness of radiosity contribution");
       this.numericUpDown_BrightnessRad.Value = new decimal(new int[] {
     1,
     0,
     0,
     0});
       this.numericUpDown_BrightnessRad.ValueChanged += new System.EventHandler(this.numericUpDown_BrightnessRad_ValueChanged);
       //
       // label_contrast2
       //
       this.label_contrast2.Image = ((System.Drawing.Image)(resources.GetObject("label_contrast2.Image")));
       this.label_contrast2.Location = new System.Drawing.Point(8, 48);
       this.label_contrast2.Name = "label_contrast2";
       this.label_contrast2.Size = new System.Drawing.Size(16, 16);
       this.label_contrast2.TabIndex = 2;
       this.ToolTip.SetToolTip(this.label_contrast2, "Contrast");
       //
       // label_bright2
       //
       this.label_bright2.Image = ((System.Drawing.Image)(resources.GetObject("label_bright2.Image")));
       this.label_bright2.Location = new System.Drawing.Point(8, 24);
       this.label_bright2.Name = "label_bright2";
       this.label_bright2.Size = new System.Drawing.Size(16, 16);
       this.label_bright2.TabIndex = 0;
       this.ToolTip.SetToolTip(this.label_bright2, "Brightness");
       //
       // tabPage_Saturation
       //
       this.tabPage_Saturation.Controls.Add(this.numericUpDown_SaturationRad);
       this.tabPage_Saturation.Controls.Add(this.hScrollBar_SaturationRadiosity);
       this.tabPage_Saturation.Controls.Add(this.groupBox4);
       this.tabPage_Saturation.Controls.Add(this.numericUpDown_SaturationBase);
       this.tabPage_Saturation.Controls.Add(this.hScrollBar_SaturationBase);
       this.tabPage_Saturation.Controls.Add(this.groupBox3);
       this.tabPage_Saturation.Location = new System.Drawing.Point(4, 22);
       this.tabPage_Saturation.Name = "tabPage_Saturation";
       this.tabPage_Saturation.Size = new System.Drawing.Size(472, 166);
       this.tabPage_Saturation.TabIndex = 1;
       this.tabPage_Saturation.Text = "Saturation";
       //
       // numericUpDown_SaturationRad
       //
       this.numericUpDown_SaturationRad.DecimalPlaces = 1;
       this.numericUpDown_SaturationRad.Location = new System.Drawing.Point(400, 120);
       this.numericUpDown_SaturationRad.Maximum = new decimal(new int[] {
     200,
     0,
     0,
     0});
       this.numericUpDown_SaturationRad.Name = "numericUpDown_SaturationRad";
       this.numericUpDown_SaturationRad.Size = new System.Drawing.Size(56, 20);
       this.numericUpDown_SaturationRad.TabIndex = 5;
       this.numericUpDown_SaturationRad.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
       this.ToolTip.SetToolTip(this.numericUpDown_SaturationRad, "Color saturation of radiosity contribution");
       this.numericUpDown_SaturationRad.Value = new decimal(new int[] {
     100,
     0,
     0,
     0});
       this.numericUpDown_SaturationRad.ValueChanged += new System.EventHandler(this.numericUpDown_SaturationRad_ValueChanged);
       //
       // hScrollBar_SaturationRadiosity
       //
       this.hScrollBar_SaturationRadiosity.Location = new System.Drawing.Point(40, 120);
       this.hScrollBar_SaturationRadiosity.Maximum = 200;
       this.hScrollBar_SaturationRadiosity.Name = "hScrollBar_SaturationRadiosity";
       this.hScrollBar_SaturationRadiosity.Size = new System.Drawing.Size(347, 16);
       this.hScrollBar_SaturationRadiosity.TabIndex = 4;
       this.ToolTip.SetToolTip(this.hScrollBar_SaturationRadiosity, "Color saturation of radiosity contribution");
       this.hScrollBar_SaturationRadiosity.Value = 100;
       this.hScrollBar_SaturationRadiosity.ValueChanged += new System.EventHandler(this.hScrollBar_SaturationRadiosity_ValueChanged);
       this.hScrollBar_SaturationRadiosity.Scroll += new System.Windows.Forms.ScrollEventHandler(this.hScrollBar_SaturationRadiosity_Scroll);
       //
       // groupBox4
       //
       this.groupBox4.Controls.Add(this.label_saturation2);
       this.groupBox4.Location = new System.Drawing.Point(8, 88);
       this.groupBox4.Name = "groupBox4";
       this.groupBox4.Size = new System.Drawing.Size(456, 72);
       this.groupBox4.TabIndex = 3;
       this.groupBox4.TabStop = false;
       this.groupBox4.Text = "Radiosity contribution";
       //
       // label_saturation2
       //
       this.label_saturation2.Image = ((System.Drawing.Image)(resources.GetObject("label_saturation2.Image")));
       this.label_saturation2.Location = new System.Drawing.Point(8, 32);
       this.label_saturation2.Name = "label_saturation2";
       this.label_saturation2.Size = new System.Drawing.Size(16, 16);
       this.label_saturation2.TabIndex = 0;
       this.ToolTip.SetToolTip(this.label_saturation2, "Saturation");
       //
       // numericUpDown_SaturationBase
       //
       this.numericUpDown_SaturationBase.DecimalPlaces = 1;
       this.numericUpDown_SaturationBase.Location = new System.Drawing.Point(400, 40);
       this.numericUpDown_SaturationBase.Maximum = new decimal(new int[] {
     200,
     0,
     0,
     0});
       this.numericUpDown_SaturationBase.Name = "numericUpDown_SaturationBase";
       this.numericUpDown_SaturationBase.Size = new System.Drawing.Size(56, 20);
       this.numericUpDown_SaturationBase.TabIndex = 2;
       this.numericUpDown_SaturationBase.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
       this.ToolTip.SetToolTip(this.numericUpDown_SaturationBase, "Color saturation of direct lighting");
       this.numericUpDown_SaturationBase.Value = new decimal(new int[] {
     100,
     0,
     0,
     0});
       this.numericUpDown_SaturationBase.ValueChanged += new System.EventHandler(this.numericUpDown_SaturationBase_ValueChanged);
       //
       // hScrollBar_SaturationBase
       //
       this.hScrollBar_SaturationBase.Location = new System.Drawing.Point(40, 40);
       this.hScrollBar_SaturationBase.Maximum = 200;
       this.hScrollBar_SaturationBase.Name = "hScrollBar_SaturationBase";
       this.hScrollBar_SaturationBase.Size = new System.Drawing.Size(347, 16);
       this.hScrollBar_SaturationBase.TabIndex = 1;
       this.ToolTip.SetToolTip(this.hScrollBar_SaturationBase, "Color saturation of direct lighting");
       this.hScrollBar_SaturationBase.Value = 100;
       this.hScrollBar_SaturationBase.ValueChanged += new System.EventHandler(this.hScrollBar_SaturationBase_ValueChanged);
       this.hScrollBar_SaturationBase.Scroll += new System.Windows.Forms.ScrollEventHandler(this.hScrollBar_SaturationBase_Scroll);
       //
       // groupBox3
       //
       this.groupBox3.Controls.Add(this.label_saturation1);
       this.groupBox3.Location = new System.Drawing.Point(8, 8);
       this.groupBox3.Name = "groupBox3";
       this.groupBox3.Size = new System.Drawing.Size(456, 72);
       this.groupBox3.TabIndex = 0;
       this.groupBox3.TabStop = false;
       this.groupBox3.Text = "Direct lighting";
       //
       // label_saturation1
       //
       this.label_saturation1.Image = ((System.Drawing.Image)(resources.GetObject("label_saturation1.Image")));
       this.label_saturation1.Location = new System.Drawing.Point(8, 32);
       this.label_saturation1.Name = "label_saturation1";
       this.label_saturation1.Size = new System.Drawing.Size(16, 16);
       this.label_saturation1.TabIndex = 0;
       this.ToolTip.SetToolTip(this.label_saturation1, "Saturation");
       //
       // statusBar1
       //
       this.statusBar1.Location = new System.Drawing.Point(0, 269);
       this.statusBar1.Name = "statusBar1";
       this.statusBar1.Size = new System.Drawing.Size(498, 22);
       this.statusBar1.SizingGrip = false;
       this.statusBar1.TabIndex = 4;
       this.statusBar1.Text = "statusBar1";
       //
       // toolBar_main
       //
       this.toolBar_main.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
     this.toolBarButton_Save,
     this.toolBarButton_Reset,
     this.toolBarButton1,
     this.toolBarButton_Undo,
     this.toolBarButton_Redo,
     this.toolBarButton2,
     this.toolBarButton_DirectLighting,
     this.toolBarButton_Radiosity});
       this.toolBar_main.ButtonSize = new System.Drawing.Size(24, 24);
       this.toolBar_main.DropDownArrows = true;
       this.toolBar_main.ImageList = this.ImageList;
       this.toolBar_main.Location = new System.Drawing.Point(0, 0);
       this.toolBar_main.Name = "toolBar_main";
       this.toolBar_main.ShowToolTips = true;
       this.toolBar_main.Size = new System.Drawing.Size(498, 36);
       this.toolBar_main.TabIndex = 0;
       this.toolBar_main.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar_main_ButtonClick);
       //
       // toolBarButton_Save
       //
       this.toolBarButton_Save.ImageIndex = 0;
       this.toolBarButton_Save.Name = "toolBarButton_Save";
       this.toolBarButton_Save.ToolTipText = "Saves the lightmaps to uncompressed dds files";
       //
       // toolBarButton_Reset
       //
       this.toolBarButton_Reset.ImageIndex = 1;
       this.toolBarButton_Reset.Name = "toolBarButton_Reset";
       this.toolBarButton_Reset.ToolTipText = "Resets the current parameter";
       //
       // toolBarButton1
       //
       this.toolBarButton1.Name = "toolBarButton1";
       this.toolBarButton1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
       //
       // toolBarButton_Undo
       //
       this.toolBarButton_Undo.ImageIndex = 2;
       this.toolBarButton_Undo.Name = "toolBarButton_Undo";
       this.toolBarButton_Undo.ToolTipText = "Undos the last operation";
       //
       // toolBarButton_Redo
       //
       this.toolBarButton_Redo.ImageIndex = 3;
       this.toolBarButton_Redo.Name = "toolBarButton_Redo";
       this.toolBarButton_Redo.ToolTipText = "Redos the last operation";
       //
       // toolBarButton2
       //
       this.toolBarButton2.Name = "toolBarButton2";
       this.toolBarButton2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
       //
       // toolBarButton_DirectLighting
       //
       this.toolBarButton_DirectLighting.ImageIndex = 4;
       this.toolBarButton_DirectLighting.Name = "toolBarButton_DirectLighting";
       this.toolBarButton_DirectLighting.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
       this.toolBarButton_DirectLighting.ToolTipText = "Toggles direct lighting contribution";
       //
       // toolBarButton_Radiosity
       //
       this.toolBarButton_Radiosity.ImageIndex = 5;
       this.toolBarButton_Radiosity.Name = "toolBarButton_Radiosity";
       this.toolBarButton_Radiosity.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
       this.toolBarButton_Radiosity.ToolTipText = "Toggles radiosity contribution";
       //
       // ImageList
       //
       this.ImageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ImageList.ImageStream")));
       this.ImageList.TransparentColor = System.Drawing.Color.Magenta;
       this.ImageList.Images.SetKeyName(0, "");
       this.ImageList.Images.SetKeyName(1, "");
       this.ImageList.Images.SetKeyName(2, "");
       this.ImageList.Images.SetKeyName(3, "");
       this.ImageList.Images.SetKeyName(4, "");
       this.ImageList.Images.SetKeyName(5, "");
       //
       // comboBox_Target
       //
       this.comboBox_Target.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
       this.comboBox_Target.Items.AddRange(new object[] {
     "Lightmaps",
     "Light Grid"});
       this.comboBox_Target.Location = new System.Drawing.Point(80, 40);
       this.comboBox_Target.Name = "comboBox_Target";
       this.comboBox_Target.Size = new System.Drawing.Size(104, 21);
       this.comboBox_Target.TabIndex = 2;
       this.comboBox_Target.SelectedIndexChanged += new System.EventHandler(this.comboBox_Target_SelectedIndexChanged);
       //
       // label_Target
       //
       this.label_Target.Location = new System.Drawing.Point(8, 40);
       this.label_Target.Name = "label_Target";
       this.label_Target.Size = new System.Drawing.Size(64, 16);
       this.label_Target.TabIndex = 1;
       this.label_Target.Text = "Target :";
       this.label_Target.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
       //
       // LightmapToolDlg
       //
       this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
       this.ClientSize = new System.Drawing.Size(498, 291);
       this.Controls.Add(this.label_Target);
       this.Controls.Add(this.comboBox_Target);
       this.Controls.Add(this.toolBar_main);
       this.Controls.Add(this.statusBar1);
       this.Controls.Add(this.tabControl_Effects);
       this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
       this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
       this.Name = "LightmapToolDlg";
       this.Text = "Lightmap Tool";
       this.Closing += new System.ComponentModel.CancelEventHandler(this.LightmapToolDlg_Closing);
       ((System.ComponentModel.ISupportInitialize)(this.timer_LMUpdate)).EndInit();
       this.tabControl_Effects.ResumeLayout(false);
       this.tabPage_BrightnessContrast.ResumeLayout(false);
       this.groupBox1.ResumeLayout(false);
       ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_ContrastBase)).EndInit();
       ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_BrightnessBase)).EndInit();
       this.groupBox2.ResumeLayout(false);
       ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_ContrastRad)).EndInit();
       ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_BrightnessRad)).EndInit();
       this.tabPage_Saturation.ResumeLayout(false);
       ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_SaturationRad)).EndInit();
       this.groupBox4.ResumeLayout(false);
       ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_SaturationBase)).EndInit();
       this.groupBox3.ResumeLayout(false);
       this.ResumeLayout(false);
       this.PerformLayout();
 }
コード例 #39
0
ファイル: MhoraContainer.cs プロジェクト: rahulyhg/mhora
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(MhoraContainer));
     this.MdiMenu                   = new System.Windows.Forms.MainMenu();
     this.menuItemFile              = new System.Windows.Forms.MenuItem();
     this.menuItemFileNew           = new System.Windows.Forms.MenuItem();
     this.menuItemFileNewPrasna     = new System.Windows.Forms.MenuItem();
     this.menuItemFileOpen          = new System.Windows.Forms.MenuItem();
     this.menuItemFileExit          = new System.Windows.Forms.MenuItem();
     this.mViewPreferences          = new System.Windows.Forms.MenuItem();
     this.menuItem4                 = new System.Windows.Forms.MenuItem();
     this.mEditStrengthPrefs        = new System.Windows.Forms.MenuItem();
     this.mEditCalcPrefs            = new System.Windows.Forms.MenuItem();
     this.menuItem2                 = new System.Windows.Forms.MenuItem();
     this.mResetPreferences         = new System.Windows.Forms.MenuItem();
     this.mResetStrengthPreferences = new System.Windows.Forms.MenuItem();
     this.mSavePreferences          = new System.Windows.Forms.MenuItem();
     this.mIncreaseFontSize         = new System.Windows.Forms.MenuItem();
     this.mDecreaseFontSize         = new System.Windows.Forms.MenuItem();
     this.menuItemWindow            = new System.Windows.Forms.MenuItem();
     this.menuItemWindowTile        = new System.Windows.Forms.MenuItem();
     this.menuItemWindowCascade     = new System.Windows.Forms.MenuItem();
     this.menuItem1                 = new System.Windows.Forms.MenuItem();
     this.menuItemNewView           = new System.Windows.Forms.MenuItem();
     this.menuItemAdvanced          = new System.Windows.Forms.MenuItem();
     this.menuItemFindCharts        = new System.Windows.Forms.MenuItem();
     this.menuItemHelp              = new System.Windows.Forms.MenuItem();
     this.menuItemHelpAboutMhora    = new System.Windows.Forms.MenuItem();
     this.menuItemHelpAboutSjc      = new System.Windows.Forms.MenuItem();
     this.menuItemSplash            = new System.Windows.Forms.MenuItem();
     this.MdiStatusBar              = new System.Windows.Forms.StatusBar();
     this.MdiToolBar                = new System.Windows.Forms.ToolBar();
     this.toolbarButtonNew          = new System.Windows.Forms.ToolBarButton();
     this.toolbarButtonOpen         = new System.Windows.Forms.ToolBarButton();
     this.toolbarButtonSave         = new System.Windows.Forms.ToolBarButton();
     this.toolbarButtonPrint        = new System.Windows.Forms.ToolBarButton();
     this.toolbarButtonPreview      = new System.Windows.Forms.ToolBarButton();
     this.toolbarButtonDob          = new System.Windows.Forms.ToolBarButton();
     this.toolbarButtonDisp         = new System.Windows.Forms.ToolBarButton();
     this.toolbarButtonHelp         = new System.Windows.Forms.ToolBarButton();
     this.MdiImageList              = new System.Windows.Forms.ImageList(this.components);
     this.SuspendLayout();
     //
     // MdiMenu
     //
     this.MdiMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItemFile,
         this.mViewPreferences,
         this.menuItemWindow,
         this.menuItemAdvanced,
         this.menuItemHelp
     });
     //
     // menuItemFile
     //
     this.menuItemFile.Index = 0;
     this.menuItemFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItemFileNew,
         this.menuItemFileNewPrasna,
         this.menuItemFileOpen,
         this.menuItemFileExit
     });
     this.menuItemFile.MergeType = System.Windows.Forms.MenuMerge.MergeItems;
     this.menuItemFile.Text      = "&File";
     //
     // menuItemFileNew
     //
     this.menuItemFileNew.Index    = 0;
     this.menuItemFileNew.Shortcut = System.Windows.Forms.Shortcut.CtrlN;
     this.menuItemFileNew.Text     = "&New";
     this.menuItemFileNew.Click   += new System.EventHandler(this.menuItemFileNew_Click);
     //
     // menuItemFileNewPrasna
     //
     this.menuItemFileNewPrasna.Index  = 1;
     this.menuItemFileNewPrasna.Text   = "New &Prasna";
     this.menuItemFileNewPrasna.Click += new System.EventHandler(this.menuItemFileNewPrasna_Click);
     //
     // menuItemFileOpen
     //
     this.menuItemFileOpen.Index    = 2;
     this.menuItemFileOpen.Shortcut = System.Windows.Forms.Shortcut.CtrlO;
     this.menuItemFileOpen.Text     = "&Open";
     this.menuItemFileOpen.Click   += new System.EventHandler(this.menuItemFileOpen_Click);
     //
     // menuItemFileExit
     //
     this.menuItemFileExit.Index      = 3;
     this.menuItemFileExit.MergeOrder = 2;
     this.menuItemFileExit.Shortcut   = System.Windows.Forms.Shortcut.CtrlQ;
     this.menuItemFileExit.Text       = "E&xit";
     this.menuItemFileExit.Click     += new System.EventHandler(this.menuItemFileExit_Click);
     //
     // mViewPreferences
     //
     this.mViewPreferences.Index = 1;
     this.mViewPreferences.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem4,
         this.mEditStrengthPrefs,
         this.mEditCalcPrefs,
         this.menuItem2,
         this.mResetPreferences,
         this.mResetStrengthPreferences,
         this.mSavePreferences,
         this.mIncreaseFontSize,
         this.mDecreaseFontSize
     });
     this.mViewPreferences.MergeOrder = 1;
     this.mViewPreferences.MergeType  = System.Windows.Forms.MenuMerge.MergeItems;
     this.mViewPreferences.Text       = "&Options";
     //
     // menuItem4
     //
     this.menuItem4.Index      = 0;
     this.menuItem4.MergeOrder = 1;
     this.menuItem4.Shortcut   = System.Windows.Forms.Shortcut.CtrlP;
     this.menuItem4.Text       = "Edit Global Display Options";
     this.menuItem4.Click     += new System.EventHandler(this.menuItem4_Click);
     //
     // mEditStrengthPrefs
     //
     this.mEditStrengthPrefs.Index      = 1;
     this.mEditStrengthPrefs.MergeOrder = 1;
     this.mEditStrengthPrefs.Text       = "Edit Global Strength Options";
     this.mEditStrengthPrefs.Click     += new System.EventHandler(this.mEditStrengthPrefs_Click);
     //
     // mEditCalcPrefs
     //
     this.mEditCalcPrefs.Index      = 2;
     this.mEditCalcPrefs.MergeOrder = 1;
     this.mEditCalcPrefs.Shortcut   = System.Windows.Forms.Shortcut.CtrlG;
     this.mEditCalcPrefs.Text       = "Edit Global Calculation Options";
     this.mEditCalcPrefs.Click     += new System.EventHandler(this.mEditCalcPrefs_Click);
     //
     // menuItem2
     //
     this.menuItem2.Index      = 3;
     this.menuItem2.MergeOrder = 3;
     this.menuItem2.Text       = "-";
     //
     // mResetPreferences
     //
     this.mResetPreferences.Index      = 4;
     this.mResetPreferences.MergeOrder = 3;
     this.mResetPreferences.Text       = "Reset All Options";
     this.mResetPreferences.Click     += new System.EventHandler(this.mResetPreferences_Click);
     //
     // mResetStrengthPreferences
     //
     this.mResetStrengthPreferences.Index      = 5;
     this.mResetStrengthPreferences.MergeOrder = 3;
     this.mResetStrengthPreferences.Text       = "Reset Strength Options";
     this.mResetStrengthPreferences.Click     += new System.EventHandler(this.mResetStrengthPreferences_Click);
     //
     // mSavePreferences
     //
     this.mSavePreferences.Index      = 6;
     this.mSavePreferences.MergeOrder = 3;
     this.mSavePreferences.Text       = "Save Options";
     this.mSavePreferences.Click     += new System.EventHandler(this.mSavePreferences_Click);
     //
     // mIncreaseFontSize
     //
     this.mIncreaseFontSize.Index      = 7;
     this.mIncreaseFontSize.MergeOrder = 3;
     this.mIncreaseFontSize.Text       = "+ Font Size";
     this.mIncreaseFontSize.Click     += new System.EventHandler(this.mIncreaseFontSize_Click);
     //
     // mDecreaseFontSize
     //
     this.mDecreaseFontSize.Index      = 8;
     this.mDecreaseFontSize.MergeOrder = 3;
     this.mDecreaseFontSize.Text       = "- Size Size";
     this.mDecreaseFontSize.Click     += new System.EventHandler(this.mDecreaseFontSize_Click);
     //
     // menuItemWindow
     //
     this.menuItemWindow.Index   = 2;
     this.menuItemWindow.MdiList = true;
     this.menuItemWindow.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItemWindowTile,
         this.menuItemWindowCascade,
         this.menuItem1,
         this.menuItemNewView
     });
     this.menuItemWindow.MergeOrder = 2;
     this.menuItemWindow.Text       = "&Window";
     //
     // menuItemWindowTile
     //
     this.menuItemWindowTile.Index  = 0;
     this.menuItemWindowTile.Text   = "&Tile";
     this.menuItemWindowTile.Click += new System.EventHandler(this.menuItemWindowTile_Click);
     //
     // menuItemWindowCascade
     //
     this.menuItemWindowCascade.Index  = 1;
     this.menuItemWindowCascade.Text   = "&Cascade";
     this.menuItemWindowCascade.Click += new System.EventHandler(this.menuItemWindowCascade_Click);
     //
     // menuItem1
     //
     this.menuItem1.Index = 2;
     this.menuItem1.Text  = "-";
     //
     // menuItemNewView
     //
     this.menuItemNewView.Index  = 3;
     this.menuItemNewView.Text   = "&New View";
     this.menuItemNewView.Click += new System.EventHandler(this.menuItemNewView_Click);
     //
     // menuItemAdvanced
     //
     this.menuItemAdvanced.Enabled = false;
     this.menuItemAdvanced.Index   = 3;
     this.menuItemAdvanced.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItemFindCharts
     });
     this.menuItemAdvanced.MergeOrder = 2;
     this.menuItemAdvanced.Text       = "Advanced";
     //
     // menuItemFindCharts
     //
     this.menuItemFindCharts.Index  = 0;
     this.menuItemFindCharts.Text   = "Find Charts";
     this.menuItemFindCharts.Click += new System.EventHandler(this.menuItemFindCharts_Click);
     //
     // menuItemHelp
     //
     this.menuItemHelp.Index = 4;
     this.menuItemHelp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItemHelpAboutMhora,
         this.menuItemHelpAboutSjc,
         this.menuItemSplash
     });
     this.menuItemHelp.MergeOrder = 2;
     this.menuItemHelp.Shortcut   = System.Windows.Forms.Shortcut.F1;
     this.menuItemHelp.Text       = "&Help";
     //
     // menuItemHelpAboutMhora
     //
     this.menuItemHelpAboutMhora.Index  = 0;
     this.menuItemHelpAboutMhora.Text   = "&About Mudgala Hora";
     this.menuItemHelpAboutMhora.Click += new System.EventHandler(this.menuItemHelpAboutMhora_Click);
     //
     // menuItemHelpAboutSjc
     //
     this.menuItemHelpAboutSjc.Index  = 1;
     this.menuItemHelpAboutSjc.Text   = "About &SJC";
     this.menuItemHelpAboutSjc.Click += new System.EventHandler(this.menuItemHelpAboutSjc_Click);
     //
     // menuItemSplash
     //
     this.menuItemSplash.Index  = 2;
     this.menuItemSplash.Text   = "&View Splash Screen";
     this.menuItemSplash.Click += new System.EventHandler(this.menuItemSplash_Click);
     //
     // MdiStatusBar
     //
     this.MdiStatusBar.Location = new System.Drawing.Point(0, 267);
     this.MdiStatusBar.Name     = "MdiStatusBar";
     this.MdiStatusBar.Size     = new System.Drawing.Size(456, 22);
     this.MdiStatusBar.TabIndex = 1;
     //
     // MdiToolBar
     //
     this.MdiToolBar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.toolbarButtonNew,
         this.toolbarButtonOpen,
         this.toolbarButtonSave,
         this.toolbarButtonPrint,
         this.toolbarButtonPreview,
         this.toolbarButtonDob,
         this.toolbarButtonDisp,
         this.toolbarButtonHelp
     });
     this.MdiToolBar.DropDownArrows = true;
     this.MdiToolBar.ImageList      = this.MdiImageList;
     this.MdiToolBar.Location       = new System.Drawing.Point(0, 0);
     this.MdiToolBar.Name           = "MdiToolBar";
     this.MdiToolBar.ShowToolTips   = true;
     this.MdiToolBar.Size           = new System.Drawing.Size(456, 28);
     this.MdiToolBar.TabIndex       = 2;
     this.MdiToolBar.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.MdiToolBar_ButtonClick);
     //
     // toolbarButtonNew
     //
     this.toolbarButtonNew.ImageIndex  = 0;
     this.toolbarButtonNew.Tag         = "New";
     this.toolbarButtonNew.ToolTipText = "New Chart";
     //
     // toolbarButtonOpen
     //
     this.toolbarButtonOpen.ImageIndex  = 1;
     this.toolbarButtonOpen.Tag         = "ButtonOpen";
     this.toolbarButtonOpen.ToolTipText = "Open Chart";
     //
     // toolbarButtonSave
     //
     this.toolbarButtonSave.ImageIndex  = 2;
     this.toolbarButtonSave.Tag         = "Save";
     this.toolbarButtonSave.ToolTipText = "Save Chart";
     //
     // toolbarButtonPrint
     //
     this.toolbarButtonPrint.ImageIndex  = 4;
     this.toolbarButtonPrint.ToolTipText = "Print";
     //
     // toolbarButtonPreview
     //
     this.toolbarButtonPreview.ImageIndex  = 5;
     this.toolbarButtonPreview.ToolTipText = "Print Preview";
     //
     // toolbarButtonDob
     //
     this.toolbarButtonDob.ImageIndex  = 7;
     this.toolbarButtonDob.ToolTipText = "Birth Data, Events";
     //
     // toolbarButtonDisp
     //
     this.toolbarButtonDisp.ImageIndex  = 8;
     this.toolbarButtonDisp.ToolTipText = "Display Preferences";
     //
     // toolbarButtonHelp
     //
     this.toolbarButtonHelp.ImageIndex  = 6;
     this.toolbarButtonHelp.Tag         = "ButtonHelp";
     this.toolbarButtonHelp.ToolTipText = "Help";
     //
     // MdiImageList
     //
     this.MdiImageList.ImageSize        = new System.Drawing.Size(16, 16);
     this.MdiImageList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("MdiImageList.ImageStream")));
     this.MdiImageList.TransparentColor = System.Drawing.Color.Transparent;
     //
     // MhoraContainer
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(456, 289);
     this.Controls.Add(this.MdiToolBar);
     this.Controls.Add(this.MdiStatusBar);
     this.IsMdiContainer = true;
     this.Menu           = this.MdiMenu;
     this.Name           = "MhoraContainer";
     this.Text           = "Mudgala Hora 0.1";
     this.WindowState    = System.Windows.Forms.FormWindowState.Maximized;
     this.Closing       += new System.ComponentModel.CancelEventHandler(this.MhoraContainer_Closing);
     this.Load          += new System.EventHandler(this.MhoraContainer_Load);
     this.ResumeLayout(false);
 }
コード例 #40
0
 /// <summary>
 /// Método necesario para admitir el Diseñador. No se puede modificar
 /// el contenido del método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(FrmVerImputaciones));
     Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup ultraExplorerBarGroup1 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup();
     Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup ultraExplorerBarGroup2 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup();
     this.ultraExplorerBarContainerControl1 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarContainerControl();
     this.uneSaldo             = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
     this.uneTotal             = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
     this.txtNumero            = new System.Windows.Forms.TextBox();
     this.label4               = new System.Windows.Forms.Label();
     this.label3               = new System.Windows.Forms.Label();
     this.label2               = new System.Windows.Forms.Label();
     this.txtTipoDeComprobante = new System.Windows.Forms.TextBox();
     this.label1               = new System.Windows.Forms.Label();
     this.ultraExplorerBarContainerControl2 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarContainerControl();
     this.gridAsociaciones  = new Janus.Windows.GridEX.GridEX();
     this.imglStandar       = new System.Windows.Forms.ImageList(this.components);
     this.toolBarStandar    = new System.Windows.Forms.ToolBar();
     this.toolBarButton9    = new System.Windows.Forms.ToolBarButton();
     this.ultraExplorerBar1 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar();
     this.ultraExplorerBarContainerControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.uneSaldo)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.uneTotal)).BeginInit();
     this.ultraExplorerBarContainerControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridAsociaciones)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ultraExplorerBar1)).BeginInit();
     this.ultraExplorerBar1.SuspendLayout();
     this.SuspendLayout();
     //
     // ultraExplorerBarContainerControl1
     //
     this.ultraExplorerBarContainerControl1.Controls.Add(this.uneSaldo);
     this.ultraExplorerBarContainerControl1.Controls.Add(this.uneTotal);
     this.ultraExplorerBarContainerControl1.Controls.Add(this.txtNumero);
     this.ultraExplorerBarContainerControl1.Controls.Add(this.label4);
     this.ultraExplorerBarContainerControl1.Controls.Add(this.label3);
     this.ultraExplorerBarContainerControl1.Controls.Add(this.label2);
     this.ultraExplorerBarContainerControl1.Controls.Add(this.txtTipoDeComprobante);
     this.ultraExplorerBarContainerControl1.Controls.Add(this.label1);
     this.ultraExplorerBarContainerControl1.Location = new System.Drawing.Point(28, 49);
     this.ultraExplorerBarContainerControl1.Name     = "ultraExplorerBarContainerControl1";
     this.ultraExplorerBarContainerControl1.Size     = new System.Drawing.Size(887, 95);
     this.ultraExplorerBarContainerControl1.TabIndex = 0;
     //
     // uneSaldo
     //
     this.uneSaldo.Location    = new System.Drawing.Point(144, 72);
     this.uneSaldo.MaskInput   = "$-nnnnnnnnn.nn";
     this.uneSaldo.Name        = "uneSaldo";
     this.uneSaldo.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
     this.uneSaldo.ReadOnly    = true;
     this.uneSaldo.Size        = new System.Drawing.Size(100, 21);
     this.uneSaldo.TabIndex    = 3;
     //
     // uneTotal
     //
     this.uneTotal.Location    = new System.Drawing.Point(144, 48);
     this.uneTotal.MaskInput   = "$-nnnnnnnnn.nn";
     this.uneTotal.Name        = "uneTotal";
     this.uneTotal.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
     this.uneTotal.ReadOnly    = true;
     this.uneTotal.Size        = new System.Drawing.Size(100, 21);
     this.uneTotal.TabIndex    = 2;
     //
     // txtNumero
     //
     this.txtNumero.Location = new System.Drawing.Point(144, 24);
     this.txtNumero.Name     = "txtNumero";
     this.txtNumero.ReadOnly = true;
     this.txtNumero.Size     = new System.Drawing.Size(240, 20);
     this.txtNumero.TabIndex = 1;
     this.txtNumero.Text     = "";
     //
     // label4
     //
     this.label4.BackColor = System.Drawing.Color.Transparent;
     this.label4.Location  = new System.Drawing.Point(0, 48);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(144, 20);
     this.label4.TabIndex  = 6;
     this.label4.Text      = "Total";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label3
     //
     this.label3.BackColor = System.Drawing.Color.Transparent;
     this.label3.Location  = new System.Drawing.Point(0, 72);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(144, 20);
     this.label3.TabIndex  = 4;
     this.label3.Text      = "Saldo";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label2
     //
     this.label2.BackColor = System.Drawing.Color.Transparent;
     this.label2.Location  = new System.Drawing.Point(0, 24);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(144, 20);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "Número";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtTipoDeComprobante
     //
     this.txtTipoDeComprobante.Location = new System.Drawing.Point(144, 0);
     this.txtTipoDeComprobante.Name     = "txtTipoDeComprobante";
     this.txtTipoDeComprobante.ReadOnly = true;
     this.txtTipoDeComprobante.Size     = new System.Drawing.Size(240, 20);
     this.txtTipoDeComprobante.TabIndex = 0;
     this.txtTipoDeComprobante.Text     = "";
     //
     // label1
     //
     this.label1.BackColor = System.Drawing.Color.Transparent;
     this.label1.Location  = new System.Drawing.Point(0, 0);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(144, 20);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Tipo de Comprobante";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // ultraExplorerBarContainerControl2
     //
     this.ultraExplorerBarContainerControl2.Controls.Add(this.gridAsociaciones);
     this.ultraExplorerBarContainerControl2.Location = new System.Drawing.Point(28, 203);
     this.ultraExplorerBarContainerControl2.Name     = "ultraExplorerBarContainerControl2";
     this.ultraExplorerBarContainerControl2.Size     = new System.Drawing.Size(887, 150);
     this.ultraExplorerBarContainerControl2.TabIndex = 1;
     //
     // gridAsociaciones
     //
     this.gridAsociaciones.AllowEdit                     = Janus.Windows.GridEX.InheritableBoolean.False;
     this.gridAsociaciones.AlternatingColors             = true;
     this.gridAsociaciones.AutomaticSort                 = false;
     this.gridAsociaciones.ControlStyle.ButtonAppearance = Janus.Windows.GridEX.ButtonAppearance.Regular;
     this.gridAsociaciones.Cursor = System.Windows.Forms.Cursors.Default;
     this.gridAsociaciones.Dock   = System.Windows.Forms.DockStyle.Fill;
     this.gridAsociaciones.EditorsControlStyle.ButtonAppearance = Janus.Windows.GridEX.ButtonAppearance.Regular;
     this.gridAsociaciones.EnterKeyBehavior                = Janus.Windows.GridEX.EnterKeyBehavior.None;
     this.gridAsociaciones.Font                            = new System.Drawing.Font("Tahoma", 8.25F);
     this.gridAsociaciones.GroupByBoxInfoText              = "Arraste un encabezado de columna hasta aquí para agrupar por esa columna.";
     this.gridAsociaciones.GroupByBoxVisible               = false;
     this.gridAsociaciones.HeaderFormatStyle.FontBold      = Janus.Windows.GridEX.TriState.True;
     this.gridAsociaciones.HeaderFormatStyle.TextAlignment = Janus.Windows.GridEX.TextAlignment.Center;
     this.gridAsociaciones.IncrementalSearchMode           = Janus.Windows.GridEX.IncrementalSearchMode.FirstCharacter;
     this.gridAsociaciones.InvalidValueAction              = Janus.Windows.GridEX.InvalidValueAction.DiscardChangesAndShowErrorMessage;
     this.gridAsociaciones.Location                        = new System.Drawing.Point(0, 0);
     this.gridAsociaciones.Name                            = "gridAsociaciones";
     this.gridAsociaciones.RecordNavigator                 = true;
     this.gridAsociaciones.RecordNavigatorText             = "Registro:|de";
     this.gridAsociaciones.RowHeaders                      = Janus.Windows.GridEX.InheritableBoolean.True;
     this.gridAsociaciones.ScrollBars                      = Janus.Windows.GridEX.ScrollBars.Both;
     this.gridAsociaciones.ShowEmptyFields                 = false;
     this.gridAsociaciones.Size                            = new System.Drawing.Size(887, 150);
     this.gridAsociaciones.TabIndex                        = 7;
     this.gridAsociaciones.UpdateMode                      = Janus.Windows.GridEX.UpdateMode.CellUpdate;
     //
     // imglStandar
     //
     this.imglStandar.ImageSize        = new System.Drawing.Size(16, 16);
     this.imglStandar.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imglStandar.ImageStream")));
     this.imglStandar.TransparentColor = System.Drawing.Color.Magenta;
     //
     // toolBarStandar
     //
     this.toolBarStandar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.toolBarStandar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.toolBarButton9
     });
     this.toolBarStandar.DropDownArrows = true;
     this.toolBarStandar.ImageList      = this.imglStandar;
     this.toolBarStandar.Location       = new System.Drawing.Point(0, 0);
     this.toolBarStandar.Name           = "toolBarStandar";
     this.toolBarStandar.ShowToolTips   = true;
     this.toolBarStandar.Size           = new System.Drawing.Size(936, 28);
     this.toolBarStandar.TabIndex       = 18;
     this.toolBarStandar.TextAlign      = System.Windows.Forms.ToolBarTextAlign.Right;
     //
     // toolBarButton9
     //
     this.toolBarButton9.ImageIndex = 7;
     this.toolBarButton9.Text       = "Salir";
     //
     // ultraExplorerBar1
     //
     this.ultraExplorerBar1.Controls.Add(this.ultraExplorerBarContainerControl1);
     this.ultraExplorerBar1.Controls.Add(this.ultraExplorerBarContainerControl2);
     this.ultraExplorerBar1.Cursor    = System.Windows.Forms.Cursors.Hand;
     this.ultraExplorerBar1.Dock      = System.Windows.Forms.DockStyle.Fill;
     ultraExplorerBarGroup1.Container = this.ultraExplorerBarContainerControl1;
     ultraExplorerBarGroup1.Settings.ContainerHeight = 95;
     ultraExplorerBarGroup1.Settings.Style           = Infragistics.Win.UltraWinExplorerBar.GroupStyle.ControlContainer;
     ultraExplorerBarGroup1.Text           = "Comprobante";
     ultraExplorerBarGroup2.Container      = this.ultraExplorerBarContainerControl2;
     ultraExplorerBarGroup2.Settings.Style = Infragistics.Win.UltraWinExplorerBar.GroupStyle.ControlContainer;
     ultraExplorerBarGroup2.Text           = "Imputaciones";
     this.ultraExplorerBar1.Groups.AddRange(new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup[] {
         ultraExplorerBarGroup1,
         ultraExplorerBarGroup2
     });
     this.ultraExplorerBar1.Location = new System.Drawing.Point(0, 28);
     this.ultraExplorerBar1.Name     = "ultraExplorerBar1"; this.ultraExplorerBar1.AnimationEnabled = false;         //German 20101207 - Tarea Infragistics 2008 – Tarea 983
     this.ultraExplorerBar1.Size     = new System.Drawing.Size(936, 393);
     this.ultraExplorerBar1.TabIndex = 19;
     //
     // FrmVerImputaciones
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(936, 421);
     this.Controls.Add(this.ultraExplorerBar1);
     this.Controls.Add(this.toolBarStandar);
     this.Name = "FrmVerImputaciones";
     this.Text = "FrmVerImputaciones";
     this.ultraExplorerBarContainerControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.uneSaldo)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.uneTotal)).EndInit();
     this.ultraExplorerBarContainerControl2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridAsociaciones)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ultraExplorerBar1)).EndInit();
     this.ultraExplorerBar1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #41
0
 /// <summary>
 /// Método necesario para admitir el Diseñador. No se puede modificar
 /// el contenido del método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(FrmReportsGenericViewer));
     this.openFileDialog  = new System.Windows.Forms.OpenFileDialog();
     this.imglStandar     = new System.Windows.Forms.ImageList(this.components);
     this.toolBarStandar  = new System.Windows.Forms.ToolBar();
     this.tbbAnterior     = new System.Windows.Forms.ToolBarButton();
     this.tbbSeparator    = new System.Windows.Forms.ToolBarButton();
     this.tbbSiguiente    = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton7  = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton8  = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton9  = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton10 = new System.Windows.Forms.ToolBarButton();
     this.panel1          = new System.Windows.Forms.Panel();
     this._viewer         = new DataDynamics.ActiveReports.Viewer.Viewer();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // imglStandar
     //
     this.imglStandar.ImageSize        = new System.Drawing.Size(16, 16);
     this.imglStandar.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imglStandar.ImageStream")));
     this.imglStandar.TransparentColor = System.Drawing.Color.Magenta;
     //
     // toolBarStandar
     //
     this.toolBarStandar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.toolBarStandar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.tbbAnterior,
         this.tbbSeparator,
         this.tbbSiguiente,
         this.toolBarButton7,
         this.toolBarButton8,
         this.toolBarButton9,
         this.toolBarButton10
     });
     this.toolBarStandar.DropDownArrows = true;
     this.toolBarStandar.ImageList      = this.imglStandar;
     this.toolBarStandar.Location       = new System.Drawing.Point(0, 0);
     this.toolBarStandar.Name           = "toolBarStandar";
     this.toolBarStandar.ShowToolTips   = true;
     this.toolBarStandar.Size           = new System.Drawing.Size(712, 28);
     this.toolBarStandar.TabIndex       = 21;
     this.toolBarStandar.TextAlign      = System.Windows.Forms.ToolBarTextAlign.Right;
     //
     // tbbAnterior
     //
     this.tbbAnterior.ImageIndex = 10;
     this.tbbAnterior.Text       = "&Anterior";
     //
     // tbbSeparator
     //
     this.tbbSeparator.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // tbbSiguiente
     //
     this.tbbSiguiente.ImageIndex = 11;
     this.tbbSiguiente.Text       = "&Siguiente";
     //
     // toolBarButton7
     //
     this.toolBarButton7.ImageIndex = 0;
     this.toolBarButton7.Visible    = false;
     //
     // toolBarButton8
     //
     this.toolBarButton8.ImageIndex = 1;
     this.toolBarButton8.Visible    = false;
     //
     // toolBarButton9
     //
     this.toolBarButton9.ImageIndex = 2;
     this.toolBarButton9.Visible    = false;
     //
     // toolBarButton10
     //
     this.toolBarButton10.ImageIndex = 3;
     this.toolBarButton10.Visible    = false;
     //
     // panel1
     //
     this.panel1.Controls.Add(this._viewer);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 28);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(712, 393);
     this.panel1.TabIndex = 22;
     //
     // _viewer
     //
     this._viewer.BackColor = System.Drawing.SystemColors.Control;
     this._viewer.Dock      = System.Windows.Forms.DockStyle.Fill;
     this._viewer.Location  = new System.Drawing.Point(0, 0);
     this._viewer.Name      = "_viewer";
     this._viewer.ReportViewer.CurrentPage      = 0;
     this._viewer.ReportViewer.MultiplePageCols = 3;
     this._viewer.ReportViewer.MultiplePageRows = 2;
     this._viewer.Size                  = new System.Drawing.Size(712, 393);
     this._viewer.TabIndex              = 1;
     this._viewer.TableOfContents.Text  = "Contents";
     this._viewer.TableOfContents.Width = 200;
     this._viewer.Toolbar.Font          = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     //
     // FrmReportsGenericViewer
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(712, 421);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.toolBarStandar);
     this.Name  = "FrmReportsGenericViewer";
     this.Text  = "Visor de Reportes";
     this.Load += new System.EventHandler(this.FrmPreviewReport_Load);
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #42
0
 /// <summary>
 /// Método necesario para admitir el Diseñador. No se puede modificar
 /// el contenido del método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     Infragistics.Win.UltraWinTree.UltraTreeNode ultraTreeNode1 = new Infragistics.Win.UltraWinTree.UltraTreeNode();
     Infragistics.Win.UltraWinTree.Override      _override1     = new Infragistics.Win.UltraWinTree.Override();
     System.Resources.ResourceManager            resources      = new System.Resources.ResourceManager(typeof(FrmSearchProductbyJerarquia));
     Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup ultraExplorerBarGroup1 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup();
     Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup ultraExplorerBarGroup2 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup();
     Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup ultraExplorerBarGroup3 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup();
     this.ultraExplorerBarContainerControl1 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarContainerControl();
     this.ultraTree1 = new Infragistics.Win.UltraWinTree.UltraTree();
     this.ultraExplorerBarContainerControl2 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarContainerControl();
     this.gridResultado     = new Janus.Windows.GridEX.GridEX();
     this.imglStandar       = new System.Windows.Forms.ImageList(this.components);
     this.toolBarStandar    = new System.Windows.Forms.ToolBar();
     this.toolBarButton1    = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton2    = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton3    = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton4    = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton5    = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton6    = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton7    = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton8    = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton9    = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton10   = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton11   = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton12   = new System.Windows.Forms.ToolBarButton();
     this.ultraExplorerBar1 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar();
     this.ultraExplorerBarContainerControl3 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarContainerControl();
     this.checkBox1 = new System.Windows.Forms.CheckBox();
     this.ultraExplorerBarContainerControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ultraTree1)).BeginInit();
     this.ultraExplorerBarContainerControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridResultado)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ultraExplorerBar1)).BeginInit();
     this.ultraExplorerBar1.SuspendLayout();
     this.ultraExplorerBarContainerControl3.SuspendLayout();
     this.SuspendLayout();
     //
     // ultraExplorerBarContainerControl1
     //
     this.ultraExplorerBarContainerControl1.Controls.Add(this.ultraTree1);
     this.ultraExplorerBarContainerControl1.Location = new System.Drawing.Point(28, 131);
     this.ultraExplorerBarContainerControl1.Name     = "ultraExplorerBarContainerControl1";
     this.ultraExplorerBarContainerControl1.Size     = new System.Drawing.Size(718, 150);
     this.ultraExplorerBarContainerControl1.TabIndex = 0;
     //
     // ultraTree1
     //
     this.ultraTree1.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.ultraTree1.HideSelection = false;
     this.ultraTree1.Location      = new System.Drawing.Point(0, 0);
     this.ultraTree1.Name          = "ultraTree1";
     ultraTreeNode1.Key            = "RAIZ";
     ultraTreeNode1.Text           = "Agrupamientos";
     this.ultraTree1.Nodes.AddRange(new Infragistics.Win.UltraWinTree.UltraTreeNode[] {
         ultraTreeNode1
     });
     _override1.SelectionType = Infragistics.Win.UltraWinTree.SelectType.Single;
     this.ultraTree1.Override = _override1;
     this.ultraTree1.Size     = new System.Drawing.Size(718, 150);
     this.ultraTree1.TabIndex = 2;
     //
     // ultraExplorerBarContainerControl2
     //
     this.ultraExplorerBarContainerControl2.Controls.Add(this.gridResultado);
     this.ultraExplorerBarContainerControl2.Location = new System.Drawing.Point(28, 340);
     this.ultraExplorerBarContainerControl2.Name     = "ultraExplorerBarContainerControl2";
     this.ultraExplorerBarContainerControl2.Size     = new System.Drawing.Size(718, 150);
     this.ultraExplorerBarContainerControl2.TabIndex = 1;
     //
     // gridResultado
     //
     this.gridResultado.AllowEdit        = Janus.Windows.GridEX.InheritableBoolean.False;
     this.gridResultado.ColumnAutoResize = true;
     this.gridResultado.Cursor           = System.Windows.Forms.Cursors.Default;
     this.gridResultado.Dock             = System.Windows.Forms.DockStyle.Fill;
     this.gridResultado.EditorsControlStyle.ButtonAppearance = Janus.Windows.GridEX.ButtonAppearance.Regular;
     this.gridResultado.EmptyRows                       = true;
     this.gridResultado.EnterKeyBehavior                = Janus.Windows.GridEX.EnterKeyBehavior.None;
     this.gridResultado.ExpandableGroups                = Janus.Windows.GridEX.InheritableBoolean.False;
     this.gridResultado.Font                            = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.gridResultado.GridLines                       = Janus.Windows.GridEX.GridLines.None;
     this.gridResultado.GroupByBoxVisible               = false;
     this.gridResultado.GroupRowFormatStyle.BackColor   = System.Drawing.Color.Empty;
     this.gridResultado.GroupRowFormatStyle.FontBold    = Janus.Windows.GridEX.TriState.True;
     this.gridResultado.HeaderFormatStyle.FontBold      = Janus.Windows.GridEX.TriState.True;
     this.gridResultado.HeaderFormatStyle.TextAlignment = Janus.Windows.GridEX.TextAlignment.Center;
     this.gridResultado.HideSelection                   = Janus.Windows.GridEX.HideSelection.HighlightInactive;
     this.gridResultado.IncrementalSearchMode           = Janus.Windows.GridEX.IncrementalSearchMode.AllCharacters;
     this.gridResultado.InvalidValueAction              = Janus.Windows.GridEX.InvalidValueAction.DiscardChanges;
     this.gridResultado.LayoutData                      = @"<GridEXLayoutData><RootTable><Caption>Customers</Caption><Columns Collection=""true""><Column0 ID=""Icon""><AllowGroup>False</AllowGroup><AllowSize>False</AllowSize><AllowSort>False</AllowSort><Bound>False</Bound><ColumnType>Image</ColumnType><EditType>NoEdit</EditType><HeaderImageIndex>1</HeaderImageIndex><ImageIndex>0</ImageIndex><Key>Icon</Key><Position>0</Position><Selectable>False</Selectable><Width>22</Width></Column0><Column1 ID=""ID""><AllowSort>False</AllowSort><Caption>ID</Caption><DataMember>Codigo</DataMember><DefaultGroupPrefix>ID</DefaultGroupPrefix><Key>ID</Key><Position>1</Position><Selectable>False</Selectable><Width>247</Width></Column1><Column2 ID=""DESCRIPTION""><AllowSort>False</AllowSort><Caption>DESCRIPTION</Caption><DataMember>DESCRIPTION</DataMember><DefaultGroupPrefix>DESCRIPTION</DefaultGroupPrefix><Key>DESCRIPTION</Key><Position>2</Position><Selectable>False</Selectable><Width>445</Width></Column2></Columns><GroupCondition ID="""" /><Key>Customers</Key><SortKeys Collection=""true""><SortKey0 ID=""SortKey0""><ColIndex>1</ColIndex></SortKey0></SortKeys></RootTable></GridEXLayoutData>";
     this.gridResultado.Location                        = new System.Drawing.Point(0, 0);
     this.gridResultado.Name                            = "gridResultado";
     this.gridResultado.RecordNavigator                 = true;
     this.gridResultado.RecordNavigatorText             = "Registro:|de";
     this.gridResultado.Size                            = new System.Drawing.Size(718, 150);
     this.gridResultado.TabIndex                        = 1801;
     this.gridResultado.ThemedAreas                     = ((Janus.Windows.GridEX.ThemedArea)((((((Janus.Windows.GridEX.ThemedArea.ScrollBars | Janus.Windows.GridEX.ThemedArea.EditControls)
                                                                                                 | Janus.Windows.GridEX.ThemedArea.Headers)
                                                                                                | Janus.Windows.GridEX.ThemedArea.GroupByBox)
                                                                                               | Janus.Windows.GridEX.ThemedArea.TreeGliphs)
                                                                                              | Janus.Windows.GridEX.ThemedArea.ControlBorder)));
     //
     // imglStandar
     //
     this.imglStandar.ImageSize        = new System.Drawing.Size(16, 16);
     this.imglStandar.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imglStandar.ImageStream")));
     this.imglStandar.TransparentColor = System.Drawing.Color.Magenta;
     //
     // toolBarStandar
     //
     this.toolBarStandar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.toolBarStandar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.toolBarButton1,
         this.toolBarButton2,
         this.toolBarButton3,
         this.toolBarButton4,
         this.toolBarButton5,
         this.toolBarButton6,
         this.toolBarButton7,
         this.toolBarButton8,
         this.toolBarButton9,
         this.toolBarButton10,
         this.toolBarButton11,
         this.toolBarButton12
     });
     this.toolBarStandar.DropDownArrows = true;
     this.toolBarStandar.ImageList      = this.imglStandar;
     this.toolBarStandar.Location       = new System.Drawing.Point(0, 0);
     this.toolBarStandar.Name           = "toolBarStandar";
     this.toolBarStandar.ShowToolTips   = true;
     this.toolBarStandar.Size           = new System.Drawing.Size(784, 28);
     this.toolBarStandar.TabIndex       = 17;
     this.toolBarStandar.TextAlign      = System.Windows.Forms.ToolBarTextAlign.Right;
     //
     // toolBarButton1
     //
     this.toolBarButton1.ImageIndex = 0;
     //
     // toolBarButton2
     //
     this.toolBarButton2.ImageIndex = 1;
     //
     // toolBarButton3
     //
     this.toolBarButton3.ImageIndex = 2;
     //
     // toolBarButton4
     //
     this.toolBarButton4.ImageIndex = 3;
     //
     // toolBarButton5
     //
     this.toolBarButton5.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton6
     //
     this.toolBarButton6.ImageIndex = 5;
     this.toolBarButton6.Text       = "Buscar Ahora";
     //
     // toolBarButton7
     //
     this.toolBarButton7.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton8
     //
     this.toolBarButton8.ImageIndex = 5;
     this.toolBarButton8.Text       = "Nueva Busqueda";
     //
     // toolBarButton9
     //
     this.toolBarButton9.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton10
     //
     this.toolBarButton10.ImageIndex = 6;
     this.toolBarButton10.Text       = "Aceptar";
     //
     // toolBarButton11
     //
     this.toolBarButton11.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton12
     //
     this.toolBarButton12.ImageIndex = 7;
     this.toolBarButton12.Text       = "Cancelar";
     //
     // ultraExplorerBar1
     //
     this.ultraExplorerBar1.Controls.Add(this.ultraExplorerBarContainerControl1);
     this.ultraExplorerBar1.Controls.Add(this.ultraExplorerBarContainerControl2);
     this.ultraExplorerBar1.Controls.Add(this.ultraExplorerBarContainerControl3);
     this.ultraExplorerBar1.Cursor    = System.Windows.Forms.Cursors.Hand;
     this.ultraExplorerBar1.Dock      = System.Windows.Forms.DockStyle.Fill;
     ultraExplorerBarGroup1.Container = this.ultraExplorerBarContainerControl3;
     ultraExplorerBarGroup1.Settings.ContainerHeight = 23;
     ultraExplorerBarGroup1.Settings.Style           = Infragistics.Win.UltraWinExplorerBar.GroupStyle.ControlContainer;
     ultraExplorerBarGroup1.Text           = "Filtros";
     ultraExplorerBarGroup2.Container      = this.ultraExplorerBarContainerControl1;
     ultraExplorerBarGroup2.Settings.Style = Infragistics.Win.UltraWinExplorerBar.GroupStyle.ControlContainer;
     ultraExplorerBarGroup2.Text           = "Seleccione una jerarquia";
     ultraExplorerBarGroup3.Container      = this.ultraExplorerBarContainerControl2;
     ultraExplorerBarGroup3.Settings.Style = Infragistics.Win.UltraWinExplorerBar.GroupStyle.ControlContainer;
     ultraExplorerBarGroup3.Text           = "Resultado de la Busqueda";
     this.ultraExplorerBar1.Groups.AddRange(new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup[] {
         ultraExplorerBarGroup1,
         ultraExplorerBarGroup2,
         ultraExplorerBarGroup3
     });
     this.ultraExplorerBar1.Location = new System.Drawing.Point(0, 28);
     this.ultraExplorerBar1.Name     = "ultraExplorerBar1"; this.ultraExplorerBar1.AnimationEnabled = false;         //German 20101207 - Tarea Infragistics 2008 – Tarea 983
     this.ultraExplorerBar1.Size     = new System.Drawing.Size(784, 377);
     this.ultraExplorerBar1.TabIndex = 18;
     //
     // ultraExplorerBarContainerControl3
     //
     this.ultraExplorerBarContainerControl3.Controls.Add(this.checkBox1);
     this.ultraExplorerBarContainerControl3.Location = new System.Drawing.Point(28, 49);
     this.ultraExplorerBarContainerControl3.Name     = "ultraExplorerBarContainerControl3";
     this.ultraExplorerBarContainerControl3.Size     = new System.Drawing.Size(718, 23);
     this.ultraExplorerBarContainerControl3.TabIndex = 2;
     //
     // checkBox1
     //
     this.checkBox1.BackColor  = System.Drawing.SystemColors.InactiveCaptionText;
     this.checkBox1.Checked    = true;
     this.checkBox1.CheckState = System.Windows.Forms.CheckState.Checked;
     this.checkBox1.Location   = new System.Drawing.Point(8, 0);
     this.checkBox1.Name       = "checkBox1";
     this.checkBox1.Size       = new System.Drawing.Size(176, 24);
     this.checkBox1.TabIndex   = 0;
     this.checkBox1.Text       = "Activo";
     //
     // FrmSearchProductbyJerarquia
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(784, 405);
     this.Controls.Add(this.ultraExplorerBar1);
     this.Controls.Add(this.toolBarStandar);
     this.Name = "FrmSearchProductbyJerarquia";
     this.Text = "Busqueda de Productos por Jerarquia";
     this.ultraExplorerBarContainerControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.ultraTree1)).EndInit();
     this.ultraExplorerBarContainerControl2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridResultado)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ultraExplorerBar1)).EndInit();
     this.ultraExplorerBar1.ResumeLayout(false);
     this.ultraExplorerBarContainerControl3.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #43
0
 /// <summary>
 /// Método necesario para admitir el Diseñador. No se puede modificar
 /// el contenido del método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(FrmPorcentajeAdicionalMedidaSugerido));
     this.imageList1      = new System.Windows.Forms.ImageList(this.components);
     this.toolBarStandar  = new System.Windows.Forms.ToolBar();
     this.bAceptar        = new System.Windows.Forms.ToolBarButton();
     this.bCancelar       = new System.Windows.Forms.ToolBarButton();
     this.gridPorcentajes = new Janus.Windows.GridEX.GridEX();
     ((System.ComponentModel.ISupportInitialize)(this.gridPorcentajes)).BeginInit();
     this.SuspendLayout();
     //
     // imageList1
     //
     this.imageList1.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Magenta;
     //
     // toolBarStandar
     //
     this.toolBarStandar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.toolBarStandar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.bAceptar,
         this.bCancelar
     });
     this.toolBarStandar.DropDownArrows = true;
     this.toolBarStandar.ImageList      = this.imageList1;
     this.toolBarStandar.Location       = new System.Drawing.Point(0, 0);
     this.toolBarStandar.Name           = "toolBarStandar";
     this.toolBarStandar.ShowToolTips   = true;
     this.toolBarStandar.Size           = new System.Drawing.Size(240, 28);
     this.toolBarStandar.TabIndex       = 19;
     this.toolBarStandar.TextAlign      = System.Windows.Forms.ToolBarTextAlign.Right;
     //
     // bAceptar
     //
     this.bAceptar.ImageIndex = 0;
     this.bAceptar.Text       = "&Aceptar";
     //
     // bCancelar
     //
     this.bCancelar.ImageIndex = 1;
     this.bCancelar.Text       = "&Cancelar";
     //
     // gridPorcentajes
     //
     this.gridPorcentajes.AllowEdit          = Janus.Windows.GridEX.InheritableBoolean.False;
     this.gridPorcentajes.Cursor             = System.Windows.Forms.Cursors.Default;
     this.gridPorcentajes.Dock               = System.Windows.Forms.DockStyle.Fill;
     this.gridPorcentajes.EnterKeyBehavior   = Janus.Windows.GridEX.EnterKeyBehavior.None;
     this.gridPorcentajes.FilterMode         = Janus.Windows.GridEX.FilterMode.Automatic;
     this.gridPorcentajes.GroupByBoxVisible  = false;
     this.gridPorcentajes.InvalidValueAction = Janus.Windows.GridEX.InvalidValueAction.DiscardChanges;
     this.gridPorcentajes.Location           = new System.Drawing.Point(0, 28);
     this.gridPorcentajes.Name               = "gridPorcentajes";
     this.gridPorcentajes.Size               = new System.Drawing.Size(240, 146);
     this.gridPorcentajes.TabIndex           = 20;
     //
     // FrmPorcentajeAdicionalMedidaSugerido
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(240, 174);
     this.Controls.Add(this.gridPorcentajes);
     this.Controls.Add(this.toolBarStandar);
     this.KeyPreview    = true;
     this.MaximizeBox   = false;
     this.MinimizeBox   = false;
     this.Name          = "FrmPorcentajeAdicionalMedidaSugerido";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Porcentaje Sugerido";
     ((System.ComponentModel.ISupportInitialize)(this.gridPorcentajes)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #44
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();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(PreviewForm));
     this.toolBar         = new System.Windows.Forms.ToolBar();
     this.tbbSeparator1   = new System.Windows.Forms.ToolBarButton();
     this.tbbFirstPage    = new System.Windows.Forms.ToolBarButton();
     this.tbbPrevPage     = new System.Windows.Forms.ToolBarButton();
     this.tbbNextPage     = new System.Windows.Forms.ToolBarButton();
     this.tbbLastPage     = new System.Windows.Forms.ToolBarButton();
     this.tbbSeparator2   = new System.Windows.Forms.ToolBarButton();
     this.tbbOriginalSize = new System.Windows.Forms.ToolBarButton();
     this.menuZoom        = new System.Windows.Forms.ContextMenu();
     this.miPercent800    = new System.Windows.Forms.MenuItem();
     this.miPercent600    = new System.Windows.Forms.MenuItem();
     this.miPercent400    = new System.Windows.Forms.MenuItem();
     this.miPercent200    = new System.Windows.Forms.MenuItem();
     this.miPercent150    = new System.Windows.Forms.MenuItem();
     this.miPercent100    = new System.Windows.Forms.MenuItem();
     this.miPercent75     = new System.Windows.Forms.MenuItem();
     this.miPercent50     = new System.Windows.Forms.MenuItem();
     this.miPercent25     = new System.Windows.Forms.MenuItem();
     this.miPercent10     = new System.Windows.Forms.MenuItem();
     this.menuItem10      = new System.Windows.Forms.MenuItem();
     this.miBestFit       = new System.Windows.Forms.MenuItem();
     this.miFullPage      = new System.Windows.Forms.MenuItem();
     this.tbbFullPage     = new System.Windows.Forms.ToolBarButton();
     this.tbbBestFit      = new System.Windows.Forms.ToolBarButton();
     this.tbbSmaller      = new System.Windows.Forms.ToolBarButton();
     this.tbbLarger       = new System.Windows.Forms.ToolBarButton();
     this.tbbSeparator3   = new System.Windows.Forms.ToolBarButton();
     this.tbbPrint        = new System.Windows.Forms.ToolBarButton();
     this.tbbMakePdf      = new System.Windows.Forms.ToolBarButton();
     this.ilToolbar       = new System.Windows.Forms.ImageList(this.components);
     this.statusBar       = new System.Windows.Forms.StatusBar();
     this.pagePreview     = new PdfSharp.Forms.PagePreview();
     this.SuspendLayout();
     //
     // toolBar
     //
     this.toolBar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.toolBar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.tbbSeparator1,
         this.tbbFirstPage,
         this.tbbPrevPage,
         this.tbbNextPage,
         this.tbbLastPage,
         this.tbbSeparator2,
         this.tbbOriginalSize,
         this.tbbFullPage,
         this.tbbBestFit,
         this.tbbSmaller,
         this.tbbLarger,
         this.tbbSeparator3,
         this.tbbPrint,
         this.tbbMakePdf
     });
     this.toolBar.DropDownArrows = true;
     this.toolBar.ImageList      = this.ilToolbar;
     this.toolBar.Location       = new System.Drawing.Point(0, 0);
     this.toolBar.Name           = "toolBar";
     this.toolBar.ShowToolTips   = true;
     this.toolBar.Size           = new System.Drawing.Size(638, 42);
     this.toolBar.TabIndex       = 1;
     this.toolBar.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar_ButtonClick);
     //
     // tbbSeparator1
     //
     this.tbbSeparator1.Style   = System.Windows.Forms.ToolBarButtonStyle.Separator;
     this.tbbSeparator1.Visible = false;
     //
     // tbbFirstPage
     //
     this.tbbFirstPage.ImageIndex = 0;
     this.tbbFirstPage.Tag        = "FirstPage";
     this.tbbFirstPage.Visible    = false;
     //
     // tbbPrevPage
     //
     this.tbbPrevPage.Enabled    = false;
     this.tbbPrevPage.ImageIndex = 1;
     this.tbbPrevPage.Tag        = "PrevPage";
     this.tbbPrevPage.Visible    = false;
     //
     // tbbNextPage
     //
     this.tbbNextPage.Enabled    = false;
     this.tbbNextPage.ImageIndex = 2;
     this.tbbNextPage.Tag        = "NextPage";
     this.tbbNextPage.Visible    = false;
     //
     // tbbLastPage
     //
     this.tbbLastPage.Enabled    = false;
     this.tbbLastPage.ImageIndex = 3;
     this.tbbLastPage.Tag        = "LastPage";
     this.tbbLastPage.Visible    = false;
     //
     // tbbSeparator2
     //
     this.tbbSeparator2.Style   = System.Windows.Forms.ToolBarButtonStyle.Separator;
     this.tbbSeparator2.Visible = false;
     //
     // tbbOriginalSize
     //
     this.tbbOriginalSize.DropDownMenu = this.menuZoom;
     this.tbbOriginalSize.ImageIndex   = 4;
     this.tbbOriginalSize.Style        = System.Windows.Forms.ToolBarButtonStyle.DropDownButton;
     this.tbbOriginalSize.Tag          = "OriginalSize";
     this.tbbOriginalSize.Text         = "Original Size";
     //
     // menuZoom
     //
     this.menuZoom.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.miPercent800,
         this.miPercent600,
         this.miPercent400,
         this.miPercent200,
         this.miPercent150,
         this.miPercent100,
         this.miPercent75,
         this.miPercent50,
         this.miPercent25,
         this.miPercent10,
         this.menuItem10,
         this.miBestFit,
         this.miFullPage
     });
     //
     // miPercent800
     //
     this.miPercent800.Index  = 0;
     this.miPercent800.Text   = "800%";
     this.miPercent800.Click += new System.EventHandler(this.miPercent800_Click);
     //
     // miPercent600
     //
     this.miPercent600.Index  = 1;
     this.miPercent600.Text   = "600%";
     this.miPercent600.Click += new System.EventHandler(this.miPercent600_Click);
     //
     // miPercent400
     //
     this.miPercent400.Index  = 2;
     this.miPercent400.Text   = "400%";
     this.miPercent400.Click += new System.EventHandler(this.miPercent400_Click);
     //
     // miPercent200
     //
     this.miPercent200.Index  = 3;
     this.miPercent200.Text   = "200%";
     this.miPercent200.Click += new System.EventHandler(this.miPercent200_Click);
     //
     // miPercent150
     //
     this.miPercent150.Index  = 4;
     this.miPercent150.Text   = "150%";
     this.miPercent150.Click += new System.EventHandler(this.miPercent150_Click);
     //
     // miPercent100
     //
     this.miPercent100.Index  = 5;
     this.miPercent100.Text   = "100%";
     this.miPercent100.Click += new System.EventHandler(this.miPercent100_Click);
     //
     // miPercent75
     //
     this.miPercent75.Index  = 6;
     this.miPercent75.Text   = "75%";
     this.miPercent75.Click += new System.EventHandler(this.miPercent75_Click);
     //
     // miPercent50
     //
     this.miPercent50.Index  = 7;
     this.miPercent50.Text   = "50%";
     this.miPercent50.Click += new System.EventHandler(this.miPercent50_Click);
     //
     // miPercent25
     //
     this.miPercent25.Index  = 8;
     this.miPercent25.Text   = "25%";
     this.miPercent25.Click += new System.EventHandler(this.miPercent25_Click);
     //
     // miPercent10
     //
     this.miPercent10.Index  = 9;
     this.miPercent10.Text   = "10%";
     this.miPercent10.Click += new System.EventHandler(this.miPercent10_Click);
     //
     // menuItem10
     //
     this.menuItem10.Index = 10;
     this.menuItem10.Text  = "-";
     //
     // miBestFit
     //
     this.miBestFit.Index  = 11;
     this.miBestFit.Text   = "Best fit";
     this.miBestFit.Click += new System.EventHandler(this.miBestFit_Click);
     //
     // miFullPage
     //
     this.miFullPage.Index  = 12;
     this.miFullPage.Text   = "Full Page";
     this.miFullPage.Click += new System.EventHandler(this.miFullPage_Click);
     //
     // tbbFullPage
     //
     this.tbbFullPage.ImageIndex = 5;
     this.tbbFullPage.Tag        = "FullPage";
     this.tbbFullPage.Text       = "Full Page";
     //
     // tbbBestFit
     //
     this.tbbBestFit.ImageIndex = 6;
     this.tbbBestFit.Tag        = "BestFit";
     this.tbbBestFit.Text       = "Best Fit";
     //
     // tbbSmaller
     //
     this.tbbSmaller.ImageIndex = 7;
     this.tbbSmaller.Tag        = "Smaller";
     this.tbbSmaller.Text       = "Smaller";
     //
     // tbbLarger
     //
     this.tbbLarger.ImageIndex = 8;
     this.tbbLarger.Tag        = "Larger";
     this.tbbLarger.Text       = "Larger";
     //
     // tbbSeparator3
     //
     this.tbbSeparator3.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // tbbPrint
     //
     this.tbbPrint.ImageIndex = 10;
     this.tbbPrint.Tag        = "Print";
     this.tbbPrint.Text       = "Print";
     //
     // tbbMakePdf
     //
     this.tbbMakePdf.ImageIndex = 9;
     this.tbbMakePdf.Tag        = "MakePdf";
     this.tbbMakePdf.Text       = "Create PDF";
     //
     // ilToolbar
     //
     this.ilToolbar.ImageSize        = new System.Drawing.Size(16, 16);
     this.ilToolbar.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ilToolbar.ImageStream")));
     this.ilToolbar.TransparentColor = System.Drawing.Color.Lime;
     //
     // statusBar
     //
     this.statusBar.Location = new System.Drawing.Point(0, 624);
     this.statusBar.Name     = "statusBar";
     this.statusBar.Size     = new System.Drawing.Size(638, 22);
     this.statusBar.TabIndex = 2;
     //
     // pagePreview
     //
     this.pagePreview.BackColor    = System.Drawing.SystemColors.Control;
     this.pagePreview.BorderStyle  = System.Windows.Forms.BorderStyle.Fixed3D;
     this.pagePreview.DesktopColor = System.Drawing.SystemColors.ControlDark;
     this.pagePreview.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.pagePreview.Location     = new System.Drawing.Point(0, 42);
     this.pagePreview.Name         = "pagePreview";
     this.pagePreview.PageColor    = System.Drawing.Color.GhostWhite;
     this.pagePreview.PageSizeF    = new System.Drawing.Size(595, 842);
     this.pagePreview.Size         = new System.Drawing.Size(638, 582);
     this.pagePreview.TabIndex     = 4;
     this.pagePreview.Zoom         = PdfSharp.Forms.Zoom.BestFit;
     this.pagePreview.ZoomPercent  = 77;
     //
     // PreviewForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(638, 646);
     this.Controls.Add(this.pagePreview);
     this.Controls.Add(this.statusBar);
     this.Controls.Add(this.toolBar);
     this.Name          = "PreviewForm";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Preview Sample";
     this.ResumeLayout(false);
 }
コード例 #45
0
 /// <summary>
 /// Método necesario para admitir el Diseñador. No se puede modificar
 /// el contenido del método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(FrmCambioDeContraseña));
     Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup ultraExplorerBarGroup1 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup();
     Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup ultraExplorerBarGroup2 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup();
     this.ultraExplorerBarContainerControl5 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarContainerControl();
     this.labelTarea = new System.Windows.Forms.Label();
     this.ultraExplorerBarContainerControl1 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarContainerControl();
     this.mzCmbUsuarios     = new mz.erp.ui.controls.mzComboEditor();
     this.labelUsuario      = new System.Windows.Forms.Label();
     this.txtClaveNue2      = new System.Windows.Forms.TextBox();
     this.txtClaveNue1      = new System.Windows.Forms.TextBox();
     this.label3            = new System.Windows.Forms.Label();
     this.label2            = new System.Windows.Forms.Label();
     this.txtClaveAnt       = new System.Windows.Forms.TextBox();
     this.label1            = new System.Windows.Forms.Label();
     this.imglStandar       = new System.Windows.Forms.ImageList(this.components);
     this.toolBarStandar    = new System.Windows.Forms.ToolBar();
     this.tbbAnterior       = new System.Windows.Forms.ToolBarButton();
     this.tbbSeparator      = new System.Windows.Forms.ToolBarButton();
     this.tbbSiguiente      = new System.Windows.Forms.ToolBarButton();
     this.tbbSeparator2     = new System.Windows.Forms.ToolBarButton();
     this.tbbCancelar       = new System.Windows.Forms.ToolBarButton();
     this.ultraExplorerBar1 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar();
     this.ultraExplorerBarContainerControl5.SuspendLayout();
     this.ultraExplorerBarContainerControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.mzCmbUsuarios)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ultraExplorerBar1)).BeginInit();
     this.ultraExplorerBar1.SuspendLayout();
     this.SuspendLayout();
     //
     // ultraExplorerBarContainerControl5
     //
     this.ultraExplorerBarContainerControl5.Controls.Add(this.labelTarea);
     this.ultraExplorerBarContainerControl5.Location = new System.Drawing.Point(28, 24);
     this.ultraExplorerBarContainerControl5.Name     = "ultraExplorerBarContainerControl5";
     this.ultraExplorerBarContainerControl5.Size     = new System.Drawing.Size(791, 24);
     this.ultraExplorerBarContainerControl5.TabIndex = 4;
     //
     // labelTarea
     //
     this.labelTarea.BackColor = System.Drawing.Color.Transparent;
     this.labelTarea.Dock      = System.Windows.Forms.DockStyle.Top;
     this.labelTarea.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.labelTarea.Location  = new System.Drawing.Point(0, 0);
     this.labelTarea.Name      = "labelTarea";
     this.labelTarea.Size      = new System.Drawing.Size(791, 23);
     this.labelTarea.TabIndex  = 1;
     this.labelTarea.Text      = "Tarea";
     this.labelTarea.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // ultraExplorerBarContainerControl1
     //
     this.ultraExplorerBarContainerControl1.Controls.Add(this.mzCmbUsuarios);
     this.ultraExplorerBarContainerControl1.Controls.Add(this.labelUsuario);
     this.ultraExplorerBarContainerControl1.Controls.Add(this.txtClaveNue2);
     this.ultraExplorerBarContainerControl1.Controls.Add(this.txtClaveNue1);
     this.ultraExplorerBarContainerControl1.Controls.Add(this.label3);
     this.ultraExplorerBarContainerControl1.Controls.Add(this.label2);
     this.ultraExplorerBarContainerControl1.Controls.Add(this.txtClaveAnt);
     this.ultraExplorerBarContainerControl1.Controls.Add(this.label1);
     this.ultraExplorerBarContainerControl1.DockPadding.Top = 12;
     this.ultraExplorerBarContainerControl1.Location        = new System.Drawing.Point(28, 107);
     this.ultraExplorerBarContainerControl1.Name            = "ultraExplorerBarContainerControl1";
     this.ultraExplorerBarContainerControl1.Size            = new System.Drawing.Size(791, 117);
     this.ultraExplorerBarContainerControl1.TabIndex        = 0;
     //
     // mzCmbUsuarios
     //
     this.mzCmbUsuarios.DataSource           = null;
     this.mzCmbUsuarios.DisplayMember        = "";
     this.mzCmbUsuarios.DisplayMemberCaption = "";
     this.mzCmbUsuarios.DropDownStyle        = Infragistics.Win.DropDownStyle.DropDownList;
     this.mzCmbUsuarios.Location             = new System.Drawing.Point(148, 8);
     this.mzCmbUsuarios.MaxItemsDisplay      = 200;
     this.mzCmbUsuarios.MoreItemsDisplayText = "(Ver mas elementos...)";
     this.mzCmbUsuarios.Name               = "mzCmbUsuarios";
     this.mzCmbUsuarios.SorterMember       = "";
     this.mzCmbUsuarios.TabIndex           = 0;
     this.mzCmbUsuarios.ValueMember        = "";
     this.mzCmbUsuarios.ValueMemberCaption = "";
     //
     // labelUsuario
     //
     this.labelUsuario.BackColor = System.Drawing.Color.Transparent;
     this.labelUsuario.Location  = new System.Drawing.Point(24, 12);
     this.labelUsuario.Name      = "labelUsuario";
     this.labelUsuario.Size      = new System.Drawing.Size(71, 16);
     this.labelUsuario.TabIndex  = 74;
     this.labelUsuario.Text      = "Usuario";
     //
     // txtClaveNue2
     //
     this.txtClaveNue2.Font         = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.txtClaveNue2.Location     = new System.Drawing.Point(148, 83);
     this.txtClaveNue2.Name         = "txtClaveNue2";
     this.txtClaveNue2.PasswordChar = '*';
     this.txtClaveNue2.TabIndex     = 72;
     this.txtClaveNue2.Text         = "";
     //
     // txtClaveNue1
     //
     this.txtClaveNue1.Font         = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.txtClaveNue1.Location     = new System.Drawing.Point(148, 58);
     this.txtClaveNue1.Name         = "txtClaveNue1";
     this.txtClaveNue1.PasswordChar = '*';
     this.txtClaveNue1.TabIndex     = 71;
     this.txtClaveNue1.Text         = "";
     //
     // label3
     //
     this.label3.BackColor = System.Drawing.Color.Transparent;
     this.label3.Location  = new System.Drawing.Point(24, 86);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(124, 16);
     this.label3.TabIndex  = 70;
     this.label3.Text      = "Confirmar contraseña";
     //
     // label2
     //
     this.label2.BackColor = System.Drawing.Color.Transparent;
     this.label2.Location  = new System.Drawing.Point(24, 61);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(112, 16);
     this.label2.TabIndex  = 69;
     this.label2.Text      = "Contraseña nueva";
     //
     // txtClaveAnt
     //
     this.txtClaveAnt.Font         = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.txtClaveAnt.Location     = new System.Drawing.Point(148, 33);
     this.txtClaveAnt.Name         = "txtClaveAnt";
     this.txtClaveAnt.PasswordChar = '*';
     this.txtClaveAnt.TabIndex     = 68;
     this.txtClaveAnt.Text         = "";
     //
     // label1
     //
     this.label1.BackColor = System.Drawing.Color.Transparent;
     this.label1.Location  = new System.Drawing.Point(24, 35);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(112, 16);
     this.label1.TabIndex  = 67;
     this.label1.Text      = "Contraseña anterior";
     //
     // imglStandar
     //
     this.imglStandar.ImageSize        = new System.Drawing.Size(16, 16);
     this.imglStandar.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imglStandar.ImageStream")));
     this.imglStandar.TransparentColor = System.Drawing.Color.Magenta;
     //
     // toolBarStandar
     //
     this.toolBarStandar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.toolBarStandar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.tbbAnterior,
         this.tbbSeparator,
         this.tbbSiguiente,
         this.tbbSeparator2,
         this.tbbCancelar
     });
     this.toolBarStandar.DropDownArrows = true;
     this.toolBarStandar.ImageList      = this.imglStandar;
     this.toolBarStandar.Location       = new System.Drawing.Point(0, 0);
     this.toolBarStandar.Name           = "toolBarStandar";
     this.toolBarStandar.ShowToolTips   = true;
     this.toolBarStandar.Size           = new System.Drawing.Size(840, 28);
     this.toolBarStandar.TabIndex       = 42;
     this.toolBarStandar.TextAlign      = System.Windows.Forms.ToolBarTextAlign.Right;
     //
     // tbbAnterior
     //
     this.tbbAnterior.ImageIndex = 9;
     this.tbbAnterior.Text       = "&Anterior";
     //
     // tbbSeparator
     //
     this.tbbSeparator.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // tbbSiguiente
     //
     this.tbbSiguiente.ImageIndex = 8;
     this.tbbSiguiente.Text       = "&Siguiente";
     //
     // tbbSeparator2
     //
     this.tbbSeparator2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // tbbCancelar
     //
     this.tbbCancelar.ImageIndex = 7;
     this.tbbCancelar.Text       = "&Cancelar";
     //
     // ultraExplorerBar1
     //
     this.ultraExplorerBar1.Controls.Add(this.ultraExplorerBarContainerControl1);
     this.ultraExplorerBar1.Controls.Add(this.ultraExplorerBarContainerControl5);
     this.ultraExplorerBar1.Dock      = System.Windows.Forms.DockStyle.Fill;
     ultraExplorerBarGroup1.Container = this.ultraExplorerBarContainerControl5;
     ultraExplorerBarGroup1.Settings.ContainerHeight = 24;
     ultraExplorerBarGroup1.Settings.HeaderVisible   = Infragistics.Win.DefaultableBoolean.False;
     ultraExplorerBarGroup1.Settings.Style           = Infragistics.Win.UltraWinExplorerBar.GroupStyle.ControlContainer;
     ultraExplorerBarGroup1.Text      = "Tarea";
     ultraExplorerBarGroup2.Container = this.ultraExplorerBarContainerControl1;
     ultraExplorerBarGroup2.Settings.ContainerHeight = 117;
     ultraExplorerBarGroup2.Settings.Style           = Infragistics.Win.UltraWinExplorerBar.GroupStyle.ControlContainer;
     ultraExplorerBarGroup2.Text = "Claves de Acceso";
     this.ultraExplorerBar1.Groups.AddRange(new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup[] {
         ultraExplorerBarGroup1,
         ultraExplorerBarGroup2
     });
     this.ultraExplorerBar1.Location = new System.Drawing.Point(0, 28);
     this.ultraExplorerBar1.Name     = "ultraExplorerBar1"; this.ultraExplorerBar1.AnimationEnabled = false;         //German 20101207 - Tarea Infragistics 2008 – Tarea 983
     this.ultraExplorerBar1.Size     = new System.Drawing.Size(840, 426);
     this.ultraExplorerBar1.TabIndex = 47;
     //
     // FrmCambioDeContraseña
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(840, 454);
     this.Controls.Add(this.ultraExplorerBar1);
     this.Controls.Add(this.toolBarStandar);
     this.Name = "FrmCambioDeContraseña";
     this.Text = "FrmCambioDeContraseña";
     this.ultraExplorerBarContainerControl5.ResumeLayout(false);
     this.ultraExplorerBarContainerControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.mzCmbUsuarios)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ultraExplorerBar1)).EndInit();
     this.ultraExplorerBar1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #46
0
 /// <summary>
 /// Método necesario para admitir el Diseñador. No se puede modificar
 /// el contenido del método con el editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(FrmAbmEntidadesW));
     Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup ultraExplorerBarGroup1 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup();
     Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup ultraExplorerBarGroup2 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup();
     Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup ultraExplorerBarGroup3 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup();
     this.ultraExplorerBarContainerControl4 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarContainerControl();
     this.labelTarea = new System.Windows.Forms.Label();
     this.ultraExplorerBarContainerControl1 = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarContainerControl();
     this.label3                   = new System.Windows.Forms.Label();
     this.mzCmbEntidad             = new mz.erp.ui.controls.mzComboSearchEditor();
     this.datosGeneralesContainer  = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarContainerControl();
     this.chActivo                 = new System.Windows.Forms.CheckBox();
     this.rbRetencion              = new System.Windows.Forms.RadioButton();
     this.rbTarjeta                = new System.Windows.Forms.RadioButton();
     this.rbNinguno                = new System.Windows.Forms.RadioButton();
     this.rbCheque                 = new System.Windows.Forms.RadioButton();
     this.mzCEFamiliaFormaDePago   = new mz.erp.ui.controls.mzComboEditor();
     this.mzCEComprobanteTesoreria = new mz.erp.ui.controls.mzComboEditor();
     this.label21                  = new System.Windows.Forms.Label();
     this.label2                   = new System.Windows.Forms.Label();
     this.label1                   = new System.Windows.Forms.Label();
     this.txtDescripcion           = new System.Windows.Forms.TextBox();
     this.txtCodigo                = new System.Windows.Forms.TextBox();
     this.toolBar1                 = new System.Windows.Forms.ToolBar();
     this.toolBarButton1           = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton2           = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton3           = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton4           = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton5           = new System.Windows.Forms.ToolBarButton();
     this.imglStandar              = new System.Windows.Forms.ImageList(this.components);
     this.ultraExplorerBar1        = new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBar();
     this.ultraExplorerBarContainerControl4.SuspendLayout();
     this.ultraExplorerBarContainerControl1.SuspendLayout();
     this.datosGeneralesContainer.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.mzCEFamiliaFormaDePago)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.mzCEComprobanteTesoreria)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ultraExplorerBar1)).BeginInit();
     this.ultraExplorerBar1.SuspendLayout();
     this.SuspendLayout();
     //
     // ultraExplorerBarContainerControl4
     //
     this.ultraExplorerBarContainerControl4.Controls.Add(this.labelTarea);
     this.ultraExplorerBarContainerControl4.Location = new System.Drawing.Point(28, -5);
     this.ultraExplorerBarContainerControl4.Name     = "ultraExplorerBarContainerControl4";
     this.ultraExplorerBarContainerControl4.Size     = new System.Drawing.Size(862, 39);
     this.ultraExplorerBarContainerControl4.TabIndex = 5;
     //
     // labelTarea
     //
     this.labelTarea.BackColor = System.Drawing.Color.Transparent;
     this.labelTarea.Dock      = System.Windows.Forms.DockStyle.Top;
     this.labelTarea.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.labelTarea.Location  = new System.Drawing.Point(0, 0);
     this.labelTarea.Name      = "labelTarea";
     this.labelTarea.Size      = new System.Drawing.Size(862, 32);
     this.labelTarea.TabIndex  = 0;
     this.labelTarea.Text      = "Tarea";
     this.labelTarea.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // ultraExplorerBarContainerControl1
     //
     this.ultraExplorerBarContainerControl1.Controls.Add(this.label3);
     this.ultraExplorerBarContainerControl1.Controls.Add(this.mzCmbEntidad);
     this.ultraExplorerBarContainerControl1.Location = new System.Drawing.Point(28, 28);
     this.ultraExplorerBarContainerControl1.Name     = "ultraExplorerBarContainerControl1";
     this.ultraExplorerBarContainerControl1.Size     = new System.Drawing.Size(862, 62);
     this.ultraExplorerBarContainerControl1.TabIndex = 6;
     //
     // label3
     //
     this.label3.BackColor = System.Drawing.Color.Transparent;
     this.label3.Location  = new System.Drawing.Point(56, 24);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(128, 23);
     this.label3.TabIndex  = 36;
     this.label3.Text      = "Entidades";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // mzCmbEntidad
     //
     this.mzCmbEntidad.DataValue            = "";
     this.mzCmbEntidad.EditObject           = null;
     this.mzCmbEntidad.FastSearch           = false;
     this.mzCmbEntidad.Font                 = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.mzCmbEntidad.HierarchicalSearch   = false;
     this.mzCmbEntidad.Location             = new System.Drawing.Point(208, 24);
     this.mzCmbEntidad.Name                 = "mzCmbEntidad";
     this.mzCmbEntidad.ReadOnly             = false;
     this.mzCmbEntidad.SearchObject         = null;
     this.mzCmbEntidad.SearchObjectListener = null;
     this.mzCmbEntidad.Size                 = new System.Drawing.Size(496, 22);
     this.mzCmbEntidad.TabIndex             = 1;
     //
     // datosGeneralesContainer
     //
     this.datosGeneralesContainer.Controls.Add(this.chActivo);
     this.datosGeneralesContainer.Controls.Add(this.rbRetencion);
     this.datosGeneralesContainer.Controls.Add(this.rbTarjeta);
     this.datosGeneralesContainer.Controls.Add(this.rbNinguno);
     this.datosGeneralesContainer.Controls.Add(this.rbCheque);
     this.datosGeneralesContainer.Controls.Add(this.mzCEFamiliaFormaDePago);
     this.datosGeneralesContainer.Controls.Add(this.mzCEComprobanteTesoreria);
     this.datosGeneralesContainer.Controls.Add(this.label21);
     this.datosGeneralesContainer.Controls.Add(this.label2);
     this.datosGeneralesContainer.Controls.Add(this.label1);
     this.datosGeneralesContainer.Controls.Add(this.txtDescripcion);
     this.datosGeneralesContainer.Controls.Add(this.txtCodigo);
     this.datosGeneralesContainer.Location = new System.Drawing.Point(28, 149);
     this.datosGeneralesContainer.Name     = "datosGeneralesContainer";
     this.datosGeneralesContainer.Size     = new System.Drawing.Size(862, 140);
     this.datosGeneralesContainer.TabIndex = 0;
     //
     // chActivo
     //
     this.chActivo.BackColor   = System.Drawing.Color.Transparent;
     this.chActivo.Checked     = true;
     this.chActivo.CheckState  = System.Windows.Forms.CheckState.Checked;
     this.chActivo.Location    = new System.Drawing.Point(32, 120);
     this.chActivo.Name        = "chActivo";
     this.chActivo.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.chActivo.Size        = new System.Drawing.Size(158, 16);
     this.chActivo.TabIndex    = 8;
     this.chActivo.Text        = "Activo";
     this.chActivo.TextAlign   = System.Drawing.ContentAlignment.MiddleRight;
     //
     // rbRetencion
     //
     this.rbRetencion.BackColor = System.Drawing.Color.Transparent;
     this.rbRetencion.Enabled   = false;
     this.rbRetencion.Location  = new System.Drawing.Point(456, 72);
     this.rbRetencion.Name      = "rbRetencion";
     this.rbRetencion.Size      = new System.Drawing.Size(104, 16);
     this.rbRetencion.TabIndex  = 5;
     this.rbRetencion.Text      = "Retención";
     //
     // rbTarjeta
     //
     this.rbTarjeta.AccessibleDescription = "";
     this.rbTarjeta.BackColor             = System.Drawing.Color.Transparent;
     this.rbTarjeta.Enabled  = false;
     this.rbTarjeta.Location = new System.Drawing.Point(232, 72);
     this.rbTarjeta.Name     = "rbTarjeta";
     this.rbTarjeta.Size     = new System.Drawing.Size(104, 16);
     this.rbTarjeta.TabIndex = 3;
     this.rbTarjeta.Text     = "Tarjeta";
     //
     // rbNinguno
     //
     this.rbNinguno.BackColor = System.Drawing.Color.Transparent;
     this.rbNinguno.Enabled   = false;
     this.rbNinguno.Location  = new System.Drawing.Point(352, 72);
     this.rbNinguno.Name      = "rbNinguno";
     this.rbNinguno.Size      = new System.Drawing.Size(104, 16);
     this.rbNinguno.TabIndex  = 4;
     this.rbNinguno.Text      = "Efectivo";
     //
     // rbCheque
     //
     this.rbCheque.BackColor = System.Drawing.Color.Transparent;
     this.rbCheque.Enabled   = false;
     this.rbCheque.Location  = new System.Drawing.Point(96, 72);
     this.rbCheque.Name      = "rbCheque";
     this.rbCheque.Size      = new System.Drawing.Size(104, 16);
     this.rbCheque.TabIndex  = 2;
     this.rbCheque.Text      = "Cheque";
     //
     // mzCEFamiliaFormaDePago
     //
     this.mzCEFamiliaFormaDePago.AutoComplete         = true;
     this.mzCEFamiliaFormaDePago.DataSource           = null;
     this.mzCEFamiliaFormaDePago.DisplayMember        = "";
     this.mzCEFamiliaFormaDePago.DisplayMemberCaption = "";
     this.mzCEFamiliaFormaDePago.DropDownStyle        = Infragistics.Win.DropDownStyle.DropDownList;
     this.mzCEFamiliaFormaDePago.Location             = new System.Drawing.Point(96, 96);
     this.mzCEFamiliaFormaDePago.MaxItemsDisplay      = 7;
     this.mzCEFamiliaFormaDePago.MoreItemsDisplayText = "(Ver mas elementos...)";
     this.mzCEFamiliaFormaDePago.Name               = "mzCEFamiliaFormaDePago";
     this.mzCEFamiliaFormaDePago.Size               = new System.Drawing.Size(197, 21);
     this.mzCEFamiliaFormaDePago.SorterMember       = "";
     this.mzCEFamiliaFormaDePago.TabIndex           = 6;
     this.mzCEFamiliaFormaDePago.ValueMember        = "";
     this.mzCEFamiliaFormaDePago.ValueMemberCaption = "";
     //
     // mzCEComprobanteTesoreria
     //
     this.mzCEComprobanteTesoreria.AutoComplete         = true;
     this.mzCEComprobanteTesoreria.DataSource           = null;
     this.mzCEComprobanteTesoreria.DisplayMember        = "";
     this.mzCEComprobanteTesoreria.DisplayMemberCaption = "";
     this.mzCEComprobanteTesoreria.DropDownStyle        = Infragistics.Win.DropDownStyle.DropDownList;
     this.mzCEComprobanteTesoreria.Location             = new System.Drawing.Point(328, 96);
     this.mzCEComprobanteTesoreria.MaxItemsDisplay      = 7;
     this.mzCEComprobanteTesoreria.MoreItemsDisplayText = "(Ver mas elementos...)";
     this.mzCEComprobanteTesoreria.Name               = "mzCEComprobanteTesoreria";
     this.mzCEComprobanteTesoreria.Size               = new System.Drawing.Size(216, 21);
     this.mzCEComprobanteTesoreria.SorterMember       = "";
     this.mzCEComprobanteTesoreria.TabIndex           = 7;
     this.mzCEComprobanteTesoreria.ValueMember        = "";
     this.mzCEComprobanteTesoreria.ValueMemberCaption = "";
     //
     // label21
     //
     this.label21.BackColor = System.Drawing.Color.Transparent;
     this.label21.Location  = new System.Drawing.Point(32, 96);
     this.label21.Name      = "label21";
     this.label21.Size      = new System.Drawing.Size(100, 16);
     this.label21.TabIndex  = 136;
     this.label21.Text      = "Es del tipo";
     //
     // label2
     //
     this.label2.BackColor = System.Drawing.Color.Transparent;
     this.label2.Location  = new System.Drawing.Point(32, 40);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(64, 23);
     this.label2.TabIndex  = 135;
     this.label2.Text      = "Descripción";
     //
     // label1
     //
     this.label1.BackColor = System.Drawing.Color.Transparent;
     this.label1.Location  = new System.Drawing.Point(32, 8);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(64, 23);
     this.label1.TabIndex  = 134;
     this.label1.Text      = "Código";
     //
     // txtDescripcion
     //
     this.txtDescripcion.Location = new System.Drawing.Point(96, 40);
     this.txtDescripcion.Name     = "txtDescripcion";
     this.txtDescripcion.Size     = new System.Drawing.Size(224, 20);
     this.txtDescripcion.TabIndex = 1;
     this.txtDescripcion.Text     = "";
     //
     // txtCodigo
     //
     this.txtCodigo.Location = new System.Drawing.Point(96, 8);
     this.txtCodigo.Name     = "txtCodigo";
     this.txtCodigo.Size     = new System.Drawing.Size(224, 20);
     this.txtCodigo.TabIndex = 0;
     this.txtCodigo.Text     = "";
     //
     // toolBar1
     //
     this.toolBar1.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.toolBarButton1,
         this.toolBarButton2,
         this.toolBarButton3,
         this.toolBarButton4,
         this.toolBarButton5
     });
     this.toolBar1.ButtonSize     = new System.Drawing.Size(77, 22);
     this.toolBar1.DropDownArrows = true;
     this.toolBar1.ImageList      = this.imglStandar;
     this.toolBar1.Location       = new System.Drawing.Point(0, 0);
     this.toolBar1.Name           = "toolBar1";
     this.toolBar1.ShowToolTips   = true;
     this.toolBar1.Size           = new System.Drawing.Size(928, 28);
     this.toolBar1.TabIndex       = 22;
     this.toolBar1.TextAlign      = System.Windows.Forms.ToolBarTextAlign.Right;
     //
     // toolBarButton1
     //
     this.toolBarButton1.ImageIndex = 9;
     this.toolBarButton1.Text       = "&Anterior";
     //
     // toolBarButton2
     //
     this.toolBarButton2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton3
     //
     this.toolBarButton3.ImageIndex = 8;
     this.toolBarButton3.Text       = "&Siguiente";
     //
     // toolBarButton4
     //
     this.toolBarButton4.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton5
     //
     this.toolBarButton5.ImageIndex = 7;
     this.toolBarButton5.Text       = "&Cancelar";
     //
     // imglStandar
     //
     this.imglStandar.ImageSize        = new System.Drawing.Size(16, 16);
     this.imglStandar.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imglStandar.ImageStream")));
     this.imglStandar.TransparentColor = System.Drawing.Color.Magenta;
     //
     // ultraExplorerBar1
     //
     this.ultraExplorerBar1.Controls.Add(this.datosGeneralesContainer);
     this.ultraExplorerBar1.Controls.Add(this.ultraExplorerBarContainerControl4);
     this.ultraExplorerBar1.Controls.Add(this.ultraExplorerBarContainerControl1);
     this.ultraExplorerBar1.Dock      = System.Windows.Forms.DockStyle.Fill;
     ultraExplorerBarGroup1.Container = this.ultraExplorerBarContainerControl4;
     ultraExplorerBarGroup1.Key       = "Tarea";
     ultraExplorerBarGroup1.Settings.ContainerHeight = 39;
     ultraExplorerBarGroup1.Settings.HeaderVisible   = Infragistics.Win.DefaultableBoolean.False;
     ultraExplorerBarGroup1.Settings.Style           = Infragistics.Win.UltraWinExplorerBar.GroupStyle.ControlContainer;
     ultraExplorerBarGroup1.Text      = "Tarea";
     ultraExplorerBarGroup2.Container = this.ultraExplorerBarContainerControl1;
     ultraExplorerBarGroup2.Enabled   = false;
     ultraExplorerBarGroup2.Key       = "Entidad";
     ultraExplorerBarGroup2.Settings.ContainerHeight = 62;
     ultraExplorerBarGroup2.Settings.Style           = Infragistics.Win.UltraWinExplorerBar.GroupStyle.ControlContainer;
     ultraExplorerBarGroup2.Text      = "Entidad";
     ultraExplorerBarGroup2.Visible   = false;
     ultraExplorerBarGroup3.Container = this.datosGeneralesContainer;
     ultraExplorerBarGroup3.Enabled   = false;
     ultraExplorerBarGroup3.Key       = "Datos Generales";
     ultraExplorerBarGroup3.Settings.ContainerHeight = 140;
     ultraExplorerBarGroup3.Settings.Style           = Infragistics.Win.UltraWinExplorerBar.GroupStyle.ControlContainer;
     ultraExplorerBarGroup3.Text    = "Datos Generales";
     ultraExplorerBarGroup3.Visible = false;
     this.ultraExplorerBar1.Groups.AddRange(new Infragistics.Win.UltraWinExplorerBar.UltraExplorerBarGroup[] {
         ultraExplorerBarGroup1,
         ultraExplorerBarGroup2,
         ultraExplorerBarGroup3
     });
     this.ultraExplorerBar1.Location = new System.Drawing.Point(0, 28);
     this.ultraExplorerBar1.Name     = "ultraExplorerBar1"; this.ultraExplorerBar1.AnimationEnabled = false;         //German 20101207 - Tarea Infragistics 2008 – Tarea 983
     this.ultraExplorerBar1.Size     = new System.Drawing.Size(928, 314);
     this.ultraExplorerBar1.TabIndex = 23;
     this.ultraExplorerBar1.TabStop  = false;
     //
     // FrmAbmEntidadesW
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(928, 342);
     this.Controls.Add(this.ultraExplorerBar1);
     this.Controls.Add(this.toolBar1);
     this.Name = "FrmAbmEntidadesW";
     this.Text = "FrmAbmEntidadesW";
     this.ultraExplorerBarContainerControl4.ResumeLayout(false);
     this.ultraExplorerBarContainerControl1.ResumeLayout(false);
     this.datosGeneralesContainer.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.mzCEFamiliaFormaDePago)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.mzCEComprobanteTesoreria)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ultraExplorerBar1)).EndInit();
     this.ultraExplorerBar1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #47
0
ファイル: TemplateBrowser.cs プロジェクト: zhh007/MyGen
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TemplateBrowser));
     this.toolBarToolbar                 = new System.Windows.Forms.ToolBar();
     this.toolBarButtonRefresh           = new System.Windows.Forms.ToolBarButton();
     this.toolBarButtonMode              = new System.Windows.Forms.ToolBarButton();
     this.toolBarButtonWeb               = new System.Windows.Forms.ToolBarButton();
     this.toolBarSeparator2              = new System.Windows.Forms.ToolBarButton();
     this.toolBarButtonOpen              = new System.Windows.Forms.ToolBarButton();
     this.toolBarSeparator1              = new System.Windows.Forms.ToolBarButton();
     this.toolBarButtonSaveInput         = new System.Windows.Forms.ToolBarButton();
     this.toolBarButtonExecuteSavedInput = new System.Windows.Forms.ToolBarButton();
     this.toolBarSeparator3              = new System.Windows.Forms.ToolBarButton();
     this.toolBarButtonExecute           = new System.Windows.Forms.ToolBarButton();
     this.imageListFormIcons             = new System.Windows.Forms.ImageList(this.components);
     this.treeViewTemplates              = new System.Windows.Forms.TreeView();
     this.contextMenuTree                = new System.Windows.Forms.ContextMenu();
     this.menuItemExecute                = new System.Windows.Forms.MenuItem();
     this.menuItemOpen           = new System.Windows.Forms.MenuItem();
     this.menuItemWebUpdate      = new System.Windows.Forms.MenuItem();
     this.menuItemEncryptAs      = new System.Windows.Forms.MenuItem();
     this.menuItemCompileAs      = new System.Windows.Forms.MenuItem();
     this.menuItemDelete         = new System.Windows.Forms.MenuItem();
     this.toolTipTemplateBrowser = new System.Windows.Forms.ToolTip(this.components);
     this.SuspendLayout();
     //
     // toolBarToolbar
     //
     this.toolBarToolbar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.toolBarToolbar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.toolBarButtonRefresh,
         this.toolBarButtonMode,
         this.toolBarButtonWeb,
         this.toolBarSeparator2,
         this.toolBarButtonOpen,
         this.toolBarSeparator1,
         this.toolBarButtonSaveInput,
         this.toolBarButtonExecuteSavedInput,
         this.toolBarSeparator3,
         this.toolBarButtonExecute
     });
     this.toolBarToolbar.DropDownArrows = true;
     this.toolBarToolbar.ImageList      = this.imageListFormIcons;
     this.toolBarToolbar.Location       = new System.Drawing.Point(0, 0);
     this.toolBarToolbar.Name           = "toolBarToolbar";
     this.toolBarToolbar.ShowToolTips   = true;
     this.toolBarToolbar.Size           = new System.Drawing.Size(384, 28);
     this.toolBarToolbar.TabIndex       = 0;
     this.toolBarToolbar.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBarToolbar_ButtonClick);
     //
     // toolBarButtonRefresh
     //
     this.toolBarButtonRefresh.ImageIndex  = 2;
     this.toolBarButtonRefresh.Name        = "toolBarButtonRefresh";
     this.toolBarButtonRefresh.ToolTipText = "Refresh Template Browser";
     //
     // toolBarButtonMode
     //
     this.toolBarButtonMode.ImageIndex  = 7;
     this.toolBarButtonMode.Name        = "toolBarButtonMode";
     this.toolBarButtonMode.Style       = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
     this.toolBarButtonMode.ToolTipText = "Browse Mode";
     //
     // toolBarButtonWeb
     //
     this.toolBarButtonWeb.ImageIndex  = 10;
     this.toolBarButtonWeb.Name        = "toolBarButtonWeb";
     this.toolBarButtonWeb.ToolTipText = "Online Template Library";
     //
     // toolBarSeparator2
     //
     this.toolBarSeparator2.Name  = "toolBarSeparator2";
     this.toolBarSeparator2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButtonOpen
     //
     this.toolBarButtonOpen.ImageIndex  = 0;
     this.toolBarButtonOpen.Name        = "toolBarButtonOpen";
     this.toolBarButtonOpen.ToolTipText = "Open Template";
     //
     // toolBarSeparator1
     //
     this.toolBarSeparator1.Name  = "toolBarSeparator1";
     this.toolBarSeparator1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButtonSaveInput
     //
     this.toolBarButtonSaveInput.ImageIndex  = 8;
     this.toolBarButtonSaveInput.Name        = "toolBarButtonSaveInput";
     this.toolBarButtonSaveInput.ToolTipText = "Record a Template";
     //
     // toolBarButtonExecuteSavedInput
     //
     this.toolBarButtonExecuteSavedInput.ImageIndex  = 9;
     this.toolBarButtonExecuteSavedInput.Name        = "toolBarButtonExecuteSavedInput";
     this.toolBarButtonExecuteSavedInput.ToolTipText = "Replay a Template";
     //
     // toolBarSeparator3
     //
     this.toolBarSeparator3.Name  = "toolBarSeparator3";
     this.toolBarSeparator3.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButtonExecute
     //
     this.toolBarButtonExecute.ImageIndex  = 1;
     this.toolBarButtonExecute.Name        = "toolBarButtonExecute";
     this.toolBarButtonExecute.ToolTipText = "Execute Template";
     //
     // imageListFormIcons
     //
     this.imageListFormIcons.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageListFormIcons.ImageStream")));
     this.imageListFormIcons.TransparentColor = System.Drawing.Color.Fuchsia;
     this.imageListFormIcons.Images.SetKeyName(0, "");
     this.imageListFormIcons.Images.SetKeyName(1, "");
     this.imageListFormIcons.Images.SetKeyName(2, "");
     this.imageListFormIcons.Images.SetKeyName(3, "");
     this.imageListFormIcons.Images.SetKeyName(4, "");
     this.imageListFormIcons.Images.SetKeyName(5, "");
     this.imageListFormIcons.Images.SetKeyName(6, "");
     this.imageListFormIcons.Images.SetKeyName(7, "");
     this.imageListFormIcons.Images.SetKeyName(8, "");
     this.imageListFormIcons.Images.SetKeyName(9, "");
     this.imageListFormIcons.Images.SetKeyName(10, "");
     this.imageListFormIcons.Images.SetKeyName(11, "");
     //
     // treeViewTemplates
     //
     this.treeViewTemplates.ContextMenu        = this.contextMenuTree;
     this.treeViewTemplates.Dock               = System.Windows.Forms.DockStyle.Fill;
     this.treeViewTemplates.ImageIndex         = 0;
     this.treeViewTemplates.ImageList          = this.imageListFormIcons;
     this.treeViewTemplates.Location           = new System.Drawing.Point(0, 28);
     this.treeViewTemplates.Name               = "treeViewTemplates";
     this.treeViewTemplates.SelectedImageIndex = 0;
     this.treeViewTemplates.Size               = new System.Drawing.Size(384, 514);
     this.treeViewTemplates.TabIndex           = 1;
     //
     // contextMenuTree
     //
     this.contextMenuTree.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItemExecute,
         this.menuItemOpen,
         this.menuItemWebUpdate,
         this.menuItemEncryptAs,
         this.menuItemCompileAs,
         this.menuItemDelete
     });
     this.contextMenuTree.Popup += new System.EventHandler(this.contextMenuTree_Popup);
     //
     // menuItemExecute
     //
     this.menuItemExecute.Index  = 0;
     this.menuItemExecute.Text   = "E&xecute";
     this.menuItemExecute.Click += new System.EventHandler(this.menuItemExecute_Click);
     //
     // menuItemOpen
     //
     this.menuItemOpen.Index  = 1;
     this.menuItemOpen.Text   = "&Open";
     this.menuItemOpen.Click += new System.EventHandler(this.menuItemOpen_Click);
     //
     // menuItemWebUpdate
     //
     this.menuItemWebUpdate.Index  = 2;
     this.menuItemWebUpdate.Text   = "&Web Update";
     this.menuItemWebUpdate.Click += new System.EventHandler(this.menuItemWebUpdate_Click);
     //
     // menuItemEncryptAs
     //
     this.menuItemEncryptAs.Index   = 3;
     this.menuItemEncryptAs.Text    = "Ecr&ypt As...";
     this.menuItemEncryptAs.Visible = false;
     this.menuItemEncryptAs.Click  += new System.EventHandler(this.menuItemEncryptAs_Click);
     //
     // menuItemCompileAs
     //
     this.menuItemCompileAs.Index   = 4;
     this.menuItemCompileAs.Text    = "&Compile As...";
     this.menuItemCompileAs.Visible = false;
     this.menuItemCompileAs.Click  += new System.EventHandler(this.menuItemCompileAs_Click);
     //
     // menuItemDelete
     //
     this.menuItemDelete.Index  = 5;
     this.menuItemDelete.Text   = "&Delete";
     this.menuItemDelete.Click += new System.EventHandler(this.menuItemDelete_Click);
     //
     // TemplateBrowser
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(384, 542);
     this.ControlBox        = false;
     this.Controls.Add(this.treeViewTemplates);
     this.Controls.Add(this.toolBarToolbar);
     this.DockAreas = ((WeifenLuo.WinFormsUI.Docking.DockAreas)((((WeifenLuo.WinFormsUI.Docking.DockAreas.DockLeft | WeifenLuo.WinFormsUI.Docking.DockAreas.DockRight)
                                                                  | WeifenLuo.WinFormsUI.Docking.DockAreas.DockTop)
                                                                 | WeifenLuo.WinFormsUI.Docking.DockAreas.DockBottom)));
     this.HideOnClose = true;
     this.Icon        = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name        = "TemplateBrowser";
     this.ShowHint    = WeifenLuo.WinFormsUI.Docking.DockState.DockLeft;
     this.TabText     = "Template Browser";
     this.Text        = "Template Browser";
     this.MouseLeave += new System.EventHandler(this.TemplateBrowser_MouseLeave);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #48
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();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmcdcausaleprestazione));
     this.DS              = new /*Rana:cdcausaleprestazione.*/ vistaForm();
     this.MetaDataDetail  = new System.Windows.Forms.Panel();
     this.textBox4        = new System.Windows.Forms.TextBox();
     this.label4          = new System.Windows.Forms.Label();
     this.textBox3        = new System.Windows.Forms.TextBox();
     this.label3          = new System.Windows.Forms.Label();
     this.label2          = new System.Windows.Forms.Label();
     this.textBox1        = new System.Windows.Forms.TextBox();
     this.textBox2        = new System.Windows.Forms.TextBox();
     this.label1          = new System.Windows.Forms.Label();
     this.dataGrid1       = new System.Windows.Forms.DataGrid();
     this.MetaDataToolBar = new System.Windows.Forms.ToolBar();
     this.seleziona       = new System.Windows.Forms.ToolBarButton();
     this.impostaricerca  = new System.Windows.Forms.ToolBarButton();
     this.effettuaricerca = new System.Windows.Forms.ToolBarButton();
     this.modifica        = new System.Windows.Forms.ToolBarButton();
     this.inserisci       = new System.Windows.Forms.ToolBarButton();
     this.inseriscicopia  = new System.Windows.Forms.ToolBarButton();
     this.elimina         = new System.Windows.Forms.ToolBarButton();
     this.Salva           = new System.Windows.Forms.ToolBarButton();
     this.aggiorna        = new System.Windows.Forms.ToolBarButton();
     this.images          = new System.Windows.Forms.ImageList(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.DS)).BeginInit();
     this.MetaDataDetail.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     this.SuspendLayout();
     //
     // DS
     //
     this.DS.DataSetName = "vistaForm";
     this.DS.Locale      = new System.Globalization.CultureInfo("en-US");
     //
     // MetaDataDetail
     //
     this.MetaDataDetail.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.MetaDataDetail.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.MetaDataDetail.Controls.Add(this.textBox4);
     this.MetaDataDetail.Controls.Add(this.label4);
     this.MetaDataDetail.Controls.Add(this.textBox3);
     this.MetaDataDetail.Controls.Add(this.label3);
     this.MetaDataDetail.Controls.Add(this.label2);
     this.MetaDataDetail.Controls.Add(this.textBox1);
     this.MetaDataDetail.Controls.Add(this.textBox2);
     this.MetaDataDetail.Controls.Add(this.label1);
     this.MetaDataDetail.Location = new System.Drawing.Point(8, 264);
     this.MetaDataDetail.Name     = "MetaDataDetail";
     this.MetaDataDetail.Size     = new System.Drawing.Size(496, 98);
     this.MetaDataDetail.TabIndex = 10;
     //
     // textBox4
     //
     this.textBox4.Location = new System.Drawing.Point(432, 16);
     this.textBox4.Name     = "textBox4";
     this.textBox4.Size     = new System.Drawing.Size(56, 20);
     this.textBox4.TabIndex = 3;
     this.textBox4.Tag      = "servicemotive.ayear.year";
     this.textBox4.Text     = "";
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(344, 18);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(80, 16);
     this.label4.TabIndex  = 9;
     this.label4.Text      = "Esercizio:";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // textBox3
     //
     this.textBox3.Location = new System.Drawing.Point(88, 16);
     this.textBox3.Name     = "textBox3";
     this.textBox3.Size     = new System.Drawing.Size(56, 20);
     this.textBox3.TabIndex = 1;
     this.textBox3.Tag      = "servicemotive.idmotive";
     this.textBox3.Text     = "";
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(40, 18);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(32, 16);
     this.label3.TabIndex  = 7;
     this.label3.Text      = "ID:";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(8, 40);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(72, 16);
     this.label2.TabIndex  = 5;
     this.label2.Text      = "Descrizione:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // textBox1
     //
     this.textBox1.Location = new System.Drawing.Point(232, 16);
     this.textBox1.Name     = "textBox1";
     this.textBox1.TabIndex = 2;
     this.textBox1.Tag      = "servicemotive.idmot";
     this.textBox1.Text     = "";
     //
     // textBox2
     //
     this.textBox2.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.textBox2.Location  = new System.Drawing.Point(88, 42);
     this.textBox2.Multiline = true;
     this.textBox2.Name      = "textBox2";
     this.textBox2.Size      = new System.Drawing.Size(400, 48);
     this.textBox2.TabIndex  = 4;
     this.textBox2.Tag       = "servicemotive.description";
     this.textBox2.Text      = "";
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(168, 18);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(48, 16);
     this.label1.TabIndex  = 3;
     this.label1.Text      = "Codice:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // dataGrid1
     //
     this.dataGrid1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.dataGrid1.CaptionVisible  = false;
     this.dataGrid1.DataMember      = "";
     this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dataGrid1.Location        = new System.Drawing.Point(8, 56);
     this.dataGrid1.Name            = "dataGrid1";
     this.dataGrid1.Size            = new System.Drawing.Size(496, 200);
     this.dataGrid1.TabIndex        = 9;
     this.dataGrid1.Tag             = "servicemotive.default";
     //
     // MetaDataToolBar
     //
     this.MetaDataToolBar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.MetaDataToolBar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.seleziona,
         this.impostaricerca,
         this.effettuaricerca,
         this.modifica,
         this.inserisci,
         this.inseriscicopia,
         this.elimina,
         this.Salva,
         this.aggiorna
     });
     this.MetaDataToolBar.ButtonSize     = new System.Drawing.Size(56, 56);
     this.MetaDataToolBar.DropDownArrows = true;
     this.MetaDataToolBar.ImageList      = this.images;
     this.MetaDataToolBar.Location       = new System.Drawing.Point(0, 0);
     this.MetaDataToolBar.Name           = "MetaDataToolBar";
     this.MetaDataToolBar.ShowToolTips   = true;
     this.MetaDataToolBar.Size           = new System.Drawing.Size(512, 106);
     this.MetaDataToolBar.TabIndex       = 11;
     this.MetaDataToolBar.Tag            = "";
     //
     // seleziona
     //
     this.seleziona.ImageIndex  = 1;
     this.seleziona.Tag         = "mainselect";
     this.seleziona.Text        = "Seleziona";
     this.seleziona.ToolTipText = "Seleziona l\'elemento desiderato";
     //
     // impostaricerca
     //
     this.impostaricerca.ImageIndex  = 10;
     this.impostaricerca.Tag         = "mainsetsearch";
     this.impostaricerca.Text        = "Imposta Ricerca";
     this.impostaricerca.ToolTipText = "Imposta una nuova ricerca";
     //
     // effettuaricerca
     //
     this.effettuaricerca.ImageIndex  = 12;
     this.effettuaricerca.Tag         = "maindosearch";
     this.effettuaricerca.Text        = "Effettua Ricerca";
     this.effettuaricerca.ToolTipText = "Cerca in base ai dati immessi";
     //
     // modifica
     //
     this.modifica.ImageIndex  = 6;
     this.modifica.Tag         = "mainedit";
     this.modifica.Text        = "Modifica";
     this.modifica.ToolTipText = "Modifica l\'elemento selezionato";
     //
     // inserisci
     //
     this.inserisci.ImageIndex  = 0;
     this.inserisci.Tag         = "maininsert";
     this.inserisci.Text        = "Inserisci";
     this.inserisci.ToolTipText = "Inserisci un nuovo elemento";
     //
     // inseriscicopia
     //
     this.inseriscicopia.ImageIndex  = 9;
     this.inseriscicopia.Tag         = "maininsertcopy";
     this.inseriscicopia.Text        = "Inserisci copia";
     this.inseriscicopia.ToolTipText = "Inserisci un nuovo elemento copiando i dati da quello attuale";
     //
     // elimina
     //
     this.elimina.ImageIndex  = 3;
     this.elimina.Tag         = "maindelete";
     this.elimina.Text        = "Elimina";
     this.elimina.ToolTipText = "Elimina l\'elemento selezionato";
     //
     // Salva
     //
     this.Salva.ImageIndex  = 2;
     this.Salva.Tag         = "mainsave";
     this.Salva.Text        = "Salva";
     this.Salva.ToolTipText = "Salva le modifiche effettuate";
     //
     // aggiorna
     //
     this.aggiorna.ImageIndex = 13;
     this.aggiorna.Tag        = "mainrefresh";
     this.aggiorna.Text       = "Aggiorna";
     //
     // images
     //
     this.images.ImageSize        = new System.Drawing.Size(30, 30);
     this.images.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("images.ImageStream")));
     this.images.TransparentColor = System.Drawing.Color.Transparent;
     //
     // frmcdcausaleprestazione
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(512, 373);
     this.Controls.Add(this.MetaDataDetail);
     this.Controls.Add(this.dataGrid1);
     this.Controls.Add(this.MetaDataToolBar);
     this.Name = "frmcdcausaleprestazione";
     this.Text = "frmcdcausaleprestazione";
     ((System.ComponentModel.ISupportInitialize)(this.DS)).EndInit();
     this.MetaDataDetail.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #49
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.toolBar1        = new System.Windows.Forms.ToolBar();
     this.toolBarButton1  = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton2  = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton3  = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton4  = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton5  = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton6  = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton7  = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton8  = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton9  = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton10 = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton11 = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton12 = new System.Windows.Forms.ToolBarButton();
     this.button1         = new System.Windows.Forms.Button();
     this._sizerLight     = new C1.Win.C1Sizer.C1SizerLight(this.components);
     this.panel1          = new System.Windows.Forms.Panel();
     this.label1          = new System.Windows.Forms.Label();
     this.button2         = new System.Windows.Forms.Button();
     this.button3         = new System.Windows.Forms.Button();
     this.button4         = new System.Windows.Forms.Button();
     this.button5         = new System.Windows.Forms.Button();
     this.button6         = new System.Windows.Forms.Button();
     this.button7         = new System.Windows.Forms.Button();
     this.button8         = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this._sizerLight)).BeginInit();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // toolBar1
     //
     this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.toolBarButton1,
         this.toolBarButton2,
         this.toolBarButton3,
         this.toolBarButton4,
         this.toolBarButton5,
         this.toolBarButton6,
         this.toolBarButton7,
         this.toolBarButton8,
         this.toolBarButton9,
         this.toolBarButton10,
         this.toolBarButton11,
         this.toolBarButton12
     });
     this.toolBar1.ButtonSize     = new System.Drawing.Size(30, 36);
     this.toolBar1.DropDownArrows = true;
     this.toolBar1.Name           = "toolBar1";
     this.toolBar1.ShowToolTips   = true;
     this.toolBar1.Size           = new System.Drawing.Size(376, 39);
     this.toolBar1.TabIndex       = 0;
     //
     // toolBarButton1
     //
     this.toolBarButton1.Text = "1";
     //
     // toolBarButton2
     //
     this.toolBarButton2.Text = "2";
     //
     // toolBarButton3
     //
     this.toolBarButton3.Text = "3";
     //
     // toolBarButton4
     //
     this.toolBarButton4.Text = "4";
     //
     // toolBarButton5
     //
     this.toolBarButton5.Text = "5";
     //
     // toolBarButton6
     //
     this.toolBarButton6.Text = "6";
     //
     // toolBarButton7
     //
     this.toolBarButton7.Text = "7";
     //
     // toolBarButton8
     //
     this.toolBarButton8.Text = "8";
     //
     // toolBarButton9
     //
     this.toolBarButton9.Text = "9";
     //
     // toolBarButton10
     //
     this.toolBarButton10.Text = "10";
     //
     // toolBarButton11
     //
     this.toolBarButton11.Text = "11";
     //
     // toolBarButton12
     //
     this.toolBarButton12.Text = "12";
     //
     // button1
     //
     this.button1.BackColor = System.Drawing.Color.Gold;
     this.button1.Font      = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(177)));
     this.button1.Location  = new System.Drawing.Point(8, 8);
     this.button1.Name      = "button1";
     this.button1.Size      = new System.Drawing.Size(172, 50);
     this.button1.TabIndex  = 0;
     this.button1.Text      = "One";
     this.button1.Click    += new System.EventHandler(this.button1_Click);
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.BlanchedAlmond;
     this.panel1.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.label1,
         this.button1,
         this.button2,
         this.button3,
         this.button4,
         this.button5,
         this.button6,
         this.button7,
         this.button8
     });
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 39);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(376, 278);
     this.panel1.TabIndex = 1;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 232);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(352, 40);
     this.label1.TabIndex = 1;
     this.label1.Text     = "Resize the form and the buttons will be automatically resized. If the toolbar wra" +
                            "ps, that will also be taken into account.";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // button2
     //
     this.button2.BackColor = System.Drawing.Color.Gold;
     this.button2.Font      = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(177)));
     this.button2.Location  = new System.Drawing.Point(8, 64);
     this.button2.Name      = "button2";
     this.button2.Size      = new System.Drawing.Size(172, 50);
     this.button2.TabIndex  = 0;
     this.button2.Text      = "Two";
     //
     // button3
     //
     this.button3.BackColor = System.Drawing.Color.Gold;
     this.button3.Font      = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(177)));
     this.button3.Location  = new System.Drawing.Point(8, 120);
     this.button3.Name      = "button3";
     this.button3.Size      = new System.Drawing.Size(172, 50);
     this.button3.TabIndex  = 0;
     this.button3.Text      = "Three";
     //
     // button4
     //
     this.button4.BackColor = System.Drawing.Color.Gold;
     this.button4.Font      = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(177)));
     this.button4.Location  = new System.Drawing.Point(8, 176);
     this.button4.Name      = "button4";
     this.button4.Size      = new System.Drawing.Size(172, 50);
     this.button4.TabIndex  = 0;
     this.button4.Text      = "Four";
     //
     // button5
     //
     this.button5.BackColor = System.Drawing.Color.Gold;
     this.button5.Font      = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(177)));
     this.button5.Location  = new System.Drawing.Point(192, 120);
     this.button5.Name      = "button5";
     this.button5.Size      = new System.Drawing.Size(172, 50);
     this.button5.TabIndex  = 0;
     this.button5.Text      = "Seven";
     //
     // button6
     //
     this.button6.BackColor = System.Drawing.Color.Gold;
     this.button6.Font      = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(177)));
     this.button6.Location  = new System.Drawing.Point(192, 64);
     this.button6.Name      = "button6";
     this.button6.Size      = new System.Drawing.Size(172, 50);
     this.button6.TabIndex  = 0;
     this.button6.Text      = "Six";
     //
     // button7
     //
     this.button7.BackColor = System.Drawing.Color.Gold;
     this.button7.Font      = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(177)));
     this.button7.Location  = new System.Drawing.Point(192, 176);
     this.button7.Name      = "button7";
     this.button7.Size      = new System.Drawing.Size(172, 50);
     this.button7.TabIndex  = 0;
     this.button7.Text      = "Eight";
     //
     // button8
     //
     this.button8.BackColor = System.Drawing.Color.Gold;
     this.button8.Font      = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(177)));
     this.button8.Location  = new System.Drawing.Point(192, 8);
     this.button8.Name      = "button8";
     this.button8.Size      = new System.Drawing.Size(172, 50);
     this.button8.TabIndex  = 0;
     this.button8.Text      = "Five";
     //
     // Form1
     //
     this._sizerLight.SetAutoResize(this, true);
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(376, 317);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.panel1,
         this.toolBar1
     });
     this.Name          = "Form1";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "C1SizerLight: Wrapping toolbar";
     ((System.ComponentModel.ISupportInitialize)(this._sizerLight)).EndInit();
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #50
0
ファイル: Form1.cs プロジェクト: johnvcoleman/ShapeDotNet
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
     this.mainMenu1 = new System.Windows.Forms.MainMenu();
     this.menuItem1 = new System.Windows.Forms.MenuItem();
     this.menuOpenFile = new System.Windows.Forms.MenuItem();
     this.menuItem3 = new System.Windows.Forms.MenuItem();
     this.menuSaveViewTo = new System.Windows.Forms.MenuItem();
     this.menuItemSaveToImage = new System.Windows.Forms.MenuItem();
     this.menuItem6 = new System.Windows.Forms.MenuItem();
     this.menuExit = new System.Windows.Forms.MenuItem();
     this.menuHelp = new System.Windows.Forms.MenuItem();
     this.menuHelpAbout = new System.Windows.Forms.MenuItem();
     this.statusBar1 = new System.Windows.Forms.StatusBar();
     this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel();
     this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel();
     this.statusBarPanel3 = new System.Windows.Forms.StatusBarPanel();
     this.imageList1 = new System.Windows.Forms.ImageList(this.components);
     this.panel1 = new System.Windows.Forms.Panel();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.queryComboBox = new System.Windows.Forms.ComboBox();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.layerToolBar = new System.Windows.Forms.ToolBar();
     this.addLayerButton = new System.Windows.Forms.ToolBarButton();
     this.removeLayerButton = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton1 = new System.Windows.Forms.ToolBarButton();
     this.toolBarSeparator1 = new System.Windows.Forms.ToolBarButton();
     this.moveLayerUpButton = new System.Windows.Forms.ToolBarButton();
     this.moveLayerDownButton = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton2 = new System.Windows.Forms.ToolBarButton();
     this.layerPropertiesButton = new System.Windows.Forms.ToolBarButton();
     this.layerListBox = new System.Windows.Forms.ListBox();
     this.mainToolBar = new System.Windows.Forms.ToolBar();
     this.pointerButton = new System.Windows.Forms.ToolBarButton();
     this.zoomButton = new System.Windows.Forms.ToolBarButton();
     this.zoomAreaButton = new System.Windows.Forms.ToolBarButton();
     this.dragButton = new System.Windows.Forms.ToolBarButton();
     this.centerButton = new System.Windows.Forms.ToolBarButton();
     this.queryButton = new System.Windows.Forms.ToolBarButton();
     this.extentsButton = new System.Windows.Forms.ToolBarButton();
     this.splitter1 = new System.Windows.Forms.Splitter();
     this.mapControl = new ShapeDotNet.MapControl();
     this.clearSelectionButton = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).BeginInit();
     this.panel1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                               this.menuItem1,
                                                                               this.menuHelp});
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                               this.menuOpenFile,
                                                                               this.menuItem3,
                                                                               this.menuSaveViewTo,
                                                                               this.menuItem6,
                                                                               this.menuExit});
     this.menuItem1.Text = "&File";
     //
     // menuOpenFile
     //
     this.menuOpenFile.Index = 0;
     this.menuOpenFile.Text = "&Open Shape File";
     this.menuOpenFile.Click += new System.EventHandler(this.menuOpenFile_Click);
     //
     // menuItem3
     //
     this.menuItem3.Index = 1;
     this.menuItem3.Text = "-";
     //
     // menuSaveViewTo
     //
     this.menuSaveViewTo.Index = 2;
     this.menuSaveViewTo.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                                    this.menuItemSaveToImage});
     this.menuSaveViewTo.Text = "&Save View As...";
     //
     // menuItemSaveToImage
     //
     this.menuItemSaveToImage.Index = 0;
     this.menuItemSaveToImage.Text = "Image";
     this.menuItemSaveToImage.Click += new System.EventHandler(this.menuItemSaveToImage_Click);
     //
     // menuItem6
     //
     this.menuItem6.Index = 3;
     this.menuItem6.Text = "-";
     //
     // menuExit
     //
     this.menuExit.Index = 4;
     this.menuExit.Text = "E&xit";
     this.menuExit.Click += new System.EventHandler(this.menuExit_Click);
     //
     // menuHelp
     //
     this.menuHelp.Index = 1;
     this.menuHelp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
                                                                              this.menuHelpAbout});
     this.menuHelp.Text = "&Help";
     //
     // menuHelpAbout
     //
     this.menuHelpAbout.Index = 0;
     this.menuHelpAbout.Text = "&About";
     this.menuHelpAbout.Click += new System.EventHandler(this.menuHelpAbout_Click);
     //
     // statusBar1
     //
     this.statusBar1.Location = new System.Drawing.Point(0, 302);
     this.statusBar1.Name = "statusBar1";
     this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
                                                                                   this.statusBarPanel1,
                                                                                   this.statusBarPanel2,
                                                                                   this.statusBarPanel3});
     this.statusBar1.ShowPanels = true;
     this.statusBar1.Size = new System.Drawing.Size(500, 22);
     this.statusBar1.TabIndex = 2;
     //
     // statusBarPanel1
     //
     this.statusBarPanel1.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.statusBarPanel1.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Contents;
     this.statusBarPanel1.MinWidth = 200;
     this.statusBarPanel1.Width = 200;
     //
     // statusBarPanel2
     //
     this.statusBarPanel2.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.statusBarPanel2.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Contents;
     this.statusBarPanel2.MinWidth = 150;
     this.statusBarPanel2.Width = 150;
     //
     // statusBarPanel3
     //
     this.statusBarPanel3.Alignment = System.Windows.Forms.HorizontalAlignment.Right;
     this.statusBarPanel3.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring;
     this.statusBarPanel3.MinWidth = 60;
     this.statusBarPanel3.Width = 134;
     //
     // imageList1
     //
     this.imageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.imageList1.ImageSize = new System.Drawing.Size(16, 16);
     this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.White;
     //
     // panel1
     //
     this.panel1.Controls.AddRange(new System.Windows.Forms.Control[] {
                                                                          this.groupBox2,
                                                                          this.groupBox1,
                                                                          this.mainToolBar});
     this.panel1.Dock = System.Windows.Forms.DockStyle.Left;
     this.panel1.DockPadding.Left = 3;
     this.panel1.DockPadding.Right = 3;
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(152, 302);
     this.panel1.TabIndex = 5;
     //
     // groupBox2
     //
     this.groupBox2.Controls.AddRange(new System.Windows.Forms.Control[] {
                                                                             this.clearSelectionButton,
                                                                             this.queryComboBox});
     this.groupBox2.Dock = System.Windows.Forms.DockStyle.Top;
     this.groupBox2.Location = new System.Drawing.Point(3, 188);
     this.groupBox2.Name = "groupBox2";
     this.groupBox2.Size = new System.Drawing.Size(146, 76);
     this.groupBox2.TabIndex = 5;
     this.groupBox2.TabStop = false;
     this.groupBox2.Text = "Query Field";
     //
     // queryComboBox
     //
     this.queryComboBox.Anchor = System.Windows.Forms.AnchorStyles.Top;
     this.queryComboBox.Location = new System.Drawing.Point(3, 20);
     this.queryComboBox.Name = "queryComboBox";
     this.queryComboBox.Size = new System.Drawing.Size(140, 21);
     this.queryComboBox.TabIndex = 6;
     this.queryComboBox.Text = "Query Source Field";
     this.queryComboBox.SelectionChangeCommitted += new System.EventHandler(this.queryComboBox_SelectionChangeCommitted);
     //
     // groupBox1
     //
     this.groupBox1.Controls.AddRange(new System.Windows.Forms.Control[] {
                                                                             this.layerToolBar,
                                                                             this.layerListBox});
     this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top;
     this.groupBox1.Location = new System.Drawing.Point(3, 47);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(146, 141);
     this.groupBox1.TabIndex = 4;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "Layers";
     //
     // layerToolBar
     //
     this.layerToolBar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
                                                                                     this.addLayerButton,
                                                                                     this.removeLayerButton,
                                                                                     this.toolBarButton1,
                                                                                     this.toolBarSeparator1,
                                                                                     this.moveLayerUpButton,
                                                                                     this.moveLayerDownButton,
                                                                                     this.toolBarButton2,
                                                                                     this.layerPropertiesButton});
     this.layerToolBar.ButtonSize = new System.Drawing.Size(23, 22);
     this.layerToolBar.DropDownArrows = true;
     this.layerToolBar.ImageList = this.imageList1;
     this.layerToolBar.Location = new System.Drawing.Point(3, 111);
     this.layerToolBar.Name = "layerToolBar";
     this.layerToolBar.ShowToolTips = true;
     this.layerToolBar.Size = new System.Drawing.Size(140, 25);
     this.layerToolBar.TabIndex = 11;
     this.layerToolBar.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.layerToolBar_ButtonClick);
     //
     // addLayerButton
     //
     this.addLayerButton.ImageIndex = 8;
     this.addLayerButton.ToolTipText = "Add a New Layer";
     //
     // removeLayerButton
     //
     this.removeLayerButton.ImageIndex = 9;
     this.removeLayerButton.ToolTipText = "Remove the currently selected layer";
     //
     // toolBarButton1
     //
     this.toolBarButton1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarSeparator1
     //
     this.toolBarSeparator1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // moveLayerUpButton
     //
     this.moveLayerUpButton.ImageIndex = 11;
     this.moveLayerUpButton.ToolTipText = "Move the currently selected layer \'up\'";
     //
     // moveLayerDownButton
     //
     this.moveLayerDownButton.ImageIndex = 12;
     this.moveLayerDownButton.ToolTipText = "Move the currently selected layer \'down\'";
     //
     // toolBarButton2
     //
     this.toolBarButton2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // layerPropertiesButton
     //
     this.layerPropertiesButton.ImageIndex = 10;
     this.layerPropertiesButton.ToolTipText = "Show the properties of the currently selected layer";
     //
     // layerListBox
     //
     this.layerListBox.Dock = System.Windows.Forms.DockStyle.Top;
     this.layerListBox.Location = new System.Drawing.Point(3, 16);
     this.layerListBox.Name = "layerListBox";
     this.layerListBox.Size = new System.Drawing.Size(140, 95);
     this.layerListBox.TabIndex = 10;
     this.layerListBox.SelectedValueChanged += new System.EventHandler(this.layerListBox_SelectedValueChanged);
     //
     // mainToolBar
     //
     this.mainToolBar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.mainToolBar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
                                                                                    this.pointerButton,
                                                                                    this.zoomButton,
                                                                                    this.zoomAreaButton,
                                                                                    this.dragButton,
                                                                                    this.centerButton,
                                                                                    this.queryButton,
                                                                                    this.extentsButton});
     this.mainToolBar.DropDownArrows = true;
     this.mainToolBar.ImageList = this.imageList1;
     this.mainToolBar.Location = new System.Drawing.Point(3, 0);
     this.mainToolBar.Name = "mainToolBar";
     this.mainToolBar.ShowToolTips = true;
     this.mainToolBar.Size = new System.Drawing.Size(146, 47);
     this.mainToolBar.TabIndex = 3;
     this.mainToolBar.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick);
     //
     // pointerButton
     //
     this.pointerButton.ImageIndex = 0;
     this.pointerButton.Pushed = true;
     this.pointerButton.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
     this.pointerButton.ToolTipText = "Select";
     //
     // zoomButton
     //
     this.zoomButton.ImageIndex = 1;
     this.zoomButton.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
     this.zoomButton.ToolTipText = "Zoom In/Out";
     //
     // zoomAreaButton
     //
     this.zoomAreaButton.ImageIndex = 2;
     this.zoomAreaButton.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
     this.zoomAreaButton.ToolTipText = "Zoom Area";
     //
     // dragButton
     //
     this.dragButton.ImageIndex = 3;
     this.dragButton.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
     this.dragButton.ToolTipText = "Drag";
     //
     // centerButton
     //
     this.centerButton.ImageIndex = 4;
     this.centerButton.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
     this.centerButton.ToolTipText = "Center On Click";
     //
     // queryButton
     //
     this.queryButton.ImageIndex = 5;
     this.queryButton.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
     this.queryButton.ToolTipText = "Query";
     //
     // extentsButton
     //
     this.extentsButton.ImageIndex = 6;
     this.extentsButton.ToolTipText = "Zoom To Extents";
     //
     // splitter1
     //
     this.splitter1.Location = new System.Drawing.Point(152, 0);
     this.splitter1.Name = "splitter1";
     this.splitter1.Size = new System.Drawing.Size(3, 302);
     this.splitter1.TabIndex = 6;
     this.splitter1.TabStop = false;
     //
     // mapControl
     //
     this.mapControl.BackColor = System.Drawing.SystemColors.Window;
     this.mapControl.Cursor = System.Windows.Forms.Cursors.Default;
     this.mapControl.Dock = System.Windows.Forms.DockStyle.Fill;
     this.mapControl.Location = new System.Drawing.Point(155, 0);
     this.mapControl.Name = "mapControl";
     this.mapControl.PointerBehavior = ShapeDotNet.PointerMode.Select;
     this.mapControl.QueryLayer = -1;
     this.mapControl.Size = new System.Drawing.Size(345, 302);
     this.mapControl.TabIndex = 7;
     this.mapControl.MouseMove += new System.Windows.Forms.MouseEventHandler(this.mapControl_MouseMove);
     //
     // clearSelectionButton
     //
     this.clearSelectionButton.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left);
     this.clearSelectionButton.Location = new System.Drawing.Point(4, 48);
     this.clearSelectionButton.Name = "clearSelectionButton";
     this.clearSelectionButton.Size = new System.Drawing.Size(136, 23);
     this.clearSelectionButton.TabIndex = 7;
     this.clearSelectionButton.Text = "Clear All Selections";
     this.clearSelectionButton.Click += new System.EventHandler(this.clearSelectionButton_Click);
     //
     // Form1
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(500, 324);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
                                                                   this.mapControl,
                                                                   this.splitter1,
                                                                   this.panel1,
                                                                   this.statusBar1});
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Menu = this.mainMenu1;
     this.Name = "Form1";
     this.Text = "Shape.Net Viewer";
     this.MouseMove += new System.Windows.Forms.MouseEventHandler(this.mapControl_MouseMove);
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).EndInit();
     this.panel1.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     this.groupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #51
0
		ToolBarButtonCollection(ToolBar owner) : base()
		{
			this.owner = owner;
		}
コード例 #52
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();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmAutorizacion));
     this.dgAutoriza   = new CustGrd.vwGrd();
     this.gbEjecutivos = new System.Windows.Forms.GroupBox();
     this.tbBuro       = new System.Windows.Forms.ToolBar();
     this.Generar      = new System.Windows.Forms.ToolBarButton();
     this.Cerrar       = new System.Windows.Forms.ToolBarButton();
     this.ilBuro       = new System.Windows.Forms.ImageList(this.components);
     this.gbEjecutivos.SuspendLayout();
     this.SuspendLayout();
     //
     // dgAutoriza
     //
     this.dgAutoriza.BackColor     = System.Drawing.Color.Lavender;
     this.dgAutoriza.ColumnMargin  = 6;
     this.dgAutoriza.Font          = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.dgAutoriza.FullRowSelect = true;
     this.dgAutoriza.Location      = new System.Drawing.Point(8, 16);
     this.dgAutoriza.Name          = "dgAutoriza";
     this.dgAutoriza.Size          = new System.Drawing.Size(544, 264);
     this.dgAutoriza.TabIndex      = 2;
     this.dgAutoriza.View          = System.Windows.Forms.View.Details;
     //
     // gbEjecutivos
     //
     this.gbEjecutivos.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.dgAutoriza
     });
     this.gbEjecutivos.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.gbEjecutivos.Location = new System.Drawing.Point(8, 48);
     this.gbEjecutivos.Name     = "gbEjecutivos";
     this.gbEjecutivos.Size     = new System.Drawing.Size(560, 288);
     this.gbEjecutivos.TabIndex = 3;
     this.gbEjecutivos.TabStop  = false;
     this.gbEjecutivos.Text     = "Ejecutivos";
     //
     // tbBuro
     //
     this.tbBuro.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.tbBuro.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.Generar,
         this.Cerrar
     });
     this.tbBuro.DropDownArrows = true;
     this.tbBuro.Font           = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.tbBuro.ImageList      = this.ilBuro;
     this.tbBuro.Name           = "tbBuro";
     this.tbBuro.ShowToolTips   = true;
     this.tbBuro.Size           = new System.Drawing.Size(574, 39);
     this.tbBuro.TabIndex       = 5;
     this.tbBuro.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.tbBuro_ButtonClick);
     //
     // Generar
     //
     this.Generar.ImageIndex = 2;
     this.Generar.Text       = "Generar";
     //
     // Cerrar
     //
     this.Cerrar.ImageIndex = 1;
     this.Cerrar.Text       = "Cerrar";
     //
     // ilBuro
     //
     this.ilBuro.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.ilBuro.ImageSize        = new System.Drawing.Size(16, 16);
     this.ilBuro.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ilBuro.ImageStream")));
     this.ilBuro.TransparentColor = System.Drawing.Color.Transparent;
     //
     // frmAutorizacion
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(574, 346);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.tbBuro,
         this.gbEjecutivos
     });
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximumSize     = new System.Drawing.Size(584, 382);
     this.MinimumSize     = new System.Drawing.Size(584, 382);
     this.Name            = "frmAutorizacion";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Autorización";
     this.Load           += new System.EventHandler(this.frmAutorizacion_Load);
     this.gbEjecutivos.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #53
0
ファイル: frmQuery.cs プロジェクト: infobook/Query3
 /// <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._mnu = new System.Windows.Forms.MainMenu(this.components);
       this._mnuSession = new System.Windows.Forms.MenuItem();
       this._mnuNewSession = new System.Windows.Forms.MenuItem();
       this._mnuLoadSession = new System.Windows.Forms.MenuItem();
       this._mnuSaveSession = new System.Windows.Forms.MenuItem();
       this._mnuSaveSessionAs = new System.Windows.Forms.MenuItem();
       this._mnuSep0 = new System.Windows.Forms.MenuItem();
       this._mnuEditSession = new System.Windows.Forms.MenuItem();
       this._mnuSep1 = new System.Windows.Forms.MenuItem();
       this._mnuExit = new System.Windows.Forms.MenuItem();
       this._mnuSep2 = new System.Windows.Forms.MenuItem();
       this._mnuExec = new System.Windows.Forms.MenuItem();
       this._mnuExecRTab = new System.Windows.Forms.MenuItem();
       this._mnuExecRExcel = new System.Windows.Forms.MenuItem();
       this._mnuExecRHTML = new System.Windows.Forms.MenuItem();
       this.menuItem9 = new System.Windows.Forms.MenuItem();
       this._mnuNewQuery = new System.Windows.Forms.MenuItem();
       this._mnuDeleteQuery = new System.Windows.Forms.MenuItem();
       this._mnuEdit = new System.Windows.Forms.MenuItem();
       this._mnuEditSQL = new System.Windows.Forms.MenuItem();
       this._mnuEditParam = new System.Windows.Forms.MenuItem();
       this._mnuEditXSLT = new System.Windows.Forms.MenuItem();
       this._mnuProperty = new System.Windows.Forms.MenuItem();
       this.menuItem3 = new System.Windows.Forms.MenuItem();
       this._mnuExport = new System.Windows.Forms.MenuItem();
       this._mnuImport = new System.Windows.Forms.MenuItem();
       this._mnuHelp = new System.Windows.Forms.MenuItem();
       this._mnuAbout = new System.Windows.Forms.MenuItem();
       this._mnuHelpTopic = new System.Windows.Forms.MenuItem();
       this._tb = new System.Windows.Forms.ToolBar();
       this._tbbSaveSession = new System.Windows.Forms.ToolBarButton();
       this._tbbLoadSession = new System.Windows.Forms.ToolBarButton();
       this._tbbSep1 = new System.Windows.Forms.ToolBarButton();
       this._tbbExecRTab = new System.Windows.Forms.ToolBarButton();
       this._tbbExecRExcel = new System.Windows.Forms.ToolBarButton();
       this._tbbExecRHTML = new System.Windows.Forms.ToolBarButton();
       this._tbbSep2 = new System.Windows.Forms.ToolBarButton();
       this._tbbNewQuery = new System.Windows.Forms.ToolBarButton();
       this._tbbDelQuery = new System.Windows.Forms.ToolBarButton();
       this._tbbSep3 = new System.Windows.Forms.ToolBarButton();
       this._tbbEditSQL = new System.Windows.Forms.ToolBarButton();
       this._tbbEditParam = new System.Windows.Forms.ToolBarButton();
       this._tbbEditXSLT = new System.Windows.Forms.ToolBarButton();
       this._tbbSep4 = new System.Windows.Forms.ToolBarButton();
       this._tbbAbout = new System.Windows.Forms.ToolBarButton();
       this._sb = new System.Windows.Forms.StatusBar();
       this._tc = new System.Windows.Forms.TabControl();
       this._tcpQuery = new System.Windows.Forms.TabPage();
       this._tcpParam = new System.Windows.Forms.TabPage();
       this._pnlImg = new System.Windows.Forms.Panel();
       this.label12 = new System.Windows.Forms.Label();
       this._cmdPassword = new System.Windows.Forms.Button();
       this._txtNote = new System.Windows.Forms.TextBox();
       this.label11 = new System.Windows.Forms.Label();
       this._txtCode = new System.Windows.Forms.TextBox();
       this.label8 = new System.Windows.Forms.Label();
       this._txtTitle = new System.Windows.Forms.TextBox();
       this.label1 = new System.Windows.Forms.Label();
       this._txtImageName = new System.Windows.Forms.TextBox();
       this.label10 = new System.Windows.Forms.Label();
       this._cmdImagePath = new System.Windows.Forms.Button();
       this._txtImagePath = new System.Windows.Forms.TextBox();
       this.label9 = new System.Windows.Forms.Label();
       this._grpParamDelim = new System.Windows.Forms.GroupBox();
       this._txtParamEndDelim = new System.Windows.Forms.TextBox();
       this.label5 = new System.Windows.Forms.Label();
       this._txtParamBegDelim = new System.Windows.Forms.TextBox();
       this.label4 = new System.Windows.Forms.Label();
       this._txtConnection = new System.Windows.Forms.TextBox();
       this._lblConnection = new System.Windows.Forms.Label();
       this._tcpXSLTInc = new System.Windows.Forms.TabPage();
       this._tcpUser = new System.Windows.Forms.TabPage();
       this._chkDefaultSession = new System.Windows.Forms.CheckBox();
       this._cmdBrowseDir = new System.Windows.Forms.Button();
       this._txtTempPath = new System.Windows.Forms.TextBox();
       this.label3 = new System.Windows.Forms.Label();
       this._cmdBrowse = new System.Windows.Forms.Button();
       this._txtTextEditor = new System.Windows.Forms.TextBox();
       this.label2 = new System.Windows.Forms.Label();
       this._cmdFont = new System.Windows.Forms.Button();
       this._txtFont = new System.Windows.Forms.TextBox();
       this._lblFont = new System.Windows.Forms.Label();
       this._tc.SuspendLayout();
       this._tcpParam.SuspendLayout();
       this._grpParamDelim.SuspendLayout();
       this._tcpUser.SuspendLayout();
       this.SuspendLayout();
       //
       // _mnu
       //
       this._mnu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this._mnuSession,
     this._mnuSep2,
     this._mnuHelp});
       //
       // _mnuSession
       //
       this._mnuSession.Index = 0;
       this._mnuSession.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this._mnuNewSession,
     this._mnuLoadSession,
     this._mnuSaveSession,
     this._mnuSaveSessionAs,
     this._mnuSep0,
     this._mnuEditSession,
     this._mnuSep1,
     this._mnuExit});
       this._mnuSession.Text = "Сессия";
       //
       // _mnuNewSession
       //
       this._mnuNewSession.Index = 0;
       this._mnuNewSession.Text = "Новая";
       this._mnuNewSession.Click += new System.EventHandler(this.DoCommandNewSession);
       //
       // _mnuLoadSession
       //
       this._mnuLoadSession.Index = 1;
       this._mnuLoadSession.Text = "Загрузить";
       this._mnuLoadSession.Click += new System.EventHandler(this.DoCommandLoadSession);
       //
       // _mnuSaveSession
       //
       this._mnuSaveSession.Index = 2;
       this._mnuSaveSession.Text = "Сохранить";
       this._mnuSaveSession.Click += new System.EventHandler(this.DoCommandSaveSession);
       //
       // _mnuSaveSessionAs
       //
       this._mnuSaveSessionAs.Index = 3;
       this._mnuSaveSessionAs.Text = "Сохранить как ...";
       this._mnuSaveSessionAs.Click += new System.EventHandler(this.DoCommandSaveSessionAs);
       //
       // _mnuSep0
       //
       this._mnuSep0.Index = 4;
       this._mnuSep0.Text = "-";
       //
       // _mnuEditSession
       //
       this._mnuEditSession.Index = 5;
       this._mnuEditSession.Text = "Конструирование";
       this._mnuEditSession.Click += new System.EventHandler(this.DoCommandEditSession);
       //
       // _mnuSep1
       //
       this._mnuSep1.Index = 6;
       this._mnuSep1.Text = "-";
       //
       // _mnuExit
       //
       this._mnuExit.Index = 7;
       this._mnuExit.Text = "Выход";
       this._mnuExit.Click += new System.EventHandler(this.DoCommandExit);
       //
       // _mnuSep2
       //
       this._mnuSep2.Index = 1;
       this._mnuSep2.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this._mnuExec,
     this.menuItem9,
     this._mnuNewQuery,
     this._mnuDeleteQuery,
     this._mnuEdit,
     this._mnuProperty,
     this.menuItem3,
     this._mnuExport,
     this._mnuImport});
       this._mnuSep2.Text = "Запрос";
       //
       // _mnuExec
       //
       this._mnuExec.Index = 0;
       this._mnuExec.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this._mnuExecRTab,
     this._mnuExecRExcel,
     this._mnuExecRHTML});
       this._mnuExec.Shortcut = System.Windows.Forms.Shortcut.F5;
       this._mnuExec.Text = "Выполнить";
       //
       // _mnuExecRTab
       //
       this._mnuExecRTab.Index = 0;
       this._mnuExecRTab.Text = "результат в таблицу";
       this._mnuExecRTab.Click += new System.EventHandler(this._mnuExecRTab_Click);
       //
       // _mnuExecRExcel
       //
       this._mnuExecRExcel.Index = 1;
       this._mnuExecRExcel.Text = "результат в Excel";
       this._mnuExecRExcel.Click += new System.EventHandler(this._mnuExecRExcel_Click);
       //
       // _mnuExecRHTML
       //
       this._mnuExecRHTML.Index = 2;
       this._mnuExecRHTML.Text = "результат в HTML";
       this._mnuExecRHTML.Click += new System.EventHandler(this._mnuExecRHTML_Click);
       //
       // menuItem9
       //
       this.menuItem9.Index = 1;
       this.menuItem9.Text = "-";
       //
       // _mnuNewQuery
       //
       this._mnuNewQuery.Index = 2;
       this._mnuNewQuery.Text = "Новый";
       this._mnuNewQuery.Click += new System.EventHandler(this.DoCommandNewQuery);
       //
       // _mnuDeleteQuery
       //
       this._mnuDeleteQuery.Index = 3;
       this._mnuDeleteQuery.Text = "Удалить";
       this._mnuDeleteQuery.Click += new System.EventHandler(this.DoCommandDeleteQuery);
       //
       // _mnuEdit
       //
       this._mnuEdit.Index = 4;
       this._mnuEdit.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this._mnuEditSQL,
     this._mnuEditParam,
     this._mnuEditXSLT});
       this._mnuEdit.Text = "Редактировать";
       //
       // _mnuEditSQL
       //
       this._mnuEditSQL.Index = 0;
       this._mnuEditSQL.Text = "Текст запроса";
       this._mnuEditSQL.Click += new System.EventHandler(this.DoCommandEditQuery);
       //
       // _mnuEditParam
       //
       this._mnuEditParam.Index = 1;
       this._mnuEditParam.Text = "Параметры";
       this._mnuEditParam.Click += new System.EventHandler(this.DoCommandEditQueryParam);
       //
       // _mnuEditXSLT
       //
       this._mnuEditXSLT.Index = 2;
       this._mnuEditXSLT.Text = "XSLT преобразование";
       this._mnuEditXSLT.Click += new System.EventHandler(this.DoCommandEditQuery);
       //
       // _mnuProperty
       //
       this._mnuProperty.Index = 5;
       this._mnuProperty.Text = "Свойства";
       this._mnuProperty.Click += new System.EventHandler(this.DoCommandPropertyQuery);
       //
       // menuItem3
       //
       this.menuItem3.Index = 6;
       this.menuItem3.Text = "-";
       //
       // _mnuExport
       //
       this._mnuExport.Index = 7;
       this._mnuExport.Text = "Экспорт";
       this._mnuExport.Click += new System.EventHandler(this.DoCommandExportQuery);
       //
       // _mnuImport
       //
       this._mnuImport.Index = 8;
       this._mnuImport.Text = "Импорт";
       this._mnuImport.Click += new System.EventHandler(this.DoCommandImportQuery);
       //
       // _mnuHelp
       //
       this._mnuHelp.Index = 2;
       this._mnuHelp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     this._mnuAbout,
     this._mnuHelpTopic});
       this._mnuHelp.Text = "?";
       //
       // _mnuAbout
       //
       this._mnuAbout.Index = 0;
       this._mnuAbout.Text = "О программе";
       this._mnuAbout.Click += new System.EventHandler(this.DoCommandAbout);
       //
       // _mnuHelpTopic
       //
       this._mnuHelpTopic.Index = 1;
       this._mnuHelpTopic.Text = "Помощь";
       this._mnuHelpTopic.Click += new System.EventHandler(this._mnuHelpTopic_Click);
       //
       // _tb
       //
       this._tb.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
     this._tbbSaveSession,
     this._tbbLoadSession,
     this._tbbSep1,
     this._tbbExecRTab,
     this._tbbExecRExcel,
     this._tbbExecRHTML,
     this._tbbSep2,
     this._tbbNewQuery,
     this._tbbDelQuery,
     this._tbbSep3,
     this._tbbEditSQL,
     this._tbbEditParam,
     this._tbbEditXSLT,
     this._tbbSep4,
     this._tbbAbout});
       this._tb.DropDownArrows = true;
       this._tb.Location = new System.Drawing.Point(0, 0);
       this._tb.Name = "_tb";
       this._tb.ShowToolTips = true;
       this._tb.Size = new System.Drawing.Size(752, 28);
       this._tb.TabIndex = 0;
       this._tb.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.OnTBButtonClick);
       //
       // _tbbSaveSession
       //
       this._tbbSaveSession.Name = "_tbbSaveSession";
       this._tbbSaveSession.Tag = this._mnuSaveSession;
       this._tbbSaveSession.ToolTipText = "Сохранить сессию";
       //
       // _tbbLoadSession
       //
       this._tbbLoadSession.Name = "_tbbLoadSession";
       this._tbbLoadSession.Tag = this._mnuLoadSession;
       this._tbbLoadSession.ToolTipText = "Загрузить сессию";
       //
       // _tbbSep1
       //
       this._tbbSep1.Name = "_tbbSep1";
       this._tbbSep1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
       //
       // _tbbExecRTab
       //
       this._tbbExecRTab.Name = "_tbbExecRTab";
       this._tbbExecRTab.Tag = "";
       this._tbbExecRTab.ToolTipText = "Выполнить (в таб.)";
       //
       // _tbbExecRExcel
       //
       this._tbbExecRExcel.Name = "_tbbExecRExcel";
       this._tbbExecRExcel.ToolTipText = "Выполнить (в Excel)";
       //
       // _tbbExecRHTML
       //
       this._tbbExecRHTML.Name = "_tbbExecRHTML";
       this._tbbExecRHTML.ToolTipText = "Выполнить (в HTML)";
       //
       // _tbbSep2
       //
       this._tbbSep2.Name = "_tbbSep2";
       this._tbbSep2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
       //
       // _tbbNewQuery
       //
       this._tbbNewQuery.Name = "_tbbNewQuery";
       this._tbbNewQuery.Tag = this._mnuNewQuery;
       this._tbbNewQuery.ToolTipText = "Новый запрос";
       //
       // _tbbDelQuery
       //
       this._tbbDelQuery.Name = "_tbbDelQuery";
       this._tbbDelQuery.Tag = this._mnuDeleteQuery;
       this._tbbDelQuery.ToolTipText = "Удалить запрос";
       //
       // _tbbSep3
       //
       this._tbbSep3.Name = "_tbbSep3";
       this._tbbSep3.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
       //
       // _tbbEditSQL
       //
       this._tbbEditSQL.Name = "_tbbEditSQL";
       //
       // _tbbEditParam
       //
       this._tbbEditParam.Name = "_tbbEditParam";
       //
       // _tbbEditXSLT
       //
       this._tbbEditXSLT.Name = "_tbbEditXSLT";
       //
       // _tbbSep4
       //
       this._tbbSep4.Name = "_tbbSep4";
       this._tbbSep4.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
       //
       // _tbbAbout
       //
       this._tbbAbout.Name = "_tbbAbout";
       this._tbbAbout.Tag = this._mnuAbout;
       this._tbbAbout.ToolTipText = "О программе";
       //
       // _sb
       //
       this._sb.Location = new System.Drawing.Point(0, 472);
       this._sb.Name = "_sb";
       this._sb.Size = new System.Drawing.Size(752, 22);
       this._sb.TabIndex = 1;
       //
       // _tc
       //
       this._tc.Controls.Add(this._tcpQuery);
       this._tc.Controls.Add(this._tcpParam);
       this._tc.Controls.Add(this._tcpXSLTInc);
       this._tc.Controls.Add(this._tcpUser);
       this._tc.Dock = System.Windows.Forms.DockStyle.Fill;
       this._tc.Location = new System.Drawing.Point(0, 28);
       this._tc.Name = "_tc";
       this._tc.SelectedIndex = 0;
       this._tc.Size = new System.Drawing.Size(752, 444);
       this._tc.TabIndex = 2;
       //
       // _tcpQuery
       //
       this._tcpQuery.Location = new System.Drawing.Point(4, 22);
       this._tcpQuery.Name = "_tcpQuery";
       this._tcpQuery.Size = new System.Drawing.Size(744, 418);
       this._tcpQuery.TabIndex = 0;
       this._tcpQuery.Text = "Запросы";
       //
       // _tcpParam
       //
       this._tcpParam.Controls.Add(this._pnlImg);
       this._tcpParam.Controls.Add(this.label12);
       this._tcpParam.Controls.Add(this._cmdPassword);
       this._tcpParam.Controls.Add(this._txtNote);
       this._tcpParam.Controls.Add(this.label11);
       this._tcpParam.Controls.Add(this._txtCode);
       this._tcpParam.Controls.Add(this.label8);
       this._tcpParam.Controls.Add(this._txtTitle);
       this._tcpParam.Controls.Add(this.label1);
       this._tcpParam.Controls.Add(this._txtImageName);
       this._tcpParam.Controls.Add(this.label10);
       this._tcpParam.Controls.Add(this._cmdImagePath);
       this._tcpParam.Controls.Add(this._txtImagePath);
       this._tcpParam.Controls.Add(this.label9);
       this._tcpParam.Controls.Add(this._grpParamDelim);
       this._tcpParam.Controls.Add(this._txtConnection);
       this._tcpParam.Controls.Add(this._lblConnection);
       this._tcpParam.Location = new System.Drawing.Point(4, 22);
       this._tcpParam.Name = "_tcpParam";
       this._tcpParam.Size = new System.Drawing.Size(619, 356);
       this._tcpParam.TabIndex = 1;
       this._tcpParam.Text = "Настройки сессии";
       //
       // _pnlImg
       //
       this._pnlImg.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
           | System.Windows.Forms.AnchorStyles.Left)));
       this._pnlImg.Location = new System.Drawing.Point(7, 208);
       this._pnlImg.Name = "_pnlImg";
       this._pnlImg.Size = new System.Drawing.Size(173, 114);
       this._pnlImg.TabIndex = 43;
       //
       // label12
       //
       this.label12.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
       this.label12.Location = new System.Drawing.Point(413, 328);
       this.label12.Name = "label12";
       this.label12.Size = new System.Drawing.Size(14, 20);
       this.label12.TabIndex = 42;
       this.label12.Text = "\\";
       //
       // _cmdPassword
       //
       this._cmdPassword.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
           | System.Windows.Forms.AnchorStyles.Right)));
       this._cmdPassword.Location = new System.Drawing.Point(313, 7);
       this._cmdPassword.Name = "_cmdPassword";
       this._cmdPassword.Size = new System.Drawing.Size(300, 20);
       this._cmdPassword.TabIndex = 9;
       this._cmdPassword.Text = "Установить/изменить пароль";
       //
       // _txtNote
       //
       this._txtNote.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
           | System.Windows.Forms.AnchorStyles.Right)));
       this._txtNote.Location = new System.Drawing.Point(187, 55);
       this._txtNote.Multiline = true;
       this._txtNote.Name = "_txtNote";
       this._txtNote.ScrollBars = System.Windows.Forms.ScrollBars.Both;
       this._txtNote.Size = new System.Drawing.Size(426, 118);
       this._txtNote.TabIndex = 2;
       //
       // label11
       //
       this.label11.Location = new System.Drawing.Point(80, 55);
       this.label11.Name = "label11";
       this.label11.Size = new System.Drawing.Size(93, 20);
       this.label11.TabIndex = 38;
       this.label11.Text = "Комментарии";
       //
       // _txtCode
       //
       this._txtCode.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
       this._txtCode.ForeColor = System.Drawing.SystemColors.HotTrack;
       this._txtCode.Location = new System.Drawing.Point(7, 28);
       this._txtCode.Name = "_txtCode";
       this._txtCode.Size = new System.Drawing.Size(53, 19);
       this._txtCode.TabIndex = 0;
       //
       // label8
       //
       this.label8.Location = new System.Drawing.Point(13, 7);
       this.label8.Name = "label8";
       this.label8.Size = new System.Drawing.Size(47, 21);
       this.label8.TabIndex = 36;
       this.label8.Text = "Код";
       //
       // _txtTitle
       //
       this._txtTitle.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
           | System.Windows.Forms.AnchorStyles.Right)));
       this._txtTitle.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
       this._txtTitle.ForeColor = System.Drawing.SystemColors.HotTrack;
       this._txtTitle.Location = new System.Drawing.Point(67, 28);
       this._txtTitle.Name = "_txtTitle";
       this._txtTitle.Size = new System.Drawing.Size(546, 19);
       this._txtTitle.TabIndex = 1;
       //
       // label1
       //
       this.label1.Location = new System.Drawing.Point(67, 7);
       this.label1.Name = "label1";
       this.label1.Size = new System.Drawing.Size(125, 23);
       this.label1.TabIndex = 34;
       this.label1.Text = "Название";
       //
       // _txtImageName
       //
       this._txtImageName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
       this._txtImageName.Location = new System.Drawing.Point(427, 328);
       this._txtImageName.Name = "_txtImageName";
       this._txtImageName.Size = new System.Drawing.Size(160, 20);
       this._txtImageName.TabIndex = 7;
       //
       // label10
       //
       this.label10.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
       this.label10.Location = new System.Drawing.Point(427, 308);
       this.label10.Name = "label10";
       this.label10.Size = new System.Drawing.Size(93, 20);
       this.label10.TabIndex = 32;
       this.label10.Text = "Изображение";
       //
       // _cmdImagePath
       //
       this._cmdImagePath.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
       this._cmdImagePath.Location = new System.Drawing.Point(587, 328);
       this._cmdImagePath.Name = "_cmdImagePath";
       this._cmdImagePath.Size = new System.Drawing.Size(24, 23);
       this._cmdImagePath.TabIndex = 8;
       this._cmdImagePath.Text = "...";
       this._cmdImagePath.Click += new System.EventHandler(this.DoCommandBrowseImagePath);
       //
       // _txtImagePath
       //
       this._txtImagePath.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
           | System.Windows.Forms.AnchorStyles.Right)));
       this._txtImagePath.Location = new System.Drawing.Point(7, 328);
       this._txtImagePath.Name = "_txtImagePath";
       this._txtImagePath.Size = new System.Drawing.Size(400, 20);
       this._txtImagePath.TabIndex = 6;
       this._txtImagePath.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
       //
       // label9
       //
       this.label9.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
       this.label9.Location = new System.Drawing.Point(287, 308);
       this.label9.Name = "label9";
       this.label9.Size = new System.Drawing.Size(120, 22);
       this.label9.TabIndex = 29;
       this.label9.Text = "Месторасположение";
       //
       // _grpParamDelim
       //
       this._grpParamDelim.Controls.Add(this._txtParamEndDelim);
       this._grpParamDelim.Controls.Add(this.label5);
       this._grpParamDelim.Controls.Add(this._txtParamBegDelim);
       this._grpParamDelim.Controls.Add(this.label4);
       this._grpParamDelim.Location = new System.Drawing.Point(13, 90);
       this._grpParamDelim.Name = "_grpParamDelim";
       this._grpParamDelim.Size = new System.Drawing.Size(167, 69);
       this._grpParamDelim.TabIndex = 4;
       this._grpParamDelim.TabStop = false;
       this._grpParamDelim.Text = "Ограничитель параметра";
       //
       // _txtParamEndDelim
       //
       this._txtParamEndDelim.Location = new System.Drawing.Point(100, 42);
       this._txtParamEndDelim.Name = "_txtParamEndDelim";
       this._txtParamEndDelim.Size = new System.Drawing.Size(60, 20);
       this._txtParamEndDelim.TabIndex = 3;
       //
       // label5
       //
       this.label5.Location = new System.Drawing.Point(7, 42);
       this.label5.Name = "label5";
       this.label5.Size = new System.Drawing.Size(86, 20);
       this.label5.TabIndex = 2;
       this.label5.Text = "окончание";
       //
       // _txtParamBegDelim
       //
       this._txtParamBegDelim.Location = new System.Drawing.Point(100, 21);
       this._txtParamBegDelim.Name = "_txtParamBegDelim";
       this._txtParamBegDelim.Size = new System.Drawing.Size(60, 20);
       this._txtParamBegDelim.TabIndex = 1;
       //
       // label4
       //
       this.label4.Location = new System.Drawing.Point(7, 21);
       this.label4.Name = "label4";
       this.label4.Size = new System.Drawing.Size(86, 20);
       this.label4.TabIndex = 0;
       this.label4.Text = "начало";
       //
       // _txtConnection
       //
       this._txtConnection.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._txtConnection.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
       this._txtConnection.ForeColor = System.Drawing.SystemColors.MenuText;
       this._txtConnection.Location = new System.Drawing.Point(187, 180);
       this._txtConnection.Multiline = true;
       this._txtConnection.Name = "_txtConnection";
       this._txtConnection.ScrollBars = System.Windows.Forms.ScrollBars.Both;
       this._txtConnection.Size = new System.Drawing.Size(426, 114);
       this._txtConnection.TabIndex = 5;
       this._txtConnection.TextChanged += new System.EventHandler(this.DoChangedCommon);
       //
       // _lblConnection
       //
       this._lblConnection.Location = new System.Drawing.Point(80, 180);
       this._lblConnection.Name = "_lblConnection";
       this._lblConnection.Size = new System.Drawing.Size(105, 24);
       this._lblConnection.TabIndex = 0;
       this._lblConnection.Text = "Соединение с БД";
       //
       // _tcpXSLTInc
       //
       this._tcpXSLTInc.Location = new System.Drawing.Point(4, 22);
       this._tcpXSLTInc.Name = "_tcpXSLTInc";
       this._tcpXSLTInc.Size = new System.Drawing.Size(619, 356);
       this._tcpXSLTInc.TabIndex = 2;
       this._tcpXSLTInc.Text = "Параметры сессии";
       //
       // _tcpUser
       //
       this._tcpUser.Controls.Add(this._chkDefaultSession);
       this._tcpUser.Controls.Add(this._cmdBrowseDir);
       this._tcpUser.Controls.Add(this._txtTempPath);
       this._tcpUser.Controls.Add(this.label3);
       this._tcpUser.Controls.Add(this._cmdBrowse);
       this._tcpUser.Controls.Add(this._txtTextEditor);
       this._tcpUser.Controls.Add(this.label2);
       this._tcpUser.Controls.Add(this._cmdFont);
       this._tcpUser.Controls.Add(this._txtFont);
       this._tcpUser.Controls.Add(this._lblFont);
       this._tcpUser.Location = new System.Drawing.Point(4, 22);
       this._tcpUser.Name = "_tcpUser";
       this._tcpUser.Size = new System.Drawing.Size(619, 356);
       this._tcpUser.TabIndex = 3;
       this._tcpUser.Text = "Настройки пользователя";
       //
       // _chkDefaultSession
       //
       this._chkDefaultSession.Location = new System.Drawing.Point(7, 97);
       this._chkDefaultSession.Name = "_chkDefaultSession";
       this._chkDefaultSession.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
       this._chkDefaultSession.Size = new System.Drawing.Size(246, 42);
       this._chkDefaultSession.TabIndex = 5;
       this._chkDefaultSession.Text = "Запускать текущую сессию по умолчанию";
       this._chkDefaultSession.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
       //
       // _cmdBrowseDir
       //
       this._cmdBrowseDir.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
       this._cmdBrowseDir.Location = new System.Drawing.Point(588, 42);
       this._cmdBrowseDir.Name = "_cmdBrowseDir";
       this._cmdBrowseDir.Size = new System.Drawing.Size(24, 22);
       this._cmdBrowseDir.TabIndex = 3;
       this._cmdBrowseDir.Text = "...";
       this._cmdBrowseDir.Click += new System.EventHandler(this.DoCommandBrowseDir);
       //
       // _txtTempPath
       //
       this._txtTempPath.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
           | System.Windows.Forms.AnchorStyles.Right)));
       this._txtTempPath.Location = new System.Drawing.Point(242, 42);
       this._txtTempPath.Name = "_txtTempPath";
       this._txtTempPath.Size = new System.Drawing.Size(340, 20);
       this._txtTempPath.TabIndex = 2;
       //
       // label3
       //
       this.label3.Location = new System.Drawing.Point(8, 42);
       this.label3.Name = "label3";
       this.label3.Size = new System.Drawing.Size(227, 22);
       this.label3.TabIndex = 26;
       this.label3.Text = "Папка для временных файлов";
       //
       // _cmdBrowse
       //
       this._cmdBrowse.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
       this._cmdBrowse.Location = new System.Drawing.Point(588, 14);
       this._cmdBrowse.Name = "_cmdBrowse";
       this._cmdBrowse.Size = new System.Drawing.Size(24, 22);
       this._cmdBrowse.TabIndex = 1;
       this._cmdBrowse.Text = "...";
       this._cmdBrowse.Click += new System.EventHandler(this.DoCommandBrowse);
       //
       // _txtTextEditor
       //
       this._txtTextEditor.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
           | System.Windows.Forms.AnchorStyles.Right)));
       this._txtTextEditor.Location = new System.Drawing.Point(242, 14);
       this._txtTextEditor.Name = "_txtTextEditor";
       this._txtTextEditor.Size = new System.Drawing.Size(340, 20);
       this._txtTextEditor.TabIndex = 0;
       //
       // label2
       //
       this.label2.Location = new System.Drawing.Point(10, 14);
       this.label2.Name = "label2";
       this.label2.Size = new System.Drawing.Size(225, 22);
       this.label2.TabIndex = 23;
       this.label2.Text = "Текстовой редактор";
       //
       // _cmdFont
       //
       this._cmdFont.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
       this._cmdFont.Location = new System.Drawing.Point(588, 69);
       this._cmdFont.Name = "_cmdFont";
       this._cmdFont.Size = new System.Drawing.Size(24, 23);
       this._cmdFont.TabIndex = 4;
       this._cmdFont.Text = "...";
       this._cmdFont.Click += new System.EventHandler(this.DoCommandFontChange);
       //
       // _txtFont
       //
       this._txtFont.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
           | System.Windows.Forms.AnchorStyles.Right)));
       this._txtFont.Location = new System.Drawing.Point(242, 69);
       this._txtFont.Name = "_txtFont";
       this._txtFont.ReadOnly = true;
       this._txtFont.Size = new System.Drawing.Size(340, 20);
       this._txtFont.TabIndex = 21;
       //
       // _lblFont
       //
       this._lblFont.Location = new System.Drawing.Point(10, 69);
       this._lblFont.Name = "_lblFont";
       this._lblFont.Size = new System.Drawing.Size(225, 23);
       this._lblFont.TabIndex = 20;
       this._lblFont.Text = "Шрифт";
       //
       // frmQuery
       //
       this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
       this.ClientSize = new System.Drawing.Size(752, 494);
       this.Controls.Add(this._tc);
       this.Controls.Add(this._sb);
       this.Controls.Add(this._tb);
       this.Menu = this._mnu;
       this.Name = "frmQuery";
       this._tc.ResumeLayout(false);
       this._tcpParam.ResumeLayout(false);
       this._tcpParam.PerformLayout();
       this._grpParamDelim.ResumeLayout(false);
       this._grpParamDelim.PerformLayout();
       this._tcpUser.ResumeLayout(false);
       this._tcpUser.PerformLayout();
       this.ResumeLayout(false);
       this.PerformLayout();
 }
コード例 #54
0
        private void InitializeComponent()

        {
            this.dgGrid         = new System.Windows.Forms.DataGrid();
            this.buttonFocus    = new System.Windows.Forms.Button();
            this.textBox1       = new System.Windows.Forms.TextBox();
            this.button1        = new System.Windows.Forms.Button();
            this.toolBar1       = new System.Windows.Forms.ToolBar();
            this.toolBarButton1 = new System.Windows.Forms.ToolBarButton();
            this.toolBarButton2 = new System.Windows.Forms.ToolBarButton();
            this.toolBarButton3 = new System.Windows.Forms.ToolBarButton();
            this.toolBarButton4 = new System.Windows.Forms.ToolBarButton();
            this.button2        = new System.Windows.Forms.Button();
            this.button3        = new System.Windows.Forms.Button();
            ((System.ComponentModel.ISupportInitialize)(this.dgGrid)).BeginInit();
            this.SuspendLayout();
            //
            // dgGrid
            //
            this.dgGrid.DataMember      = "";
            this.dgGrid.HeaderForeColor = System.Drawing.SystemColors.ControlText;
            this.dgGrid.Location        = new System.Drawing.Point(4, 8);
            this.dgGrid.Name            = "dgGrid";
            this.dgGrid.Size            = new System.Drawing.Size(316, 168);
            this.dgGrid.TabIndex        = 0;
            this.dgGrid.KeyDown        += new System.Windows.Forms.KeyEventHandler(this.dgGrid_KeyDown);
            this.dgGrid.DoubleClick    += new System.EventHandler(this.dgGrid_DoubleClick);
            //
            // buttonFocus
            //
            this.buttonFocus.Location = new System.Drawing.Point(232, 188);
            this.buttonFocus.Name     = "buttonFocus";
            this.buttonFocus.Size     = new System.Drawing.Size(84, 23);
            this.buttonFocus.TabIndex = 1;
            this.buttonFocus.Text     = "获取焦点";
            this.buttonFocus.Click   += new System.EventHandler(this.buttonFocus_Click);
            //
            // textBox1
            //
            this.textBox1.Location = new System.Drawing.Point(16, 184);
            this.textBox1.Name     = "textBox1";
            this.textBox1.TabIndex = 2;
            this.textBox1.Text     = "textBox1";
            //
            // button1
            //
            this.button1.Location = new System.Drawing.Point(144, 184);
            this.button1.Name     = "button1";
            this.button1.Size     = new System.Drawing.Size(80, 32);
            this.button1.TabIndex = 3;
            this.button1.Text     = "button1";
            this.button1.Click   += new System.EventHandler(this.button1_Click);
            //
            // toolBar1
            //
            this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
                this.toolBarButton1,
                this.toolBarButton2,
                this.toolBarButton3,
                this.toolBarButton4
            });
            this.toolBar1.DropDownArrows = true;
            this.toolBar1.Location       = new System.Drawing.Point(0, 0);
            this.toolBar1.Name           = "toolBar1";
            this.toolBar1.ShowToolTips   = true;
            this.toolBar1.Size           = new System.Drawing.Size(608, 41);
            this.toolBar1.TabIndex       = 4;
            //
            // toolBarButton1
            //
            this.toolBarButton1.Text = "新增明细";
            //
            // button2
            //
            this.button2.Location = new System.Drawing.Point(344, 280);
            this.button2.Name     = "button2";
            this.button2.Size     = new System.Drawing.Size(88, 32);
            this.button2.TabIndex = 5;
            this.button2.Text     = "button2";
            this.button2.Click   += new System.EventHandler(this.button2_Click);
            //
            // button3
            //
            this.button3.Location = new System.Drawing.Point(424, 120);
            this.button3.Name     = "button3";
            this.button3.Size     = new System.Drawing.Size(136, 40);
            this.button3.TabIndex = 6;
            this.button3.Text     = "button3";
            this.button3.Click   += new System.EventHandler(this.button3_Click);
            //
            // Form1
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
            this.ClientSize        = new System.Drawing.Size(608, 373);
            this.Controls.Add(this.button3);
            this.Controls.Add(this.button2);
            this.Controls.Add(this.toolBar1);
            this.Controls.Add(this.button1);
            this.Controls.Add(this.textBox1);
            this.Controls.Add(this.buttonFocus);
            this.Controls.Add(this.dgGrid);
            this.Name = "Form1";
            this.Text = "Form1";
            ((System.ComponentModel.ISupportInitialize)(this.dgGrid)).EndInit();
            this.ResumeLayout(false);
        }
コード例 #55
0
ファイル: frmCustomer.cs プロジェクト: uwitec/carrey-rms
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     base.Load += new System.EventHandler(frmCustomer_Load);
     base.Closed += new System.EventHandler(frmCustomer_Closed);
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmCustomer));
     this.ToolBar1 = new System.Windows.Forms.ToolBar();
     this.ToolBar1.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.ToolBar1_ButtonClick);
     this.ToolBarButton1 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton2 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton3 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton9 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton5 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton4 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton6 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton12 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton10 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton11 = new System.Windows.Forms.ToolBarButton();
     this.ToolBarButton7 = new System.Windows.Forms.ToolBarButton();
     this.ImageList1 = new System.Windows.Forms.ImageList(this.components);
     this.dgCust = new System.Windows.Forms.DataGrid();
     this.dgCust.DoubleClick += new System.EventHandler(this.dgCust_DoubleClick);
     this.DataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle();
     this.DataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridBoolColumn1 = new System.Windows.Forms.DataGridBoolColumn();
     this.DataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridBoolColumn2 = new System.Windows.Forms.DataGridBoolColumn();
     this.DataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn12 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridTextBoxColumn13 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DataGridBoolColumn3 = new System.Windows.Forms.DataGridBoolColumn();
     ((System.ComponentModel.ISupportInitialize) this.dgCust).BeginInit();
     this.SuspendLayout();
     //
     //ToolBar1
     //
     this.ToolBar1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.ToolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {this.ToolBarButton1, this.ToolBarButton2, this.ToolBarButton3, this.ToolBarButton9, this.ToolBarButton5, this.ToolBarButton4, this.ToolBarButton6, this.ToolBarButton12, this.ToolBarButton10, this.ToolBarButton11, this.ToolBarButton7});
     this.ToolBar1.ButtonSize = new System.Drawing.Size(50, 48);
     this.ToolBar1.DropDownArrows = true;
     this.ToolBar1.ImageList = this.ImageList1;
     this.ToolBar1.Location = new System.Drawing.Point(0, 0);
     this.ToolBar1.Name = "ToolBar1";
     this.ToolBar1.ShowToolTips = true;
     this.ToolBar1.Size = new System.Drawing.Size(579, 55);
     this.ToolBar1.TabIndex = 2;
     //
     //ToolBarButton1
     //
     this.ToolBarButton1.ImageIndex = 0;
     this.ToolBarButton1.Text = "添加";
     //
     //ToolBarButton2
     //
     this.ToolBarButton2.ImageIndex = 1;
     this.ToolBarButton2.Text = "修改";
     //
     //ToolBarButton3
     //
     this.ToolBarButton3.ImageIndex = 2;
     this.ToolBarButton3.Text = "删除";
     //
     //ToolBarButton9
     //
     this.ToolBarButton9.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     //ToolBarButton5
     //
     this.ToolBarButton5.ImageIndex = 3;
     this.ToolBarButton5.Text = "查询";
     //
     //ToolBarButton4
     //
     this.ToolBarButton4.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     //ToolBarButton6
     //
     this.ToolBarButton6.ImageIndex = 4;
     this.ToolBarButton6.Text = "打印";
     //
     //ToolBarButton12
     //
     this.ToolBarButton12.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     this.ToolBarButton12.Visible = false;
     //
     //ToolBarButton10
     //
     this.ToolBarButton10.ImageIndex = 5;
     this.ToolBarButton10.Text = "会员卡";
     this.ToolBarButton10.Visible = false;
     //
     //ToolBarButton11
     //
     this.ToolBarButton11.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     //ToolBarButton7
     //
     this.ToolBarButton7.ImageIndex = 6;
     this.ToolBarButton7.Text = "关闭";
     //
     //ImageList1
     //
     this.ImageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth16Bit;
     this.ImageList1.ImageSize = new System.Drawing.Size(28, 28);
     this.ImageList1.ImageStream = (System.Windows.Forms.ImageListStreamer) (resources.GetObject("ImageList1.ImageStream"));
     this.ImageList1.TransparentColor = System.Drawing.Color.Transparent;
     //
     //dgCust
     //
     this.dgCust.AlternatingBackColor = System.Drawing.Color.GhostWhite;
     this.dgCust.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.dgCust.BackColor = System.Drawing.Color.GhostWhite;
     this.dgCust.BackgroundColor = System.Drawing.Color.Lavender;
     this.dgCust.CaptionBackColor = System.Drawing.Color.Navy;
     this.dgCust.CaptionForeColor = System.Drawing.Color.White;
     this.dgCust.DataMember = "";
     this.dgCust.FlatMode = true;
     this.dgCust.Font = new System.Drawing.Font("Tahoma", 8.0F);
     this.dgCust.ForeColor = System.Drawing.Color.MidnightBlue;
     this.dgCust.GridLineColor = System.Drawing.Color.RoyalBlue;
     this.dgCust.HeaderBackColor = System.Drawing.Color.MidnightBlue;
     this.dgCust.HeaderFont = new System.Drawing.Font("Tahoma", 8.0F, System.Drawing.FontStyle.Bold);
     this.dgCust.HeaderForeColor = System.Drawing.Color.Lavender;
     this.dgCust.LinkColor = System.Drawing.Color.Teal;
     this.dgCust.Location = new System.Drawing.Point(0, 56);
     this.dgCust.Name = "dgCust";
     this.dgCust.ParentRowsBackColor = System.Drawing.Color.Lavender;
     this.dgCust.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
     this.dgCust.ReadOnly = true;
     this.dgCust.SelectionBackColor = System.Drawing.Color.Teal;
     this.dgCust.SelectionForeColor = System.Drawing.Color.PaleGreen;
     this.dgCust.Size = new System.Drawing.Size(579, 369);
     this.dgCust.TabIndex = 3;
     this.dgCust.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {this.DataGridTableStyle1});
     //
     //DataGridTableStyle1
     //
     this.DataGridTableStyle1.DataGrid = this.dgCust;
     this.DataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {this.DataGridTextBoxColumn1, this.DataGridTextBoxColumn2, this.DataGridBoolColumn1, this.DataGridTextBoxColumn3, this.DataGridTextBoxColumn4, this.DataGridTextBoxColumn5, this.DataGridTextBoxColumn8, this.DataGridTextBoxColumn6, this.DataGridTextBoxColumn7, this.DataGridTextBoxColumn9, this.DataGridBoolColumn2, this.DataGridTextBoxColumn10, this.DataGridTextBoxColumn12, this.DataGridTextBoxColumn13, this.DataGridBoolColumn3});
     this.DataGridTableStyle1.HeaderFont = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte) (0)));
     this.DataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.DataGridTableStyle1.MappingName = "customer";
     //
     //DataGridTextBoxColumn1
     //
     this.DataGridTextBoxColumn1.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn1.Format = "";
     this.DataGridTextBoxColumn1.FormatInfo = null;
     this.DataGridTextBoxColumn1.HeaderText = "客户编码";
     this.DataGridTextBoxColumn1.MappingName = "customercode";
     this.DataGridTextBoxColumn1.NullText = "";
     this.DataGridTextBoxColumn1.Width = 75;
     //
     //DataGridTextBoxColumn2
     //
     this.DataGridTextBoxColumn2.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn2.Format = "";
     this.DataGridTextBoxColumn2.FormatInfo = null;
     this.DataGridTextBoxColumn2.HeaderText = "客户名称";
     this.DataGridTextBoxColumn2.MappingName = "customername";
     this.DataGridTextBoxColumn2.NullText = "";
     this.DataGridTextBoxColumn2.Width = 75;
     //
     //DataGridBoolColumn1
     //
     this.DataGridBoolColumn1.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridBoolColumn1.FalseValue = "0";
     this.DataGridBoolColumn1.HeaderText = "会员";
     this.DataGridBoolColumn1.MappingName = "isclubmember";
     this.DataGridBoolColumn1.NullText = "";
     this.DataGridBoolColumn1.NullValue = resources.GetObject("DataGridBoolColumn1.NullValue");
     this.DataGridBoolColumn1.TrueValue = "1";
     this.DataGridBoolColumn1.Width = 75;
     //
     //DataGridTextBoxColumn3
     //
     this.DataGridTextBoxColumn3.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn3.Format = "";
     this.DataGridTextBoxColumn3.FormatInfo = null;
     this.DataGridTextBoxColumn3.HeaderText = "身份证号码";
     this.DataGridTextBoxColumn3.MappingName = "idcardno";
     this.DataGridTextBoxColumn3.NullText = "";
     this.DataGridTextBoxColumn3.Width = 75;
     //
     //DataGridTextBoxColumn4
     //
     this.DataGridTextBoxColumn4.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn4.Format = "";
     this.DataGridTextBoxColumn4.FormatInfo = null;
     this.DataGridTextBoxColumn4.HeaderText = "个人电话";
     this.DataGridTextBoxColumn4.MappingName = "phonenumber1";
     this.DataGridTextBoxColumn4.NullText = "";
     this.DataGridTextBoxColumn4.Width = 75;
     //
     //DataGridTextBoxColumn5
     //
     this.DataGridTextBoxColumn5.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn5.Format = "";
     this.DataGridTextBoxColumn5.FormatInfo = null;
     this.DataGridTextBoxColumn5.HeaderText = "单位名称";
     this.DataGridTextBoxColumn5.MappingName = "company";
     this.DataGridTextBoxColumn5.NullText = "";
     this.DataGridTextBoxColumn5.Width = 75;
     //
     //DataGridTextBoxColumn8
     //
     this.DataGridTextBoxColumn8.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn8.Format = "";
     this.DataGridTextBoxColumn8.FormatInfo = null;
     this.DataGridTextBoxColumn8.HeaderText = "单位地址";
     this.DataGridTextBoxColumn8.MappingName = "address1";
     this.DataGridTextBoxColumn8.NullText = "";
     this.DataGridTextBoxColumn8.Width = 75;
     //
     //DataGridTextBoxColumn6
     //
     this.DataGridTextBoxColumn6.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn6.Format = "";
     this.DataGridTextBoxColumn6.FormatInfo = null;
     this.DataGridTextBoxColumn6.HeaderText = "单位电话";
     this.DataGridTextBoxColumn6.MappingName = "phonenumber2";
     this.DataGridTextBoxColumn6.NullText = "";
     this.DataGridTextBoxColumn6.Width = 75;
     //
     //DataGridTextBoxColumn7
     //
     this.DataGridTextBoxColumn7.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn7.Format = "";
     this.DataGridTextBoxColumn7.FormatInfo = null;
     this.DataGridTextBoxColumn7.HeaderText = "联系人";
     this.DataGridTextBoxColumn7.MappingName = "contacter";
     this.DataGridTextBoxColumn7.NullText = "";
     this.DataGridTextBoxColumn7.Width = 75;
     //
     //DataGridTextBoxColumn9
     //
     this.DataGridTextBoxColumn9.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn9.Format = "";
     this.DataGridTextBoxColumn9.FormatInfo = null;
     this.DataGridTextBoxColumn9.HeaderText = "客户类别";
     this.DataGridTextBoxColumn9.MappingName = "typename";
     this.DataGridTextBoxColumn9.NullText = "";
     this.DataGridTextBoxColumn9.Width = 75;
     //
     //DataGridBoolColumn2
     //
     this.DataGridBoolColumn2.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridBoolColumn2.FalseValue = "0";
     this.DataGridBoolColumn2.HeaderText = "允许签单";
     this.DataGridBoolColumn2.MappingName = "signed";
     this.DataGridBoolColumn2.NullText = "";
     this.DataGridBoolColumn2.NullValue = resources.GetObject("DataGridBoolColumn2.NullValue");
     this.DataGridBoolColumn2.TrueValue = "1";
     this.DataGridBoolColumn2.Width = 75;
     //
     //DataGridTextBoxColumn10
     //
     this.DataGridTextBoxColumn10.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn10.Format = "";
     this.DataGridTextBoxColumn10.FormatInfo = null;
     this.DataGridTextBoxColumn10.HeaderText = "签单限额";
     this.DataGridTextBoxColumn10.MappingName = "signupcost";
     this.DataGridTextBoxColumn10.NullText = "";
     this.DataGridTextBoxColumn10.Width = 75;
     //
     //DataGridTextBoxColumn12
     //
     this.DataGridTextBoxColumn12.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn12.Format = "";
     this.DataGridTextBoxColumn12.FormatInfo = null;
     this.DataGridTextBoxColumn12.HeaderText = "累计消费";
     this.DataGridTextBoxColumn12.MappingName = "totalcost";
     this.DataGridTextBoxColumn12.NullText = "";
     this.DataGridTextBoxColumn12.Width = 75;
     //
     //DataGridTextBoxColumn13
     //
     this.DataGridTextBoxColumn13.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridTextBoxColumn13.Format = "";
     this.DataGridTextBoxColumn13.FormatInfo = null;
     this.DataGridTextBoxColumn13.HeaderText = "备注";
     this.DataGridTextBoxColumn13.MappingName = "note";
     this.DataGridTextBoxColumn13.NullText = "";
     this.DataGridTextBoxColumn13.Width = 75;
     //
     //DataGridBoolColumn3
     //
     this.DataGridBoolColumn3.Alignment = System.Windows.Forms.HorizontalAlignment.Center;
     this.DataGridBoolColumn3.FalseValue = "0";
     this.DataGridBoolColumn3.HeaderText = "暂停使用";
     this.DataGridBoolColumn3.MappingName = "disabled";
     this.DataGridBoolColumn3.NullText = "";
     this.DataGridBoolColumn3.NullValue = resources.GetObject("DataGridBoolColumn3.NullValue");
     this.DataGridBoolColumn3.TrueValue = "1";
     this.DataGridBoolColumn3.Width = 75;
     //
     //frmCustomer
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize = new System.Drawing.Size(579, 425);
     this.Controls.Add(this.dgCust);
     this.Controls.Add(this.ToolBar1);
     this.Icon = (System.Drawing.Icon) (resources.GetObject("$this.Icon"));
     this.Name = "frmCustomer";
     this.ShowInTaskbar = false;
     this.Text = "客户信息管理";
     ((System.ComponentModel.ISupportInitialize) this.dgCust).EndInit();
     this.ResumeLayout(false);
 }
コード例 #56
0
ファイル: MainForm.cs プロジェクト: valery-shinkevich/sooda
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(MainForm));
     this.mainMenu1                 = new System.Windows.Forms.MainMenu();
     this.menuItem1                 = new System.Windows.Forms.MenuItem();
     this.menuitemFileNew           = new System.Windows.Forms.MenuItem();
     this.menuitemFileOpen          = new System.Windows.Forms.MenuItem();
     this.menuitemFileSave          = new System.Windows.Forms.MenuItem();
     this.menuitemFileSaveAs        = new System.Windows.Forms.MenuItem();
     this.menuItem7                 = new System.Windows.Forms.MenuItem();
     this.menuitemFileExit          = new System.Windows.Forms.MenuItem();
     this.menuItem2                 = new System.Windows.Forms.MenuItem();
     this.menuItemProjectNew        = new System.Windows.Forms.MenuItem();
     this.menuItemProjectOpen       = new System.Windows.Forms.MenuItem();
     this.menuItemProjectSave       = new System.Windows.Forms.MenuItem();
     this.menuItem9                 = new System.Windows.Forms.MenuItem();
     this.menuItemProjectProperties = new System.Windows.Forms.MenuItem();
     this.menuItem4                 = new System.Windows.Forms.MenuItem();
     this.menuItem3                 = new System.Windows.Forms.MenuItem();
     this.menuitemQueryRun          = new System.Windows.Forms.MenuItem();
     this.statusBar1                = new System.Windows.Forms.StatusBar();
     this.toolBar1                 = new System.Windows.Forms.ToolBar();
     this.toolBarButtonNew         = new System.Windows.Forms.ToolBarButton();
     this.toolBarButtonOpen        = new System.Windows.Forms.ToolBarButton();
     this.toolBarButtonSave        = new System.Windows.Forms.ToolBarButton();
     this.toolBarSeparator1        = new System.Windows.Forms.ToolBarButton();
     this.toolBarButtonRun         = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton1           = new System.Windows.Forms.ToolBarButton();
     this.toolBarButtonConnection  = new System.Windows.Forms.ToolBarButton();
     this.contextMenuDatabases     = new System.Windows.Forms.ContextMenu();
     this.menuItem5                = new System.Windows.Forms.MenuItem();
     this.menuItem8                = new System.Windows.Forms.MenuItem();
     this.menuItem6                = new System.Windows.Forms.MenuItem();
     this.imageList1               = new System.Windows.Forms.ImageList(this.components);
     this.recordsetContextMenu     = new System.Windows.Forms.ContextMenu();
     this.contextMenuItemSelectAll = new System.Windows.Forms.MenuItem();
     this.contextMenuItemCopy      = new System.Windows.Forms.MenuItem();
     this.tabControl1              = new System.Windows.Forms.TabControl();
     this.tabPageRecordSet         = new System.Windows.Forms.TabPage();
     this.resultSet                = new System.Windows.Forms.ListView();
     this.tabPageXml               = new System.Windows.Forms.TabPage();
     this.panel3             = new System.Windows.Forms.Panel();
     this.xmlResults         = new ICSharpCode.TextEditor.TextEditorControl();
     this.tabPageCsv         = new System.Windows.Forms.TabPage();
     this.panel4             = new System.Windows.Forms.Panel();
     this.csvResults         = new ICSharpCode.TextEditor.TextEditorControl();
     this.tabPagePrettyPrint = new System.Windows.Forms.TabPage();
     this.tabPageTSql        = new System.Windows.Forms.TabPage();
     this.panel2             = new System.Windows.Forms.Panel();
     this.translatedSql      = new ICSharpCode.TextEditor.TextEditorControl();
     this.tabPageMessages    = new System.Windows.Forms.TabPage();
     this.messagesTextBox    = new System.Windows.Forms.TextBox();
     this.TextEditorControl1 = new ICSharpCode.TextEditor.TextEditorControl();
     this.splitter2          = new System.Windows.Forms.Splitter();
     this.panel1             = new System.Windows.Forms.Panel();
     this.panel5             = new System.Windows.Forms.Panel();
     this.soqlPrettyPrint    = new ICSharpCode.TextEditor.TextEditorControl();
     this.tabControl1.SuspendLayout();
     this.tabPageRecordSet.SuspendLayout();
     this.tabPageXml.SuspendLayout();
     this.panel3.SuspendLayout();
     this.tabPageCsv.SuspendLayout();
     this.panel4.SuspendLayout();
     this.tabPagePrettyPrint.SuspendLayout();
     this.tabPageTSql.SuspendLayout();
     this.panel2.SuspendLayout();
     this.tabPageMessages.SuspendLayout();
     this.panel1.SuspendLayout();
     this.panel5.SuspendLayout();
     this.SuspendLayout();
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem1,
         this.menuItem2,
         this.menuItem3
     });
     //
     // menuItem1
     //
     this.menuItem1.Index = 0;
     this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuitemFileNew,
         this.menuitemFileOpen,
         this.menuitemFileSave,
         this.menuitemFileSaveAs,
         this.menuItem7,
         this.menuitemFileExit
     });
     this.menuItem1.Text = "&File";
     //
     // menuitemFileNew
     //
     this.menuitemFileNew.Index    = 0;
     this.menuitemFileNew.Shortcut = System.Windows.Forms.Shortcut.CtrlN;
     this.menuitemFileNew.Text     = "&New";
     //
     // menuitemFileOpen
     //
     this.menuitemFileOpen.Index    = 1;
     this.menuitemFileOpen.Shortcut = System.Windows.Forms.Shortcut.CtrlO;
     this.menuitemFileOpen.Text     = "&Open";
     this.menuitemFileOpen.Click   += new System.EventHandler(this.menuitemProjectOpen_Click);
     //
     // menuitemFileSave
     //
     this.menuitemFileSave.Index    = 2;
     this.menuitemFileSave.Shortcut = System.Windows.Forms.Shortcut.CtrlS;
     this.menuitemFileSave.Text     = "&Save";
     //
     // menuitemFileSaveAs
     //
     this.menuitemFileSaveAs.Index = 3;
     this.menuitemFileSaveAs.Text  = "Save &as...";
     //
     // menuItem7
     //
     this.menuItem7.Index = 4;
     this.menuItem7.Text  = "-";
     //
     // menuitemFileExit
     //
     this.menuitemFileExit.Index    = 5;
     this.menuitemFileExit.Shortcut = System.Windows.Forms.Shortcut.AltF4;
     this.menuitemFileExit.Text     = "&Exit";
     this.menuitemFileExit.Click   += new System.EventHandler(this.menuitemFileExit_Click);
     //
     // menuItem2
     //
     this.menuItem2.Index = 1;
     this.menuItem2.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItemProjectNew,
         this.menuItemProjectOpen,
         this.menuItemProjectSave,
         this.menuItem9,
         this.menuItemProjectProperties,
         this.menuItem4
     });
     this.menuItem2.Text = "&Project";
     //
     // menuItemProjectNew
     //
     this.menuItemProjectNew.Index = 0;
     this.menuItemProjectNew.Text  = "&New project";
     //
     // menuItemProjectOpen
     //
     this.menuItemProjectOpen.Index = 1;
     this.menuItemProjectOpen.Text  = "&Open project from file...";
     //
     // menuItemProjectSave
     //
     this.menuItemProjectSave.Index = 2;
     this.menuItemProjectSave.Text  = "&Save project to file...";
     //
     // menuItem9
     //
     this.menuItem9.Index = 3;
     this.menuItem9.Text  = "-";
     //
     // menuItemProjectProperties
     //
     this.menuItemProjectProperties.Index  = 4;
     this.menuItemProjectProperties.Text   = "&Properties...";
     this.menuItemProjectProperties.Click += new System.EventHandler(this.menuItemProjectProperties_Click);
     //
     // menuItem4
     //
     this.menuItem4.Index = 5;
     this.menuItem4.Text  = "-";
     //
     // menuItem3
     //
     this.menuItem3.Index = 2;
     this.menuItem3.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuitemQueryRun
     });
     this.menuItem3.Text = "&Query";
     //
     // menuitemQueryRun
     //
     this.menuitemQueryRun.Index    = 0;
     this.menuitemQueryRun.Shortcut = System.Windows.Forms.Shortcut.CtrlE;
     this.menuitemQueryRun.Text     = "&Run";
     this.menuitemQueryRun.Click   += new System.EventHandler(this.menuitemQueryRun_Click);
     //
     // statusBar1
     //
     this.statusBar1.Location   = new System.Drawing.Point(0, 403);
     this.statusBar1.Name       = "statusBar1";
     this.statusBar1.ShowPanels = true;
     this.statusBar1.Size       = new System.Drawing.Size(640, 22);
     this.statusBar1.TabIndex   = 4;
     this.statusBar1.Text       = "statusBar1";
     //
     // toolBar1
     //
     this.toolBar1.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.toolBarButtonNew,
         this.toolBarButtonOpen,
         this.toolBarButtonSave,
         this.toolBarSeparator1,
         this.toolBarButtonRun,
         this.toolBarButton1,
         this.toolBarButtonConnection
     });
     this.toolBar1.DropDownArrows = true;
     this.toolBar1.ImageList      = this.imageList1;
     this.toolBar1.Location       = new System.Drawing.Point(0, 0);
     this.toolBar1.Name           = "toolBar1";
     this.toolBar1.ShowToolTips   = true;
     this.toolBar1.Size           = new System.Drawing.Size(640, 28);
     this.toolBar1.TabIndex       = 3;
     this.toolBar1.TextAlign      = System.Windows.Forms.ToolBarTextAlign.Right;
     this.toolBar1.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick);
     //
     // toolBarButtonNew
     //
     this.toolBarButtonNew.ImageIndex = 0;
     this.toolBarButtonNew.Text       = "New";
     //
     // toolBarButtonOpen
     //
     this.toolBarButtonOpen.ImageIndex = 1;
     this.toolBarButtonOpen.Text       = "Open";
     //
     // toolBarButtonSave
     //
     this.toolBarButtonSave.ImageIndex = 2;
     this.toolBarButtonSave.Text       = "Save";
     //
     // toolBarSeparator1
     //
     this.toolBarSeparator1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButtonRun
     //
     this.toolBarButtonRun.ImageIndex = 3;
     this.toolBarButtonRun.Text       = "Run";
     //
     // toolBarButton1
     //
     this.toolBarButton1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButtonConnection
     //
     this.toolBarButtonConnection.DropDownMenu = this.contextMenuDatabases;
     this.toolBarButtonConnection.ImageIndex   = 4;
     this.toolBarButtonConnection.Style        = System.Windows.Forms.ToolBarButtonStyle.DropDownButton;
     this.toolBarButtonConnection.Text         = "No connection";
     //
     // contextMenuDatabases
     //
     this.contextMenuDatabases.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.menuItem5,
         this.menuItem8,
         this.menuItem6
     });
     //
     // menuItem5
     //
     this.menuItem5.Index = 0;
     this.menuItem5.Text  = "&Connect to database...";
     //
     // menuItem8
     //
     this.menuItem8.Index = 1;
     this.menuItem8.Text  = "&Manage databases...";
     //
     // menuItem6
     //
     this.menuItem6.Index = 2;
     this.menuItem6.Text  = "-";
     //
     // imageList1
     //
     this.imageList1.ColorDepth       = System.Windows.Forms.ColorDepth.Depth24Bit;
     this.imageList1.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Silver;
     //
     // recordsetContextMenu
     //
     this.recordsetContextMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
         this.contextMenuItemSelectAll,
         this.contextMenuItemCopy
     });
     this.recordsetContextMenu.Popup += new System.EventHandler(this.recordsetContextMenu_Popup);
     //
     // contextMenuItemSelectAll
     //
     this.contextMenuItemSelectAll.Index  = 0;
     this.contextMenuItemSelectAll.Text   = "Select &All";
     this.contextMenuItemSelectAll.Click += new System.EventHandler(this.contextMenuItemSelectAll_Click);
     //
     // contextMenuItemCopy
     //
     this.contextMenuItemCopy.Index  = 1;
     this.contextMenuItemCopy.Text   = "&Copy";
     this.contextMenuItemCopy.Click += new System.EventHandler(this.contextMenuItemCopy_Click);
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.tabPageRecordSet);
     this.tabControl1.Controls.Add(this.tabPagePrettyPrint);
     this.tabControl1.Controls.Add(this.tabPageCsv);
     this.tabControl1.Controls.Add(this.tabPageXml);
     this.tabControl1.Controls.Add(this.tabPageTSql);
     this.tabControl1.Controls.Add(this.tabPageMessages);
     this.tabControl1.Dock          = System.Windows.Forms.DockStyle.Bottom;
     this.tabControl1.Location      = new System.Drawing.Point(0, 155);
     this.tabControl1.Name          = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size          = new System.Drawing.Size(640, 248);
     this.tabControl1.TabIndex      = 2;
     //
     // tabPageRecordSet
     //
     this.tabPageRecordSet.Controls.Add(this.resultSet);
     this.tabPageRecordSet.Location = new System.Drawing.Point(4, 22);
     this.tabPageRecordSet.Name     = "tabPageRecordSet";
     this.tabPageRecordSet.Size     = new System.Drawing.Size(768, 222);
     this.tabPageRecordSet.TabIndex = 0;
     this.tabPageRecordSet.Text     = "Recordset";
     //
     // resultSet
     //
     this.resultSet.BorderStyle           = System.Windows.Forms.BorderStyle.FixedSingle;
     this.resultSet.ContextMenu           = this.recordsetContextMenu;
     this.resultSet.Dock                  = System.Windows.Forms.DockStyle.Fill;
     this.resultSet.FullRowSelect         = true;
     this.resultSet.GridLines             = true;
     this.resultSet.Location              = new System.Drawing.Point(0, 0);
     this.resultSet.Name                  = "resultSet";
     this.resultSet.Size                  = new System.Drawing.Size(768, 222);
     this.resultSet.TabIndex              = 0;
     this.resultSet.View                  = System.Windows.Forms.View.Details;
     this.resultSet.SelectedIndexChanged += new System.EventHandler(this.listView1_SelectedIndexChanged);
     //
     // tabPageXml
     //
     this.tabPageXml.Controls.Add(this.panel3);
     this.tabPageXml.Location = new System.Drawing.Point(4, 22);
     this.tabPageXml.Name     = "tabPageXml";
     this.tabPageXml.Size     = new System.Drawing.Size(632, 222);
     this.tabPageXml.TabIndex = 2;
     this.tabPageXml.Text     = "XML";
     //
     // panel3
     //
     this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel3.Controls.Add(this.xmlResults);
     this.panel3.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel3.Location = new System.Drawing.Point(0, 0);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(632, 222);
     this.panel3.TabIndex = 0;
     //
     // xmlResults
     //
     this.xmlResults.Dock             = System.Windows.Forms.DockStyle.Fill;
     this.xmlResults.DockPadding.Top  = 2;
     this.xmlResults.EnableFolding    = false;
     this.xmlResults.Encoding         = ((System.Text.Encoding)(resources.GetObject("xmlResults.Encoding")));
     this.xmlResults.IndentStyle      = ICSharpCode.TextEditor.Document.IndentStyle.Auto;
     this.xmlResults.Location         = new System.Drawing.Point(0, 0);
     this.xmlResults.Name             = "xmlResults";
     this.xmlResults.ShowEOLMarkers   = true;
     this.xmlResults.ShowInvalidLines = false;
     this.xmlResults.ShowLineNumbers  = false;
     this.xmlResults.ShowSpaces       = true;
     this.xmlResults.ShowTabs         = true;
     this.xmlResults.ShowVRuler       = true;
     this.xmlResults.Size             = new System.Drawing.Size(630, 220);
     this.xmlResults.TabIndent        = 8;
     this.xmlResults.TabIndex         = 0;
     this.xmlResults.Load            += new System.EventHandler(this.xmlResults_Load);
     //
     // tabPageCsv
     //
     this.tabPageCsv.Controls.Add(this.panel4);
     this.tabPageCsv.Location = new System.Drawing.Point(4, 22);
     this.tabPageCsv.Name     = "tabPageCsv";
     this.tabPageCsv.Size     = new System.Drawing.Size(632, 222);
     this.tabPageCsv.TabIndex = 4;
     this.tabPageCsv.Text     = "CSV";
     //
     // panel4
     //
     this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel4.Controls.Add(this.csvResults);
     this.panel4.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel4.Location = new System.Drawing.Point(0, 0);
     this.panel4.Name     = "panel4";
     this.panel4.Size     = new System.Drawing.Size(632, 222);
     this.panel4.TabIndex = 0;
     //
     // csvResults
     //
     this.csvResults.Dock             = System.Windows.Forms.DockStyle.Fill;
     this.csvResults.DockPadding.Top  = 2;
     this.csvResults.EnableFolding    = false;
     this.csvResults.Encoding         = ((System.Text.Encoding)(resources.GetObject("csvResults.Encoding")));
     this.csvResults.IndentStyle      = ICSharpCode.TextEditor.Document.IndentStyle.Auto;
     this.csvResults.Location         = new System.Drawing.Point(0, 0);
     this.csvResults.Name             = "csvResults";
     this.csvResults.ShowEOLMarkers   = true;
     this.csvResults.ShowInvalidLines = false;
     this.csvResults.ShowLineNumbers  = false;
     this.csvResults.ShowSpaces       = true;
     this.csvResults.ShowTabs         = true;
     this.csvResults.ShowVRuler       = true;
     this.csvResults.Size             = new System.Drawing.Size(630, 220);
     this.csvResults.TabIndent        = 8;
     this.csvResults.TabIndex         = 0;
     //
     // tabPagePrettyPrint
     //
     this.tabPagePrettyPrint.Controls.Add(this.panel5);
     this.tabPagePrettyPrint.Location = new System.Drawing.Point(4, 22);
     this.tabPagePrettyPrint.Name     = "tabPagePrettyPrint";
     this.tabPagePrettyPrint.Size     = new System.Drawing.Size(632, 222);
     this.tabPagePrettyPrint.TabIndex = 5;
     this.tabPagePrettyPrint.Text     = "Parsed SOQL";
     this.tabPagePrettyPrint.Click   += new System.EventHandler(this.tabPagePrettyPrint_Click);
     //
     // tabPageTSql
     //
     this.tabPageTSql.Controls.Add(this.panel2);
     this.tabPageTSql.Location = new System.Drawing.Point(4, 22);
     this.tabPageTSql.Name     = "tabPageTSql";
     this.tabPageTSql.Size     = new System.Drawing.Size(632, 222);
     this.tabPageTSql.TabIndex = 1;
     this.tabPageTSql.Text     = "Translated SQL";
     //
     // panel2
     //
     this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel2.Controls.Add(this.translatedSql);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel2.Location = new System.Drawing.Point(0, 0);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(632, 222);
     this.panel2.TabIndex = 2;
     //
     // translatedSql
     //
     this.translatedSql.BackColor        = System.Drawing.SystemColors.Control;
     this.translatedSql.Dock             = System.Windows.Forms.DockStyle.Fill;
     this.translatedSql.DockPadding.Top  = 2;
     this.translatedSql.EnableFolding    = false;
     this.translatedSql.Encoding         = ((System.Text.Encoding)(resources.GetObject("translatedSql.Encoding")));
     this.translatedSql.IndentStyle      = ICSharpCode.TextEditor.Document.IndentStyle.Auto;
     this.translatedSql.Location         = new System.Drawing.Point(0, 0);
     this.translatedSql.Name             = "translatedSql";
     this.translatedSql.ShowEOLMarkers   = true;
     this.translatedSql.ShowInvalidLines = false;
     this.translatedSql.ShowLineNumbers  = false;
     this.translatedSql.ShowSpaces       = true;
     this.translatedSql.ShowTabs         = true;
     this.translatedSql.ShowVRuler       = true;
     this.translatedSql.Size             = new System.Drawing.Size(630, 220);
     this.translatedSql.TabIndent        = 8;
     this.translatedSql.TabIndex         = 1;
     //
     // tabPageMessages
     //
     this.tabPageMessages.Controls.Add(this.messagesTextBox);
     this.tabPageMessages.Location = new System.Drawing.Point(4, 22);
     this.tabPageMessages.Name     = "tabPageMessages";
     this.tabPageMessages.Size     = new System.Drawing.Size(768, 222);
     this.tabPageMessages.TabIndex = 3;
     this.tabPageMessages.Text     = "Messages";
     //
     // messagesTextBox
     //
     this.messagesTextBox.AcceptsReturn = true;
     this.messagesTextBox.AcceptsTab    = true;
     this.messagesTextBox.BorderStyle   = System.Windows.Forms.BorderStyle.FixedSingle;
     this.messagesTextBox.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.messagesTextBox.Font          = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(238)));
     this.messagesTextBox.Location      = new System.Drawing.Point(0, 0);
     this.messagesTextBox.Multiline     = true;
     this.messagesTextBox.Name          = "messagesTextBox";
     this.messagesTextBox.ReadOnly      = true;
     this.messagesTextBox.ScrollBars    = System.Windows.Forms.ScrollBars.Both;
     this.messagesTextBox.Size          = new System.Drawing.Size(768, 222);
     this.messagesTextBox.TabIndex      = 0;
     this.messagesTextBox.Text          = "";
     //
     // TextEditorControl1
     //
     this.TextEditorControl1.Dock             = System.Windows.Forms.DockStyle.Fill;
     this.TextEditorControl1.DockPadding.Top  = 2;
     this.TextEditorControl1.EnableFolding    = false;
     this.TextEditorControl1.Encoding         = ((System.Text.Encoding)(resources.GetObject("TextEditorControl1.Encoding")));
     this.TextEditorControl1.IndentStyle      = ICSharpCode.TextEditor.Document.IndentStyle.Auto;
     this.TextEditorControl1.Location         = new System.Drawing.Point(0, 0);
     this.TextEditorControl1.Name             = "TextEditorControl1";
     this.TextEditorControl1.ShowEOLMarkers   = true;
     this.TextEditorControl1.ShowInvalidLines = false;
     this.TextEditorControl1.ShowLineNumbers  = false;
     this.TextEditorControl1.ShowSpaces       = true;
     this.TextEditorControl1.ShowTabs         = true;
     this.TextEditorControl1.ShowVRuler       = true;
     this.TextEditorControl1.Size             = new System.Drawing.Size(638, 122);
     this.TextEditorControl1.TabIndent        = 1;
     this.TextEditorControl1.TabIndex         = 0;
     //
     // splitter2
     //
     this.splitter2.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.splitter2.Location = new System.Drawing.Point(0, 152);
     this.splitter2.Name     = "splitter2";
     this.splitter2.Size     = new System.Drawing.Size(640, 3);
     this.splitter2.TabIndex = 0;
     this.splitter2.TabStop  = false;
     //
     // panel1
     //
     this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel1.Controls.Add(this.TextEditorControl1);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 28);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(640, 124);
     this.panel1.TabIndex = 1;
     this.panel1.TabStop  = true;
     //
     // panel5
     //
     this.panel5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel5.Controls.Add(this.soqlPrettyPrint);
     this.panel5.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel5.Location = new System.Drawing.Point(0, 0);
     this.panel5.Name     = "panel5";
     this.panel5.Size     = new System.Drawing.Size(632, 222);
     this.panel5.TabIndex = 0;
     //
     // soqlPrettyPrint
     //
     this.soqlPrettyPrint.BackColor        = System.Drawing.SystemColors.Control;
     this.soqlPrettyPrint.Dock             = System.Windows.Forms.DockStyle.Fill;
     this.soqlPrettyPrint.DockPadding.Top  = 2;
     this.soqlPrettyPrint.EnableFolding    = false;
     this.soqlPrettyPrint.Encoding         = ((System.Text.Encoding)(resources.GetObject("soqlPrettyPrint.Encoding")));
     this.soqlPrettyPrint.IndentStyle      = ICSharpCode.TextEditor.Document.IndentStyle.Auto;
     this.soqlPrettyPrint.Location         = new System.Drawing.Point(0, 0);
     this.soqlPrettyPrint.Name             = "soqlPrettyPrint";
     this.soqlPrettyPrint.ShowEOLMarkers   = true;
     this.soqlPrettyPrint.ShowInvalidLines = false;
     this.soqlPrettyPrint.ShowLineNumbers  = false;
     this.soqlPrettyPrint.ShowSpaces       = true;
     this.soqlPrettyPrint.ShowTabs         = true;
     this.soqlPrettyPrint.ShowVRuler       = true;
     this.soqlPrettyPrint.Size             = new System.Drawing.Size(630, 220);
     this.soqlPrettyPrint.TabIndent        = 8;
     this.soqlPrettyPrint.TabIndex         = 2;
     //
     // MainForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(640, 425);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.splitter2);
     this.Controls.Add(this.tabControl1);
     this.Controls.Add(this.toolBar1);
     this.Controls.Add(this.statusBar1);
     this.Icon  = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Menu  = this.mainMenu1;
     this.Name  = "MainForm";
     this.Load += new System.EventHandler(this.MainFor_Load);
     this.tabControl1.ResumeLayout(false);
     this.tabPageRecordSet.ResumeLayout(false);
     this.tabPageXml.ResumeLayout(false);
     this.panel3.ResumeLayout(false);
     this.tabPageCsv.ResumeLayout(false);
     this.panel4.ResumeLayout(false);
     this.tabPagePrettyPrint.ResumeLayout(false);
     this.tabPageTSql.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.tabPageMessages.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.panel5.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #57
0
ファイル: Form1.cs プロジェクト: jeffreywoo/graphics
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Transformer));
     this.tbimages = new System.Windows.Forms.ImageList(this.components);
     this.toolBar1 = new System.Windows.Forms.ToolBar();
     this.transleftbtn = new System.Windows.Forms.ToolBarButton();
     this.transrightbtn = new System.Windows.Forms.ToolBarButton();
     this.transupbtn = new System.Windows.Forms.ToolBarButton();
     this.transdownbtn = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton1 = new System.Windows.Forms.ToolBarButton();
     this.scaleupbtn = new System.Windows.Forms.ToolBarButton();
     this.scaledownbtn = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton2 = new System.Windows.Forms.ToolBarButton();
     this.rotxby1btn = new System.Windows.Forms.ToolBarButton();
     this.rotyby1btn = new System.Windows.Forms.ToolBarButton();
     this.rotzby1btn = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton3 = new System.Windows.Forms.ToolBarButton();
     this.rotxbtn = new System.Windows.Forms.ToolBarButton();
     this.rotybtn = new System.Windows.Forms.ToolBarButton();
     this.rotzbtn = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton4 = new System.Windows.Forms.ToolBarButton();
     this.shearrightbtn = new System.Windows.Forms.ToolBarButton();
     this.shearleftbtn = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton5 = new System.Windows.Forms.ToolBarButton();
     this.resetbtn = new System.Windows.Forms.ToolBarButton();
     this.exitbtn = new System.Windows.Forms.ToolBarButton();
     this.SuspendLayout();
     //
     // tbimages
     //
     this.tbimages.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("tbimages.ImageStream")));
     this.tbimages.TransparentColor = System.Drawing.Color.Transparent;
     this.tbimages.Images.SetKeyName(0, "");
     this.tbimages.Images.SetKeyName(1, "");
     this.tbimages.Images.SetKeyName(2, "");
     this.tbimages.Images.SetKeyName(3, "");
     this.tbimages.Images.SetKeyName(4, "");
     this.tbimages.Images.SetKeyName(5, "");
     this.tbimages.Images.SetKeyName(6, "");
     this.tbimages.Images.SetKeyName(7, "");
     this.tbimages.Images.SetKeyName(8, "");
     this.tbimages.Images.SetKeyName(9, "");
     this.tbimages.Images.SetKeyName(10, "");
     this.tbimages.Images.SetKeyName(11, "");
     this.tbimages.Images.SetKeyName(12, "");
     this.tbimages.Images.SetKeyName(13, "");
     this.tbimages.Images.SetKeyName(14, "");
     this.tbimages.Images.SetKeyName(15, "");
     //
     // toolBar1
     //
     this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
     this.transleftbtn,
     this.transrightbtn,
     this.transupbtn,
     this.transdownbtn,
     this.toolBarButton1,
     this.scaleupbtn,
     this.scaledownbtn,
     this.toolBarButton2,
     this.rotxby1btn,
     this.rotyby1btn,
     this.rotzby1btn,
     this.toolBarButton3,
     this.rotxbtn,
     this.rotybtn,
     this.rotzbtn,
     this.toolBarButton4,
     this.shearrightbtn,
     this.shearleftbtn,
     this.toolBarButton5,
     this.resetbtn,
     this.exitbtn});
     this.toolBar1.Dock = System.Windows.Forms.DockStyle.Right;
     this.toolBar1.DropDownArrows = true;
     this.toolBar1.ImageList = this.tbimages;
     this.toolBar1.Location = new System.Drawing.Point(484, 0);
     this.toolBar1.Name = "toolBar1";
     this.toolBar1.ShowToolTips = true;
     this.toolBar1.Size = new System.Drawing.Size(24, 306);
     this.toolBar1.TabIndex = 0;
     this.toolBar1.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick);
     //
     // transleftbtn
     //
     this.transleftbtn.ImageIndex = 1;
     this.transleftbtn.Name = "transleftbtn";
     this.transleftbtn.ToolTipText = "translate left";
     //
     // transrightbtn
     //
     this.transrightbtn.ImageIndex = 0;
     this.transrightbtn.Name = "transrightbtn";
     this.transrightbtn.ToolTipText = "translate right";
     //
     // transupbtn
     //
     this.transupbtn.ImageIndex = 2;
     this.transupbtn.Name = "transupbtn";
     this.transupbtn.ToolTipText = "translate up";
     //
     // transdownbtn
     //
     this.transdownbtn.ImageIndex = 3;
     this.transdownbtn.Name = "transdownbtn";
     this.transdownbtn.ToolTipText = "translate down";
     //
     // toolBarButton1
     //
     this.toolBarButton1.Name = "toolBarButton1";
     this.toolBarButton1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // scaleupbtn
     //
     this.scaleupbtn.ImageIndex = 4;
     this.scaleupbtn.Name = "scaleupbtn";
     this.scaleupbtn.ToolTipText = "scale up";
     //
     // scaledownbtn
     //
     this.scaledownbtn.ImageIndex = 5;
     this.scaledownbtn.Name = "scaledownbtn";
     this.scaledownbtn.ToolTipText = "scale down";
     //
     // toolBarButton2
     //
     this.toolBarButton2.Name = "toolBarButton2";
     this.toolBarButton2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // rotxby1btn
     //
     this.rotxby1btn.ImageIndex = 6;
     this.rotxby1btn.Name = "rotxby1btn";
     this.rotxby1btn.ToolTipText = "rotate about x by 1";
     //
     // rotyby1btn
     //
     this.rotyby1btn.ImageIndex = 7;
     this.rotyby1btn.Name = "rotyby1btn";
     this.rotyby1btn.ToolTipText = "rotate about y by 1";
     //
     // rotzby1btn
     //
     this.rotzby1btn.ImageIndex = 8;
     this.rotzby1btn.Name = "rotzby1btn";
     this.rotzby1btn.ToolTipText = "rotate about z by 1";
     //
     // toolBarButton3
     //
     this.toolBarButton3.Name = "toolBarButton3";
     this.toolBarButton3.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // rotxbtn
     //
     this.rotxbtn.ImageIndex = 9;
     this.rotxbtn.Name = "rotxbtn";
     this.rotxbtn.ToolTipText = "rotate about x continuously";
     //
     // rotybtn
     //
     this.rotybtn.ImageIndex = 10;
     this.rotybtn.Name = "rotybtn";
     this.rotybtn.ToolTipText = "rotate about y continuously";
     //
     // rotzbtn
     //
     this.rotzbtn.ImageIndex = 11;
     this.rotzbtn.Name = "rotzbtn";
     this.rotzbtn.ToolTipText = "rotate about z continuously";
     //
     // toolBarButton4
     //
     this.toolBarButton4.Name = "toolBarButton4";
     this.toolBarButton4.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // shearrightbtn
     //
     this.shearrightbtn.ImageIndex = 12;
     this.shearrightbtn.Name = "shearrightbtn";
     this.shearrightbtn.ToolTipText = "shear right";
     //
     // shearleftbtn
     //
     this.shearleftbtn.ImageIndex = 13;
     this.shearleftbtn.Name = "shearleftbtn";
     this.shearleftbtn.ToolTipText = "shear left";
     //
     // toolBarButton5
     //
     this.toolBarButton5.Name = "toolBarButton5";
     this.toolBarButton5.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // resetbtn
     //
     this.resetbtn.ImageIndex = 14;
     this.resetbtn.Name = "resetbtn";
     this.resetbtn.ToolTipText = "restore the initial image";
     //
     // exitbtn
     //
     this.exitbtn.ImageIndex = 15;
     this.exitbtn.Name = "exitbtn";
     this.exitbtn.ToolTipText = "exit the program";
     //
     // Transformer
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(508, 306);
     this.Controls.Add(this.toolBar1);
     this.Name = "Transformer";
     this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
     this.Load += new System.EventHandler(this.Transformer_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #58
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();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PanelTrace));
     this.toolBar1         = new System.Windows.Forms.ToolBar();
     this.OpenFileBtn      = new System.Windows.Forms.ToolBarButton();
     this.SaveFileBtn      = new System.Windows.Forms.ToolBarButton();
     this.RefreshTracesBtn = new System.Windows.Forms.ToolBarButton();
     this.SeparatorBtn1    = new System.Windows.Forms.ToolBarButton();
     this.toolBarButton1   = new System.Windows.Forms.ToolBarButton();
     this.ProcessViewBtn   = new System.Windows.Forms.ToolBarButton();
     this.ViewTimeStampBtn = new System.Windows.Forms.ToolBarButton();
     this.imageList1       = new System.Windows.Forms.ImageList(this.components);
     this.panel1           = new System.Windows.Forms.Panel();
     this.TraceListView    = new System.Windows.Forms.ListView();
     this.columnHeader1    = new System.Windows.Forms.ColumnHeader();
     this.columnHeader2    = new System.Windows.Forms.ColumnHeader();
     this.columnHeader3    = new System.Windows.Forms.ColumnHeader();
     this.splitter1        = new System.Windows.Forms.Splitter();
     this.SourceTree       = new System.Windows.Forms.TreeView();
     this.openFileDialog   = new System.Windows.Forms.OpenFileDialog();
     this.saveFileDialog   = new System.Windows.Forms.SaveFileDialog();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // toolBar1
     //
     this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.OpenFileBtn,
         this.SaveFileBtn,
         this.RefreshTracesBtn,
         this.SeparatorBtn1,
         this.toolBarButton1,
         this.ProcessViewBtn,
         this.ViewTimeStampBtn
     });
     this.toolBar1.DropDownArrows = true;
     this.toolBar1.ImageList      = this.imageList1;
     this.toolBar1.Location       = new System.Drawing.Point(0, 0);
     this.toolBar1.Name           = "toolBar1";
     this.toolBar1.ShowToolTips   = true;
     this.toolBar1.Size           = new System.Drawing.Size(536, 28);
     this.toolBar1.TabIndex       = 10;
     this.toolBar1.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick);
     //
     // OpenFileBtn
     //
     this.OpenFileBtn.ImageIndex  = 0;
     this.OpenFileBtn.Name        = "OpenFileBtn";
     this.OpenFileBtn.ToolTipText = "Open Trace File";
     //
     // SaveFileBtn
     //
     this.SaveFileBtn.ImageIndex  = 1;
     this.SaveFileBtn.Name        = "SaveFileBtn";
     this.SaveFileBtn.ToolTipText = "Save Trace File";
     //
     // RefreshTracesBtn
     //
     this.RefreshTracesBtn.ImageIndex  = 4;
     this.RefreshTracesBtn.Name        = "RefreshTracesBtn";
     this.RefreshTracesBtn.ToolTipText = "Refresh Traces ";
     //
     // SeparatorBtn1
     //
     this.SeparatorBtn1.Name  = "SeparatorBtn1";
     this.SeparatorBtn1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // toolBarButton1
     //
     this.toolBarButton1.Name  = "toolBarButton1";
     this.toolBarButton1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator;
     //
     // ProcessViewBtn
     //
     this.ProcessViewBtn.ImageIndex  = 3;
     this.ProcessViewBtn.Name        = "ProcessViewBtn";
     this.ProcessViewBtn.Style       = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
     this.ProcessViewBtn.ToolTipText = "Process Flow View";
     //
     // ViewTimeStampBtn
     //
     this.ViewTimeStampBtn.ImageIndex  = 2;
     this.ViewTimeStampBtn.Name        = "ViewTimeStampBtn";
     this.ViewTimeStampBtn.Style       = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
     this.ViewTimeStampBtn.ToolTipText = "Show Message Time Stamps";
     //
     // imageList1
     //
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "");
     this.imageList1.Images.SetKeyName(1, "");
     this.imageList1.Images.SetKeyName(2, "");
     this.imageList1.Images.SetKeyName(3, "");
     this.imageList1.Images.SetKeyName(4, "");
     //
     // panel1
     //
     this.panel1.Controls.Add(this.TraceListView);
     this.panel1.Controls.Add(this.splitter1);
     this.panel1.Controls.Add(this.SourceTree);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 28);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(536, 308);
     this.panel1.TabIndex = 11;
     //
     // TraceListView
     //
     this.TraceListView.AllowColumnReorder = true;
     this.TraceListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader1,
         this.columnHeader2,
         this.columnHeader3
     });
     this.TraceListView.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.TraceListView.FullRowSelect = true;
     this.TraceListView.GridLines     = true;
     this.TraceListView.Location      = new System.Drawing.Point(243, 0);
     this.TraceListView.Name          = "TraceListView";
     this.TraceListView.Size          = new System.Drawing.Size(293, 308);
     this.TraceListView.TabIndex      = 10;
     this.TraceListView.UseCompatibleStateImageBehavior = false;
     this.TraceListView.View = System.Windows.Forms.View.Details;
     //
     // columnHeader1
     //
     this.columnHeader1.Text = "Source";
     //
     // columnHeader2
     //
     this.columnHeader2.Text = "Message";
     //
     // columnHeader3
     //
     this.columnHeader3.Text = "Time";
     //
     // splitter1
     //
     this.splitter1.Location = new System.Drawing.Point(240, 0);
     this.splitter1.Name     = "splitter1";
     this.splitter1.Size     = new System.Drawing.Size(3, 308);
     this.splitter1.TabIndex = 9;
     this.splitter1.TabStop  = false;
     //
     // SourceTree
     //
     this.SourceTree.CheckBoxes  = true;
     this.SourceTree.Dock        = System.Windows.Forms.DockStyle.Left;
     this.SourceTree.Font        = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.SourceTree.ItemHeight  = 16;
     this.SourceTree.Location    = new System.Drawing.Point(0, 0);
     this.SourceTree.Name        = "SourceTree";
     this.SourceTree.Size        = new System.Drawing.Size(240, 308);
     this.SourceTree.TabIndex    = 8;
     this.SourceTree.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.SourceTree_AfterCheck);
     //
     // openFileDialog
     //
     this.openFileDialog.DefaultExt       = "trace";
     this.openFileDialog.InitialDirectory = "C:\\Seagate";
     //
     // saveFileDialog
     //
     this.saveFileDialog.DefaultExt       = "trace";
     this.saveFileDialog.InitialDirectory = "C:\\Seagate";
     this.saveFileDialog.FileOk          += new System.ComponentModel.CancelEventHandler(this.saveFileDialog_FileOk);
     //
     // PanelTrace
     //
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.toolBar1);
     this.Name            = "PanelTrace";
     this.Size            = new System.Drawing.Size(536, 336);
     this.VisibleChanged += new System.EventHandler(this.PanelTrace_VisibleChanged);
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #59
0
		internal FileDialog ()
		{
			form = new DialogForm (this);
			vfs = new MWFVFS ();
			
			Size formConfigSize = Size.Empty;
			Point formConfigLocation = Point.Empty;
			
			object formWidth = MWFConfig.GetValue (filedialog_string, width_string);
			
			object formHeight = MWFConfig.GetValue (filedialog_string, height_string);
			
			if (formHeight != null && formWidth != null)
				formConfigSize = new Size ((int)formWidth, (int)formHeight);
			
			object formLocationX = MWFConfig.GetValue (filedialog_string, x_string);
			object formLocationY = MWFConfig.GetValue (filedialog_string, y_string);
			
			if (formLocationX != null && formLocationY != null)
				formConfigLocation = new Point ((int)formLocationX, (int)formLocationY);
			
			configFileNames = (string[])MWFConfig.GetValue (filedialog_string, filenames_string);
			
			fileTypeComboBox = new ComboBox ();
			backToolBarButton = new ToolBarButton ();
			newdirToolBarButton = new ToolBarButton ();
			searchSaveLabel = new Label ();
			mwfFileView = new MWFFileView (vfs);
			fileNameLabel = new Label ();
			fileNameComboBox = new ComboBox ();
			dirComboBox = new DirComboBox (vfs);
			smallButtonToolBar = new ToolBar ();
			menueToolBarButton = new ToolBarButton ();
			fileTypeLabel = new Label ();
			openSaveButton = new Button ();
			helpButton = new Button ();
			popupButtonPanel = new PopupButtonPanel ();
			upToolBarButton = new ToolBarButton ();
			cancelButton = new Button ();
			form.CancelButton = cancelButton;
			imageListTopToolbar = new ImageList ();
			menueToolBarButtonContextMenu = new ContextMenu ();
			readonlyCheckBox = new CheckBox ();
			
			form.SuspendLayout ();
			
			//imageListTopToolbar
			imageListTopToolbar.ColorDepth = ColorDepth.Depth32Bit;
			imageListTopToolbar.ImageSize = new Size (16, 16); // 16, 16
			imageListTopToolbar.Images.Add (ResourceImageLoader.Get ("go-previous.png"));
			imageListTopToolbar.Images.Add (ResourceImageLoader.Get ("go-top.png"));
			imageListTopToolbar.Images.Add (ResourceImageLoader.Get ("folder-new.png"));
			imageListTopToolbar.Images.Add (ResourceImageLoader.Get ("preferences-system-windows.png"));
			imageListTopToolbar.TransparentColor = Color.Transparent;
			
			// searchLabel
			searchSaveLabel.FlatStyle = FlatStyle.System;
			searchSaveLabel.Location = new Point (6, 6);
			searchSaveLabel.Size = new Size (86, 22);
			searchSaveLabel.TextAlign = ContentAlignment.MiddleRight;
			
			// dirComboBox
			dirComboBox.Anchor = ((AnchorStyles)(((AnchorStyles.Top | AnchorStyles.Left) | AnchorStyles.Right)));
			dirComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
			dirComboBox.Location = new Point (99, 6);
			dirComboBox.Size = new Size (261, 22);
			dirComboBox.TabIndex = 7;
			
			// smallButtonToolBar
			smallButtonToolBar.Anchor = ((AnchorStyles)((AnchorStyles.Top | AnchorStyles.Right)));
			smallButtonToolBar.Appearance = ToolBarAppearance.Flat;
			smallButtonToolBar.AutoSize = false;
			smallButtonToolBar.Buttons.AddRange (new ToolBarButton [] {
								     backToolBarButton,
								     upToolBarButton,
								     newdirToolBarButton,
								     menueToolBarButton});
			smallButtonToolBar.ButtonSize = new Size (24, 24); // 21, 16
			smallButtonToolBar.Divider = false;
			smallButtonToolBar.Dock = DockStyle.None;
			smallButtonToolBar.DropDownArrows = true;
			smallButtonToolBar.ImageList = imageListTopToolbar;
			smallButtonToolBar.Location = new Point (372, 6);
			smallButtonToolBar.ShowToolTips = true;
			smallButtonToolBar.Size = new Size (140, 28);
			smallButtonToolBar.TabIndex = 8;
			smallButtonToolBar.TextAlign = ToolBarTextAlign.Right;
			
			// buttonPanel
			popupButtonPanel.Dock = DockStyle.None;
			popupButtonPanel.Anchor = ((AnchorStyles)((((AnchorStyles.Top | AnchorStyles.Bottom) | AnchorStyles.Left))));
			popupButtonPanel.Location = new Point (6, 35);
			popupButtonPanel.Size = new Size (87, 338);
			popupButtonPanel.TabIndex = 9;
			
			// mwfFileView
			mwfFileView.Anchor = ((AnchorStyles)((((AnchorStyles.Top | AnchorStyles.Bottom) | AnchorStyles.Left) | AnchorStyles.Right)));
			mwfFileView.Location = new Point (99, 35);
			mwfFileView.Size = new Size (450, 283);
			mwfFileView.MultiSelect = false;
			mwfFileView.TabIndex = 10;
			mwfFileView.RegisterSender (dirComboBox);
			mwfFileView.RegisterSender (popupButtonPanel);
			
			// fileNameLabel
			fileNameLabel.Anchor = ((AnchorStyles)((AnchorStyles.Bottom | AnchorStyles.Left)));
			fileNameLabel.FlatStyle = FlatStyle.System;
			fileNameLabel.Location = new Point (101, 326);
			fileNameLabel.Size = new Size (70, 21);
			fileNameLabel.Text = "File name:";
			fileNameLabel.TextAlign = ContentAlignment.MiddleLeft;
			
			// fileNameComboBox
			fileNameComboBox.Anchor = ((AnchorStyles)(((AnchorStyles.Bottom | AnchorStyles.Left) | AnchorStyles.Right)));
			fileNameComboBox.Location = new Point (195, 326);
			fileNameComboBox.Size = new Size (246, 22);
			fileNameComboBox.TabIndex = 1;
			fileNameComboBox.MaxDropDownItems = MaxFileNameItems;
			fileNameComboBox.RestoreContextMenu ();
			UpdateRecentFiles ();
			
			// fileTypeLabel
			fileTypeLabel.Anchor = ((AnchorStyles)((AnchorStyles.Bottom | AnchorStyles.Left)));
			fileTypeLabel.FlatStyle = FlatStyle.System;
			fileTypeLabel.Location = new Point (101, 355);
			fileTypeLabel.Size = new Size (90, 21);
			fileTypeLabel.Text = "Files of type:";
			fileTypeLabel.TextAlign = ContentAlignment.MiddleLeft;
			
			// fileTypeComboBox
			fileTypeComboBox.Anchor = ((AnchorStyles)(((AnchorStyles.Bottom | AnchorStyles.Left) | AnchorStyles.Right)));
			fileTypeComboBox.DropDownStyle = ComboBoxStyle.DropDownList;
			fileTypeComboBox.Location = new Point (195, 355);
			fileTypeComboBox.Size = new Size (246, 22);
			fileTypeComboBox.TabIndex = 2;
			
			// backToolBarButton
			backToolBarButton.ImageIndex = 0;
			backToolBarButton.Enabled = false;
			backToolBarButton.Style = ToolBarButtonStyle.PushButton;
			mwfFileView.AddControlToEnableDisableByDirStack (backToolBarButton);
			
			// upToolBarButton
			upToolBarButton.ImageIndex = 1;
			upToolBarButton.Style = ToolBarButtonStyle.PushButton;
			mwfFileView.SetFolderUpToolBarButton (upToolBarButton);
			
			// newdirToolBarButton
			newdirToolBarButton.ImageIndex = 2;
			newdirToolBarButton.Style = ToolBarButtonStyle.PushButton;
			
			// menueToolBarButton
			menueToolBarButton.ImageIndex = 3;
			menueToolBarButton.DropDownMenu = menueToolBarButtonContextMenu;
			menueToolBarButton.Style = ToolBarButtonStyle.DropDownButton;
			
			// menueToolBarButtonContextMenu
			menueToolBarButtonContextMenu.MenuItems.AddRange (mwfFileView.ViewMenuItems);
			
			// openSaveButton
			openSaveButton.Anchor = ((AnchorStyles)((AnchorStyles.Bottom | AnchorStyles.Right)));
			openSaveButton.FlatStyle = FlatStyle.System;
			openSaveButton.Location = new Point (474, 326);
			openSaveButton.Size = new Size (75, 23);
			openSaveButton.TabIndex = 4;
			openSaveButton.FlatStyle = FlatStyle.System;
			
			// cancelButton
			cancelButton.Anchor = ((AnchorStyles)((AnchorStyles.Bottom | AnchorStyles.Right)));
			cancelButton.FlatStyle = FlatStyle.System;
			cancelButton.Location = new Point (474, 353);
			cancelButton.Size = new Size (75, 23);
			cancelButton.TabIndex = 5;
			cancelButton.Text = "Cancel";
			cancelButton.FlatStyle = FlatStyle.System;
			
			// helpButton
			helpButton.Anchor = ((AnchorStyles)((AnchorStyles.Bottom | AnchorStyles.Right)));
			helpButton.FlatStyle = FlatStyle.System;
			helpButton.Location = new Point (474, 353);
			helpButton.Size = new Size (75, 23);
			helpButton.TabIndex = 6;
			helpButton.Text = "Help";
			helpButton.FlatStyle = FlatStyle.System;
			helpButton.Visible = false;
			
			// checkBox
			readonlyCheckBox.Anchor = ((AnchorStyles)(((AnchorStyles.Bottom | AnchorStyles.Left) | AnchorStyles.Right)));
			readonlyCheckBox.Text = "Open Readonly";
			readonlyCheckBox.Location = new Point (195, 350);
			readonlyCheckBox.Size = new Size (245, 21);
			readonlyCheckBox.TabIndex = 3;
			readonlyCheckBox.FlatStyle = FlatStyle.System;
			readonlyCheckBox.Visible = false;
			
			form.SizeGripStyle = SizeGripStyle.Show;
			form.AcceptButton = openSaveButton;
			form.MaximizeBox = true;
			form.MinimizeBox = true;
			form.FormBorderStyle = FormBorderStyle.Sizable;
			form.ClientSize =  new Size (555, 385);
			form.MinimumSize = form.Size;

			form.Controls.Add (smallButtonToolBar);
			form.Controls.Add (cancelButton);
			form.Controls.Add (openSaveButton);
			form.Controls.Add (mwfFileView);
			form.Controls.Add (fileTypeLabel);
			form.Controls.Add (fileNameLabel);
			form.Controls.Add (fileTypeComboBox);
			form.Controls.Add (fileNameComboBox);
			form.Controls.Add (dirComboBox);
			form.Controls.Add (searchSaveLabel);
			form.Controls.Add (popupButtonPanel);
			form.Controls.Add (helpButton);
			form.Controls.Add (readonlyCheckBox);
			
			form.ResumeLayout (true);

			if (formConfigSize != Size.Empty) {
				form.ClientSize = formConfigSize;
			}
			
			if (formConfigLocation != Point.Empty) {
				form.Location = formConfigLocation;
			}
			
			openSaveButton.Click += new EventHandler (OnClickOpenSaveButton);
			cancelButton.Click += new EventHandler (OnClickCancelButton);
			helpButton.Click += new EventHandler (OnClickHelpButton);
			
			smallButtonToolBar.ButtonClick += new ToolBarButtonClickEventHandler (OnClickSmallButtonToolBar);
			
			fileTypeComboBox.SelectedIndexChanged += new EventHandler (OnSelectedIndexChangedFileTypeComboBox);
			
			mwfFileView.SelectedFileChanged += new EventHandler (OnSelectedFileChangedFileView);
			mwfFileView.ForceDialogEnd += new EventHandler (OnForceDialogEndFileView);
			mwfFileView.SelectedFilesChanged += new EventHandler (OnSelectedFilesChangedFileView);
			mwfFileView.ColumnClick += new ColumnClickEventHandler(OnColumnClickFileView);
			
			dirComboBox.DirectoryChanged += new EventHandler (OnDirectoryChangedDirComboBox);
			popupButtonPanel.DirectoryChanged += new EventHandler (OnDirectoryChangedPopupButtonPanel);

			readonlyCheckBox.CheckedChanged += new EventHandler (OnCheckCheckChanged);
#if NET_2_0
			form.FormClosed += new FormClosedEventHandler (OnFileDialogFormClosed);
			custom_places = new FileDialogCustomPlacesCollection ();
#else
			form.Closed += new EventHandler (OnFileDialogFormClosed);
#endif
		}
コード例 #60
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.view         = new m.LevelView();
     this.panelToolbar = new System.Windows.Forms.Panel();
     this.label2       = new System.Windows.Forms.Label();
     this.comboZoom    = new System.Windows.Forms.ComboBox();
     this.label1       = new System.Windows.Forms.Label();
     this.toolBar1     = new System.Windows.Forms.ToolBar();
     this.toolBarButtonToggleTemplates = new System.Windows.Forms.ToolBarButton();
     this.toolBarButtonToggleGobs      = new System.Windows.Forms.ToolBarButton();
     this.toolBarButtonToggleAreas     = new System.Windows.Forms.ToolBarButton();
     this.toolBarButtonHideToolbar     = new System.Windows.Forms.ToolBarButton();
     this.imageList1               = new System.Windows.Forms.ImageList(this.components);
     this.comboDocs                = new System.Windows.Forms.ComboBox();
     this.panelShowToolbar         = new System.Windows.Forms.Panel();
     this.toolBarShowToolbar       = new System.Windows.Forms.ToolBar();
     this.toolBarButtonShowToolbar = new System.Windows.Forms.ToolBarButton();
     this.panelToolbar.SuspendLayout();
     this.panelShowToolbar.SuspendLayout();
     this.SuspendLayout();
     //
     // view
     //
     this.view.AllowDrop = true;
     this.view.BackColor = System.Drawing.Color.Black;
     this.view.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.view.Name      = "view";
     this.view.Size      = new System.Drawing.Size(720, 616);
     this.view.TabIndex  = 0;
     //
     // panelToolbar
     //
     this.panelToolbar.BackColor   = System.Drawing.Color.White;
     this.panelToolbar.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panelToolbar.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.label2,
         this.comboZoom,
         this.label1,
         this.toolBar1,
         this.comboDocs
     });
     this.panelToolbar.Location = new System.Drawing.Point(-1, -1);
     this.panelToolbar.Name     = "panelToolbar";
     this.panelToolbar.Size     = new System.Drawing.Size(452, 25);
     this.panelToolbar.TabIndex = 1;
     this.panelToolbar.Visible  = false;
     //
     // label2
     //
     this.label2.Anchor   = System.Windows.Forms.AnchorStyles.Left;
     this.label2.Location = new System.Drawing.Point(200, 4);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(80, 23);
     this.label2.TabIndex = 5;
     this.label2.Text     = "Zoom Percent:";
     //
     // comboZoom
     //
     this.comboZoom.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.comboZoom.Items.AddRange(new object[] {
         "50",
         "75",
         "100",
         "125",
         "150",
         "200",
         "250",
         "300"
     });
     this.comboZoom.Location              = new System.Drawing.Point(280, 1);
     this.comboZoom.Name                  = "comboZoom";
     this.comboZoom.Size                  = new System.Drawing.Size(72, 21);
     this.comboZoom.TabIndex              = 4;
     this.comboZoom.TabStop               = false;
     this.comboZoom.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.comboZoom_KeyDown);
     this.comboZoom.SelectedIndexChanged += new System.EventHandler(this.comboZoom_SelectedIndexChanged);
     //
     // label1
     //
     this.label1.Anchor   = System.Windows.Forms.AnchorStyles.Left;
     this.label1.Location = new System.Drawing.Point(0, 4);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(56, 23);
     this.label1.TabIndex = 3;
     this.label1.Text     = "View with:";
     //
     // toolBar1
     //
     this.toolBar1.Anchor     = System.Windows.Forms.AnchorStyles.Left;
     this.toolBar1.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.toolBar1.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.toolBarButtonToggleTemplates,
         this.toolBarButtonToggleGobs,
         this.toolBarButtonToggleAreas,
         this.toolBarButtonHideToolbar
     });
     this.toolBar1.ButtonSize     = new System.Drawing.Size(16, 15);
     this.toolBar1.Divider        = false;
     this.toolBar1.Dock           = System.Windows.Forms.DockStyle.None;
     this.toolBar1.DropDownArrows = true;
     this.toolBar1.ImageList      = this.imageList1;
     this.toolBar1.Location       = new System.Drawing.Point(357, 1);
     this.toolBar1.Name           = "toolBar1";
     this.toolBar1.ShowToolTips   = true;
     this.toolBar1.Size           = new System.Drawing.Size(99, 22);
     this.toolBar1.TabIndex       = 2;
     this.toolBar1.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar1_ButtonClick);
     //
     // toolBarButtonToggleTemplates
     //
     this.toolBarButtonToggleTemplates.ImageIndex  = 8;
     this.toolBarButtonToggleTemplates.Pushed      = true;
     this.toolBarButtonToggleTemplates.Style       = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
     this.toolBarButtonToggleTemplates.ToolTipText = "Toggle Templates";
     //
     // toolBarButtonToggleGobs
     //
     this.toolBarButtonToggleGobs.ImageIndex  = 9;
     this.toolBarButtonToggleGobs.Pushed      = true;
     this.toolBarButtonToggleGobs.Style       = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
     this.toolBarButtonToggleGobs.ToolTipText = "Toggle Gobs";
     //
     // toolBarButtonToggleAreas
     //
     this.toolBarButtonToggleAreas.ImageIndex  = 10;
     this.toolBarButtonToggleAreas.Pushed      = true;
     this.toolBarButtonToggleAreas.Style       = System.Windows.Forms.ToolBarButtonStyle.ToggleButton;
     this.toolBarButtonToggleAreas.ToolTipText = "Toggle Areas";
     //
     // toolBarButtonHideToolbar
     //
     this.toolBarButtonHideToolbar.ImageIndex  = 6;
     this.toolBarButtonHideToolbar.ToolTipText = "Hide Toolbar";
     //
     // imageList1
     //
     this.imageList1.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.imageList1.ImageSize        = new System.Drawing.Size(16, 15);
     this.imageList1.TransparentColor = System.Drawing.Color.Magenta;
     //
     // comboDocs
     //
     this.comboDocs.Anchor                = System.Windows.Forms.AnchorStyles.Left;
     this.comboDocs.DrawMode              = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.comboDocs.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboDocs.Location              = new System.Drawing.Point(56, 1);
     this.comboDocs.Name                  = "comboDocs";
     this.comboDocs.Size                  = new System.Drawing.Size(136, 21);
     this.comboDocs.TabIndex              = 1;
     this.comboDocs.TabStop               = false;
     this.comboDocs.SelectedIndexChanged += new System.EventHandler(this.comboDocs_SelectedIndexChanged);
     this.comboDocs.DrawItem             += new System.Windows.Forms.DrawItemEventHandler(this.comboDocs_DrawItem);
     //
     // panelShowToolbar
     //
     this.panelShowToolbar.BackColor   = System.Drawing.Color.White;
     this.panelShowToolbar.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panelShowToolbar.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.toolBarShowToolbar
     });
     this.panelShowToolbar.Location = new System.Drawing.Point(-3, -5);
     this.panelShowToolbar.Name     = "panelShowToolbar";
     this.panelShowToolbar.Size     = new System.Drawing.Size(22, 23);
     this.panelShowToolbar.TabIndex = 2;
     //
     // toolBarShowToolbar
     //
     this.toolBarShowToolbar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat;
     this.toolBarShowToolbar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.toolBarButtonShowToolbar
     });
     this.toolBarShowToolbar.ButtonSize     = new System.Drawing.Size(16, 15);
     this.toolBarShowToolbar.Dock           = System.Windows.Forms.DockStyle.None;
     this.toolBarShowToolbar.DropDownArrows = true;
     this.toolBarShowToolbar.ImageList      = this.imageList1;
     this.toolBarShowToolbar.Name           = "toolBarShowToolbar";
     this.toolBarShowToolbar.ShowToolTips   = true;
     this.toolBarShowToolbar.Size           = new System.Drawing.Size(25, 24);
     this.toolBarShowToolbar.TabIndex       = 0;
     this.toolBarShowToolbar.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBarShowToolbar_ButtonClick);
     //
     // toolBarButtonShowToolbar
     //
     this.toolBarButtonShowToolbar.ImageIndex  = 7;
     this.toolBarButtonShowToolbar.ToolTipText = "Show Toolbar";
     //
     // LevelViewParent
     //
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.panelShowToolbar,
         this.panelToolbar,
         this.view
     });
     this.Name = "LevelViewParent";
     this.Size = new System.Drawing.Size(720, 616);
     this.panelToolbar.ResumeLayout(false);
     this.panelShowToolbar.ResumeLayout(false);
     this.ResumeLayout(false);
 }