상속: System.ComponentModel.Component, IExtenderProvider
예제 #1
1
 public IApplicationWindow create_tool_tip_for(string title, string caption, Control control)
 {
     var tip = new ToolTip {IsBalloon = true, ToolTipTitle = title};
     tip.SetToolTip(control, caption);
     control.Controls.Add(new ControlAdapter(tip));
     return this;
 }
예제 #2
0
		private void InitializeComponent()
		{
			this.components = new System.ComponentModel.Container();
			this.TimeLineControl1 = new TimeLineControl();
			this.ControloNivelListToolTip = new System.Windows.Forms.ToolTip(this.components);
			//
			//TimeLineControl1
			//
			this.TimeLineControl1.Anchor = (System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right));
			this.TimeLineControl1.BackColor = System.Drawing.SystemColors.ControlLightLight;
			this.TimeLineControl1.CurrentIntervalColor = System.Drawing.Color.PowderBlue;
			this.TimeLineControl1.CurrentMarker = new System.DateTime(System.Convert.ToInt64(0));
			this.TimeLineControl1.ExtendedIntervalColor = System.Drawing.Color.PaleGreen;
			this.TimeLineControl1.HighExtendedMarker = new System.DateTime(System.Convert.ToInt64(0));
			this.TimeLineControl1.Location = new System.Drawing.Point(8, 208);
			this.TimeLineControl1.LowExtendedMarker = new System.DateTime(System.Convert.ToInt64(0));
			this.TimeLineControl1.MarkerColor = System.Drawing.Color.White;
			this.TimeLineControl1.Markers = new System.DateTime[] {new System.DateTime(System.Convert.ToInt64(0)), new System.DateTime(9999, 12, 31, 23, 59, 59, 999)};
			this.TimeLineControl1.Name = "TimeLineControl1";
			this.TimeLineControl1.Size = new System.Drawing.Size(684, 20);
			this.TimeLineControl1.TabIndex = 2;
			this.TimeLineControl1.Visible = false;
			//
			//ControloNivelList
			//
			this.Name = "ControloNivelList";
			this.Size = new System.Drawing.Size(712, 248);

			//INSTANT C# NOTE: Converted event handlers:
			

		}
예제 #3
0
        public void Initialize()
        {
            Text = _language.Title;
            if (IntPtr.Size == 8 && _language.Title == "About Subtitle Edit")
                Text = Text + " - 64-bit";
            else if (IntPtr.Size == 4 && _language.Title == "About Subtitle Edit")
                Text = Text + " - 32-bit";
            okButton.Text = _languageGeneral.OK;
            string[] versionInfo = Utilities.AssemblyVersion.Split('.');
            string minorMinorVersion = string.Empty;
            if (versionInfo.Length >= 3 && versionInfo[2] != "0")
                minorMinorVersion = "." + versionInfo[2];
            labelProduct.Text = String.Format("{0} {1}.{2}{3}, build", _languageGeneral.Title, versionInfo[0], versionInfo[1], minorMinorVersion);
            linkLabelGitBuildHash.Left = labelProduct.Left + labelProduct.Width - 5;
            linkLabelGitBuildHash.LinkColor = Color.FromArgb(0, 102, 204);
            linkLabelGitBuildHash.VisitedLinkColor = Color.FromArgb(0, 102, 204);

            string revisionNumber = "0";
            if (versionInfo.Length >= 4)
                revisionNumber = versionInfo[3];
            linkLabelGitBuildHash.Text = revisionNumber;
            var toolTip1 = new ToolTip();
            toolTip1.SetToolTip(linkLabelGitBuildHash, GetGitHubHashLink());

            richTextBoxAbout1.Text = _language.AboutText1.TrimEnd() + Environment.NewLine +
                                     Environment.NewLine +
                                     _languageGeneral.TranslatedBy.Trim();
            double height = TextDraw.MeasureTextHeight(richTextBoxAbout1.Font, richTextBoxAbout1.Text, false)*1.4 + 80;
            richTextBoxAbout1.Height = (int) height;
            Height = richTextBoxAbout1.Top + richTextBoxAbout1.Height + 90;
        }
예제 #4
0
		/// <summary>
		/// Initializes a new instance of <see cref="UndoPopup"/>.
		/// </summary>
		/// <param name="undoManager">The undo manager used to populate the action list.</param>
		/// <param name="mode">The mode the popup shows actions for.</param>
		public UndoPopup(UndoManager undoManager, UndoPopupMode mode)
			: base(new Control())
		{
			// Set some defaults on the host control.
			Control.Margin = Padding.Empty;
			Control.Size = new Size(400, 300);
			Control.TabStop = false;

			// Add the listbox.
			_listBox = new ListBox
			{
				Dock = DockStyle.Fill,
				BorderStyle = BorderStyle.None,
				IntegralHeight = false,
				SelectionMode = SelectionMode.MultiSimple,
				HorizontalScrollbar = true
			};
			_listBox.MouseDown += ListBox_MouseDown;
			_listBox.MouseMove += ListBox_MouseMove;

			Control.Controls.Add(_listBox);

			// Create tooltip.
			_tooltip = new ToolTip();

			_mode = mode;
			UndoManager = undoManager;
		}
예제 #5
0
        public WorkForm()
        {
            dataOpen = new myclass[11];
            int i = 0;
            while (i != 11)
            {
                dataOpen[i] = new myclass();
                i++;
            }

            CallBackMy.callbackEventHandler = new CallBackMy.callbackEvent(this.ReloadWork);

            if (!workTimer.Enabled)
            {

                workTimer.Tick += new EventHandler(timer_work); //подписываемся на события Tick
                workTimer.Interval = 200;
                workTimer.Start();
            }

            InitializeComponent();
            ToolTip help = new ToolTip();
            help.SetToolTip(prevOpenForm, "Переход на начальное окно");
            help.SetToolTip(nextPowerButton, "Переход на построение мощностной характеристики");
            help.SetToolTip(upPozReostatButton, "Понижение ступени реостата");
            help.SetToolTip(downPozReostatButton,"Повышение ступени реостата");
        }
예제 #6
0
        internal ViewByAddressForm()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            toolTip = new ToolTip();
            toolTip.Active = false;
            toolTip.ShowAlways = true;
            toolTip.AutomaticDelay = 70;
            toolTip.ReshowDelay = 1;

            autoUpdate = true;
            baseTitle = "View Objects by Address";

            ReadLogResult logResult = MainForm.instance.lastLogResult;
            if (logResult != null)
            {
                liveObjectTable = logResult.liveObjectTable;
                typeName = liveObjectTable.readNewLog.typeName;
            }

            font = MainForm.instance.font;
        }
예제 #7
0
        public ViewLayoutReplicator()
        {
            InitializeComponent();

            var tt = new ToolTip();
            tt.SetToolTip(lvSourceViews, "Double click on a selected row to display its layout XML");
        }
예제 #8
0
        private void Form1_Load(object sender, EventArgs e)
        {
            System.Windows.Forms.ToolTip ToolTip1 = new System.Windows.Forms.ToolTip();
            ToolTip1.SetToolTip(this.textBox1, "Hello");

            delta = this.Width - textBox1.Width;
        }
예제 #9
0
파일: Form2.cs 프로젝트: Jacketbg/firemon
        private void button1_Click(object sender, EventArgs e)
        {
            if (textBox1.Text.Length == 0)
            {
                ToolTip tip = new ToolTip();
                tip.IsBalloon = true;
                tip.ToolTipIcon = ToolTipIcon.Error;
                tip.ToolTipTitle = "Грешка!";
                tip.Show("Моля въведете IP адрес или Hostname!", textBox1, 0, -65, 1000);
                textBox1.Focus();
                return;
            }

            if (firstrun)
            {
                dataSet1.Tables["settings"].Rows[0]["first_run"] = false;
            }
            //dataSet1.Tables["settings"].Rows[0]["hist"] = numericUpDown2.Value;
            //dataSet1.Tables["settings"].Rows[0]["upper_limit"] = numericUpDown4.Value;
            //dataSet1.Tables["settings"].Rows[0]["lower_limit"] = numericUpDown3.Value;

            dataSet1.AcceptChanges();
            string xmlfile = Application.StartupPath + "\\db.xml";
            dataSet1.WriteXml(xmlfile);
            //Form1 f1 = new Form1();
            //f1.reload_db();
            //f1.Show();
            //Application.Restart();
            f1.dataSet1 = (DataSet1)dataSet1.Copy();
            f1.reload_db();
            this.Close();
        }
예제 #10
0
        public AboutForm()
        {
            InitializeComponent();

            purchaseButton.Hide();

            dataGrid.Rows.Clear();
            dataGrid.Rows.Add("Alloclave");
            dataGrid.Rows.Add("Version " + Common.Version);
            dataGrid.Rows.Add("© Copyright 2013");
            dataGrid.Rows.Add("Circular Shift");
            dataGrid.Rows.Add("www.circularshift.com");
            dataGrid.Rows.Add("For support, email [email protected]");
            dataGrid.Rows.Add("");
            dataGrid.Rows.Add(Licensing.LicenseName);

            if (Licensing.IsLicensed)
            {
                dataGrid.Rows.Add(Licensing.LicenseEmail);
                dataGrid.Rows.Add("Support Ends " + Licensing.LicenseDate.ToShortDateString());
            }
            else
            {
                dataGrid.Rows.Add("");
                dataGrid.Rows.Add("");
            }

            ToolTip tt1 = new ToolTip();
            tt1.SetToolTip(companyLogoPictureBox, "Open " + Common.CompanyWebsiteUrl);

            ToolTip tt2 = new ToolTip();
            tt2.SetToolTip(logoPictureBox, "Open " + Common.ProductWebsiteUrl);
        }
        public AjouterCommandeAchat(string cma_code, CommandesAchat ca,Accueil ac)
        {
            InitializeComponent();
            this.ca = ca;
            this.ac = ac;
            tbCodeCommA.Text = cma_code;

            ToolTip t = new ToolTip();

            t.ShowAlways = true;
            t.SetToolTip(tbCP, "Insertion des numéros uniquement.");

            t.ShowAlways = true;
            t.SetToolTip(tbFixe, "Insertion des numéros uniquement.");

            t.ShowAlways = true;
            t.SetToolTip(tbMobile, "Insertion des numéros uniquement.");

            t.ShowAlways = true;
            t.SetToolTip(tbFax, "Insertion des numéros uniquement.");

            t.ShowAlways = true;
            t.SetToolTip(textBox7, "Insertion des numéros uniquement.");

            t.ShowAlways = true;
            t.SetToolTip(pictureBox3, "Ajouter");

            t.ShowAlways = true;
            t.SetToolTip(pictureBox4, "Modifier");

            t.ShowAlways = true;
            t.SetToolTip(pictureBox5, "Supprimer");
        }
예제 #12
0
        public void Initialize()
        {
            Text = _language.Title + " - " + (IntPtr.Size * 8) + "-bit";
            okButton.Text = _languageGeneral.OK;
            string[] versionInfo = Utilities.AssemblyVersion.Split('.');
            labelProduct.Text = String.Format("{0} {1}.{2}.{3}, build", _languageGeneral.Title, versionInfo[0], versionInfo[1], versionInfo[2]);
            linkLabelGitBuildHash.Left = labelProduct.Left + labelProduct.Width - 5;
            linkLabelGitBuildHash.LinkColor = Color.FromArgb(0, 102, 204);
            linkLabelGitBuildHash.VisitedLinkColor = Color.FromArgb(0, 102, 204);

            string revisionNumber = "0";
            if (versionInfo.Length >= 4)
                revisionNumber = versionInfo[3];
            linkLabelGitBuildHash.Text = revisionNumber;
            var toolTip1 = new ToolTip();
            toolTip1.SetToolTip(linkLabelGitBuildHash, GetGitHubHashLink());

            string aboutText = _language.AboutText1.TrimEnd() + Environment.NewLine +
                               Environment.NewLine +
                               _languageGeneral.TranslatedBy.Trim();
            while (aboutText.Contains("\n ") || aboutText.Contains("\n\t"))
            {
                aboutText = aboutText.Replace("\n ", "\n");
                aboutText = aboutText.Replace("\n\t", "\n");
            }
            richTextBoxAbout1.Text = aboutText;

            double height = TextDraw.MeasureTextHeight(richTextBoxAbout1.Font, richTextBoxAbout1.Text, false)*1.4 + 80;
            richTextBoxAbout1.Height = (int) height;
            Height = richTextBoxAbout1.Top + richTextBoxAbout1.Height + 90;
        }
예제 #13
0
		/// <summary>
		/// Grid constructor
		/// </summary>
		public GridVirtual()
		{
			SetStyle(ControlStyles.Selectable, true);
			SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
			SetStyle(ControlStyles.DoubleBuffer, true);
			SetStyle(ControlStyles.SupportsTransparentBackColor, true);
			SetStyle(ControlStyles.ContainerControl, true);

			TabStop = true;
			EnableSort = true;

			m_Rows = CreateRowsObject();
			m_Columns = CreateColumnsObject();

			SelectionMode = GridSelectionMode.Cell;

			//Create the Controller list for the Cells (the order is important because is the same order that the events will be dispatched)
			Controller.AddController(Cells.Controllers.StandardBehavior.Default);
			Controller.AddController(Cells.Controllers.MouseSelection.Default);
			Controller.AddController(Cells.Controllers.CellEventDispatcher.Default);

			m_LinkedControls = new LinkedControlsList(this);

			//ToolTip
			toolTip = new System.Windows.Forms.ToolTip();
			ToolTipText = "";
		}
예제 #14
0
 public Form2()
 {
     InitializeComponent();
     textBox1.Text = "1";
     textBox2.Text = "5";
     textBox3.Text = "5";
     textBox4.Text = "25";
     textBox5.Text = "5";
     textBox6.Text = "0.1";
     textBox7.Text = "100";
     label10.Text = " ";
     label9.Text = " ";
     label11.Text = " ";
     label12.Text = " ";
     ToolTip toolTip1 = new ToolTip();
     toolTip1.ShowAlways = true;
     toolTip1.SetToolTip(label1, "Manji α znači veću važnost udaljenosti gradova.");
     toolTip1.SetToolTip(label2, "Manji β znači veću važnost feromonskih tragova.");
     toolTip1.SetToolTip(label3, "Manji γ znači veću važnost heuristike d(i,0) + d(0,j) - d(i,j)");
     toolTip1.SetToolTip(label4, "Manji λ znači veću važnost iskoristivnosti kapaciteta.");
     toolTip1.SetToolTip(label5, "Veći parametar evaporacije znači veću sklonost istraživanju novih rješenja.");
     toolTip1.SetToolTip(label6, "Broj mrava koji u svakoj iteraciji traže rješenja.");
     toolTip1.SetToolTip(label4, "Manji λ znači veću važnost iskoristivnosti kapaciteta.");
     toolTip1.SetToolTip(label7, "Ukupni broj iteracija.");
 }
예제 #15
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(DoubleBox));
            this.lblCaption = new System.Windows.Forms.Label();
            this.txtValue = new System.Windows.Forms.TextBox();
            this.ttHelp = new System.Windows.Forms.ToolTip(this.components);
            this.SuspendLayout();
            // 
            // lblCaption
            // 
            resources.ApplyResources(this.lblCaption, "lblCaption");
            this.lblCaption.Name = "lblCaption";
            // 
            // txtValue
            // 
            resources.ApplyResources(this.txtValue, "txtValue");
            this.txtValue.Name = "txtValue";
            this.txtValue.TextChanged += new System.EventHandler(this.txtValue_TextChanged);
            // 
            // DoubleBox
            // 
            resources.ApplyResources(this, "$this");
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.txtValue);
            this.Controls.Add(this.lblCaption);
            this.Name = "DoubleBox";
            this.ResumeLayout(false);
            this.PerformLayout();

        }
예제 #16
0
			public TableEnemyMemberControl( FormCompass parent ) {

				#region Initialize

				Parent = parent;
				ToolTipInfo = parent.ToolTipInfo;


				ShipName = new ImageLabel();
				ShipName.Anchor = AnchorStyles.Left;
				ShipName.ForeColor = parent.MainFontColor;
				ShipName.ImageAlign = ContentAlignment.MiddleCenter;
				ShipName.Padding = new Padding( 0, 1, 0, 1 );
				ShipName.Margin = new Padding( 2, 0, 2, 0 );
				ShipName.MaximumSize = new Size( 120, 20 );
				ShipName.AutoEllipsis = true;
				ShipName.AutoSize = true;
				ShipName.Cursor = Cursors.Help;
				ShipName.MouseClick += ShipName_MouseClick;

				Equipments = new ShipStatusEquipment();
				Equipments.SuspendLayout();
				Equipments.Anchor = AnchorStyles.Left;
				Equipments.Padding = new Padding( 0, 2, 0, 1 );
				Equipments.Margin = new Padding( 2, 0, 2, 0 );
				Equipments.Size = new Size( 40, 20 );	//checkme: 要る?
				Equipments.AutoSize = true;
				Equipments.ResumeLayout();

				ConfigurationChanged();

				#endregion

			}
예제 #17
0
파일: Tips.cs 프로젝트: Tyelpion/IronAHK
        // TODO: organise Tips.cs
        /// <summary>
        /// Creates an always-on-top window anywhere on the screen.
        /// </summary>
        /// <param name="Text">
        /// <para>If blank or omitted, the existing tooltip (if any) will be hidden. Otherwise, this parameter is the text to display in the tooltip. To create a multi-line tooltip, use the linefeed character (`n) in between each line, e.g. Line1`nLine2.</para>
        /// <para>If Text is long, it can be broken up into several shorter lines by means of a continuation section, which might improve readability and maintainability.</para>
        /// </param>
        /// <param name="X">The X position of the tooltip relative to the active window (use "CoordMode, ToolTip" to change to screen coordinates). If the coordinates are omitted, the tooltip will be shown near the mouse cursor. X and Y can be expressions.</param>
        /// <param name="Y">The Y position (see <paramref name="X"/>).</param>
        /// <param name="ID">Omit this parameter if you don't need multiple tooltips to appear simultaneously. Otherwise, this is a number between 1 and 20 to indicate which tooltip window to operate upon. If unspecified, that number is 1 (the first).</param>
        public static void ToolTip(string Text, int X, int Y, int ID)
        {
            if (tooltip == null)
            {
                tooltip = new Form
                {
                    Width = 0,
                    Height = 0,
                    Visible = false
                };
                tooltip.Show();
            }

            if (persistentTooltip == null)
                persistentTooltip = new ToolTip
                {
                    AutomaticDelay = 0,
                    InitialDelay = 0,
                    ReshowDelay = 0,
                    ShowAlways = true
                };

            var bounds = Screen.PrimaryScreen.WorkingArea;
            persistentTooltip.Show(Text, tooltip, new Point((bounds.Left - bounds.Right) / 2, (bounds.Bottom - bounds.Top) / 2));
        }
예제 #18
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ButtonBar"/> class. 
 /// </summary>
 public ButtonBar()
 {
     TabStop = true;
     Padding = new Padding(3, 3, 3, 3);
     SetStyle(ControlStyles.AllPaintingInWmPaint, true);
     SetStyle(ControlStyles.UserPaint, true);
     SetStyle(ControlStyles.DoubleBuffer, true);
     SetStyle(ControlStyles.ResizeRedraw, true);
     SetStyle(ControlStyles.Selectable, true);
     SetStyle(ControlStyles.SupportsTransparentBackColor, true);
     BackColor = Color.Transparent;
     items = new GenericCollection<BarItem>();
     items.Inserted += OnItemsInserted;
     items.Removed += OnItemsRemoved;
     items.Changed += OnItemsChanged;
     items.Inserting += OnItemsInserting;
     items.Changing += OnItemsChanging;
     items.Removing += OnItemsRemoving;
     items.Clearing += OnItemsClearing;
     toolTip = new ToolTip();
     appearance = new Appearance();
     appearance.AppearanceChanged += OnAppearanceChanged;
     currentAppearance = new Appearance();
     themeProperty = new ThemeProperty();
     themeProperty.ThemeChanged += OnAppearanceChanged;
     showScroll = false;
     useMnemonic = true;
     showBorders = true;
     Height = 200;
     InitializeDefaultScheme();
     SetThemeDefaults();
 }
예제 #19
0
 private void AutoAnimateDialogBox_Load(object sender, EventArgs e)
 {
     ToolTip ttCheckBox = new ToolTip();
     ttCheckBox.SetToolTip(checkBox1, "Use a frame-based approach for smoother resize animations.\nThis may result in larger file sizes and slower loading times for animated slides.");
     ToolTip ttTextField = new ToolTip();
     ttTextField.SetToolTip(textBox1, "The duration (in seconds) for the animations in the animation slides to be created.");
 }
예제 #20
0
		/// <summary> Initializes common controls and setups all needed properties. </summary>
		private void CommonInit()
		{
			Options = UnrealControls.XmlHandler.ReadXml<SettableOptions>( Path.Combine( Application.StartupPath, "MemoryProfiler2.ClassGroups.xml" ) );

			AppDomain.CurrentDomain.AssemblyResolve += new ResolveEventHandler( CurrentDomain_AssemblyResolve );

			ExclusiveListView.ListViewItemSorter = new FColumnSorter();

			PopulateClassGroups();

			InvertCallgraphViewMenuItem.Checked = Options.InvertCallStacksInCallGraphView;
			FilterObjectVMFunctionsMenuItem.Checked = Options.FilterOutObjectVMFunctions;

			SelectedMemoryPool = ( EMemoryPool )Options.MemoryPoolFilterState;
			UpdatePoolFilterFromSelectedPool();

			FCallGraphTreeViewParser.SetProfilerWindow( this );
			FCallStackHistoryView.SetProfilerWindow( this );
			FExclusiveListViewParser.SetProfilerWindow( this );
			FTimeLineChartView.SetProfilerWindow( this );
			FHistogramParser.SetProfilerWindow( this );
			FMemoryBitmapParser.SetProfilerWindow( this );
			FShortLivedAllocationView.SetProfilerWindow( this );

			SetupFilteringControls();
			ResetFilteringState();
			LastResizedSize = Size;

			ToolTip DetailsViewTips = new ToolTip();
			DetailsViewTips.SetToolTip( DetailsViewStartLabel, "Shows start snapshot detailed information" );
			DetailsViewTips.SetToolTip( DetailsViewDiffLabel, "Shows detailed information as a difference between end and start snapshot" );
			DetailsViewTips.SetToolTip( DetailsViewEndLabel, "Shows end snapshot detailed information" );
		}
예제 #21
0
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
            uniqueInstanceName = $"{Environment.MachineName}-{Handle}";
            client = new XDMessagingClient().WithAmazonSettings(RegionEndPoint.EUWest1);
            if (!client.HasValidAmazonSettings())
            {
                MessageBox.Show("Azazon AWS crendentials not set. Enter your credentials in the app.config.",
                    "Missing AWS Crendentials",
                    MessageBoxButtons.OK,
                    MessageBoxIcon.Warning);

                propagateCheck.CheckState = CheckState.Unchecked;
                propagateCheck.Enabled = false;
                mailRadio.Enabled = false;
            }

            var tooltips = new ToolTip();
            tooltips.SetToolTip(sendBtn, "Broadcast message on Channel 1\r\nand Channel2");
            tooltips.SetToolTip(groupBox1, "Choose which channels\r\nthis instance will\r\nlisten on");
            tooltips.SetToolTip(Mode, "Choose which mode\r\nto use for sending\r\nand receiving");

            UpdateDisplayText(
                "Launch multiple instances of this application to demo interprocess communication. Run multiple instances on different machines to demo network propogation.\r\n",
                Color.Gray);

            Text += $" - {uniqueInstanceName}";

            InitializeMode(XDTransportMode.HighPerformanceUI);

            var message = $"{uniqueInstanceName} has joined";
            broadcast.SendToChannel("Status", message);
        }
예제 #22
0
 private void agregarDeudaToolStripMenuItem_Click(object sender, EventArgs e)
 {
     string id = "";
     foreach (grilla aux in laux)
     {
         if (aux.Columna == col && aux.Fila == ro)
         {
             id = aux.Id;
         }
     }
     Deuda frm = new Deuda(id);
     frm.ShowDialog();
     pnlContainer.Controls.Clear();
     string cmdtest = "select deuda, descripcion, idturnos from turnos t inner join clientes c on t.idcliente = c.idclientes where deuda > 0";
     DataTable dt = new DataTable();
     dt = oacceso.leerDatos(cmdtest);
     foreach (DataRow dr in dt.Rows)
     {
         Button tmpButton = new Button();
         string nombre = Convert.ToString(dr["descripcion"]) + " " + Convert.ToString(dr["deuda"]);
         string name = Convert.ToString(dr["idturnos"]);
         System.Windows.Forms.ToolTip ToolTip1 = new System.Windows.Forms.ToolTip();
         ToolTip1.SetToolTip(tmpButton, nombre);
         tmpButton.Name = name;
         tmpButton.Text = nombre;
         tmpButton.Font = new Font("Verdana", 6, FontStyle.Bold);
         tmpButton.Size = new Size(132, 23);
         tmpButton.BackColor = Color.GreenYellow;
         tmpButton.Click += new System.EventHandler(this.manejador_de_evento_botones_generados);
         pnlContainer.Controls.Add(tmpButton);
     }
 }
        public CriteriaControls()
        {
            toolTip = new ToolTip();

            Height = 400;
            Margin = new Padding(0);
        }
 private void AdminForm_Load(object sender, EventArgs e)
 {
     Utilities.SetWindowTheme(userListView.Handle, "Explorer", null);
     PopulateListView();
      var tt = new ToolTip();
      tt.SetToolTip(userListView, "Double click to toggle admin");
 }
예제 #25
0
        public AjouterDevis(string dv_code, Devis1 d,Accueil ac)
        {
            InitializeComponent();
            tbCodeDevis.Text = dv_code;
            this.d = d;
            this.ac = ac;

            ToolTip t = new ToolTip();

            t.ShowAlways = true;
            t.SetToolTip(tbCP, "Insertion des numéros uniquement.");

            t.ShowAlways = true;
            t.SetToolTip(tbFixe, "Insertion des numéros uniquement.");

            t.ShowAlways = true;
            t.SetToolTip(tbMobile, "Insertion des numéros uniquement.");

            t.ShowAlways = true;
            t.SetToolTip(tbFax, "Insertion des numéros uniquement.");

            t.ShowAlways = true;
            t.SetToolTip(textBox7, "Insertion des numéros uniquement.");

            t.ShowAlways = true;
            t.SetToolTip(pictureBox3, "Ajouter");

            t.ShowAlways = true;
            t.SetToolTip(pictureBox4, "Modifier");

            t.ShowAlways = true;
            t.SetToolTip(pictureBox5, "Supprimer");
        }
		private void InitializeComponent()
		{
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmBackupDatabase));
			this.components = new System.ComponentModel.Container();
			this.ToolTip1 = new System.Windows.Forms.ToolTip(components);
			this.tmrBackup = new System.Windows.Forms.Timer(components);
			this.SuspendLayout();
			this.ToolTip1.Active = true;
			this.ControlBox = false;
			this.BackColor = System.Drawing.Color.FromArgb(255, 192, 192);
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
			this.ClientSize = new System.Drawing.Size(463, 95);
			this.Location = new System.Drawing.Point(3, 3);
			this.MaximizeBox = false;
			this.MinimizeBox = false;
			this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
			this.BackgroundImage = (System.Drawing.Image)resources.GetObject("frmBackupDatabase.BackgroundImage");
			this.ShowInTaskbar = false;
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.Enabled = true;
			this.KeyPreview = false;
			this.Cursor = System.Windows.Forms.Cursors.Default;
			this.RightToLeft = System.Windows.Forms.RightToLeft.No;
			this.HelpButton = false;
			this.WindowState = System.Windows.Forms.FormWindowState.Normal;
			this.Name = "frmBackupDatabase";
			this.tmrBackup.Enabled = false;
			this.tmrBackup.Interval = 100;
			this.ResumeLayout(false);
			this.PerformLayout();
		}
예제 #27
0
        /// <summary>Initializes a new instance of the <see cref="SplitContainerTools"/> class.</summary>
        /// <param name="container">
        /// The <see cref="System.Windows.Forms.SplitContainer"/> to which this instance will be bound.
        /// </param>
        public SplitContainerTools(SplitContainer container)
        {
            split = container;
            _keepFocus = false;
            _showGripper = true;
            _showButtons = SplitContainerButtons.None;
            _panel1Border = false;
            _panel2Border = false;
            _buttons = new SplitContainerButton[] { };
            _tooltip = new ToolTip();

            _splitRectInternal = typeof(SplitContainer).GetField("splitterRect", Reflection.BindingFlags.NonPublic |
                                                                                 Reflection.BindingFlags.GetField |
                                                                                 Reflection.BindingFlags.Instance);

            split.Paint += split_Paint;
            split.MouseDown += split_MouseDown;
            split.MouseUp += split_MouseUp;
            split.MouseClick += split_MouseClick;
            split.MouseMove += split_MouseMove;
            split.MouseLeave += (o, e) => split.Cursor = Cursors.Default;
            split.SplitterMoved += split_SplitterMoved;
            split.SizeChanged += split_Resize;
            split.Disposed += (o, e) => _tooltip.Dispose();

            ((Panel)split.Panel1).ClientSizeChanged += Split_Panel_CollapsedChanged;
            ((Panel)split.Panel2).LocationChanged += Split_Panel_CollapsedChanged;
        }
예제 #28
0
        public void populate(List<CaseImage> caseImages)
        {
            this.caseImages = caseImages;
            int squareSize=maxSquareSize(caseImages.Count,minSquareSize,flp.Width-scrollBarWidth,flp.Height-scrollBarHeight);

            foreach (CaseImage caseImage in caseImages)
            {
                PictureBox pb = new PictureBox();
                pbList.Add(pb);

                ToolTip tt = new ToolTip();
                tt.SetToolTip(pb, caseImage.caption);

                pb.SizeMode = PictureBoxSizeMode.Zoom;

                pb.Size = new Size(squareSize, squareSize);
                pb.Image = caseImage.image;

                pb.MouseDown += new MouseEventHandler(pb_MouseDown);
                pb.DragEnter += new DragEventHandler(pb_DragEnter);
                pb.DragDrop += new DragEventHandler(pb_DragDrop);
                pb.AllowDrop = true;
                flp.Controls.Add(pb);

            }
        }
 private void HideTooltip()
 {
     if (chartIconToolTip == null) return;
     if (chartIconToolTip.Active)
         chartIconToolTip.Active = false;
     chartIconToolTip = null;
 }
 public ExtendedToolTipCheckBox()
 {
     InitializeComponent();
     _ToolTip = new ToolTip();
     this.MouseLeave += new EventHandler(ExtendedToolTipCheckBox_MouseLeave);
     this.MouseHover += new EventHandler(ExtendedToolTipCheckBox_MouseHover);
 }
예제 #31
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(FormDiseaseDefs));
     this.listMain = new System.Windows.Forms.ListBox();
     this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
     this.label1   = new System.Windows.Forms.Label();
     this.butClose = new OpenDental.UI.Button();
     this.butAdd   = new OpenDental.UI.Button();
     this.butDown  = new OpenDental.UI.Button();
     this.butUp    = new OpenDental.UI.Button();
     this.butOK    = new OpenDental.UI.Button();
     this.SuspendLayout();
     //
     // listMain
     //
     this.listMain.Location     = new System.Drawing.Point(18, 34);
     this.listMain.Name         = "listMain";
     this.listMain.Size         = new System.Drawing.Size(265, 628);
     this.listMain.TabIndex     = 2;
     this.listMain.DoubleClick += new System.EventHandler(this.listMain_DoubleClick);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(15, 9);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(413, 24);
     this.label1.TabIndex = 8;
     this.label1.Text     = "This is a list of medical conditions and allergies that patients might have. ";
     //
     // butClose
     //
     this.butClose.AdjustImageLocation = new System.Drawing.Point(0, 0);
     this.butClose.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butClose.Autosize     = true;
     this.butClose.BtnShape     = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butClose.BtnStyle     = OpenDental.UI.enumType.XPStyle.Silver;
     this.butClose.CornerRadius = 4F;
     this.butClose.Location     = new System.Drawing.Point(349, 637);
     this.butClose.Name         = "butClose";
     this.butClose.Size         = new System.Drawing.Size(79, 26);
     this.butClose.TabIndex     = 1;
     this.butClose.Text         = "Close";
     this.butClose.Click       += new System.EventHandler(this.butClose_Click);
     //
     // butAdd
     //
     this.butAdd.AdjustImageLocation = new System.Drawing.Point(0, 0);
     this.butAdd.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butAdd.Autosize     = true;
     this.butAdd.BtnShape     = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butAdd.BtnStyle     = OpenDental.UI.enumType.XPStyle.Silver;
     this.butAdd.CornerRadius = 4F;
     this.butAdd.Image        = global::OpenDental.Properties.Resources.Add;
     this.butAdd.ImageAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     this.butAdd.Location     = new System.Drawing.Point(349, 394);
     this.butAdd.Name         = "butAdd";
     this.butAdd.Size         = new System.Drawing.Size(79, 26);
     this.butAdd.TabIndex     = 7;
     this.butAdd.Text         = "&Add";
     this.butAdd.Click       += new System.EventHandler(this.butAdd_Click);
     //
     // butDown
     //
     this.butDown.AdjustImageLocation = new System.Drawing.Point(0, 0);
     this.butDown.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butDown.Autosize     = true;
     this.butDown.BtnShape     = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butDown.BtnStyle     = OpenDental.UI.enumType.XPStyle.Silver;
     this.butDown.CornerRadius = 4F;
     this.butDown.Image        = global::OpenDental.Properties.Resources.down;
     this.butDown.ImageAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     this.butDown.Location     = new System.Drawing.Point(349, 501);
     this.butDown.Name         = "butDown";
     this.butDown.Size         = new System.Drawing.Size(79, 26);
     this.butDown.TabIndex     = 14;
     this.butDown.Text         = "&Down";
     this.butDown.Click       += new System.EventHandler(this.butDown_Click);
     //
     // butUp
     //
     this.butUp.AdjustImageLocation = new System.Drawing.Point(0, 1);
     this.butUp.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butUp.Autosize     = true;
     this.butUp.BtnShape     = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butUp.BtnStyle     = OpenDental.UI.enumType.XPStyle.Silver;
     this.butUp.CornerRadius = 4F;
     this.butUp.Image        = global::OpenDental.Properties.Resources.up;
     this.butUp.ImageAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     this.butUp.Location     = new System.Drawing.Point(349, 469);
     this.butUp.Name         = "butUp";
     this.butUp.Size         = new System.Drawing.Size(79, 26);
     this.butUp.TabIndex     = 13;
     this.butUp.Text         = "&Up";
     this.butUp.Click       += new System.EventHandler(this.butUp_Click);
     //
     // butOK
     //
     this.butOK.AdjustImageLocation = new System.Drawing.Point(0, 0);
     this.butOK.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butOK.Autosize     = true;
     this.butOK.BtnShape     = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butOK.BtnStyle     = OpenDental.UI.enumType.XPStyle.Silver;
     this.butOK.CornerRadius = 4F;
     this.butOK.Location     = new System.Drawing.Point(349, 605);
     this.butOK.Name         = "butOK";
     this.butOK.Size         = new System.Drawing.Size(79, 26);
     this.butOK.TabIndex     = 15;
     this.butOK.Text         = "OK";
     this.butOK.Click       += new System.EventHandler(this.butOK_Click);
     //
     // FormDiseaseDefs
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(447, 675);
     this.Controls.Add(this.butOK);
     this.Controls.Add(this.butDown);
     this.Controls.Add(this.butUp);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.listMain);
     this.Controls.Add(this.butClose);
     this.Controls.Add(this.butAdd);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox   = false;
     this.MinimizeBox   = false;
     this.Name          = "FormDiseaseDefs";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Diseases";
     this.FormClosing  += new System.Windows.Forms.FormClosingEventHandler(this.FormDiseaseDefs_FormClosing);
     this.Load         += new System.EventHandler(this.FormDiseaseDefs_Load);
     this.ResumeLayout(false);
 }
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmGRVPromotionItem));
     this.components   = new System.ComponentModel.Container();
     this.ToolTip1     = new System.Windows.Forms.ToolTip(components);
     this.txtPrice     = new System.Windows.Forms.TextBox();
     this.cmbQuantity  = new System.Windows.Forms.ComboBox();
     this.picButtons   = new System.Windows.Forms.Panel();
     this.cmdClose     = new System.Windows.Forms.Button();
     this._LBL_3       = new System.Windows.Forms.Label();
     this._LBL_2       = new System.Windows.Forms.Label();
     this._LBL_1       = new System.Windows.Forms.Label();
     this._LBL_0       = new System.Windows.Forms.Label();
     this.lblPromotion = new System.Windows.Forms.Label();
     this.lblStockItem = new System.Windows.Forms.Label();
     //Me.LBL = New Microsoft.VisualBasic.Compatibility.VB6.LabelArray(components)
     this.picButtons.SuspendLayout();
     this.SuspendLayout();
     this.ToolTip1.Active = true;
     //CType(Me.LBL, System.ComponentModel.ISupportInitialize).BeginInit()
     this.BackColor                    = System.Drawing.Color.FromArgb(224, 224, 224);
     this.FormBorderStyle              = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Text                         = "Edit GRV Deal Item";
     this.ClientSize                   = new System.Drawing.Size(388, 115);
     this.Location                     = new System.Drawing.Point(3, 22);
     this.ControlBox                   = false;
     this.KeyPreview                   = true;
     this.MaximizeBox                  = false;
     this.MinimizeBox                  = false;
     this.ShowInTaskbar                = false;
     this.StartPosition                = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.AutoScaleMode                = System.Windows.Forms.AutoScaleMode.Font;
     this.Enabled                      = true;
     this.Cursor                       = System.Windows.Forms.Cursors.Default;
     this.RightToLeft                  = System.Windows.Forms.RightToLeft.No;
     this.HelpButton                   = false;
     this.WindowState                  = System.Windows.Forms.FormWindowState.Normal;
     this.Name                         = "frmGRVPromotionItem";
     this.txtPrice.AutoSize            = false;
     this.txtPrice.TextAlign           = System.Windows.Forms.HorizontalAlignment.Right;
     this.txtPrice.Size                = new System.Drawing.Size(91, 19);
     this.txtPrice.Location            = new System.Drawing.Point(285, 81);
     this.txtPrice.TabIndex            = 5;
     this.txtPrice.Text                = "0.00";
     this.txtPrice.AcceptsReturn       = true;
     this.txtPrice.BackColor           = System.Drawing.SystemColors.Window;
     this.txtPrice.CausesValidation    = true;
     this.txtPrice.Enabled             = true;
     this.txtPrice.ForeColor           = System.Drawing.SystemColors.WindowText;
     this.txtPrice.HideSelection       = true;
     this.txtPrice.ReadOnly            = false;
     this.txtPrice.MaxLength           = 0;
     this.txtPrice.Cursor              = System.Windows.Forms.Cursors.IBeam;
     this.txtPrice.Multiline           = false;
     this.txtPrice.RightToLeft         = System.Windows.Forms.RightToLeft.No;
     this.txtPrice.ScrollBars          = System.Windows.Forms.ScrollBars.None;
     this.txtPrice.TabStop             = true;
     this.txtPrice.Visible             = true;
     this.txtPrice.BorderStyle         = System.Windows.Forms.BorderStyle.Fixed3D;
     this.txtPrice.Name                = "txtPrice";
     this.cmbQuantity.Size             = new System.Drawing.Size(79, 21);
     this.cmbQuantity.Location         = new System.Drawing.Point(90, 81);
     this.cmbQuantity.DropDownStyle    = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbQuantity.TabIndex         = 4;
     this.cmbQuantity.Visible          = false;
     this.cmbQuantity.BackColor        = System.Drawing.SystemColors.Window;
     this.cmbQuantity.CausesValidation = true;
     this.cmbQuantity.Enabled          = true;
     this.cmbQuantity.ForeColor        = System.Drawing.SystemColors.WindowText;
     this.cmbQuantity.IntegralHeight   = true;
     this.cmbQuantity.Cursor           = System.Windows.Forms.Cursors.Default;
     this.cmbQuantity.RightToLeft      = System.Windows.Forms.RightToLeft.No;
     this.cmbQuantity.Sorted           = false;
     this.cmbQuantity.TabStop          = true;
     this.cmbQuantity.Name             = "cmbQuantity";
     this.picButtons.Dock              = System.Windows.Forms.DockStyle.Top;
     this.picButtons.BackColor         = System.Drawing.Color.Blue;
     this.picButtons.Size              = new System.Drawing.Size(388, 39);
     this.picButtons.Location          = new System.Drawing.Point(0, 0);
     this.picButtons.TabIndex          = 0;
     this.picButtons.TabStop           = false;
     this.picButtons.CausesValidation  = true;
     this.picButtons.Enabled           = true;
     this.picButtons.ForeColor         = System.Drawing.SystemColors.ControlText;
     this.picButtons.Cursor            = System.Windows.Forms.Cursors.Default;
     this.picButtons.RightToLeft       = System.Windows.Forms.RightToLeft.No;
     this.picButtons.Visible           = true;
     this.picButtons.BorderStyle       = System.Windows.Forms.BorderStyle.Fixed3D;
     this.picButtons.Name              = "picButtons";
     this.cmdClose.TextAlign           = System.Drawing.ContentAlignment.MiddleCenter;
     this.cmdClose.Text                = "E&xit";
     this.cmdClose.Size                = new System.Drawing.Size(73, 29);
     this.cmdClose.Location            = new System.Drawing.Point(303, 3);
     this.cmdClose.TabIndex            = 1;
     this.cmdClose.TabStop             = false;
     this.cmdClose.BackColor           = System.Drawing.SystemColors.Control;
     this.cmdClose.CausesValidation    = true;
     this.cmdClose.Enabled             = true;
     this.cmdClose.ForeColor           = System.Drawing.SystemColors.ControlText;
     this.cmdClose.Cursor              = System.Windows.Forms.Cursors.Default;
     this.cmdClose.RightToLeft         = System.Windows.Forms.RightToLeft.No;
     this.cmdClose.Name                = "cmdClose";
     this._LBL_3.TextAlign             = System.Drawing.ContentAlignment.TopRight;
     this._LBL_3.Text                  = "Price:";
     this._LBL_3.Size                  = new System.Drawing.Size(27, 13);
     this._LBL_3.Location              = new System.Drawing.Point(254, 84);
     this._LBL_3.TabIndex              = 9;
     this._LBL_3.BackColor             = System.Drawing.Color.Transparent;
     this._LBL_3.Enabled               = true;
     this._LBL_3.ForeColor             = System.Drawing.SystemColors.ControlText;
     this._LBL_3.Cursor                = System.Windows.Forms.Cursors.Default;
     this._LBL_3.RightToLeft           = System.Windows.Forms.RightToLeft.No;
     this._LBL_3.UseMnemonic           = true;
     this._LBL_3.Visible               = true;
     this._LBL_3.AutoSize              = true;
     this._LBL_3.BorderStyle           = System.Windows.Forms.BorderStyle.None;
     this._LBL_3.Name                  = "_LBL_3";
     this._LBL_2.TextAlign             = System.Drawing.ContentAlignment.TopRight;
     this._LBL_2.Text                  = "Shrink Size:";
     this._LBL_2.Size                  = new System.Drawing.Size(56, 13);
     this._LBL_2.Location              = new System.Drawing.Point(31, 84);
     this._LBL_2.TabIndex              = 8;
     this._LBL_2.Visible               = false;
     this._LBL_2.BackColor             = System.Drawing.Color.Transparent;
     this._LBL_2.Enabled               = true;
     this._LBL_2.ForeColor             = System.Drawing.SystemColors.ControlText;
     this._LBL_2.Cursor                = System.Windows.Forms.Cursors.Default;
     this._LBL_2.RightToLeft           = System.Windows.Forms.RightToLeft.No;
     this._LBL_2.UseMnemonic           = true;
     this._LBL_2.AutoSize              = true;
     this._LBL_2.BorderStyle           = System.Windows.Forms.BorderStyle.None;
     this._LBL_2.Name                  = "_LBL_2";
     this._LBL_1.TextAlign             = System.Drawing.ContentAlignment.TopRight;
     this._LBL_1.Text                  = "Stock Item Name:";
     this._LBL_1.Size                  = new System.Drawing.Size(85, 13);
     this._LBL_1.Location              = new System.Drawing.Point(2, 63);
     this._LBL_1.TabIndex              = 7;
     this._LBL_1.BackColor             = System.Drawing.Color.Transparent;
     this._LBL_1.Enabled               = true;
     this._LBL_1.ForeColor             = System.Drawing.SystemColors.ControlText;
     this._LBL_1.Cursor                = System.Windows.Forms.Cursors.Default;
     this._LBL_1.RightToLeft           = System.Windows.Forms.RightToLeft.No;
     this._LBL_1.UseMnemonic           = true;
     this._LBL_1.Visible               = true;
     this._LBL_1.AutoSize              = true;
     this._LBL_1.BorderStyle           = System.Windows.Forms.BorderStyle.None;
     this._LBL_1.Name                  = "_LBL_1";
     this._LBL_0.TextAlign             = System.Drawing.ContentAlignment.TopRight;
     this._LBL_0.Text                  = "Deal Name:";
     this._LBL_0.Size                  = new System.Drawing.Size(56, 13);
     this._LBL_0.Location              = new System.Drawing.Point(32, 45);
     this._LBL_0.TabIndex              = 6;
     this._LBL_0.BackColor             = System.Drawing.Color.Transparent;
     this._LBL_0.Enabled               = true;
     this._LBL_0.ForeColor             = System.Drawing.SystemColors.ControlText;
     this._LBL_0.Cursor                = System.Windows.Forms.Cursors.Default;
     this._LBL_0.RightToLeft           = System.Windows.Forms.RightToLeft.No;
     this._LBL_0.UseMnemonic           = true;
     this._LBL_0.Visible               = true;
     this._LBL_0.AutoSize              = true;
     this._LBL_0.BorderStyle           = System.Windows.Forms.BorderStyle.None;
     this._LBL_0.Name                  = "_LBL_0";
     this.lblPromotion.Text            = "lblPromotion";
     this.lblPromotion.Size            = new System.Drawing.Size(286, 17);
     this.lblPromotion.Location        = new System.Drawing.Point(90, 45);
     this.lblPromotion.TabIndex        = 3;
     this.lblPromotion.TextAlign       = System.Drawing.ContentAlignment.TopLeft;
     this.lblPromotion.BackColor       = System.Drawing.SystemColors.Control;
     this.lblPromotion.Enabled         = true;
     this.lblPromotion.ForeColor       = System.Drawing.SystemColors.ControlText;
     this.lblPromotion.Cursor          = System.Windows.Forms.Cursors.Default;
     this.lblPromotion.RightToLeft     = System.Windows.Forms.RightToLeft.No;
     this.lblPromotion.UseMnemonic     = true;
     this.lblPromotion.Visible         = true;
     this.lblPromotion.AutoSize        = false;
     this.lblPromotion.BorderStyle     = System.Windows.Forms.BorderStyle.Fixed3D;
     this.lblPromotion.Name            = "lblPromotion";
     this.lblStockItem.Text            = "Label1";
     this.lblStockItem.Size            = new System.Drawing.Size(286, 17);
     this.lblStockItem.Location        = new System.Drawing.Point(90, 63);
     this.lblStockItem.TabIndex        = 2;
     this.lblStockItem.TextAlign       = System.Drawing.ContentAlignment.TopLeft;
     this.lblStockItem.BackColor       = System.Drawing.SystemColors.Control;
     this.lblStockItem.Enabled         = true;
     this.lblStockItem.ForeColor       = System.Drawing.SystemColors.ControlText;
     this.lblStockItem.Cursor          = System.Windows.Forms.Cursors.Default;
     this.lblStockItem.RightToLeft     = System.Windows.Forms.RightToLeft.No;
     this.lblStockItem.UseMnemonic     = true;
     this.lblStockItem.Visible         = true;
     this.lblStockItem.AutoSize        = false;
     this.lblStockItem.BorderStyle     = System.Windows.Forms.BorderStyle.Fixed3D;
     this.lblStockItem.Name            = "lblStockItem";
     this.Controls.Add(txtPrice);
     this.Controls.Add(cmbQuantity);
     this.Controls.Add(picButtons);
     this.Controls.Add(_LBL_3);
     this.Controls.Add(_LBL_2);
     this.Controls.Add(_LBL_1);
     this.Controls.Add(_LBL_0);
     this.Controls.Add(lblPromotion);
     this.Controls.Add(lblStockItem);
     this.picButtons.Controls.Add(cmdClose);
     //Me.LBL.SetIndex(_LBL_3, CType(3, Short))
     //Me.LBL.SetIndex(_LBL_2, CType(2, Short))
     //Me.LBL.SetIndex(_LBL_1, CType(1, Short))
     //Me.LBL.SetIndex(_LBL_0, CType(0, Short))
     //CType(Me.LBL, System.ComponentModel.ISupportInitialize).EndInit()
     this.picButtons.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// Returns an observable sequence wrapping the Draw event on the ToolTip instance.
 /// </summary>
 /// <param name="instance">The ToolTip instance to observe.</param>
 /// <returns>An observable sequence wrapping the Draw event on the ToolTip instance.</returns>
 public static IObservable <EventPattern <DrawToolTipEventArgs> > DrawObservable(this ToolTip instance)
 {
     return(Observable.FromEventPattern <DrawToolTipEventHandler, DrawToolTipEventArgs>(
                handler => instance.Draw += handler,
                handler => instance.Draw -= handler));
 }
예제 #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(FormPatFieldDefs));
     this.listMain = new System.Windows.Forms.ListBox();
     this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
     this.label1   = new System.Windows.Forms.Label();
     this.butClose = new OpenDental.UI.Button();
     this.butAdd   = new OpenDental.UI.Button();
     this.SuspendLayout();
     //
     // listMain
     //
     this.listMain.Location     = new System.Drawing.Point(18, 77);
     this.listMain.Name         = "listMain";
     this.listMain.Size         = new System.Drawing.Size(265, 173);
     this.listMain.TabIndex     = 2;
     this.listMain.DoubleClick += new System.EventHandler(this.listMain_DoubleClick);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(15, 9);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(373, 51);
     this.label1.TabIndex = 8;
     this.label1.Text     = "This is only for advanced users.  This is a list of extra fields that you can set" +
                            "up for patients.  After adding fields to this list, you can set the value in the" +
                            " Family module.";
     //
     // butClose
     //
     this.butClose.AdjustImageLocation = new System.Drawing.Point(0, 0);
     this.butClose.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butClose.Autosize = true;
     this.butClose.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butClose.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butClose.Location = new System.Drawing.Point(349, 271);
     this.butClose.Name     = "butClose";
     this.butClose.Size     = new System.Drawing.Size(79, 26);
     this.butClose.TabIndex = 1;
     this.butClose.Text     = "Close";
     this.butClose.Click   += new System.EventHandler(this.butClose_Click);
     //
     // butAdd
     //
     this.butAdd.AdjustImageLocation = new System.Drawing.Point(0, 0);
     this.butAdd.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butAdd.Autosize   = true;
     this.butAdd.BtnShape   = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butAdd.BtnStyle   = OpenDental.UI.enumType.XPStyle.Silver;
     this.butAdd.Image      = ((System.Drawing.Image)(resources.GetObject("butAdd.Image")));
     this.butAdd.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butAdd.Location   = new System.Drawing.Point(18, 271);
     this.butAdd.Name       = "butAdd";
     this.butAdd.Size       = new System.Drawing.Size(79, 26);
     this.butAdd.TabIndex   = 7;
     this.butAdd.Text       = "&Add";
     this.butAdd.Click     += new System.EventHandler(this.butAdd_Click);
     //
     // FormPatFieldDefs
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(447, 309);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.listMain);
     this.Controls.Add(this.butClose);
     this.Controls.Add(this.butAdd);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox   = false;
     this.MinimizeBox   = false;
     this.Name          = "FormPatFieldDefs";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Patient Field Defs";
     this.FormClosing  += new System.Windows.Forms.FormClosingEventHandler(this.FormPatFieldDefs_FormClosing);
     this.Load         += new System.EventHandler(this.FormPatFieldDefs_Load);
     this.ResumeLayout(false);
 }
예제 #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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmFSDVincular));
     this.m_gbMain          = new System.Windows.Forms.GroupBox();
     this.m_btCancelar      = new System.Windows.Forms.Button();
     this.m_btOk            = new System.Windows.Forms.Button();
     this.m_btRERemove      = new System.Windows.Forms.Button();
     this.m_btREInsere      = new System.Windows.Forms.Button();
     this.m_gbREsVinculados = new System.Windows.Forms.GroupBox();
     this.m_lvREsVinculados = new mdlComponentesGraficos.ListView();
     this.m_chREPE          = new System.Windows.Forms.ColumnHeader();
     this.m_gbREs           = new System.Windows.Forms.GroupBox();
     this.m_lvREs           = new mdlComponentesGraficos.ListView();
     this.m_chRENumero      = new System.Windows.Forms.ColumnHeader();
     this.m_ttDicas         = new System.Windows.Forms.ToolTip(this.components);
     this.m_gbMain.SuspendLayout();
     this.m_gbREsVinculados.SuspendLayout();
     this.m_gbREs.SuspendLayout();
     this.SuspendLayout();
     //
     // m_gbMain
     //
     this.m_gbMain.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.m_gbMain.Controls.Add(this.m_btCancelar);
     this.m_gbMain.Controls.Add(this.m_btOk);
     this.m_gbMain.Controls.Add(this.m_btRERemove);
     this.m_gbMain.Controls.Add(this.m_btREInsere);
     this.m_gbMain.Controls.Add(this.m_gbREsVinculados);
     this.m_gbMain.Controls.Add(this.m_gbREs);
     this.m_gbMain.Font     = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.m_gbMain.Location = new System.Drawing.Point(3, -2);
     this.m_gbMain.Name     = "m_gbMain";
     this.m_gbMain.Size     = new System.Drawing.Size(309, 325);
     this.m_gbMain.TabIndex = 1;
     this.m_gbMain.TabStop  = false;
     //
     // m_btCancelar
     //
     this.m_btCancelar.BackColor   = System.Drawing.SystemColors.Control;
     this.m_btCancelar.Cursor      = System.Windows.Forms.Cursors.Hand;
     this.m_btCancelar.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.m_btCancelar.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.m_btCancelar.Image       = ((System.Drawing.Image)(resources.GetObject("m_btCancelar.Image")));
     this.m_btCancelar.Location    = new System.Drawing.Point(156, 295);
     this.m_btCancelar.Name        = "m_btCancelar";
     this.m_btCancelar.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.m_btCancelar.Size        = new System.Drawing.Size(57, 25);
     this.m_btCancelar.TabIndex    = 11;
     this.m_ttDicas.SetToolTip(this.m_btCancelar, "Cancelar");
     this.m_btCancelar.Click += new System.EventHandler(this.m_btCancelar_Click);
     //
     // m_btOk
     //
     this.m_btOk.BackColor   = System.Drawing.SystemColors.Control;
     this.m_btOk.Cursor      = System.Windows.Forms.Cursors.Hand;
     this.m_btOk.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.m_btOk.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.m_btOk.Image       = ((System.Drawing.Image)(resources.GetObject("m_btOk.Image")));
     this.m_btOk.Location    = new System.Drawing.Point(92, 295);
     this.m_btOk.Name        = "m_btOk";
     this.m_btOk.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.m_btOk.Size        = new System.Drawing.Size(57, 25);
     this.m_btOk.TabIndex    = 10;
     this.m_ttDicas.SetToolTip(this.m_btOk, "Confirmar");
     this.m_btOk.Click += new System.EventHandler(this.m_btOk_Click);
     //
     // m_btRERemove
     //
     this.m_btRERemove.Cursor   = System.Windows.Forms.Cursors.Hand;
     this.m_btRERemove.Image    = ((System.Drawing.Image)(resources.GetObject("m_btRERemove.Image")));
     this.m_btRERemove.Location = new System.Drawing.Point(155, 145);
     this.m_btRERemove.Name     = "m_btRERemove";
     this.m_btRERemove.Size     = new System.Drawing.Size(60, 40);
     this.m_btRERemove.TabIndex = 8;
     this.m_ttDicas.SetToolTip(this.m_btRERemove, "Desvincular");
     this.m_btRERemove.Click += new System.EventHandler(this.m_btRERemove_Click);
     //
     // m_btREInsere
     //
     this.m_btREInsere.Cursor   = System.Windows.Forms.Cursors.Hand;
     this.m_btREInsere.Image    = ((System.Drawing.Image)(resources.GetObject("m_btREInsere.Image")));
     this.m_btREInsere.Location = new System.Drawing.Point(91, 145);
     this.m_btREInsere.Name     = "m_btREInsere";
     this.m_btREInsere.Size     = new System.Drawing.Size(60, 40);
     this.m_btREInsere.TabIndex = 7;
     this.m_ttDicas.SetToolTip(this.m_btREInsere, "Vincular");
     this.m_btREInsere.Click += new System.EventHandler(this.m_btREInsere_Click);
     //
     // m_gbREsVinculados
     //
     this.m_gbREsVinculados.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                           | System.Windows.Forms.AnchorStyles.Right)));
     this.m_gbREsVinculados.Controls.Add(this.m_lvREsVinculados);
     this.m_gbREsVinculados.Location = new System.Drawing.Point(5, 187);
     this.m_gbREsVinculados.Name     = "m_gbREsVinculados";
     this.m_gbREsVinculados.Size     = new System.Drawing.Size(299, 104);
     this.m_gbREsVinculados.TabIndex = 1;
     this.m_gbREsVinculados.TabStop  = false;
     this.m_gbREsVinculados.Text     = "REs vinculados a esta DDE";
     //
     // m_lvREsVinculados
     //
     this.m_lvREsVinculados.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.m_lvREsVinculados.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.m_chREPE
     });
     this.m_lvREsVinculados.HeaderStyle   = System.Windows.Forms.ColumnHeaderStyle.None;
     this.m_lvREsVinculados.HideSelection = false;
     this.m_lvREsVinculados.Location      = new System.Drawing.Point(4, 15);
     this.m_lvREsVinculados.Name          = "m_lvREsVinculados";
     this.m_lvREsVinculados.Size          = new System.Drawing.Size(286, 80);
     this.m_lvREsVinculados.TabIndex      = 1;
     this.m_lvREsVinculados.View          = System.Windows.Forms.View.Details;
     //
     // m_chREPE
     //
     this.m_chREPE.Text  = "m_chREPE";
     this.m_chREPE.Width = 200;
     //
     // m_gbREs
     //
     this.m_gbREs.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.m_gbREs.Controls.Add(this.m_lvREs);
     this.m_gbREs.Location = new System.Drawing.Point(6, 7);
     this.m_gbREs.Name     = "m_gbREs";
     this.m_gbREs.Size     = new System.Drawing.Size(299, 136);
     this.m_gbREs.TabIndex = 0;
     this.m_gbREs.TabStop  = false;
     this.m_gbREs.Text     = "REs";
     //
     // m_lvREs
     //
     this.m_lvREs.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.m_lvREs.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.m_chRENumero
     });
     this.m_lvREs.HeaderStyle   = System.Windows.Forms.ColumnHeaderStyle.None;
     this.m_lvREs.HideSelection = false;
     this.m_lvREs.Location      = new System.Drawing.Point(7, 15);
     this.m_lvREs.Name          = "m_lvREs";
     this.m_lvREs.Size          = new System.Drawing.Size(283, 113);
     this.m_lvREs.TabIndex      = 0;
     this.m_lvREs.View          = System.Windows.Forms.View.Details;
     //
     // m_chRENumero
     //
     this.m_chRENumero.Text  = "m_chRENumero";
     this.m_chRENumero.Width = 200;
     //
     // m_ttDicas
     //
     this.m_ttDicas.AutomaticDelay = 100;
     this.m_ttDicas.AutoPopDelay   = 5000;
     this.m_ttDicas.InitialDelay   = 100;
     this.m_ttDicas.ReshowDelay    = 20;
     //
     // frmFSDVincular
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(314, 327);
     this.Controls.Add(this.m_gbMain);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmFSDVincular";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Vinculando REs a DDE";
     this.Load           += new System.EventHandler(this.frmFSDVincular_Load);
     this.m_gbMain.ResumeLayout(false);
     this.m_gbREsVinculados.ResumeLayout(false);
     this.m_gbREs.ResumeLayout(false);
     this.ResumeLayout(false);
 }
예제 #36
0
        private void InitializeComponent()
        {
            BackColor   = Color.White;
            Size        = new Size(383, 80);
            BorderStyle = BorderStyle.FixedSingle;
            labelTitle  = new Label()
            {
                Location    = new System.Drawing.Point(55, 4),
                Size        = new Size(257, 21),
                AutoSize    = true,
                MaximumSize = new Size(220, 21),
                Font        = new System.Drawing.Font("Segoe UI", 12, System.Drawing.FontStyle.Bold),
                Text        = program.Title
            };
            labelGenre = new Label()
            {
                Font        = new System.Drawing.Font("Segoe UI", 8, System.Drawing.FontStyle.Regular),
                Location    = new Point(56, 28),
                Size        = new Size(240, 30),
                AutoSize    = true,
                MaximumSize = new Size(240, 70),
                Text        = TvProgramManager.GetGenresAsString(program.Genre)
            };

            labelStartTime = new Label()
            {
                Font     = new System.Drawing.Font("Segoe UI", 14, System.Drawing.FontStyle.Bold),
                Location = new Point(-2, 3),
                Text     = program.StartTime.ToString("HH:mm")
            };
            labelTimeLength = new Label()
            {
                Font     = new System.Drawing.Font("Segoe UI", 8, System.Drawing.FontStyle.Bold),
                Location = new Point(3, 26),
                Text     = (program.EndTime - program.StartTime).TotalMinutes.ToString("0") + " perc"
            };
            labelStatus = new Label()
            {
                Location = new Point(280, 60),
                Font     = new System.Drawing.Font("Segoe UI", 8, System.Drawing.FontStyle.Bold),
                Visible  = false
            };
            pictureKorhatar = new PictureBox()
            {
                Image    = getAgeLimitPic(),
                Location = new Point(337, 10),
                Size     = new Size(32, 32)
            };
            buttonFoglalas = new Button()
            {
                Text      = "Foglalás",
                Location  = new Point(303, 52),
                BackColor = Control.DefaultBackColor,
                Visible   = false
            };
            elapsedTimeProgress = new ProgressBar()
            {
                Visible   = false,
                Location  = new Point(0, 0),
                Size      = new Size(383, 5),
                BackColor = Color.MediumVioletRed,
            };
            CheckProgramElapsedTime();

            //FOGLALÁS BEGINS
            using (TvContext context = new TvContext())
            {
                //Olyan műsorok lekérése, amelyek ugyanabban az időpontban vannak műsoron, mint ebbe a Controlba kapott műsor.
                //Olyan műsor ami foglalva van, hamarabb, vagy ugyanakkor kezdődik mint a kiválasztott és később van vége, mint ahogy a kiválasztott elkezdődne.
                var shows = from vizsgalt in context.Programs
                            where
                            vizsgalt.Reserved != null &&
                            (
                    (vizsgalt.StartTime <= program.StartTime && vizsgalt.EndTime > program.StartTime)
                    ||
                    (vizsgalt.StartTime >= program.StartTime && vizsgalt.EndTime <= program.EndTime)
                    ||
                    (vizsgalt.StartTime >= program.StartTime && vizsgalt.StartTime < program.EndTime)
                    ||
                    (vizsgalt.EndTime >= program.StartTime && vizsgalt.EndTime <= program.EndTime)
                            )
                            select vizsgalt;
                //Látható legyen a foglalás gomb. Minden más többi esetben csak eltüntetve lesz.
                if (room != null)
                {
                    if (program.StartTime >= DateTime.Now || program.StartTime <= DateTime.Now && program.EndTime >= DateTime.Now)
                    {
                        buttonFoglalas.Visible = true;
                    }
                }
                //Ha van olyan műsor amivel átfedésben van
                if (shows.Count() > 0)
                {
                    //Ha ütközik másik programmal, megnézzük, hogy önmaga is a foglalt műsorok között van.
                    bool isSelf = (from p in shows
                                   where p.ProgramId == program.ProgramId
                                   select p)
                                  .Count() > 0;

                    buttonFoglalas.Visible = false;

                    //Ha önmaga az éppen ütköző foglalt műsorok között van, akkor tudatjuk a felhasználóval, ez van az adott időpotban lefoglalva.
                    if (isSelf)
                    {
                        labelStatus.Text = "Lefoglalt";
                        System.Windows.Forms.ToolTip ttt = new System.Windows.Forms.ToolTip();
                        ttt.SetToolTip(labelStatus, "Ez a műsor már le van foglalva, így nézhető lesz.\nLefoglaló szoba: " + program.ReservedRoomId);
                    }
                    else
                    {
                        //Ebben az esetben a műsor nem foglalható le, mert ekkor másik lefoglalt műsor fut. Hogy a felhasználó tudja, hogy mi,
                        //jobb kattintásra context menüben megjelenik a műsor, rákattintva ahhoz a tv csatornához ugrik a program.
                        var reservedShows = from p in shows
                                            where p.ProgramId != program.ProgramId
                                            select p;

                        ContextMenuStrip cm = new ContextMenuStrip()
                        {
                            RenderMode = ToolStripRenderMode.System
                        };
                        //Alap foglalt műsor szöveg és egy divider.
                        ToolStripMenuItem menuItem = new ToolStripMenuItem()
                        {
                            Text = "Foglalt műsor", Enabled = false
                        };
                        cm.Items.Add(menuItem);
                        cm.Items.Add(new ToolStripSeparator());

                        //Ütköző műsor berakása a listába.
                        foreach (var show in reservedShows)
                        {
                            ToolStripMenuItem toolStripMenuItem = new ToolStripMenuItem()
                            {
                                Text = String.Format(
                                    "{0} {1}:{2}-{3}:{4} ({5})",
                                    show.Title,                           //0
                                    show.StartTime.Hour,                  //1
                                    show.StartTime.Minute.ToString("00"), //2
                                    show.EndTime.Hour,                    //3
                                    show.EndTime.Minute.ToString("00"),   //4
                                    show.TvChannel                        //5
                                    )
                            };
                            //Kattintásra elsütjük a SelectedProgramChanged eseményt, ami megváltoztatja a megjelenített csatornát
                            toolStripMenuItem.Click += (i, o) => { SelectedProgramChaned?.Invoke(this, new ProgramChangeEventArgs()
                                {
                                    Program = show
                                }); };
                            //És hozzá is adjuk a menühöz az elemet.
                            cm.Items.Add(toolStripMenuItem);
                        }
                        labelStatus.ContextMenuStrip = cm;
                        //Kis tooltip, hogy érthető legyen miért van kint a felirat.
                        System.Windows.Forms.ToolTip ttt = new System.Windows.Forms.ToolTip();
                        ttt.SetToolTip(labelStatus, "Ebben az időpontban egy másik lefoglalt műsorral van átfedésben.\nJobb kattintással többet megtudhat.");

                        labelStatus.Text = "Nem foglalható";
                    }
                    labelStatus.ForeColor = Color.Gray;
                    labelStatus.Visible   = true;
                }
                else
                {
                    //Ha pedig nincs foglalt program ennek az időpontjában, akkor a gombhoz hozzárendeljük a foglalást megvalósító metódust.
                    buttonFoglalas.Click += (o, i) => { TvProgramManager.ReserveTvProgram(program, room); };
                }
                //Itt pedig felülírjuk a dolgokat annyival, hogyha az adott műsor saját szoba foglalása.
                if (context.Rooms.Find(program.ReservedRoomId) != null)
                {
                    if (room != null && context.Rooms.Find(program.ReservedRoomId).RoomId == room.RoomId)
                    {
                        labelStatus.ForeColor = Color.Green;
                        labelStatus.Text      = "Saját foglalás";
                        labelStatus.Visible   = true;
                    }
                    buttonFoglalas.Visible = false;
                }
            }


            //FOGLALÁS ENDS

            Controls.Add(labelTitle);
            Controls.Add(labelGenre);
            Controls.Add(labelTimeLength);
            Controls.Add(labelStatus);
            Controls.Add(pictureKorhatar);
            Controls.Add(labelStartTime);
            Controls.Add(buttonFoglalas);
            Controls.Add(elapsedTimeProgress);
            elapsedTimeProgress.BringToFront();

            Timer timer = new Timer()
            {
                Interval = 5000
            };

            timer.Tick += (obj, args) => { CheckProgramElapsedTime(); };
            timer.Start();


            System.Windows.Forms.ToolTip tt = new System.Windows.Forms.ToolTip();
            tt.SetToolTip(pictureKorhatar, TvProgramManager.GetAgeLimitMessage(program.AgeLimit));
            tt.SetToolTip(labelStartTime, $"Kezdés: {program.StartTime.TimeOfDay} - Vége: {program.EndTime.TimeOfDay}");
            tt.SetToolTip(labelTimeLength, $"Vége: {program.EndTime.TimeOfDay}");
        }
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(OldfrmTableSetup));
     this.components          = new System.ComponentModel.Container();
     this.ToolTip1            = new System.Windows.Forms.ToolTip(components);
     this.cboTableList        = new System.Windows.Forms.ComboBox();
     this.cmdClose            = new System.Windows.Forms.Button();
     this.tabFields           = new System.Windows.Forms.TabControl();
     this._tabFields_TabPage0 = new System.Windows.Forms.TabPage();
     this.cmdAddField         = new System.Windows.Forms.Button();
     this.dbgFieldList        = new AxMSDBGrid.AxDBGrid();
     this.cmdEdit             = new System.Windows.Forms.Button();
     this.cmdDelete           = new System.Windows.Forms.Button();
     this.cmdChangeStatus     = new System.Windows.Forms.Button();
     this.cmdUpdateDEA        = new System.Windows.Forms.Button();
     this.cmdMoveDown         = new System.Windows.Forms.Button();
     this.cmdMoveUp           = new System.Windows.Forms.Button();
     this.rdcTableList        = new AxMSRDC.AxMSRDC();
     this.rdcFieldList        = new AxMSRDC.AxMSRDC();
     this.rdcValDynFields     = new AxMSRDC.AxMSRDC();
     this.rdcFieldReqVal      = new AxMSRDC.AxMSRDC();
     this.Label1 = new System.Windows.Forms.Label();
     this.tabFields.SuspendLayout();
     this._tabFields_TabPage0.SuspendLayout();
     this.SuspendLayout();
     this.ToolTip1.Active = true;
     ((System.ComponentModel.ISupportInitialize) this.dbgFieldList).BeginInit();
     ((System.ComponentModel.ISupportInitialize) this.rdcTableList).BeginInit();
     ((System.ComponentModel.ISupportInitialize) this.rdcFieldList).BeginInit();
     ((System.ComponentModel.ISupportInitialize) this.rdcValDynFields).BeginInit();
     ((System.ComponentModel.ISupportInitialize) this.rdcFieldReqVal).BeginInit();
     this.Text                             = "Table and Field Setup Form";
     this.ClientSize                       = new System.Drawing.Size(880, 697);
     this.Location                         = new System.Drawing.Point(5, 29);
     this.StartPosition                    = System.Windows.Forms.FormStartPosition.WindowsDefaultBounds;
     this.Font                             = new System.Drawing.Font("Arial", 8f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, Convert.ToByte(0));
     this.AutoScaleMode                    = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor                        = System.Drawing.SystemColors.Control;
     this.FormBorderStyle                  = System.Windows.Forms.FormBorderStyle.Sizable;
     this.ControlBox                       = true;
     this.Enabled                          = true;
     this.KeyPreview                       = false;
     this.MaximizeBox                      = true;
     this.MinimizeBox                      = true;
     this.Cursor                           = System.Windows.Forms.Cursors.Default;
     this.RightToLeft                      = System.Windows.Forms.RightToLeft.No;
     this.ShowInTaskbar                    = true;
     this.HelpButton                       = false;
     this.WindowState                      = System.Windows.Forms.FormWindowState.Normal;
     this.Name                             = "frmTableSetup";
     this.cboTableList.Size                = new System.Drawing.Size(415, 27);
     this.cboTableList.Location            = new System.Drawing.Point(275, 5);
     this.cboTableList.TabIndex            = 2;
     this.cboTableList.Font                = new System.Drawing.Font("Arial", 8f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, Convert.ToByte(0));
     this.cboTableList.BackColor           = System.Drawing.SystemColors.Window;
     this.cboTableList.CausesValidation    = true;
     this.cboTableList.Enabled             = true;
     this.cboTableList.ForeColor           = System.Drawing.SystemColors.WindowText;
     this.cboTableList.IntegralHeight      = true;
     this.cboTableList.Cursor              = System.Windows.Forms.Cursors.Default;
     this.cboTableList.RightToLeft         = System.Windows.Forms.RightToLeft.No;
     this.cboTableList.Sorted              = false;
     this.cboTableList.DropDownStyle       = System.Windows.Forms.ComboBoxStyle.DropDown;
     this.cboTableList.TabStop             = true;
     this.cboTableList.Visible             = true;
     this.cboTableList.Name                = "cboTableList";
     this.cmdClose.TextAlign               = System.Drawing.ContentAlignment.MiddleCenter;
     this.cmdClose.Text                    = "Close";
     this.cmdClose.Size                    = new System.Drawing.Size(134, 25);
     this.cmdClose.Location                = new System.Drawing.Point(333, 655);
     this.cmdClose.TabIndex                = 1;
     this.cmdClose.Font                    = new System.Drawing.Font("Arial", 8f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, Convert.ToByte(0));
     this.cmdClose.BackColor               = System.Drawing.SystemColors.Control;
     this.cmdClose.CausesValidation        = true;
     this.cmdClose.Enabled                 = true;
     this.cmdClose.ForeColor               = System.Drawing.SystemColors.ControlText;
     this.cmdClose.Cursor                  = System.Windows.Forms.Cursors.Default;
     this.cmdClose.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.cmdClose.TabStop                 = true;
     this.cmdClose.Name                    = "cmdClose";
     this.tabFields.Size                   = new System.Drawing.Size(862, 608);
     this.tabFields.Location               = new System.Drawing.Point(7, 38);
     this.tabFields.TabIndex               = 0;
     this.tabFields.ItemSize               = new System.Drawing.Size(42, 22);
     this.tabFields.Font                   = new System.Drawing.Font("Arial", 8f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, Convert.ToByte(0));
     this.tabFields.Name                   = "tabFields";
     this._tabFields_TabPage0.Text         = "Fields";
     this.cmdAddField.TextAlign            = System.Drawing.ContentAlignment.MiddleCenter;
     this.cmdAddField.Text                 = "Add";
     this.cmdAddField.Size                 = new System.Drawing.Size(53, 75);
     this.cmdAddField.Location             = new System.Drawing.Point(133, 522);
     this.cmdAddField.TabIndex             = 4;
     this.cmdAddField.Font                 = new System.Drawing.Font("Arial", 8f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, Convert.ToByte(0));
     this.cmdAddField.BackColor            = System.Drawing.SystemColors.Control;
     this.cmdAddField.CausesValidation     = true;
     this.cmdAddField.Enabled              = true;
     this.cmdAddField.ForeColor            = System.Drawing.SystemColors.ControlText;
     this.cmdAddField.Cursor               = System.Windows.Forms.Cursors.Default;
     this.cmdAddField.RightToLeft          = System.Windows.Forms.RightToLeft.No;
     this.cmdAddField.TabStop              = true;
     this.cmdAddField.Name                 = "cmdAddField";
     dbgFieldList.OcxState                 = (System.Windows.Forms.AxHost.State)resources.GetObject("dbgFieldList.OcxState");
     this.dbgFieldList.Size                = new System.Drawing.Size(827, 475);
     this.dbgFieldList.Location            = new System.Drawing.Point(18, 40);
     this.dbgFieldList.TabIndex            = 7;
     this.dbgFieldList.Name                = "dbgFieldList";
     this.cmdEdit.TextAlign                = System.Drawing.ContentAlignment.MiddleCenter;
     this.cmdEdit.Text                     = "Edit";
     this.cmdEdit.Size                     = new System.Drawing.Size(53, 75);
     this.cmdEdit.Location                 = new System.Drawing.Point(20, 522);
     this.cmdEdit.TabIndex                 = 5;
     this.cmdEdit.Font                     = new System.Drawing.Font("Arial", 8f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, Convert.ToByte(0));
     this.cmdEdit.BackColor                = System.Drawing.SystemColors.Control;
     this.cmdEdit.CausesValidation         = true;
     this.cmdEdit.Enabled                  = true;
     this.cmdEdit.ForeColor                = System.Drawing.SystemColors.ControlText;
     this.cmdEdit.Cursor                   = System.Windows.Forms.Cursors.Default;
     this.cmdEdit.RightToLeft              = System.Windows.Forms.RightToLeft.No;
     this.cmdEdit.TabStop                  = true;
     this.cmdEdit.Name                     = "cmdEdit";
     this.cmdDelete.TextAlign              = System.Drawing.ContentAlignment.MiddleCenter;
     this.cmdDelete.Text                   = "Delete";
     this.cmdDelete.Size                   = new System.Drawing.Size(53, 25);
     this.cmdDelete.Location               = new System.Drawing.Point(80, 570);
     this.cmdDelete.TabIndex               = 6;
     this.cmdDelete.Font                   = new System.Drawing.Font("Arial", 8f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, Convert.ToByte(0));
     this.cmdDelete.BackColor              = System.Drawing.SystemColors.Control;
     this.cmdDelete.CausesValidation       = true;
     this.cmdDelete.Enabled                = true;
     this.cmdDelete.ForeColor              = System.Drawing.SystemColors.ControlText;
     this.cmdDelete.Cursor                 = System.Windows.Forms.Cursors.Default;
     this.cmdDelete.RightToLeft            = System.Windows.Forms.RightToLeft.No;
     this.cmdDelete.TabStop                = true;
     this.cmdDelete.Name                   = "cmdDelete";
     this.cmdChangeStatus.TextAlign        = System.Drawing.ContentAlignment.MiddleCenter;
     this.cmdChangeStatus.Text             = "Change Status";
     this.cmdChangeStatus.Size             = new System.Drawing.Size(164, 25);
     this.cmdChangeStatus.Location         = new System.Drawing.Point(389, 572);
     this.cmdChangeStatus.TabIndex         = 8;
     this.cmdChangeStatus.Font             = new System.Drawing.Font("Arial", 8f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, Convert.ToByte(0));
     this.cmdChangeStatus.BackColor        = System.Drawing.SystemColors.Control;
     this.cmdChangeStatus.CausesValidation = true;
     this.cmdChangeStatus.Enabled          = true;
     this.cmdChangeStatus.ForeColor        = System.Drawing.SystemColors.ControlText;
     this.cmdChangeStatus.Cursor           = System.Windows.Forms.Cursors.Default;
     this.cmdChangeStatus.RightToLeft      = System.Windows.Forms.RightToLeft.No;
     this.cmdChangeStatus.TabStop          = true;
     this.cmdChangeStatus.Name             = "cmdChangeStatus";
     this.cmdUpdateDEA.TextAlign           = System.Drawing.ContentAlignment.MiddleCenter;
     this.cmdUpdateDEA.Text                = "Update Data Entry Actions";
     this.cmdUpdateDEA.Size                = new System.Drawing.Size(198, 25);
     this.cmdUpdateDEA.Location            = new System.Drawing.Point(188, 572);
     this.cmdUpdateDEA.TabIndex            = 9;
     this.cmdUpdateDEA.Font                = new System.Drawing.Font("Arial", 8f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, Convert.ToByte(0));
     this.cmdUpdateDEA.BackColor           = System.Drawing.SystemColors.Control;
     this.cmdUpdateDEA.CausesValidation    = true;
     this.cmdUpdateDEA.Enabled             = true;
     this.cmdUpdateDEA.ForeColor           = System.Drawing.SystemColors.ControlText;
     this.cmdUpdateDEA.Cursor              = System.Windows.Forms.Cursors.Default;
     this.cmdUpdateDEA.RightToLeft         = System.Windows.Forms.RightToLeft.No;
     this.cmdUpdateDEA.TabStop             = true;
     this.cmdUpdateDEA.Name                = "cmdUpdateDEA";
     this.cmdMoveDown.TextAlign            = System.Drawing.ContentAlignment.MiddleCenter;
     this.cmdMoveDown.Text                 = "Move Down";
     this.cmdMoveDown.Size                 = new System.Drawing.Size(102, 25);
     this.cmdMoveDown.Location             = new System.Drawing.Point(638, 570);
     this.cmdMoveDown.TabIndex             = 10;
     this.cmdMoveDown.Font                 = new System.Drawing.Font("Arial", 8f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, Convert.ToByte(0));
     this.cmdMoveDown.BackColor            = System.Drawing.SystemColors.Control;
     this.cmdMoveDown.CausesValidation     = true;
     this.cmdMoveDown.Enabled              = true;
     this.cmdMoveDown.ForeColor            = System.Drawing.SystemColors.ControlText;
     this.cmdMoveDown.Cursor               = System.Windows.Forms.Cursors.Default;
     this.cmdMoveDown.RightToLeft          = System.Windows.Forms.RightToLeft.No;
     this.cmdMoveDown.TabStop              = true;
     this.cmdMoveDown.Name                 = "cmdMoveDown";
     this.cmdMoveUp.TextAlign              = System.Drawing.ContentAlignment.MiddleCenter;
     this.cmdMoveUp.Text                   = "Move Up";
     this.cmdMoveUp.Size                   = new System.Drawing.Size(74, 25);
     this.cmdMoveUp.Location               = new System.Drawing.Point(558, 570);
     this.cmdMoveUp.TabIndex               = 11;
     this.cmdMoveUp.Font                   = new System.Drawing.Font("Arial", 8f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, Convert.ToByte(0));
     this.cmdMoveUp.BackColor              = System.Drawing.SystemColors.Control;
     this.cmdMoveUp.CausesValidation       = true;
     this.cmdMoveUp.Enabled                = true;
     this.cmdMoveUp.ForeColor              = System.Drawing.SystemColors.ControlText;
     this.cmdMoveUp.Cursor                 = System.Windows.Forms.Cursors.Default;
     this.cmdMoveUp.RightToLeft            = System.Windows.Forms.RightToLeft.No;
     this.cmdMoveUp.TabStop                = true;
     this.cmdMoveUp.Name                   = "cmdMoveUp";
     rdcTableList.OcxState                 = (System.Windows.Forms.AxHost.State)resources.GetObject("rdcTableList.OcxState");
     this.rdcTableList.Size                = new System.Drawing.Size(197, 28);
     this.rdcTableList.Location            = new System.Drawing.Point(10, 714);
     this.rdcTableList.Visible             = false;
     this.rdcTableList.Name                = "rdcTableList";
     rdcFieldList.OcxState                 = (System.Windows.Forms.AxHost.State)resources.GetObject("rdcFieldList.OcxState");
     this.rdcFieldList.Size                = new System.Drawing.Size(195, 28);
     this.rdcFieldList.Location            = new System.Drawing.Point(210, 715);
     this.rdcFieldList.Visible             = false;
     this.rdcFieldList.Name                = "rdcFieldList";
     rdcValDynFields.OcxState              = (System.Windows.Forms.AxHost.State)resources.GetObject("rdcValDynFields.OcxState");
     this.rdcValDynFields.Size             = new System.Drawing.Size(194, 28);
     this.rdcValDynFields.Location         = new System.Drawing.Point(589, 714);
     this.rdcValDynFields.Visible          = false;
     this.rdcValDynFields.Name             = "rdcValDynFields";
     rdcFieldReqVal.OcxState               = (System.Windows.Forms.AxHost.State)resources.GetObject("rdcFieldReqVal.OcxState");
     this.rdcFieldReqVal.Size              = new System.Drawing.Size(203, 28);
     this.rdcFieldReqVal.Location          = new System.Drawing.Point(10, 744);
     this.rdcFieldReqVal.Visible           = false;
     this.rdcFieldReqVal.Name              = "rdcFieldReqVal";
     this.Label1.Text                      = "Tables:";
     this.Label1.Font                      = new System.Drawing.Font("Arial", 9.75f, System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, Convert.ToByte(0));
     this.Label1.ForeColor                 = System.Drawing.Color.FromArgb(192, 0, 0);
     this.Label1.Size                      = new System.Drawing.Size(80, 19);
     this.Label1.Location                  = new System.Drawing.Point(189, 9);
     this.Label1.TabIndex                  = 3;
     this.Label1.TextAlign                 = System.Drawing.ContentAlignment.TopLeft;
     this.Label1.BackColor                 = System.Drawing.SystemColors.Control;
     this.Label1.Enabled                   = true;
     this.Label1.Cursor                    = System.Windows.Forms.Cursors.Default;
     this.Label1.RightToLeft               = System.Windows.Forms.RightToLeft.No;
     this.Label1.UseMnemonic               = true;
     this.Label1.Visible                   = true;
     this.Label1.AutoSize                  = false;
     this.Label1.BorderStyle               = System.Windows.Forms.BorderStyle.None;
     this.Label1.Name                      = "Label1";
     ((System.ComponentModel.ISupportInitialize) this.rdcFieldReqVal).EndInit();
     ((System.ComponentModel.ISupportInitialize) this.rdcValDynFields).EndInit();
     ((System.ComponentModel.ISupportInitialize) this.rdcFieldList).EndInit();
     ((System.ComponentModel.ISupportInitialize) this.rdcTableList).EndInit();
     ((System.ComponentModel.ISupportInitialize) this.dbgFieldList).EndInit();
     this.Controls.Add(cboTableList);
     this.Controls.Add(cmdClose);
     this.Controls.Add(tabFields);
     this.Controls.Add(rdcTableList);
     this.Controls.Add(rdcFieldList);
     this.Controls.Add(rdcValDynFields);
     this.Controls.Add(rdcFieldReqVal);
     this.Controls.Add(Label1);
     this.tabFields.Controls.Add(_tabFields_TabPage0);
     this._tabFields_TabPage0.Controls.Add(cmdAddField);
     this._tabFields_TabPage0.Controls.Add(dbgFieldList);
     this._tabFields_TabPage0.Controls.Add(cmdEdit);
     this._tabFields_TabPage0.Controls.Add(cmdDelete);
     this._tabFields_TabPage0.Controls.Add(cmdChangeStatus);
     this._tabFields_TabPage0.Controls.Add(cmdUpdateDEA);
     this._tabFields_TabPage0.Controls.Add(cmdMoveDown);
     this._tabFields_TabPage0.Controls.Add(cmdMoveUp);
     this.tabFields.ResumeLayout(false);
     this._tabFields_TabPage0.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #38
0
 /// <summary>
 /// デザイナ サポートに必要なメソッドです。このメソッドの内容を
 /// コード エディタで変更しないでください。
 /// </summary>
 private void InitializeComponent()
 {
     this.components     = new System.ComponentModel.Container();
     this.lstVals        = new System.Windows.Forms.ListBox();
     this.txtDefault     = new System.Windows.Forms.TextBox();
     this.label1         = new System.Windows.Forms.Label();
     this.label2         = new System.Windows.Forms.Label();
     this.txtMin         = new System.Windows.Forms.TextBox();
     this.label3         = new System.Windows.Forms.Label();
     this.txtMax         = new System.Windows.Forms.TextBox();
     this.label4         = new System.Windows.Forms.Label();
     this.txtStep        = new System.Windows.Forms.TextBox();
     this.chkDisp        = new System.Windows.Forms.CheckBox();
     this.btnCancel      = new System.Windows.Forms.Button();
     this.label5         = new System.Windows.Forms.Label();
     this.txtName        = new System.Windows.Forms.TextBox();
     this.grpPreviewer   = new System.Windows.Forms.GroupBox();
     this.labelPrevDigit = new System.Windows.Forms.Label();
     this.label6         = new System.Windows.Forms.Label();
     this.vsbPrevBar     = new System.Windows.Forms.VScrollBar();
     this.txtPrevStep    = new System.Windows.Forms.TextBox();
     this.btnPrevPush    = new System.Windows.Forms.Button();
     this.tmrPreview     = new System.Windows.Forms.Timer(this.components);
     this.btnUp          = new System.Windows.Forms.Button();
     this.btnDown        = new System.Windows.Forms.Button();
     this.tpVals         = new System.Windows.Forms.ToolTip(this.components);
     this.btnApply       = new System.Windows.Forms.Button();
     this.btnCopy        = new System.Windows.Forms.Button();
     this.btnDelete      = new System.Windows.Forms.Button();
     this.grpPreviewer.SuspendLayout();
     this.SuspendLayout();
     //
     // lstVals
     //
     this.lstVals.Font = new System.Drawing.Font("MS ゴシック", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(128)));
     this.lstVals.HorizontalScrollbar = true;
     this.lstVals.IntegralHeight      = false;
     this.lstVals.ItemHeight          = 12;
     this.lstVals.Location            = new System.Drawing.Point(8, 12);
     this.lstVals.Name                  = "lstVals";
     this.lstVals.Size                  = new System.Drawing.Size(130, 200);
     this.lstVals.TabIndex              = 0;
     this.lstVals.SelectedIndexChanged += new System.EventHandler(this.lstVals_SelectedIndexChanged);
     //
     // txtDefault
     //
     this.txtDefault.Location     = new System.Drawing.Point(240, 56);
     this.txtDefault.Name         = "txtDefault";
     this.txtDefault.Size         = new System.Drawing.Size(64, 19);
     this.txtDefault.TabIndex     = 2;
     this.txtDefault.TextAlign    = System.Windows.Forms.HorizontalAlignment.Right;
     this.txtDefault.TextChanged += new System.EventHandler(this.ValParams_Changed);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(144, 56);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(56, 24);
     this.label1.TabIndex = 2;
     this.label1.Text     = "初期値(Default)";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(144, 88);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(56, 24);
     this.label2.TabIndex = 4;
     this.label2.Text     = "最小値(Min)";
     //
     // txtMin
     //
     this.txtMin.Location     = new System.Drawing.Point(240, 88);
     this.txtMin.Name         = "txtMin";
     this.txtMin.Size         = new System.Drawing.Size(64, 19);
     this.txtMin.TabIndex     = 3;
     this.txtMin.TextAlign    = System.Windows.Forms.HorizontalAlignment.Right;
     this.txtMin.TextChanged += new System.EventHandler(this.ValParams_Changed);
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(144, 120);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(56, 24);
     this.label3.TabIndex = 6;
     this.label3.Text     = "最大値(Max)";
     //
     // txtMax
     //
     this.txtMax.Location     = new System.Drawing.Point(240, 120);
     this.txtMax.Name         = "txtMax";
     this.txtMax.Size         = new System.Drawing.Size(64, 19);
     this.txtMax.TabIndex     = 4;
     this.txtMax.TextAlign    = System.Windows.Forms.HorizontalAlignment.Right;
     this.txtMax.TextChanged += new System.EventHandler(this.ValParams_Changed);
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(144, 152);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(80, 24);
     this.label4.TabIndex = 8;
     this.label4.Text     = "復帰ステップ量(Step)";
     //
     // txtStep
     //
     this.txtStep.Location     = new System.Drawing.Point(240, 152);
     this.txtStep.Name         = "txtStep";
     this.txtStep.Size         = new System.Drawing.Size(64, 19);
     this.txtStep.TabIndex     = 7;
     this.txtStep.TextAlign    = System.Windows.Forms.HorizontalAlignment.Right;
     this.txtStep.TextChanged += new System.EventHandler(this.ValParams_Changed);
     //
     // chkDisp
     //
     this.chkDisp.Location        = new System.Drawing.Point(176, 184);
     this.chkDisp.Name            = "chkDisp";
     this.chkDisp.Size            = new System.Drawing.Size(112, 32);
     this.chkDisp.TabIndex        = 9;
     this.chkDisp.Text            = "画面に表示する(Disp)";
     this.chkDisp.CheckedChanged += new System.EventHandler(this.ValParams_Changed);
     //
     // btnCancel
     //
     this.btnCancel.Location = new System.Drawing.Point(344, 227);
     this.btnCancel.Name     = "btnCancel";
     this.btnCancel.Size     = new System.Drawing.Size(80, 24);
     this.btnCancel.TabIndex = 13;
     this.btnCancel.Text     = "閉じる";
     this.btnCancel.Click   += new System.EventHandler(this.btnCancel_Click);
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(144, 24);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(72, 24);
     this.label5.TabIndex = 15;
     this.label5.Text     = "変数名";
     //
     // txtName
     //
     this.txtName.Location  = new System.Drawing.Point(240, 24);
     this.txtName.Name      = "txtName";
     this.txtName.Size      = new System.Drawing.Size(64, 19);
     this.txtName.TabIndex  = 1;
     this.txtName.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.tpVals.SetToolTip(this.txtName, "変数を削除したいときには、ここを空にしてください。");
     this.txtName.TextChanged += new System.EventHandler(this.ValParams_Changed);
     this.txtName.KeyPress    += new System.Windows.Forms.KeyPressEventHandler(this.ValParams_KeyPress);
     //
     // grpPreviewer
     //
     this.grpPreviewer.Controls.Add(this.labelPrevDigit);
     this.grpPreviewer.Controls.Add(this.label6);
     this.grpPreviewer.Controls.Add(this.vsbPrevBar);
     this.grpPreviewer.Controls.Add(this.txtPrevStep);
     this.grpPreviewer.Controls.Add(this.btnPrevPush);
     this.grpPreviewer.Location        = new System.Drawing.Point(310, 12);
     this.grpPreviewer.Name            = "grpPreviewer";
     this.grpPreviewer.Size            = new System.Drawing.Size(136, 176);
     this.grpPreviewer.TabIndex        = 16;
     this.grpPreviewer.TabStop         = false;
     this.grpPreviewer.Text            = "超簡易動作プレビュー";
     this.grpPreviewer.EnabledChanged += new System.EventHandler(this.grpPreviewer_EnabledChanged);
     //
     // labelPrevDigit
     //
     this.labelPrevDigit.Location  = new System.Drawing.Point(32, 152);
     this.labelPrevDigit.Name      = "labelPrevDigit";
     this.labelPrevDigit.Size      = new System.Drawing.Size(80, 16);
     this.labelPrevDigit.TabIndex  = 4;
     this.labelPrevDigit.Text      = "##";
     this.labelPrevDigit.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(8, 96);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(48, 16);
     this.label6.TabIndex = 3;
     this.label6.Text     = "ステップ:";
     //
     // vsbPrevBar
     //
     this.vsbPrevBar.Location = new System.Drawing.Point(112, 16);
     this.vsbPrevBar.Maximum  = 0;
     this.vsbPrevBar.Minimum  = -10000;
     this.vsbPrevBar.Name     = "vsbPrevBar";
     this.vsbPrevBar.Size     = new System.Drawing.Size(16, 152);
     this.vsbPrevBar.TabIndex = 2;
     this.vsbPrevBar.Scroll  += new System.Windows.Forms.ScrollEventHandler(this.vsbPrevBar_Scroll);
     //
     // txtPrevStep
     //
     this.txtPrevStep.Location  = new System.Drawing.Point(16, 112);
     this.txtPrevStep.Name      = "txtPrevStep";
     this.txtPrevStep.Size      = new System.Drawing.Size(56, 19);
     this.txtPrevStep.TabIndex  = 1;
     this.txtPrevStep.TabStop   = false;
     this.txtPrevStep.Text      = "10";
     this.txtPrevStep.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // btnPrevPush
     //
     this.btnPrevPush.Location   = new System.Drawing.Point(16, 56);
     this.btnPrevPush.Name       = "btnPrevPush";
     this.btnPrevPush.Size       = new System.Drawing.Size(56, 24);
     this.btnPrevPush.TabIndex   = 0;
     this.btnPrevPush.TabStop    = false;
     this.btnPrevPush.Text       = "ボタン";
     this.btnPrevPush.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btnPrevPush_MouseDown);
     this.btnPrevPush.MouseUp   += new System.Windows.Forms.MouseEventHandler(this.btnPrevPush_MouseUp);
     //
     // tmrPreview
     //
     this.tmrPreview.Interval = 32;
     this.tmrPreview.Tick    += new System.EventHandler(this.tmrPreview_Tick);
     //
     // btnUp
     //
     this.btnUp.Location = new System.Drawing.Point(84, 227);
     this.btnUp.Name     = "btnUp";
     this.btnUp.Size     = new System.Drawing.Size(24, 24);
     this.btnUp.TabIndex = 17;
     this.btnUp.Text     = "↑";
     this.tpVals.SetToolTip(this.btnUp, "上へ");
     this.btnUp.Click += new System.EventHandler(this.btnUp_Click);
     //
     // btnDown
     //
     this.btnDown.Location = new System.Drawing.Point(114, 227);
     this.btnDown.Name     = "btnDown";
     this.btnDown.Size     = new System.Drawing.Size(24, 24);
     this.btnDown.TabIndex = 18;
     this.btnDown.Text     = "↓";
     this.tpVals.SetToolTip(this.btnDown, "下へ");
     this.btnDown.Click += new System.EventHandler(this.btnDown_Click);
     //
     // btnApply
     //
     this.btnApply.Location = new System.Drawing.Point(192, 227);
     this.btnApply.Name     = "btnApply";
     this.btnApply.Size     = new System.Drawing.Size(72, 24);
     this.btnApply.TabIndex = 19;
     this.btnApply.Text     = "適用";
     this.btnApply.Click   += new System.EventHandler(this.btnApply_Click);
     //
     // btnCopy
     //
     this.btnCopy.Location = new System.Drawing.Point(8, 227);
     this.btnCopy.Name     = "btnCopy";
     this.btnCopy.Size     = new System.Drawing.Size(24, 24);
     this.btnCopy.TabIndex = 20;
     this.btnCopy.Text     = "複";
     this.btnCopy.Click   += new System.EventHandler(this.btnCopy_Click);
     //
     // btnDelete
     //
     this.btnDelete.Location = new System.Drawing.Point(38, 227);
     this.btnDelete.Name     = "btnDelete";
     this.btnDelete.Size     = new System.Drawing.Size(24, 24);
     this.btnDelete.TabIndex = 21;
     this.btnDelete.Text     = "削";
     this.btnDelete.Click   += new System.EventHandler(this.btnDelete_Click);
     //
     // frmVals
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 12);
     this.ClientSize        = new System.Drawing.Size(458, 263);
     this.Controls.Add(this.btnDelete);
     this.Controls.Add(this.btnCopy);
     this.Controls.Add(this.btnApply);
     this.Controls.Add(this.btnDown);
     this.Controls.Add(this.btnUp);
     this.Controls.Add(this.grpPreviewer);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.txtName);
     this.Controls.Add(this.txtStep);
     this.Controls.Add(this.txtMax);
     this.Controls.Add(this.txtMin);
     this.Controls.Add(this.txtDefault);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.chkDisp);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.lstVals);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmVals";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Val{...}設定";
     this.Load           += new System.EventHandler(this.frmVals_Load);
     this.grpPreviewer.ResumeLayout(false);
     this.grpPreviewer.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #39
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 public void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(LoginOledb));
     this.txtServer     = new System.Windows.Forms.TextBox();
     this.groupBox1     = new System.Windows.Forms.GroupBox();
     this.checkBox1     = new System.Windows.Forms.CheckBox();
     this.txtUser       = new System.Windows.Forms.TextBox();
     this.label2        = new System.Windows.Forms.Label();
     this.txtPass       = new System.Windows.Forms.TextBox();
     this.label3        = new System.Windows.Forms.Label();
     this.pictureBox1   = new System.Windows.Forms.PictureBox();
     this.toolTip1      = new System.Windows.Forms.ToolTip(this.components);
     this.btn_Ok        = new WiB.Pinkie.Controls.ButtonXP();
     this.btn_Cancel    = new WiB.Pinkie.Controls.ButtonXP();
     this.groupBox2     = new System.Windows.Forms.GroupBox();
     this.radBtn_DB     = new System.Windows.Forms.RadioButton();
     this.btn_SelDb     = new WiB.Pinkie.Controls.ButtonXP();
     this.groupBox3     = new System.Windows.Forms.GroupBox();
     this.txtConstr     = new System.Windows.Forms.TextBox();
     this.radBtn_Constr = new System.Windows.Forms.RadioButton();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.groupBox3.SuspendLayout();
     this.SuspendLayout();
     //
     // txtServer
     //
     this.txtServer.Location     = new System.Drawing.Point(104, 24);
     this.txtServer.Name         = "txtServer";
     this.txtServer.Size         = new System.Drawing.Size(216, 21);
     this.txtServer.TabIndex     = 1;
     this.txtServer.Text         = "";
     this.txtServer.TextChanged += new System.EventHandler(this.txtServer_TextChanged);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.checkBox1);
     this.groupBox1.Controls.Add(this.txtUser);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.txtPass);
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Controls.Add(this.pictureBox1);
     this.groupBox1.Location = new System.Drawing.Point(24, 80);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(368, 106);
     this.groupBox1.TabIndex = 2;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "登录数据库:";
     //
     // checkBox1
     //
     this.checkBox1.Checked         = true;
     this.checkBox1.CheckState      = System.Windows.Forms.CheckState.Checked;
     this.checkBox1.Location        = new System.Drawing.Point(72, 77);
     this.checkBox1.Name            = "checkBox1";
     this.checkBox1.Size            = new System.Drawing.Size(88, 24);
     this.checkBox1.TabIndex        = 4;
     this.checkBox1.Text            = "空白密码";
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // txtUser
     //
     this.txtUser.Location     = new System.Drawing.Point(136, 24);
     this.txtUser.Name         = "txtUser";
     this.txtUser.Size         = new System.Drawing.Size(120, 21);
     this.txtUser.TabIndex     = 3;
     this.txtUser.Text         = "";
     this.txtUser.TextChanged += new System.EventHandler(this.txtUser_TextChanged);
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(56, 26);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(72, 16);
     this.label2.TabIndex = 2;
     this.label2.Text     = "登录名(&L):";
     //
     // txtPass
     //
     this.txtPass.Enabled      = false;
     this.txtPass.Location     = new System.Drawing.Point(136, 48);
     this.txtPass.Name         = "txtPass";
     this.txtPass.PasswordChar = '*';
     this.txtPass.Size         = new System.Drawing.Size(120, 21);
     this.txtPass.TabIndex     = 3;
     this.txtPass.Text         = "";
     this.txtPass.TextChanged += new System.EventHandler(this.txtPass_TextChanged);
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(72, 50);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(64, 16);
     this.label3.TabIndex = 2;
     this.label3.Text     = "密码(&P):";
     //
     // pictureBox1
     //
     this.pictureBox1.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(16, 24);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(38, 35);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
     this.pictureBox1.TabIndex = 4;
     this.pictureBox1.TabStop  = false;
     //
     // btn_Ok
     //
     this.btn_Ok._Image        = null;
     this.btn_Ok.BackColor     = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(236)), ((System.Byte)(233)), ((System.Byte)(216)));
     this.btn_Ok.DefaultScheme = false;
     this.btn_Ok.DialogResult  = System.Windows.Forms.DialogResult.None;
     this.btn_Ok.Image         = null;
     this.btn_Ok.Location      = new System.Drawing.Point(104, 240);
     this.btn_Ok.Name          = "btn_Ok";
     this.btn_Ok.Scheme        = WiB.Pinkie.Controls.ButtonXP.Schemes.Blue;
     this.btn_Ok.Size          = new System.Drawing.Size(75, 24);
     this.btn_Ok.TabIndex      = 19;
     this.btn_Ok.Text          = "确定(&O):";
     this.btn_Ok.Click        += new System.EventHandler(this.btn_Ok_Click);
     //
     // btn_Cancel
     //
     this.btn_Cancel._Image        = null;
     this.btn_Cancel.BackColor     = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(236)), ((System.Byte)(233)), ((System.Byte)(216)));
     this.btn_Cancel.DefaultScheme = false;
     this.btn_Cancel.DialogResult  = System.Windows.Forms.DialogResult.Cancel;
     this.btn_Cancel.Image         = null;
     this.btn_Cancel.Location      = new System.Drawing.Point(224, 240);
     this.btn_Cancel.Name          = "btn_Cancel";
     this.btn_Cancel.Scheme        = WiB.Pinkie.Controls.ButtonXP.Schemes.Blue;
     this.btn_Cancel.Size          = new System.Drawing.Size(75, 24);
     this.btn_Cancel.TabIndex      = 20;
     this.btn_Cancel.Text          = "取消(&C):";
     this.btn_Cancel.Click        += new System.EventHandler(this.btn_Cancel_Click);
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.txtServer);
     this.groupBox2.Controls.Add(this.radBtn_DB);
     this.groupBox2.Controls.Add(this.btn_SelDb);
     this.groupBox2.Location = new System.Drawing.Point(24, 12);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(368, 60);
     this.groupBox2.TabIndex = 21;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "选择数据库";
     //
     // radBtn_DB
     //
     this.radBtn_DB.Checked  = true;
     this.radBtn_DB.Location = new System.Drawing.Point(16, 22);
     this.radBtn_DB.Name     = "radBtn_DB";
     this.radBtn_DB.TabIndex = 20;
     this.radBtn_DB.TabStop  = true;
     this.radBtn_DB.Text     = "数据库(&D):";
     this.radBtn_DB.Click   += new System.EventHandler(this.radBtn_DB_Click);
     //
     // btn_SelDb
     //
     this.btn_SelDb._Image        = null;
     this.btn_SelDb.BackColor     = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(236)), ((System.Byte)(233)), ((System.Byte)(216)));
     this.btn_SelDb.DefaultScheme = false;
     this.btn_SelDb.DialogResult  = System.Windows.Forms.DialogResult.None;
     this.btn_SelDb.Image         = null;
     this.btn_SelDb.Location      = new System.Drawing.Point(320, 22);
     this.btn_SelDb.Name          = "btn_SelDb";
     this.btn_SelDb.Scheme        = WiB.Pinkie.Controls.ButtonXP.Schemes.Blue;
     this.btn_SelDb.Size          = new System.Drawing.Size(40, 24);
     this.btn_SelDb.TabIndex      = 19;
     this.btn_SelDb.Text          = "...";
     this.btn_SelDb.Click        += new System.EventHandler(this.btn_SelDb_Click);
     //
     // groupBox3
     //
     this.groupBox3.Controls.Add(this.txtConstr);
     this.groupBox3.Controls.Add(this.radBtn_Constr);
     this.groupBox3.Location = new System.Drawing.Point(24, 192);
     this.groupBox3.Name     = "groupBox3";
     this.groupBox3.Size     = new System.Drawing.Size(368, 40);
     this.groupBox3.TabIndex = 22;
     this.groupBox3.TabStop  = false;
     //
     // txtConstr
     //
     this.txtConstr.Enabled  = false;
     this.txtConstr.Location = new System.Drawing.Point(104, 12);
     this.txtConstr.Name     = "txtConstr";
     this.txtConstr.Size     = new System.Drawing.Size(256, 21);
     this.txtConstr.TabIndex = 0;
     this.txtConstr.Text     = "";
     //
     // radBtn_Constr
     //
     this.radBtn_Constr.Location = new System.Drawing.Point(12, 10);
     this.radBtn_Constr.Name     = "radBtn_Constr";
     this.radBtn_Constr.TabIndex = 1;
     this.radBtn_Constr.Text     = "连接字符串:";
     this.radBtn_Constr.Click   += new System.EventHandler(this.radBtn_Constr_Click);
     //
     // LoginOledb
     //
     this.AcceptButton      = this.btn_Ok;
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.CancelButton      = this.btn_Cancel;
     this.ClientSize        = new System.Drawing.Size(416, 272);
     this.Controls.Add(this.groupBox3);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.btn_Cancel);
     this.Controls.Add(this.btn_Ok);
     this.Controls.Add(this.groupBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "LoginOledb";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "登录数据库....";
     this.Load           += new System.EventHandler(this.LoginForm_Load);
     this.groupBox1.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     this.groupBox3.ResumeLayout(false);
     this.ResumeLayout(false);
 }
예제 #40
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(FormAutoNotes));
     this.listMain = new System.Windows.Forms.ListBox();
     this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
     this.butClose = new OpenDental.UI.Button();
     this.butAdd   = new OpenDental.UI.Button();
     this.SuspendLayout();
     //
     // listMain
     //
     this.listMain.Location     = new System.Drawing.Point(18, 21);
     this.listMain.Name         = "listMain";
     this.listMain.Size         = new System.Drawing.Size(265, 641);
     this.listMain.TabIndex     = 2;
     this.listMain.DoubleClick += new System.EventHandler(this.listMain_DoubleClick);
     //
     // butClose
     //
     this.butClose.AdjustImageLocation = new System.Drawing.Point(0, 0);
     this.butClose.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butClose.Autosize     = true;
     this.butClose.BtnShape     = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butClose.BtnStyle     = OpenDental.UI.enumType.XPStyle.Silver;
     this.butClose.CornerRadius = 4F;
     this.butClose.Location     = new System.Drawing.Point(356, 637);
     this.butClose.Name         = "butClose";
     this.butClose.Size         = new System.Drawing.Size(79, 26);
     this.butClose.TabIndex     = 1;
     this.butClose.Text         = "Close";
     this.butClose.Click       += new System.EventHandler(this.butClose_Click);
     //
     // butAdd
     //
     this.butAdd.AdjustImageLocation = new System.Drawing.Point(0, 0);
     this.butAdd.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butAdd.Autosize     = true;
     this.butAdd.BtnShape     = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butAdd.BtnStyle     = OpenDental.UI.enumType.XPStyle.Silver;
     this.butAdd.CornerRadius = 4F;
     this.butAdd.Image        = global::OpenDental.Properties.Resources.Add;
     this.butAdd.ImageAlign   = System.Drawing.ContentAlignment.MiddleLeft;
     this.butAdd.Location     = new System.Drawing.Point(356, 320);
     this.butAdd.Name         = "butAdd";
     this.butAdd.Size         = new System.Drawing.Size(79, 26);
     this.butAdd.TabIndex     = 7;
     this.butAdd.Text         = "&Add";
     this.butAdd.Click       += new System.EventHandler(this.butAdd_Click);
     //
     // FormAutoNotes
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(447, 675);
     this.Controls.Add(this.listMain);
     this.Controls.Add(this.butClose);
     this.Controls.Add(this.butAdd);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox   = false;
     this.MinimizeBox   = false;
     this.Name          = "FormAutoNotes";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Auto Notes";
     this.Load         += new System.EventHandler(this.FormAutoNotes_Load);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmFEnderecoEntregaImportadorCadEdit));
     this.m_gbFrame     = new System.Windows.Forms.GroupBox();
     this.m_gbFields    = new System.Windows.Forms.GroupBox();
     this.m_cbPais      = new mdlComponentesGraficos.ComboBox();
     this.m_ctbEstado   = new mdlComponentesGraficos.TextBox();
     this.m_lPais       = new System.Windows.Forms.Label();
     this.m_lEstado     = new System.Windows.Forms.Label();
     this.m_ctbCidade   = new mdlComponentesGraficos.TextBox();
     this.m_lCidade     = new System.Windows.Forms.Label();
     this.m_ctbEndereco = new mdlComponentesGraficos.TextBox();
     this.m_lEndereco   = new System.Windows.Forms.Label();
     this.m_btTrocarCor = new System.Windows.Forms.Button();
     this.m_btOk        = new System.Windows.Forms.Button();
     this.m_btCancelar  = new System.Windows.Forms.Button();
     this.m_ttEnderecoEntregaCadEdit = new System.Windows.Forms.ToolTip(this.components);
     this.m_gbFrame.SuspendLayout();
     this.m_gbFields.SuspendLayout();
     this.SuspendLayout();
     //
     // m_gbFrame
     //
     this.m_gbFrame.Anchor = System.Windows.Forms.AnchorStyles.None;
     this.m_gbFrame.Controls.Add(this.m_gbFields);
     this.m_gbFrame.Controls.Add(this.m_btTrocarCor);
     this.m_gbFrame.Controls.Add(this.m_btOk);
     this.m_gbFrame.Controls.Add(this.m_btCancelar);
     this.m_gbFrame.Location = new System.Drawing.Point(3, 0);
     this.m_gbFrame.Name     = "m_gbFrame";
     this.m_gbFrame.Size     = new System.Drawing.Size(421, 140);
     this.m_gbFrame.TabIndex = 0;
     this.m_gbFrame.TabStop  = false;
     //
     // m_gbFields
     //
     this.m_gbFields.Anchor = System.Windows.Forms.AnchorStyles.None;
     this.m_gbFields.Controls.Add(this.m_cbPais);
     this.m_gbFields.Controls.Add(this.m_ctbEstado);
     this.m_gbFields.Controls.Add(this.m_lPais);
     this.m_gbFields.Controls.Add(this.m_lEstado);
     this.m_gbFields.Controls.Add(this.m_ctbCidade);
     this.m_gbFields.Controls.Add(this.m_lCidade);
     this.m_gbFields.Controls.Add(this.m_ctbEndereco);
     this.m_gbFields.Controls.Add(this.m_lEndereco);
     this.m_gbFields.Font     = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.m_gbFields.Location = new System.Drawing.Point(8, 9);
     this.m_gbFields.Name     = "m_gbFields";
     this.m_gbFields.Size     = new System.Drawing.Size(405, 95);
     this.m_gbFields.TabIndex = 0;
     this.m_gbFields.TabStop  = false;
     this.m_gbFields.Text     = "Cadastro / Edição";
     //
     // m_cbPais
     //
     this.m_cbPais.Anchor   = System.Windows.Forms.AnchorStyles.None;
     this.m_cbPais.Font     = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.m_cbPais.Location = new System.Drawing.Point(231, 69);
     this.m_cbPais.Name     = "m_cbPais";
     this.m_cbPais.Size     = new System.Drawing.Size(165, 22);
     this.m_cbPais.TabIndex = 4;
     this.m_ttEnderecoEntregaCadEdit.SetToolTip(this.m_cbPais, "Selecione o país");
     //
     // m_ctbEstado
     //
     this.m_ctbEstado.Anchor   = System.Windows.Forms.AnchorStyles.None;
     this.m_ctbEstado.AutoSize = false;
     this.m_ctbEstado.Font     = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.m_ctbEstado.Location = new System.Drawing.Point(71, 69);
     this.m_ctbEstado.Name     = "m_ctbEstado";
     this.m_ctbEstado.Size     = new System.Drawing.Size(122, 20);
     this.m_ctbEstado.TabIndex = 3;
     this.m_ctbEstado.Text     = "";
     //
     // m_lPais
     //
     this.m_lPais.Anchor   = System.Windows.Forms.AnchorStyles.None;
     this.m_lPais.Font     = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.m_lPais.Location = new System.Drawing.Point(198, 71);
     this.m_lPais.Name     = "m_lPais";
     this.m_lPais.Size     = new System.Drawing.Size(33, 16);
     this.m_lPais.TabIndex = 35;
     this.m_lPais.Text     = "País:";
     //
     // m_lEstado
     //
     this.m_lEstado.Anchor   = System.Windows.Forms.AnchorStyles.None;
     this.m_lEstado.Font     = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.m_lEstado.Location = new System.Drawing.Point(8, 71);
     this.m_lEstado.Name     = "m_lEstado";
     this.m_lEstado.Size     = new System.Drawing.Size(48, 16);
     this.m_lEstado.TabIndex = 34;
     this.m_lEstado.Text     = "Estado:";
     //
     // m_ctbCidade
     //
     this.m_ctbCidade.Anchor   = System.Windows.Forms.AnchorStyles.None;
     this.m_ctbCidade.AutoSize = false;
     this.m_ctbCidade.Font     = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.m_ctbCidade.Location = new System.Drawing.Point(71, 45);
     this.m_ctbCidade.Name     = "m_ctbCidade";
     this.m_ctbCidade.Size     = new System.Drawing.Size(325, 20);
     this.m_ctbCidade.TabIndex = 2;
     this.m_ctbCidade.Text     = "";
     //
     // m_lCidade
     //
     this.m_lCidade.Anchor   = System.Windows.Forms.AnchorStyles.None;
     this.m_lCidade.Font     = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.m_lCidade.Location = new System.Drawing.Point(8, 47);
     this.m_lCidade.Name     = "m_lCidade";
     this.m_lCidade.Size     = new System.Drawing.Size(48, 16);
     this.m_lCidade.TabIndex = 33;
     this.m_lCidade.Text     = "Cidade:";
     //
     // m_ctbEndereco
     //
     this.m_ctbEndereco.Anchor   = System.Windows.Forms.AnchorStyles.None;
     this.m_ctbEndereco.AutoSize = false;
     this.m_ctbEndereco.Font     = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.m_ctbEndereco.Location = new System.Drawing.Point(71, 19);
     this.m_ctbEndereco.Name     = "m_ctbEndereco";
     this.m_ctbEndereco.Size     = new System.Drawing.Size(325, 20);
     this.m_ctbEndereco.TabIndex = 1;
     this.m_ctbEndereco.Text     = "";
     //
     // m_lEndereco
     //
     this.m_lEndereco.Anchor   = System.Windows.Forms.AnchorStyles.None;
     this.m_lEndereco.Font     = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.m_lEndereco.Location = new System.Drawing.Point(8, 22);
     this.m_lEndereco.Name     = "m_lEndereco";
     this.m_lEndereco.Size     = new System.Drawing.Size(61, 16);
     this.m_lEndereco.TabIndex = 32;
     this.m_lEndereco.Text     = "Endereço:";
     //
     // m_btTrocarCor
     //
     this.m_btTrocarCor.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(0)), ((System.Byte)(64)), ((System.Byte)(0)));
     this.m_btTrocarCor.Cursor    = System.Windows.Forms.Cursors.Hand;
     this.m_btTrocarCor.Location  = new System.Drawing.Point(4, 8);
     this.m_btTrocarCor.Name      = "m_btTrocarCor";
     this.m_btTrocarCor.Size      = new System.Drawing.Size(4, 4);
     this.m_btTrocarCor.TabIndex  = 7;
     this.m_ttEnderecoEntregaCadEdit.SetToolTip(this.m_btTrocarCor, "Cor");
     this.m_btTrocarCor.Click += new System.EventHandler(this.m_btTrocarCor_Click);
     //
     // m_btOk
     //
     this.m_btOk.Anchor      = System.Windows.Forms.AnchorStyles.Bottom;
     this.m_btOk.BackColor   = System.Drawing.SystemColors.Control;
     this.m_btOk.Cursor      = System.Windows.Forms.Cursors.Hand;
     this.m_btOk.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.m_btOk.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.m_btOk.Image       = ((System.Drawing.Image)(resources.GetObject("m_btOk.Image")));
     this.m_btOk.Location    = new System.Drawing.Point(150, 108);
     this.m_btOk.Name        = "m_btOk";
     this.m_btOk.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.m_btOk.Size        = new System.Drawing.Size(57, 25);
     this.m_btOk.TabIndex    = 5;
     this.m_ttEnderecoEntregaCadEdit.SetToolTip(this.m_btOk, "Confirmar");
     this.m_btOk.Click += new System.EventHandler(this.m_btOk_Click);
     //
     // m_btCancelar
     //
     this.m_btCancelar.Anchor      = System.Windows.Forms.AnchorStyles.Bottom;
     this.m_btCancelar.BackColor   = System.Drawing.SystemColors.Control;
     this.m_btCancelar.Cursor      = System.Windows.Forms.Cursors.Hand;
     this.m_btCancelar.Font        = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.m_btCancelar.ForeColor   = System.Drawing.SystemColors.ControlText;
     this.m_btCancelar.Image       = ((System.Drawing.Image)(resources.GetObject("m_btCancelar.Image")));
     this.m_btCancelar.Location    = new System.Drawing.Point(214, 108);
     this.m_btCancelar.Name        = "m_btCancelar";
     this.m_btCancelar.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.m_btCancelar.Size        = new System.Drawing.Size(57, 25);
     this.m_btCancelar.TabIndex    = 6;
     this.m_ttEnderecoEntregaCadEdit.SetToolTip(this.m_btCancelar, "Cancelar");
     this.m_btCancelar.Click += new System.EventHandler(this.m_btCancelar_Click);
     //
     // m_ttEnderecoEntregaCadEdit
     //
     this.m_ttEnderecoEntregaCadEdit.AutomaticDelay = 100;
     this.m_ttEnderecoEntregaCadEdit.AutoPopDelay   = 5000;
     this.m_ttEnderecoEntregaCadEdit.InitialDelay   = 100;
     this.m_ttEnderecoEntregaCadEdit.ReshowDelay    = 20;
     //
     // frmFEnderecoEntregaImportadorCadEdit
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(426, 142);
     this.Controls.Add(this.m_gbFrame);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmFEnderecoEntregaImportadorCadEdit";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Endereço de Entrega";
     this.Load           += new System.EventHandler(this.frmFEnderecoEntregaImportadorCadEdit_Load);
     this.m_gbFrame.ResumeLayout(false);
     this.m_gbFields.ResumeLayout(false);
     this.ResumeLayout(false);
 }
예제 #42
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_finview_trees));
     this.btnOk          = new System.Windows.Forms.Button();
     this.btnCancel      = new System.Windows.Forms.Button();
     this.dataGrid1      = new System.Windows.Forms.DataGrid();
     this.tree           = new System.Windows.Forms.TreeView();
     this.icons          = new System.Windows.Forms.ImageList(this.components);
     this.DS             = new finview_trees.vistaForm();
     this.toolTip1       = new System.Windows.Forms.ToolTip(this.components);
     this.MetaDataDetail = new System.Windows.Forms.GroupBox();
     this.splitter1      = new System.Windows.Forms.Splitter();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.DS)).BeginInit();
     this.MetaDataDetail.SuspendLayout();
     this.SuspendLayout();
     //
     // btnOk
     //
     this.btnOk.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnOk.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnOk.Location     = new System.Drawing.Point(423, 344);
     this.btnOk.Name         = "btnOk";
     this.btnOk.Size         = new System.Drawing.Size(75, 23);
     this.btnOk.TabIndex     = 2;
     this.btnOk.Tag          = "mainselect";
     this.btnOk.Text         = "Ok";
     //
     // btnCancel
     //
     this.btnCancel.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location     = new System.Drawing.Point(511, 344);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.Size         = new System.Drawing.Size(75, 23);
     this.btnCancel.TabIndex     = 3;
     this.btnCancel.Text         = "Cancel";
     //
     // dataGrid1
     //
     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(6, 12);
     this.dataGrid1.Name              = "dataGrid1";
     this.dataGrid1.ParentRowsVisible = false;
     this.dataGrid1.ReadOnly          = true;
     this.dataGrid1.Size              = new System.Drawing.Size(580, 326);
     this.dataGrid1.TabIndex          = 1;
     this.dataGrid1.Tag = "TreeNavigator.tree1";
     //
     // tree
     //
     this.tree.Dock               = System.Windows.Forms.DockStyle.Left;
     this.tree.HideSelection      = false;
     this.tree.ImageIndex         = 1;
     this.tree.ImageList          = this.icons;
     this.tree.Location           = new System.Drawing.Point(0, 0);
     this.tree.Name               = "tree";
     this.tree.SelectedImageIndex = 0;
     this.tree.ShowPlusMinus      = false;
     this.tree.Size               = new System.Drawing.Size(301, 373);
     this.tree.TabIndex           = 6;
     this.tree.Tag = "finview.tree";
     //
     // icons
     //
     this.icons.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("icons.ImageStream")));
     this.icons.TransparentColor = System.Drawing.Color.Transparent;
     this.icons.Images.SetKeyName(0, "");
     this.icons.Images.SetKeyName(1, "");
     //
     // DS
     //
     this.DS.DataSetName        = "vistaForm";
     this.DS.EnforceConstraints = false;
     this.DS.Locale             = new System.Globalization.CultureInfo("en-US");
     //
     // MetaDataDetail
     //
     this.MetaDataDetail.Controls.Add(this.dataGrid1);
     this.MetaDataDetail.Controls.Add(this.btnCancel);
     this.MetaDataDetail.Controls.Add(this.btnOk);
     this.MetaDataDetail.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.MetaDataDetail.Location = new System.Drawing.Point(301, 0);
     this.MetaDataDetail.Name     = "MetaDataDetail";
     this.MetaDataDetail.Size     = new System.Drawing.Size(592, 373);
     this.MetaDataDetail.TabIndex = 7;
     this.MetaDataDetail.TabStop  = false;
     //
     // splitter1
     //
     this.splitter1.Location = new System.Drawing.Point(301, 0);
     this.splitter1.Name     = "splitter1";
     this.splitter1.Size     = new System.Drawing.Size(3, 373);
     this.splitter1.TabIndex = 8;
     this.splitter1.TabStop  = false;
     //
     // Frm_finview_trees
     //
     this.AcceptButton      = this.btnOk;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.btnCancel;
     this.ClientSize        = new System.Drawing.Size(893, 373);
     this.Controls.Add(this.splitter1);
     this.Controls.Add(this.MetaDataDetail);
     this.Controls.Add(this.tree);
     this.Name          = "Frm_finview_trees";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "frmbilancioviewtree";
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.DS)).EndInit();
     this.MetaDataDetail.ResumeLayout(false);
     this.ResumeLayout(false);
 }
예제 #43
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.Windows.Forms.Button buttonOk;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FwHelpAbout));
     System.Windows.Forms.Label      lblSILFieldWorks1;
     System.Windows.Forms.PictureBox fieldWorksIcon;
     System.Windows.Forms.ToolTip    m_toolTip;
     this.lblAvailableDiskSpace = new System.Windows.Forms.Label();
     this.lblAvailableMemory    = new System.Windows.Forms.Label();
     this.lblName = new System.Windows.Forms.Label();
     this.edtAvailableDiskSpace = new System.Windows.Forms.Label();
     this.edtAvailableMemory    = new System.Windows.Forms.Label();
     this.lblAppVersion         = new System.Windows.Forms.Label();
     this.lblFwVersion          = new System.Windows.Forms.Label();
     this.txtCopyright          = new System.Windows.Forms.TextBox();
     buttonOk          = new System.Windows.Forms.Button();
     lblSILFieldWorks1 = new System.Windows.Forms.Label();
     fieldWorksIcon    = new System.Windows.Forms.PictureBox();
     m_toolTip         = new System.Windows.Forms.ToolTip(this.components);
     ((System.ComponentModel.ISupportInitialize)(fieldWorksIcon)).BeginInit();
     this.SuspendLayout();
     //
     // buttonOk
     //
     buttonOk.BackColor    = System.Drawing.SystemColors.Control;
     buttonOk.DialogResult = System.Windows.Forms.DialogResult.OK;
     resources.ApplyResources(buttonOk, "buttonOk");
     buttonOk.Name = "buttonOk";
     m_toolTip.SetToolTip(buttonOk, resources.GetString("buttonOk.ToolTip"));
     buttonOk.UseVisualStyleBackColor = true;
     //
     // lblSILFieldWorks1
     //
     resources.ApplyResources(lblSILFieldWorks1, "lblSILFieldWorks1");
     lblSILFieldWorks1.Name = "lblSILFieldWorks1";
     //
     // fieldWorksIcon
     //
     resources.ApplyResources(fieldWorksIcon, "fieldWorksIcon");
     fieldWorksIcon.Name    = "fieldWorksIcon";
     fieldWorksIcon.TabStop = false;
     //
     // m_toolTip
     //
     m_toolTip.AutomaticDelay = 100;
     m_toolTip.AutoPopDelay   = 1000;
     m_toolTip.InitialDelay   = 100;
     m_toolTip.ReshowDelay    = 100;
     //
     // lblAvailableDiskSpace
     //
     resources.ApplyResources(this.lblAvailableDiskSpace, "lblAvailableDiskSpace");
     this.lblAvailableDiskSpace.Name = "lblAvailableDiskSpace";
     //
     // lblAvailableMemory
     //
     resources.ApplyResources(this.lblAvailableMemory, "lblAvailableMemory");
     this.lblAvailableMemory.Name = "lblAvailableMemory";
     //
     // lblName
     //
     resources.ApplyResources(this.lblName, "lblName");
     this.lblName.Name = "lblName";
     //
     // edtAvailableDiskSpace
     //
     this.edtAvailableDiskSpace.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     resources.ApplyResources(this.edtAvailableDiskSpace, "edtAvailableDiskSpace");
     this.edtAvailableDiskSpace.Name = "edtAvailableDiskSpace";
     //
     // edtAvailableMemory
     //
     this.edtAvailableMemory.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     resources.ApplyResources(this.edtAvailableMemory, "edtAvailableMemory");
     this.edtAvailableMemory.Name = "edtAvailableMemory";
     //
     // lblAppVersion
     //
     resources.ApplyResources(this.lblAppVersion, "lblAppVersion");
     this.lblAppVersion.Name = "lblAppVersion";
     //
     // lblFwVersion
     //
     resources.ApplyResources(this.lblFwVersion, "lblFwVersion");
     this.lblFwVersion.Name = "lblFwVersion";
     //
     // txtCopyright
     //
     this.txtCopyright.BackColor = System.Drawing.Color.White;
     this.txtCopyright.Cursor    = System.Windows.Forms.Cursors.SizeAll;
     resources.ApplyResources(this.txtCopyright, "txtCopyright");
     this.txtCopyright.Name     = "txtCopyright";
     this.txtCopyright.ReadOnly = true;
     this.txtCopyright.TabStop  = false;
     //
     // FwHelpAbout
     //
     this.AcceptButton = buttonOk;
     resources.ApplyResources(this, "$this");
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor     = System.Drawing.SystemColors.Window;
     this.CancelButton  = buttonOk;
     this.Controls.Add(this.txtCopyright);
     this.Controls.Add(this.lblFwVersion);
     this.Controls.Add(this.lblAppVersion);
     this.Controls.Add(this.edtAvailableMemory);
     this.Controls.Add(this.edtAvailableDiskSpace);
     this.Controls.Add(this.lblAvailableMemory);
     this.Controls.Add(this.lblAvailableDiskSpace);
     this.Controls.Add(fieldWorksIcon);
     this.Controls.Add(this.lblName);
     this.Controls.Add(lblSILFieldWorks1);
     this.Controls.Add(buttonOk);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "FwHelpAbout";
     this.ShowInTaskbar   = false;
     ((System.ComponentModel.ISupportInitialize)(fieldWorksIcon)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #44
0
        protected void ButtonText(Panel p, DataTable k0, int Gym)
        {
            IOrderedEnumerable <DataRow> result;

            if (Gym == 1)
            {
                result = k0.Select().OrderBy(row => row["BusinessSEQ"]);
            }
            else
            if (Gym == 2)
            {
                result = k0.Select().OrderBy(row => row["Index"]);
            }
            else
            {
                result = k0.Select().OrderBy(row => row["ProgramSEQ"]);
            }
            var k = result.CopyToDataTable();

            // MainMenuLogin
            System.Windows.Forms.ToolTip ToolTip1 = new System.Windows.Forms.ToolTip();
            if (Gym == 3)
            {
                for (int h = 0; h < 20; h++)
                {
                    var conclear = (this.Controls.Find("mc_" + (h + 1).ToString(), true)[0] as SButton);
                    conclear.Text     = "";
                    conclear.Enabled  = false;
                    conclear.TabIndex = h + 1;
                }
            }
            else if (Gym == 2)
            {
                var ctrl = new Control();
                for (int h = 0; h < 20; h++)
                {
                    ctrl = this.Controls.Find("mc_" + (h + 1).ToString(), true)[0] as SButton;
                    var drow = k.Select("Index = '" + (h + 1).ToString() + "'");
                    if (drow.Count() > 0)
                    {
                        if (k.Rows[h]["Index"].ToString() != "")
                        {
                            ((SButton)ctrl).Text     = k.Rows[h]["ProgramID"].ToString();
                            ((SButton)ctrl).Enabled  = true;
                            ((SButton)ctrl).TabIndex = Convert.ToInt32(k.Rows[h]["Index"].ToString());
                        }
                    }
                    else
                    {
                        ((SButton)ctrl).Text     = "";
                        ((SButton)ctrl).Enabled  = false;
                        ((SButton)ctrl).TabIndex = h + 1;
                    }
                }
            }
            else
            {
                for (int j = 0; j < k.Rows.Count; j++)
                {
                    var c = GetAllControls(p);
                    for (int i = 0; i < c.Count(); i++)
                    {
                        Control ctrl = c.ElementAt(i) as Control;
                        if (ctrl is SButton)
                        {
                            ToolTip1.SetToolTip(((SButton)ctrl), null);
                            if (Gym == 1 && k.Rows[j]["Char1"].ToString() != string.Empty && k.Rows[j]["BusinessSEQ"].ToString() != string.Empty)
                            {
                                if (((SButton)ctrl).Name == "gym_" + Convert.ToInt32(k.Rows[j]["BusinessSEQ"].ToString()))
                                {
                                    ((SButton)ctrl).Text     = k.Rows[j]["Char1"].ToString();
                                    ((SButton)ctrl).Enabled  = true;
                                    ((SButton)ctrl).TabIndex = Convert.ToInt32(k.Rows[j]["BusinessSEQ"].ToString());
                                }
                            }
                            else if (Gym == 0 && k.Rows[j]["ProgramID"].ToString() != string.Empty)
                            {
                                if (((SButton)ctrl).Name == "mc_" + Convert.ToInt32(k.Rows[j]["ProgramSEQ"].ToString()))
                                {
                                    ((SButton)ctrl).Text     = k.Rows[j]["ProgramID"].ToString();
                                    ((SButton)ctrl).Enabled  = true;
                                    ((SButton)ctrl).TabIndex = Convert.ToInt32(k.Rows[j]["ProgramSEQ"].ToString());
                                    //  ((CKM_Button)ctrl).Name = mope_data.PROID.ToString();
                                    // ToolTip1.SetToolTip(((CKM_Button)ctrl),"");
                                    //ToolTip1.SetToolTip(((CKM_Button)ctrl), ((CKM_Button)ctrl).Text);
                                }
                            }
                        }
                    }
                }
            }
        }
예제 #45
0
 private void slCbtn4_MouseHover(object sender, EventArgs e)
 {
     System.Windows.Forms.ToolTip ToolTip1 = new System.Windows.Forms.ToolTip();
     ToolTip1.SetToolTip(this.slCbtn4, "Scan your files!");
 }
예제 #46
0
 private void slCbtn6_MouseHover(object sender, EventArgs e)
 {
     System.Windows.Forms.ToolTip ToolTip1 = new System.Windows.Forms.ToolTip();
     ToolTip1.SetToolTip(this.slCbtn6, "Login to the webpanel.");
 }
예제 #47
0
 private void slCbtn1_MouseHover(object sender, EventArgs e)
 {
     System.Windows.Forms.ToolTip ToolTip1 = new System.Windows.Forms.ToolTip();
     ToolTip1.SetToolTip(this.slCbtn1, "Build a Keylogger.");
 }
예제 #48
0
 private void slCbtn3_MouseHover(object sender, EventArgs e)
 {
     System.Windows.Forms.ToolTip ToolTip1 = new System.Windows.Forms.ToolTip();
     ToolTip1.SetToolTip(this.slCbtn3, "Different tools to modify your files.");
 }
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmGRVPromotion));
     this.components      = new System.ComponentModel.Container();
     this.ToolTip1        = new System.Windows.Forms.ToolTip(components);
     this.ShapeContainer1 = new Microsoft.VisualBasic.PowerPacks.ShapeContainer();
     this._DTFields_3     = new System.Windows.Forms.DateTimePicker();
     this._DTFields_2     = new System.Windows.Forms.DateTimePicker();
     this._chkFields_2    = new System.Windows.Forms.CheckBox();
     this.cmdDelete       = new System.Windows.Forms.Button();
     this.cmdAdd          = new System.Windows.Forms.Button();
     this.lvPromotion     = new System.Windows.Forms.ListView();
     this._chkFields_1    = new System.Windows.Forms.CheckBox();
     this._chkFields_0    = new System.Windows.Forms.CheckBox();
     this._DTFields_0     = new System.Windows.Forms.DateTimePicker();
     this._txtFields_0    = new System.Windows.Forms.TextBox();
     this.picButtons      = new System.Windows.Forms.Panel();
     this.cmdPrint        = new System.Windows.Forms.Button();
     this.cmdClose        = new System.Windows.Forms.Button();
     this.cmdCancel       = new System.Windows.Forms.Button();
     this._DTFields_1     = new System.Windows.Forms.DateTimePicker();
     this.Label2          = new System.Windows.Forms.Label();
     this.Label1          = new System.Windows.Forms.Label();
     this._lblLabels_1    = new System.Windows.Forms.Label();
     this._lblLabels_0    = new System.Windows.Forms.Label();
     this._lblLabels_38   = new System.Windows.Forms.Label();
     this._Shape1_2       = new Microsoft.VisualBasic.PowerPacks.RectangleShape();
     this._lbl_5          = new System.Windows.Forms.Label();
     //Me.DTFields = New AxDTPickerArray(components)
     //Me.chkFields = New Microsoft.VisualBasic.Compatibility.VB6.CheckBoxArray(components)
     //Me.lbl = New Microsoft.VisualBasic.Compatibility.VB6.LabelArray(components)
     //Me.lblLabels = New Microsoft.VisualBasic.Compatibility.VB6.LabelArray(components)
     //Me.txtFields = New Microsoft.VisualBasic.Compatibility.VB6.TextBoxArray(components)
     this.Shape1 = new RectangleShapeArray(components);
     this.picButtons.SuspendLayout();
     this.SuspendLayout();
     this.ToolTip1.Active = true;
     ((System.ComponentModel.ISupportInitialize) this._DTFields_3).BeginInit();
     ((System.ComponentModel.ISupportInitialize) this._DTFields_2).BeginInit();
     ((System.ComponentModel.ISupportInitialize) this._DTFields_0).BeginInit();
     ((System.ComponentModel.ISupportInitialize) this._DTFields_1).BeginInit();
     //CType(Me.DTFields, System.ComponentModel.ISupportInitialize).BeginInit()
     //CType(Me.chkFields, System.ComponentModel.ISupportInitialize).BeginInit()
     //CType(Me.lbl, System.ComponentModel.ISupportInitialize).BeginInit()
     //CType(Me.lblLabels, System.ComponentModel.ISupportInitialize).BeginInit()
     //CType(Me.txtFields, System.ComponentModel.ISupportInitialize).BeginInit()
     ((System.ComponentModel.ISupportInitialize) this.Shape1).BeginInit();
     this.BackColor       = System.Drawing.Color.FromArgb(224, 224, 224);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Text            = "Edit GRV Deal Details";
     this.ClientSize      = new System.Drawing.Size(455, 460);
     this.Location        = new System.Drawing.Point(73, 22);
     this.ControlBox      = false;
     this.KeyPreview      = true;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.AutoScaleMode   = System.Windows.Forms.AutoScaleMode.Font;
     this.Enabled         = true;
     this.Cursor          = System.Windows.Forms.Cursors.Default;
     this.RightToLeft     = System.Windows.Forms.RightToLeft.No;
     this.ShowInTaskbar   = true;
     this.HelpButton      = false;
     this.WindowState     = System.Windows.Forms.FormWindowState.Normal;
     this.Name            = "frmGRVPromotion";
     //_DTFields_3.OcxState = CType(resources.GetObject("_DTFields_3.OcxState"), System.Windows.Forms.AxHost.State)
     this._DTFields_3.Size     = new System.Drawing.Size(130, 21);
     this._DTFields_3.Location = new System.Drawing.Point(291, 112);
     this._DTFields_3.TabIndex = 20;
     this._DTFields_3.Visible  = false;
     this._DTFields_3.Name     = "_DTFields_3";
     //_DTFields_2.OcxState = CType(resources.GetObject("_DTFields_2.OcxState"), System.Windows.Forms.AxHost.State)
     this._DTFields_2.Size              = new System.Drawing.Size(130, 21);
     this._DTFields_2.Location          = new System.Drawing.Point(104, 112);
     this._DTFields_2.TabIndex          = 19;
     this._DTFields_2.Visible           = false;
     this._DTFields_2.Name              = "_DTFields_2";
     this._chkFields_2.CheckAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this._chkFields_2.FlatStyle        = System.Windows.Forms.FlatStyle.Flat;
     this._chkFields_2.BackColor        = System.Drawing.Color.FromArgb(192, 192, 255);
     this._chkFields_2.Text             = "Only for Specific Time";
     this._chkFields_2.ForeColor        = System.Drawing.SystemColors.WindowText;
     this._chkFields_2.Size             = new System.Drawing.Size(151, 17);
     this._chkFields_2.Location         = new System.Drawing.Point(270, 152);
     this._chkFields_2.TabIndex         = 16;
     this._chkFields_2.Visible          = false;
     this._chkFields_2.CausesValidation = true;
     this._chkFields_2.Enabled          = true;
     this._chkFields_2.Cursor           = System.Windows.Forms.Cursors.Default;
     this._chkFields_2.RightToLeft      = System.Windows.Forms.RightToLeft.No;
     this._chkFields_2.Appearance       = System.Windows.Forms.Appearance.Normal;
     this._chkFields_2.TabStop          = true;
     this._chkFields_2.CheckState       = System.Windows.Forms.CheckState.Unchecked;
     this._chkFields_2.Name             = "_chkFields_2";
     this.cmdDelete.TextAlign           = System.Drawing.ContentAlignment.MiddleCenter;
     this.cmdDelete.Text             = "&Delete";
     this.cmdDelete.Size             = new System.Drawing.Size(94, 25);
     this.cmdDelete.Location         = new System.Drawing.Point(352, 176);
     this.cmdDelete.TabIndex         = 14;
     this.cmdDelete.TabStop          = false;
     this.cmdDelete.BackColor        = System.Drawing.SystemColors.Control;
     this.cmdDelete.CausesValidation = true;
     this.cmdDelete.Enabled          = true;
     this.cmdDelete.ForeColor        = System.Drawing.SystemColors.ControlText;
     this.cmdDelete.Cursor           = System.Windows.Forms.Cursors.Default;
     this.cmdDelete.RightToLeft      = System.Windows.Forms.RightToLeft.No;
     this.cmdDelete.Name             = "cmdDelete";
     this.cmdAdd.TextAlign           = System.Drawing.ContentAlignment.MiddleCenter;
     this.cmdAdd.Text                   = "&Add";
     this.cmdAdd.Size                   = new System.Drawing.Size(94, 25);
     this.cmdAdd.Location               = new System.Drawing.Point(2, 176);
     this.cmdAdd.TabIndex               = 13;
     this.cmdAdd.TabStop                = false;
     this.cmdAdd.BackColor              = System.Drawing.SystemColors.Control;
     this.cmdAdd.CausesValidation       = true;
     this.cmdAdd.Enabled                = true;
     this.cmdAdd.ForeColor              = System.Drawing.SystemColors.ControlText;
     this.cmdAdd.Cursor                 = System.Windows.Forms.Cursors.Default;
     this.cmdAdd.RightToLeft            = System.Windows.Forms.RightToLeft.No;
     this.cmdAdd.Name                   = "cmdAdd";
     this.lvPromotion.Size              = new System.Drawing.Size(445, 250);
     this.lvPromotion.Location          = new System.Drawing.Point(2, 206);
     this.lvPromotion.TabIndex          = 11;
     this.lvPromotion.View              = System.Windows.Forms.View.Details;
     this.lvPromotion.LabelWrap         = true;
     this.lvPromotion.HideSelection     = false;
     this.lvPromotion.FullRowSelect     = true;
     this.lvPromotion.GridLines         = true;
     this.lvPromotion.ForeColor         = System.Drawing.SystemColors.WindowText;
     this.lvPromotion.BackColor         = System.Drawing.SystemColors.Window;
     this.lvPromotion.LabelEdit         = true;
     this.lvPromotion.BorderStyle       = System.Windows.Forms.BorderStyle.Fixed3D;
     this.lvPromotion.Name              = "lvPromotion";
     this._chkFields_1.CheckAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this._chkFields_1.FlatStyle        = System.Windows.Forms.FlatStyle.Flat;
     this._chkFields_1.BackColor        = System.Drawing.Color.FromArgb(192, 192, 255);
     this._chkFields_1.Text             = "Disabled:";
     this._chkFields_1.ForeColor        = System.Drawing.SystemColors.WindowText;
     this._chkFields_1.Size             = new System.Drawing.Size(64, 13);
     this._chkFields_1.Location         = new System.Drawing.Point(54, 138);
     this._chkFields_1.TabIndex         = 7;
     this._chkFields_1.CausesValidation = true;
     this._chkFields_1.Enabled          = true;
     this._chkFields_1.Cursor           = System.Windows.Forms.Cursors.Default;
     this._chkFields_1.RightToLeft      = System.Windows.Forms.RightToLeft.No;
     this._chkFields_1.Appearance       = System.Windows.Forms.Appearance.Normal;
     this._chkFields_1.TabStop          = true;
     this._chkFields_1.CheckState       = System.Windows.Forms.CheckState.Unchecked;
     this._chkFields_1.Visible          = true;
     this._chkFields_1.Name             = "_chkFields_1";
     this._chkFields_0.CheckAlign       = System.Drawing.ContentAlignment.MiddleRight;
     this._chkFields_0.FlatStyle        = System.Windows.Forms.FlatStyle.Flat;
     this._chkFields_0.BackColor        = System.Drawing.Color.FromArgb(192, 192, 255);
     this._chkFields_0.Text             = "Apply Only to POS Channel";
     this._chkFields_0.ForeColor        = System.Drawing.SystemColors.WindowText;
     this._chkFields_0.Size             = new System.Drawing.Size(151, 13);
     this._chkFields_0.Location         = new System.Drawing.Point(270, 138);
     this._chkFields_0.TabIndex         = 8;
     this._chkFields_0.Visible          = false;
     this._chkFields_0.CausesValidation = true;
     this._chkFields_0.Enabled          = true;
     this._chkFields_0.Cursor           = System.Windows.Forms.Cursors.Default;
     this._chkFields_0.RightToLeft      = System.Windows.Forms.RightToLeft.No;
     this._chkFields_0.Appearance       = System.Windows.Forms.Appearance.Normal;
     this._chkFields_0.TabStop          = true;
     this._chkFields_0.CheckState       = System.Windows.Forms.CheckState.Unchecked;
     this._chkFields_0.Name             = "_chkFields_0";
     //_DTFields_0.OcxState = CType(resources.GetObject("_DTFields_0.OcxState"), System.Windows.Forms.AxHost.State)
     this._DTFields_0.Size              = new System.Drawing.Size(130, 22);
     this._DTFields_0.Location          = new System.Drawing.Point(105, 87);
     this._DTFields_0.TabIndex          = 4;
     this._DTFields_0.Name              = "_DTFields_0";
     this._txtFields_0.AutoSize         = false;
     this._txtFields_0.Size             = new System.Drawing.Size(315, 19);
     this._txtFields_0.Location         = new System.Drawing.Point(105, 66);
     this._txtFields_0.TabIndex         = 2;
     this._txtFields_0.AcceptsReturn    = true;
     this._txtFields_0.TextAlign        = System.Windows.Forms.HorizontalAlignment.Left;
     this._txtFields_0.BackColor        = System.Drawing.SystemColors.Window;
     this._txtFields_0.CausesValidation = true;
     this._txtFields_0.Enabled          = true;
     this._txtFields_0.ForeColor        = System.Drawing.SystemColors.WindowText;
     this._txtFields_0.HideSelection    = true;
     this._txtFields_0.ReadOnly         = false;
     this._txtFields_0.MaxLength        = 0;
     this._txtFields_0.Cursor           = System.Windows.Forms.Cursors.IBeam;
     this._txtFields_0.Multiline        = false;
     this._txtFields_0.RightToLeft      = System.Windows.Forms.RightToLeft.No;
     this._txtFields_0.ScrollBars       = System.Windows.Forms.ScrollBars.None;
     this._txtFields_0.TabStop          = true;
     this._txtFields_0.Visible          = true;
     this._txtFields_0.BorderStyle      = System.Windows.Forms.BorderStyle.FixedSingle;
     this._txtFields_0.Name             = "_txtFields_0";
     this.picButtons.Dock             = System.Windows.Forms.DockStyle.Top;
     this.picButtons.BackColor        = System.Drawing.Color.Blue;
     this.picButtons.Size             = new System.Drawing.Size(455, 39);
     this.picButtons.Location         = new System.Drawing.Point(0, 0);
     this.picButtons.TabIndex         = 10;
     this.picButtons.TabStop          = false;
     this.picButtons.CausesValidation = true;
     this.picButtons.Enabled          = true;
     this.picButtons.ForeColor        = System.Drawing.SystemColors.ControlText;
     this.picButtons.Cursor           = System.Windows.Forms.Cursors.Default;
     this.picButtons.RightToLeft      = System.Windows.Forms.RightToLeft.No;
     this.picButtons.Visible          = true;
     this.picButtons.BorderStyle      = System.Windows.Forms.BorderStyle.Fixed3D;
     this.picButtons.Name             = "picButtons";
     this.cmdPrint.TextAlign          = System.Drawing.ContentAlignment.MiddleCenter;
     this.cmdPrint.Text              = "&Print";
     this.cmdPrint.Size              = new System.Drawing.Size(73, 29);
     this.cmdPrint.Location          = new System.Drawing.Point(192, 3);
     this.cmdPrint.TabIndex          = 15;
     this.cmdPrint.TabStop           = false;
     this.cmdPrint.BackColor         = System.Drawing.SystemColors.Control;
     this.cmdPrint.CausesValidation  = true;
     this.cmdPrint.Enabled           = true;
     this.cmdPrint.ForeColor         = System.Drawing.SystemColors.ControlText;
     this.cmdPrint.Cursor            = System.Windows.Forms.Cursors.Default;
     this.cmdPrint.RightToLeft       = System.Windows.Forms.RightToLeft.No;
     this.cmdPrint.Name              = "cmdPrint";
     this.cmdClose.TextAlign         = System.Drawing.ContentAlignment.MiddleCenter;
     this.cmdClose.Text              = "E&xit";
     this.cmdClose.Size              = new System.Drawing.Size(73, 29);
     this.cmdClose.Location          = new System.Drawing.Point(369, 3);
     this.cmdClose.TabIndex          = 12;
     this.cmdClose.TabStop           = false;
     this.cmdClose.BackColor         = System.Drawing.SystemColors.Control;
     this.cmdClose.CausesValidation  = true;
     this.cmdClose.Enabled           = true;
     this.cmdClose.ForeColor         = System.Drawing.SystemColors.ControlText;
     this.cmdClose.Cursor            = System.Windows.Forms.Cursors.Default;
     this.cmdClose.RightToLeft       = System.Windows.Forms.RightToLeft.No;
     this.cmdClose.Name              = "cmdClose";
     this.cmdCancel.TextAlign        = System.Drawing.ContentAlignment.MiddleCenter;
     this.cmdCancel.Text             = "&Undo";
     this.cmdCancel.Size             = new System.Drawing.Size(73, 29);
     this.cmdCancel.Location         = new System.Drawing.Point(5, 3);
     this.cmdCancel.TabIndex         = 9;
     this.cmdCancel.TabStop          = false;
     this.cmdCancel.BackColor        = System.Drawing.SystemColors.Control;
     this.cmdCancel.CausesValidation = true;
     this.cmdCancel.Enabled          = true;
     this.cmdCancel.ForeColor        = System.Drawing.SystemColors.ControlText;
     this.cmdCancel.Cursor           = System.Windows.Forms.Cursors.Default;
     this.cmdCancel.RightToLeft      = System.Windows.Forms.RightToLeft.No;
     this.cmdCancel.Name             = "cmdCancel";
     //_DTFields_1.OcxState = CType(resources.GetObject("_DTFields_1.OcxState"), System.Windows.Forms.AxHost.State)
     this._DTFields_1.Size          = new System.Drawing.Size(130, 22);
     this._DTFields_1.Location      = new System.Drawing.Point(291, 87);
     this._DTFields_1.TabIndex      = 6;
     this._DTFields_1.Name          = "_DTFields_1";
     this.Label2.BackColor          = System.Drawing.Color.FromArgb(192, 192, 255);
     this.Label2.Text               = "To Time:";
     this.Label2.Size               = new System.Drawing.Size(51, 15);
     this.Label2.Location           = new System.Drawing.Point(238, 116);
     this.Label2.TabIndex           = 18;
     this.Label2.Visible            = false;
     this.Label2.TextAlign          = System.Drawing.ContentAlignment.TopLeft;
     this.Label2.Enabled            = true;
     this.Label2.ForeColor          = System.Drawing.SystemColors.ControlText;
     this.Label2.Cursor             = System.Windows.Forms.Cursors.Default;
     this.Label2.RightToLeft        = System.Windows.Forms.RightToLeft.No;
     this.Label2.UseMnemonic        = true;
     this.Label2.AutoSize           = false;
     this.Label2.BorderStyle        = System.Windows.Forms.BorderStyle.None;
     this.Label2.Name               = "Label2";
     this.Label1.BackColor          = System.Drawing.Color.FromArgb(192, 192, 255);
     this.Label1.Text               = "From Time:";
     this.Label1.Size               = new System.Drawing.Size(57, 17);
     this.Label1.Location           = new System.Drawing.Point(48, 116);
     this.Label1.TabIndex           = 17;
     this.Label1.Visible            = false;
     this.Label1.TextAlign          = System.Drawing.ContentAlignment.TopLeft;
     this.Label1.Enabled            = true;
     this.Label1.ForeColor          = System.Drawing.SystemColors.ControlText;
     this.Label1.Cursor             = System.Windows.Forms.Cursors.Default;
     this.Label1.RightToLeft        = System.Windows.Forms.RightToLeft.No;
     this.Label1.UseMnemonic        = true;
     this.Label1.AutoSize           = false;
     this.Label1.BorderStyle        = System.Windows.Forms.BorderStyle.None;
     this.Label1.Name               = "Label1";
     this._lblLabels_1.TextAlign    = System.Drawing.ContentAlignment.TopRight;
     this._lblLabels_1.Text         = "End Date:";
     this._lblLabels_1.Size         = new System.Drawing.Size(48, 13);
     this._lblLabels_1.Location     = new System.Drawing.Point(240, 90);
     this._lblLabels_1.TabIndex     = 5;
     this._lblLabels_1.BackColor    = System.Drawing.Color.Transparent;
     this._lblLabels_1.Enabled      = true;
     this._lblLabels_1.ForeColor    = System.Drawing.SystemColors.ControlText;
     this._lblLabels_1.Cursor       = System.Windows.Forms.Cursors.Default;
     this._lblLabels_1.RightToLeft  = System.Windows.Forms.RightToLeft.No;
     this._lblLabels_1.UseMnemonic  = true;
     this._lblLabels_1.Visible      = true;
     this._lblLabels_1.AutoSize     = true;
     this._lblLabels_1.BorderStyle  = System.Windows.Forms.BorderStyle.None;
     this._lblLabels_1.Name         = "_lblLabels_1";
     this._lblLabels_0.TextAlign    = System.Drawing.ContentAlignment.TopRight;
     this._lblLabels_0.Text         = "Start Date:";
     this._lblLabels_0.Size         = new System.Drawing.Size(51, 13);
     this._lblLabels_0.Location     = new System.Drawing.Point(52, 90);
     this._lblLabels_0.TabIndex     = 3;
     this._lblLabels_0.BackColor    = System.Drawing.Color.Transparent;
     this._lblLabels_0.Enabled      = true;
     this._lblLabels_0.ForeColor    = System.Drawing.SystemColors.ControlText;
     this._lblLabels_0.Cursor       = System.Windows.Forms.Cursors.Default;
     this._lblLabels_0.RightToLeft  = System.Windows.Forms.RightToLeft.No;
     this._lblLabels_0.UseMnemonic  = true;
     this._lblLabels_0.Visible      = true;
     this._lblLabels_0.AutoSize     = true;
     this._lblLabels_0.BorderStyle  = System.Windows.Forms.BorderStyle.None;
     this._lblLabels_0.Name         = "_lblLabels_0";
     this._lblLabels_38.TextAlign   = System.Drawing.ContentAlignment.TopRight;
     this._lblLabels_38.Text        = "Deal Name:";
     this._lblLabels_38.Size        = new System.Drawing.Size(56, 13);
     this._lblLabels_38.Location    = new System.Drawing.Point(44, 69);
     this._lblLabels_38.TabIndex    = 1;
     this._lblLabels_38.BackColor   = System.Drawing.Color.Transparent;
     this._lblLabels_38.Enabled     = true;
     this._lblLabels_38.ForeColor   = System.Drawing.SystemColors.ControlText;
     this._lblLabels_38.Cursor      = System.Windows.Forms.Cursors.Default;
     this._lblLabels_38.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this._lblLabels_38.UseMnemonic = true;
     this._lblLabels_38.Visible     = true;
     this._lblLabels_38.AutoSize    = true;
     this._lblLabels_38.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this._lblLabels_38.Name        = "_lblLabels_38";
     this._Shape1_2.BackColor       = System.Drawing.Color.FromArgb(192, 192, 255);
     this._Shape1_2.BackStyle       = Microsoft.VisualBasic.PowerPacks.BackStyle.Opaque;
     this._Shape1_2.Size            = new System.Drawing.Size(415, 112);
     this._Shape1_2.Location        = new System.Drawing.Point(15, 60);
     this._Shape1_2.BorderColor     = System.Drawing.SystemColors.WindowText;
     this._Shape1_2.BorderStyle     = System.Drawing.Drawing2D.DashStyle.Solid;
     this._Shape1_2.BorderWidth     = 1;
     this._Shape1_2.FillColor       = System.Drawing.Color.Black;
     this._Shape1_2.FillStyle       = Microsoft.VisualBasic.PowerPacks.FillStyle.Transparent;
     this._Shape1_2.Visible         = true;
     this._Shape1_2.Name            = "_Shape1_2";
     this._lbl_5.BackColor          = System.Drawing.Color.Transparent;
     this._lbl_5.Text               = "&1. General";
     this._lbl_5.Font               = new System.Drawing.Font("Arial", 8.25f, System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, Convert.ToByte(178));
     this._lbl_5.Size               = new System.Drawing.Size(60, 13);
     this._lbl_5.Location           = new System.Drawing.Point(15, 45);
     this._lbl_5.TabIndex           = 0;
     this._lbl_5.TextAlign          = System.Drawing.ContentAlignment.TopLeft;
     this._lbl_5.Enabled            = true;
     this._lbl_5.ForeColor          = System.Drawing.SystemColors.ControlText;
     this._lbl_5.Cursor             = System.Windows.Forms.Cursors.Default;
     this._lbl_5.RightToLeft        = System.Windows.Forms.RightToLeft.No;
     this._lbl_5.UseMnemonic        = true;
     this._lbl_5.Visible            = true;
     this._lbl_5.AutoSize           = true;
     this._lbl_5.BorderStyle        = System.Windows.Forms.BorderStyle.None;
     this._lbl_5.Name               = "_lbl_5";
     this.Controls.Add(_DTFields_3);
     this.Controls.Add(_DTFields_2);
     this.Controls.Add(_chkFields_2);
     this.Controls.Add(cmdDelete);
     this.Controls.Add(cmdAdd);
     this.Controls.Add(lvPromotion);
     this.Controls.Add(_chkFields_1);
     this.Controls.Add(_chkFields_0);
     this.Controls.Add(_DTFields_0);
     this.Controls.Add(_txtFields_0);
     this.Controls.Add(picButtons);
     this.Controls.Add(_DTFields_1);
     this.Controls.Add(Label2);
     this.Controls.Add(Label1);
     this.Controls.Add(_lblLabels_1);
     this.Controls.Add(_lblLabels_0);
     this.Controls.Add(_lblLabels_38);
     this.ShapeContainer1.Shapes.Add(_Shape1_2);
     this.Controls.Add(_lbl_5);
     this.Controls.Add(ShapeContainer1);
     this.picButtons.Controls.Add(cmdPrint);
     this.picButtons.Controls.Add(cmdClose);
     this.picButtons.Controls.Add(cmdCancel);
     //Me.DTFields.SetIndex(_DTFields_3, CType(3, Short))
     //Me.DTFields.SetIndex(_DTFields_2, CType(2, Short))
     //Me.DTFields.SetIndex(_DTFields_0, CType(0, Short))
     //Me.DTFields.SetIndex(_DTFields_1, CType(1, Short))
     //Me.chkFields.SetIndex(_chkFields_2, CType(2, Short))
     //Me.chkFields.SetIndex(_chkFields_1, CType(1, Short))
     //Me.chkFields.SetIndex(_chkFields_0, CType(0, Short))
     //Me.lbl.SetIndex(_lbl_5, CType(5, Short))
     //Me.lblLabels.SetIndex(_lblLabels_1, CType(1, Short))
     //Me.lblLabels.SetIndex(_lblLabels_0, CType(0, Short))
     //Me.lblLabels.SetIndex(_lblLabels_38, CType(38, Short))
     //Me.txtFields.SetIndex(_txtFields_0, CType(0, Short))
     this.Shape1.SetIndex(_Shape1_2, Convert.ToInt16(2));
     ((System.ComponentModel.ISupportInitialize) this.Shape1).EndInit();
     //CType(Me.txtFields, System.ComponentModel.ISupportInitialize).EndInit()
     //CType(Me.lblLabels, System.ComponentModel.ISupportInitialize).EndInit()
     //CType(Me.lbl, System.ComponentModel.ISupportInitialize).EndInit()
     //CType(Me.chkFields, System.ComponentModel.ISupportInitialize).EndInit()
     //CType(Me.DTFields, System.ComponentModel.ISupportInitialize).EndInit()
     ((System.ComponentModel.ISupportInitialize) this._DTFields_1).EndInit();
     ((System.ComponentModel.ISupportInitialize) this._DTFields_0).EndInit();
     ((System.ComponentModel.ISupportInitialize) this._DTFields_2).EndInit();
     ((System.ComponentModel.ISupportInitialize) this._DTFields_3).EndInit();
     this.picButtons.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #50
0
        public Form1()
        {
            InitializeComponent();

            Bitmap image       = Bitmap.FromFile(dosyayolu + "dosyaac.png") as Bitmap;
            Bitmap boyutlanmis = new Bitmap(image, new Size(30, 30));

            button1.Image      = boyutlanmis;
            button1.ImageAlign = ContentAlignment.MiddleLeft;

            image              = Bitmap.FromFile(dosyayolu + "histogram.jpg") as Bitmap;
            boyutlanmis        = new Bitmap(image, new Size(30, 30));
            button2.Image      = boyutlanmis;
            button2.ImageAlign = ContentAlignment.MiddleLeft;

            image              = Bitmap.FromFile(dosyayolu + "tersleme.jpg") as Bitmap;
            boyutlanmis        = new Bitmap(image, new Size(30, 30));
            button3.Image      = boyutlanmis;
            button3.ImageAlign = ContentAlignment.MiddleLeft;

            image              = Bitmap.FromFile(dosyayolu + "aynalama.jpg") as Bitmap;
            boyutlanmis        = new Bitmap(image, new Size(30, 30));
            button4.Image      = boyutlanmis;
            button4.ImageAlign = ContentAlignment.MiddleLeft;

            image              = Bitmap.FromFile(dosyayolu + "döndür.png") as Bitmap;
            boyutlanmis        = new Bitmap(image, new Size(30, 30));
            button5.Image      = boyutlanmis;
            button5.ImageAlign = ContentAlignment.MiddleLeft;

            image              = Bitmap.FromFile(dosyayolu + "boyutlandır.png") as Bitmap;
            boyutlanmis        = new Bitmap(image, new Size(30, 30));
            button6.Image      = boyutlanmis;
            button6.ImageAlign = ContentAlignment.MiddleLeft;

            image              = Bitmap.FromFile(dosyayolu + "tekrarac.png") as Bitmap;
            boyutlanmis        = new Bitmap(image, new Size(30, 30));
            button7.Image      = boyutlanmis;
            button7.ImageAlign = ContentAlignment.MiddleLeft;

            image              = Bitmap.FromFile(dosyayolu + "grayscale.jpg") as Bitmap;
            boyutlanmis        = new Bitmap(image, new Size(47, 30));
            button8.Image      = boyutlanmis;
            button8.ImageAlign = ContentAlignment.MiddleLeft;

            image              = Bitmap.FromFile(dosyayolu + "renkkanalları.png") as Bitmap;
            boyutlanmis        = new Bitmap(image, new Size(30, 30));
            button9.Image      = boyutlanmis;
            button9.ImageAlign = ContentAlignment.MiddleLeft;


            Bitmap islemler = (Bitmap)Image.FromFile(@"E:/YAZLAB/YAZLAB1-1/editor2/WindowsFormsApp2/WindowsFormsApp2/Resimler/islem.jpg", true);
            Bitmap islem2   = (Bitmap)Image.FromFile(@"E:/YAZLAB/YAZLAB1-1/editor2/WindowsFormsApp2/WindowsFormsApp2/Resimler/ekran.png", true);


            ekran.Size        = new Size(1100, 620);
            ekran.BackColor   = Color.FromArgb(255, 255, 255);
            ekran.BorderStyle = BorderStyle.FixedSingle;
            this.Controls.Add(ekran);

            pictureBox2.Image    = islemler;
            pictureBox2.SizeMode = PictureBoxSizeMode.StretchImage;
            pictureBox3.Image    = islem2;
            pictureBox3.SizeMode = PictureBoxSizeMode.StretchImage;


            aynaliste = new ListBox();
            aynaliste.Items.Add("Sağa Aynala");
            aynaliste.Items.Add("Sola Aynala");
            aynaliste.BackColor             = Color.Honeydew;
            aynaliste.ForeColor             = Color.DarkBlue;
            aynaliste.Font                  = new Font("Arial", 8, FontStyle.Bold);
            aynaliste.Height                = 35;
            aynaliste.Width                 = 75;
            aynaliste.Location              = new Point(160, 318);
            aynaliste.SelectedValueChanged += new EventHandler(aynaliste_SelectedValueChanged);

            dondurliste = new ListBox();
            dondurliste.Items.Add("Sağa 90 Derece Döndür");
            dondurliste.Items.Add("Sola 90 Derece Döndür");
            dondurliste.BackColor             = Color.Honeydew;
            dondurliste.ForeColor             = Color.DarkBlue;
            dondurliste.Font                  = new Font("Arial", 8, FontStyle.Bold);
            dondurliste.Height                = 35;
            dondurliste.Width                 = 140;
            dondurliste.Location              = new Point(160, 378);
            dondurliste.SelectedValueChanged += new EventHandler(dondurliste_SelectedValueChanged);

            hst = new ListBox();
            hst.Items.Add("Gri Seviye Görüntü Histogramı");
            hst.Items.Add("Renkli Görüntü Histogramı");
            hst.BackColor             = Color.Honeydew;
            hst.ForeColor             = Color.DarkBlue;
            hst.Font                  = new Font("Arial", 8, FontStyle.Bold);
            hst.Height                = 35;
            hst.Width                 = 180;
            hst.Location              = new Point(160, 198);
            hst.SelectedValueChanged += new EventHandler(histogram_SelectedValueChanged);

            hst.Visible = false;

            genislik_txt.Name        = "textbox1";
            genislik_txt.Location    = new Point(215, 17);
            genislik_txt.Size        = new Size(50, 50);
            genislik_txt.BackColor   = Color.FromArgb(255, 255, 255);
            genislik_txt.BorderStyle = BorderStyle.FixedSingle;
            genislik_txt.Text        = "Genişlik";
            genislik_txt.Enter      += new EventHandler(genislik_txt_Enter);

            yukseklik_txt.Name        = "textbox2";
            yukseklik_txt.Location    = new Point(270, 17);
            yukseklik_txt.Size        = new Size(50, 50);
            yukseklik_txt.BackColor   = Color.FromArgb(255, 255, 255);
            yukseklik_txt.BorderStyle = BorderStyle.FixedSingle;

            yukseklik_txt.Text   = "Yükseklik:";
            yukseklik_txt.Enter += new EventHandler(yukseklik_txt_Enter);

            genislik_txt.Visible  = false;
            yukseklik_txt.Visible = false;

            resize.Location = new Point(330, 15);
            resize.Click   += new EventHandler(resizeClickOneEvent);
            //button.Tag = i;
            resize.BackColor = Color.Turquoise;
            resize.ForeColor = Color.Black;
            resize.Size      = new Size(80, 25);
            resize.Name      = "Değiştir";
            resize.Text      = "Değiştir";
            resize.Font      = new Font("Arial", 8, FontStyle.Bold);
            this.Controls.Add(resize);

            resize.Visible = false;

            renk_kanali = new ListBox();

            renk_kanali.Items.Add("Kırmızı(R)");
            renk_kanali.Items.Add("Yeşil(G)");
            renk_kanali.Items.Add("Mavi(B)");
            renk_kanali.Items.Add("Orijinal");
            renk_kanali.BackColor             = Color.Honeydew;
            renk_kanali.ForeColor             = Color.DarkBlue;
            renk_kanali.Font                  = new Font("Arial", 8, FontStyle.Bold);
            renk_kanali.Height                = 50;
            renk_kanali.Width                 = 65;
            renk_kanali.Location              = new Point(160, 618);
            renk_kanali.SelectedValueChanged += new EventHandler(renk_kanali_SelectedValueChanged);
            renk_kanali.Visible               = false;


            System.Windows.Forms.ToolTip ToolTip1 = new System.Windows.Forms.ToolTip();
            ToolTip1.SetToolTip(this.button10, "Geri");


            System.Windows.Forms.ToolTip ToolTip2 = new System.Windows.Forms.ToolTip();
            ToolTip1.SetToolTip(this.button12, "Kaydet");


            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(HMI_FormClosing);
        }
예제 #51
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(frmOptions));
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     this.okButton    = new System.Windows.Forms.Button();
     this.chkMyD      = new System.Windows.Forms.CheckBox();
     this.chkMyF      = new System.Windows.Forms.CheckBox();
     this.chkMyN      = new System.Windows.Forms.CheckBox();
     this.label1      = new System.Windows.Forms.Label();
     this.lblAbout    = new System.Windows.Forms.Label();
     this.pictureBox2 = new System.Windows.Forms.PictureBox();
     this.label2      = new System.Windows.Forms.Label();
     this.linkLabel1  = new System.Windows.Forms.LinkLabel();
     this.toolTip1    = new System.Windows.Forms.ToolTip(this.components);
     this.chkMyT      = new System.Windows.Forms.CheckBox();
     this.chkMyA      = new System.Windows.Forms.CheckBox();
     this.SuspendLayout();
     //
     // pictureBox1
     //
     this.pictureBox1.Image    = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(8, 8);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(56, 48);
     this.pictureBox1.TabIndex = 1;
     this.pictureBox1.TabStop  = false;
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this.okButton.Location     = new System.Drawing.Point(128, 200);
     this.okButton.Name         = "okButton";
     this.okButton.TabIndex     = 20;
     this.okButton.Text         = "Ok";
     //
     // chkMyD
     //
     this.chkMyD.Location        = new System.Drawing.Point(96, 24);
     this.chkMyD.Name            = "chkMyD";
     this.chkMyD.TabIndex        = 21;
     this.chkMyD.Text            = "My Documents";
     this.chkMyD.CheckedChanged += new System.EventHandler(this.chkMyD_CheckedChanged);
     //
     // chkMyF
     //
     this.chkMyF.Location        = new System.Drawing.Point(96, 48);
     this.chkMyF.Name            = "chkMyF";
     this.chkMyF.TabIndex        = 22;
     this.chkMyF.Text            = "My Favorites";
     this.chkMyF.CheckedChanged += new System.EventHandler(this.chkMyF_CheckedChanged);
     //
     // chkMyN
     //
     this.chkMyN.Location        = new System.Drawing.Point(96, 72);
     this.chkMyN.Name            = "chkMyN";
     this.chkMyN.TabIndex        = 23;
     this.chkMyN.Text            = "My Networks ";
     this.chkMyN.CheckedChanged += new System.EventHandler(this.chkMyN_CheckedChanged);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(72, 8);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(144, 16);
     this.label1.TabIndex = 24;
     this.label1.Text     = "Customize Explorer Tree";
     //
     // lblAbout
     //
     this.lblAbout.Location = new System.Drawing.Point(96, 144);
     this.lblAbout.Name     = "lblAbout";
     this.lblAbout.Size     = new System.Drawing.Size(200, 32);
     this.lblAbout.TabIndex = 25;
     //
     // pictureBox2
     //
     this.pictureBox2.BackColor = System.Drawing.SystemColors.ControlDark;
     this.pictureBox2.Location  = new System.Drawing.Point(32, 112);
     this.pictureBox2.Name      = "pictureBox2";
     this.pictureBox2.Size      = new System.Drawing.Size(248, 1);
     this.pictureBox2.TabIndex  = 26;
     this.pictureBox2.TabStop   = false;
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(96, 120);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(124, 16);
     this.label2.TabIndex = 27;
     this.label2.Text     = "About Explorer Tree 1.0";
     //
     // linkLabel1
     //
     this.linkLabel1.AutoSize = true;
     this.linkLabel1.Location = new System.Drawing.Point(96, 176);
     this.linkLabel1.Name     = "linkLabel1";
     this.linkLabel1.Size     = new System.Drawing.Size(143, 16);
     this.linkLabel1.TabIndex = 28;
     this.linkLabel1.TabStop  = true;
     this.linkLabel1.Text     = "For comments/suggestions ";
     this.toolTip1.SetToolTip(this.linkLabel1, "I hope you liked it , take care and don\'t forget to vote :)");
     this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
     //
     // chkMyT
     //
     this.chkMyT.Location        = new System.Drawing.Point(200, 48);
     this.chkMyT.Name            = "chkMyT";
     this.chkMyT.TabIndex        = 30;
     this.chkMyT.Text            = "Toolbar ";
     this.chkMyT.CheckedChanged += new System.EventHandler(this.chkMyT_CheckedChanged);
     //
     // chkMyA
     //
     this.chkMyA.Location        = new System.Drawing.Point(200, 24);
     this.chkMyA.Name            = "chkMyA";
     this.chkMyA.TabIndex        = 29;
     this.chkMyA.Text            = "Addressbar ";
     this.chkMyA.CheckedChanged += new System.EventHandler(this.chkMyA_CheckedChanged);
     //
     // frmOptions
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(322, 232);
     this.Controls.Add(this.chkMyT);
     this.Controls.Add(this.chkMyA);
     this.Controls.Add(this.linkLabel1);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.pictureBox2);
     this.Controls.Add(this.lblAbout);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.chkMyN);
     this.Controls.Add(this.chkMyF);
     this.Controls.Add(this.chkMyD);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.pictureBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.Name            = "frmOptions";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Customize Windows Explorer";
     this.Load           += new System.EventHandler(this.frmOptions_Load);
     this.ResumeLayout(false);
 }
예제 #52
0
 internal override void OnKeyboardToolTipUnhook(ToolTip toolTip)
 {
     base.OnKeyboardToolTipUnhook(toolTip);
     KeyboardToolTipStateMachine.Instance.Unhook(this.DropDown, toolTip);
 }
 /// <summary>
 /// Returns an observable sequence wrapping the Popup event on the ToolTip instance.
 /// </summary>
 /// <param name="instance">The ToolTip instance to observe.</param>
 /// <returns>An observable sequence wrapping the Popup event on the ToolTip instance.</returns>
 public static IObservable <EventPattern <PopupEventArgs> > PopupObservable(this ToolTip instance)
 {
     return(Observable.FromEventPattern <PopupEventHandler, PopupEventArgs>(
                handler => instance.Popup += handler,
                handler => instance.Popup -= handler));
 }
예제 #54
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(CertificateViewer));
     this.tabControl1           = new System.Windows.Forms.TabControl();
     this.tabPage1              = new System.Windows.Forms.TabPage();
     this.issuerStatementButton = new System.Windows.Forms.Button();
     this.panel1                  = new System.Windows.Forms.Panel();
     this.badPictureBox           = new System.Windows.Forms.PictureBox();
     this.goodPictureBox          = new System.Windows.Forms.PictureBox();
     this.label1                  = new System.Windows.Forms.Label();
     this.subjectAltNameLinkLabel = new System.Windows.Forms.LinkLabel();
     this.keyUsageRichTextBox     = new System.Windows.Forms.RichTextBox();
     this.issuedByTextBox         = new System.Windows.Forms.TextBox();
     this.issuedToTextBox         = new System.Windows.Forms.TextBox();
     this.issuedByLinkLabel       = new System.Windows.Forms.LinkLabel();
     this.panel4                  = new System.Windows.Forms.Panel();
     this.panel5                  = new System.Windows.Forms.Panel();
     this.panel2                  = new System.Windows.Forms.Panel();
     this.panel3                  = new System.Windows.Forms.Panel();
     this.privateKeyLabel         = new System.Windows.Forms.Label();
     this.notAfterLabel           = new System.Windows.Forms.Label();
     this.label6                  = new System.Windows.Forms.Label();
     this.notBeforeLabel          = new System.Windows.Forms.Label();
     this.label4                  = new System.Windows.Forms.Label();
     this.label3                  = new System.Windows.Forms.Label();
     this.label2                  = new System.Windows.Forms.Label();
     this.certificateLabel        = new System.Windows.Forms.Label();
     this.tabPage2                = new System.Windows.Forms.TabPage();
     this.label8                  = new System.Windows.Forms.Label();
     this.showComboBox            = new System.Windows.Forms.ComboBox();
     this.detailsTextBox          = new System.Windows.Forms.TextBox();
     this.fieldListView           = new System.Windows.Forms.ListView();
     this.fieldColumnHeader       = new System.Windows.Forms.ColumnHeader();
     this.valueColumnHeader       = new System.Windows.Forms.ColumnHeader();
     this.fieldsImageList         = new System.Windows.Forms.ImageList(this.components);
     this.tabPage3                = new System.Windows.Forms.TabPage();
     this.label9                  = new System.Windows.Forms.Label();
     this.certStatusTextBox       = new System.Windows.Forms.TextBox();
     this.certPathTreeView        = new System.Windows.Forms.TreeView();
     this.okButton                = new System.Windows.Forms.Button();
     this.toolTip                 = new System.Windows.Forms.ToolTip(this.components);
     this.helpProvider            = new System.Windows.Forms.HelpProvider();
     this.iconImageList           = new System.Windows.Forms.ImageList(this.components);
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.panel1.SuspendLayout();
     this.panel4.SuspendLayout();
     this.panel2.SuspendLayout();
     this.tabPage2.SuspendLayout();
     this.tabPage3.SuspendLayout();
     this.SuspendLayout();
     //
     // tabControl1
     //
     this.tabControl1.Controls.AddRange(new System.Windows.Forms.Control[]
     {
         this.tabPage1,
         this.tabPage2,
         this.tabPage3
     });
     this.tabControl1.Location      = new System.Drawing.Point(8, 8);
     this.tabControl1.Name          = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size          = new System.Drawing.Size(384, 408);
     this.tabControl1.TabIndex      = 0;
     //
     // tabPage1
     //
     this.tabPage1.Controls.AddRange(new System.Windows.Forms.Control[]
     {
         this.issuerStatementButton,
         this.panel1
     });
     this.tabPage1.Location = new System.Drawing.Point(4, 22);
     this.tabPage1.Name     = "tabPage1";
     this.tabPage1.Size     = new System.Drawing.Size(376, 382);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text     = "General";
     //
     // issuerStatementButton
     //
     this.issuerStatementButton.Enabled  = false;
     this.issuerStatementButton.Location = new System.Drawing.Point(264, 344);
     this.issuerStatementButton.Name     = "issuerStatementButton";
     this.issuerStatementButton.Size     = new System.Drawing.Size(104, 23);
     this.issuerStatementButton.TabIndex = 2;
     this.issuerStatementButton.Text     = "Issuer Statement";
     //
     // panel1
     //
     this.panel1.BackColor   = System.Drawing.SystemColors.Window;
     this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.panel1.Controls.AddRange(new System.Windows.Forms.Control[]
     {
         this.badPictureBox,
         this.goodPictureBox,
         this.label1,
         this.subjectAltNameLinkLabel,
         this.keyUsageRichTextBox,
         this.issuedByTextBox,
         this.issuedToTextBox,
         this.issuedByLinkLabel,
         this.panel4,
         this.panel2,
         this.privateKeyLabel,
         this.notAfterLabel,
         this.label6,
         this.notBeforeLabel,
         this.label4,
         this.label3,
         this.label2,
         this.certificateLabel
     });
     this.panel1.Location = new System.Drawing.Point(8, 8);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(360, 328);
     this.panel1.TabIndex = 0;
     //
     // badPictureBox
     //
     this.badPictureBox.Image    = ((System.Drawing.Bitmap)(resources.GetObject("badPictureBox.Image")));
     this.badPictureBox.Name     = "badPictureBox";
     this.badPictureBox.Size     = new System.Drawing.Size(64, 64);
     this.badPictureBox.TabIndex = 21;
     this.badPictureBox.TabStop  = false;
     //
     // goodPictureBox
     //
     this.goodPictureBox.Image    = ((System.Drawing.Bitmap)(resources.GetObject("goodPictureBox.Image")));
     this.goodPictureBox.Name     = "goodPictureBox";
     this.goodPictureBox.Size     = new System.Drawing.Size(64, 64);
     this.goodPictureBox.TabIndex = 20;
     this.goodPictureBox.TabStop  = false;
     this.goodPictureBox.Visible  = false;
     //
     // label1
     //
     this.label1.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label1.Location = new System.Drawing.Point(64, 8);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(288, 56);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Certificate Information";
     //
     // subjectAltNameLinkLabel
     //
     this.helpProvider.SetHelpString(this.subjectAltNameLinkLabel, "Subject Alternative Name (e.g. email)");
     this.subjectAltNameLinkLabel.Location = new System.Drawing.Point(73, 208);
     this.subjectAltNameLinkLabel.Name     = "subjectAltNameLinkLabel";
     this.helpProvider.SetShowHelp(this.subjectAltNameLinkLabel, true);
     this.subjectAltNameLinkLabel.Size         = new System.Drawing.Size(272, 16);
     this.subjectAltNameLinkLabel.TabIndex     = 19;
     this.subjectAltNameLinkLabel.TabStop      = true;
     this.subjectAltNameLinkLabel.Text         = "mailto:[email protected]";
     this.subjectAltNameLinkLabel.Visible      = false;
     this.subjectAltNameLinkLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.subjectAltNameLinkLabel_LinkClicked);
     //
     // keyUsageRichTextBox
     //
     this.keyUsageRichTextBox.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.keyUsageRichTextBox.Location    = new System.Drawing.Point(16, 96);
     this.keyUsageRichTextBox.Name        = "keyUsageRichTextBox";
     this.keyUsageRichTextBox.Size        = new System.Drawing.Size(328, 88);
     this.keyUsageRichTextBox.TabIndex    = 9;
     this.keyUsageRichTextBox.TabStop     = false;
     this.keyUsageRichTextBox.Text        = "";
     //
     // issuedByTextBox
     //
     this.issuedByTextBox.AcceptsReturn = true;
     this.issuedByTextBox.BackColor     = System.Drawing.SystemColors.Window;
     this.issuedByTextBox.BorderStyle   = System.Windows.Forms.BorderStyle.None;
     this.issuedByTextBox.Location      = new System.Drawing.Point(75, 232);
     this.issuedByTextBox.Name          = "issuedByTextBox";
     this.issuedByTextBox.ReadOnly      = true;
     this.issuedByTextBox.Size          = new System.Drawing.Size(269, 14);
     this.issuedByTextBox.TabIndex      = 18;
     this.issuedByTextBox.TabStop       = false;
     this.issuedByTextBox.Text          = "issued by";
     //
     // issuedToTextBox
     //
     this.issuedToTextBox.AcceptsReturn = true;
     this.issuedToTextBox.BackColor     = System.Drawing.SystemColors.Window;
     this.issuedToTextBox.BorderStyle   = System.Windows.Forms.BorderStyle.None;
     this.issuedToTextBox.Location      = new System.Drawing.Point(75, 192);
     this.issuedToTextBox.Name          = "issuedToTextBox";
     this.issuedToTextBox.ReadOnly      = true;
     this.issuedToTextBox.Size          = new System.Drawing.Size(269, 14);
     this.issuedToTextBox.TabIndex      = 17;
     this.issuedToTextBox.TabStop       = false;
     this.issuedToTextBox.Text          = "issued to";
     //
     // issuedByLinkLabel
     //
     this.issuedByLinkLabel.Location = new System.Drawing.Point(72, 248);
     this.issuedByLinkLabel.Name     = "issuedByLinkLabel";
     this.issuedByLinkLabel.Size     = new System.Drawing.Size(272, 16);
     this.issuedByLinkLabel.TabIndex = 15;
     this.issuedByLinkLabel.TabStop  = true;
     this.issuedByLinkLabel.Text     = "http://www.go-mono.com/";
     this.issuedByLinkLabel.Visible  = false;
     //
     // panel4
     //
     this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel4.Controls.AddRange(new System.Windows.Forms.Control[]
     {
         this.panel5
     });
     this.panel4.Location = new System.Drawing.Point(8, 64);
     this.panel4.Name     = "panel4";
     this.panel4.Size     = new System.Drawing.Size(336, 1);
     this.panel4.TabIndex = 13;
     //
     // panel5
     //
     this.panel5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel5.Location    = new System.Drawing.Point(-1, 0);
     this.panel5.Name        = "panel5";
     this.panel5.Size        = new System.Drawing.Size(344, 1);
     this.panel5.TabIndex    = 13;
     //
     // panel2
     //
     this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel2.Controls.AddRange(new System.Windows.Forms.Control[]
     {
         this.panel3
     });
     this.panel2.Location = new System.Drawing.Point(8, 184);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(336, 1);
     this.panel2.TabIndex = 12;
     //
     // panel3
     //
     this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel3.Location    = new System.Drawing.Point(-1, 0);
     this.panel3.Name        = "panel3";
     this.panel3.Size        = new System.Drawing.Size(344, 1);
     this.panel3.TabIndex    = 13;
     //
     // privateKeyLabel
     //
     this.privateKeyLabel.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.privateKeyLabel.Location = new System.Drawing.Point(32, 298);
     this.privateKeyLabel.Name     = "privateKeyLabel";
     this.privateKeyLabel.Size     = new System.Drawing.Size(312, 16);
     this.privateKeyLabel.TabIndex = 11;
     this.privateKeyLabel.Text     = "You have a private key that match this certificate";
     this.privateKeyLabel.Visible  = false;
     //
     // notAfterLabel
     //
     this.notAfterLabel.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.notAfterLabel.Location = new System.Drawing.Point(156, 272);
     this.notAfterLabel.Name     = "notAfterLabel";
     this.notAfterLabel.Size     = new System.Drawing.Size(64, 16);
     this.notAfterLabel.TabIndex = 8;
     this.notAfterLabel.Text     = "9999-99-99";
     //
     // label6
     //
     this.label6.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label6.Location = new System.Drawing.Point(136, 272);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(16, 16);
     this.label6.TabIndex = 7;
     this.label6.Text     = "to";
     //
     // notBeforeLabel
     //
     this.notBeforeLabel.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.notBeforeLabel.Location = new System.Drawing.Point(72, 272);
     this.notBeforeLabel.Name     = "notBeforeLabel";
     this.notBeforeLabel.Size     = new System.Drawing.Size(64, 16);
     this.notBeforeLabel.TabIndex = 6;
     this.notBeforeLabel.Text     = "9999-99-99";
     //
     // label4
     //
     this.label4.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label4.Location = new System.Drawing.Point(8, 232);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(64, 16);
     this.label4.TabIndex = 3;
     this.label4.Text     = "Issued by:";
     //
     // label3
     //
     this.label3.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label3.Location = new System.Drawing.Point(8, 192);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(64, 16);
     this.label3.TabIndex = 2;
     this.label3.Text     = "Issued to:";
     //
     // label2
     //
     this.label2.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label2.Location = new System.Drawing.Point(8, 272);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(64, 16);
     this.label2.TabIndex = 1;
     this.label2.Text     = "Valid from";
     //
     // certificateLabel
     //
     this.certificateLabel.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.certificateLabel.Location = new System.Drawing.Point(8, 72);
     this.certificateLabel.Name     = "certificateLabel";
     this.certificateLabel.Size     = new System.Drawing.Size(344, 112);
     this.certificateLabel.TabIndex = 10;
     this.certificateLabel.Text     = "This certificate is intended to:";
     //
     // tabPage2
     //
     this.tabPage2.Controls.AddRange(new System.Windows.Forms.Control[]
     {
         this.label8,
         this.showComboBox,
         this.detailsTextBox,
         this.fieldListView
     });
     this.tabPage2.Location = new System.Drawing.Point(4, 22);
     this.tabPage2.Name     = "tabPage2";
     this.tabPage2.Size     = new System.Drawing.Size(376, 382);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text     = "Details";
     //
     // label8
     //
     this.label8.Location = new System.Drawing.Point(8, 12);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(40, 16);
     this.label8.TabIndex = 3;
     this.label8.Text     = "Show:";
     //
     // showComboBox
     //
     this.showComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.showComboBox.Items.AddRange(new object[]
     {
         "<All>",
         "Version 1 Fields Only",
         "Extensions Only",
         "Critical Extensions Only",
         "Properties Only"
     });
     this.showComboBox.Location              = new System.Drawing.Point(48, 8);
     this.showComboBox.MaxDropDownItems      = 5;
     this.showComboBox.Name                  = "showComboBox";
     this.showComboBox.Size                  = new System.Drawing.Size(320, 21);
     this.showComboBox.TabIndex              = 2;
     this.showComboBox.SelectedIndexChanged += new System.EventHandler(this.showComboBox_SelectedIndexChanged);
     //
     // detailsTextBox
     //
     this.detailsTextBox.AcceptsReturn = true;
     this.detailsTextBox.BackColor     = System.Drawing.SystemColors.Window;
     this.detailsTextBox.Location      = new System.Drawing.Point(8, 216);
     this.detailsTextBox.Multiline     = true;
     this.detailsTextBox.Name          = "detailsTextBox";
     this.detailsTextBox.ReadOnly      = true;
     this.detailsTextBox.ScrollBars    = System.Windows.Forms.ScrollBars.Vertical;
     this.detailsTextBox.Size          = new System.Drawing.Size(360, 120);
     this.detailsTextBox.TabIndex      = 1;
     this.detailsTextBox.Text          = "";
     //
     // fieldListView
     //
     this.fieldListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[]
     {
         this.fieldColumnHeader,
         this.valueColumnHeader
     });
     this.fieldListView.FullRowSelect         = true;
     this.fieldListView.HeaderStyle           = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
     this.fieldListView.HideSelection         = false;
     this.fieldListView.Location              = new System.Drawing.Point(8, 40);
     this.fieldListView.MultiSelect           = false;
     this.fieldListView.Name                  = "fieldListView";
     this.fieldListView.Size                  = new System.Drawing.Size(360, 168);
     this.fieldListView.SmallImageList        = this.fieldsImageList;
     this.fieldListView.TabIndex              = 0;
     this.fieldListView.View                  = System.Windows.Forms.View.Details;
     this.fieldListView.SelectedIndexChanged += new System.EventHandler(this.fieldListView_SelectedIndexChanged);
     //
     // fieldColumnHeader
     //
     this.fieldColumnHeader.Text  = "Field";
     this.fieldColumnHeader.Width = 140;
     //
     // valueColumnHeader
     //
     this.valueColumnHeader.Text  = "Value";
     this.valueColumnHeader.Width = 200;
     //
     // fieldsImageList
     //
     this.fieldsImageList.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.fieldsImageList.ImageSize        = new System.Drawing.Size(16, 16);
     this.fieldsImageList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("fieldsImageList.ImageStream")));
     this.fieldsImageList.TransparentColor = System.Drawing.Color.Transparent;
     //
     // tabPage3
     //
     this.tabPage3.Controls.AddRange(new System.Windows.Forms.Control[]
     {
         this.label9,
         this.certStatusTextBox,
         this.certPathTreeView
     });
     this.tabPage3.Location = new System.Drawing.Point(4, 22);
     this.tabPage3.Name     = "tabPage3";
     this.tabPage3.Size     = new System.Drawing.Size(376, 382);
     this.tabPage3.TabIndex = 2;
     this.tabPage3.Text     = "Certificate Path";
     //
     // label9
     //
     this.label9.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label9.Location = new System.Drawing.Point(8, 296);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(96, 16);
     this.label9.TabIndex = 7;
     this.label9.Text     = "Certificate Status";
     //
     // certStatusTextBox
     //
     this.certStatusTextBox.AcceptsReturn = true;
     this.certStatusTextBox.BackColor     = System.Drawing.SystemColors.Window;
     this.certStatusTextBox.ForeColor     = System.Drawing.SystemColors.WindowText;
     this.certStatusTextBox.Location      = new System.Drawing.Point(8, 312);
     this.certStatusTextBox.Multiline     = true;
     this.certStatusTextBox.Name          = "certStatusTextBox";
     this.certStatusTextBox.ReadOnly      = true;
     this.certStatusTextBox.Size          = new System.Drawing.Size(360, 56);
     this.certStatusTextBox.TabIndex      = 2;
     this.certStatusTextBox.Text          = "This certificate is OK.";
     //
     // certPathTreeView
     //
     this.certPathTreeView.ImageIndex         = -1;
     this.certPathTreeView.Location           = new System.Drawing.Point(8, 8);
     this.certPathTreeView.Name               = "certPathTreeView";
     this.certPathTreeView.SelectedImageIndex = -1;
     this.certPathTreeView.Size               = new System.Drawing.Size(360, 280);
     this.certPathTreeView.TabIndex           = 0;
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.okButton.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this.okButton.Location     = new System.Drawing.Point(317, 424);
     this.okButton.Name         = "okButton";
     this.okButton.TabIndex     = 1;
     this.okButton.Text         = "OK";
     this.okButton.Click       += new System.EventHandler(this.okButton_Click);
     //
     // iconImageList
     //
     this.iconImageList.ColorDepth       = System.Windows.Forms.ColorDepth.Depth24Bit;
     this.iconImageList.ImageSize        = new System.Drawing.Size(64, 64);
     this.iconImageList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("iconImageList.ImageStream")));
     this.iconImageList.TransparentColor = System.Drawing.Color.Black;
     //
     // CertificateViewer
     //
     this.AcceptButton      = this.okButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
     this.CancelButton      = this.okButton;
     this.ClientSize        = new System.Drawing.Size(400, 453);
     this.Controls.AddRange(new System.Windows.Forms.Control[]
     {
         this.okButton,
         this.tabControl1
     });
     this.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.HelpButton      = true;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "CertificateViewer";
     this.Text            = "Mono Certificate Viewer";
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.panel4.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.tabPage2.ResumeLayout(false);
     this.tabPage3.ResumeLayout(false);
     this.ResumeLayout(false);
 }
예제 #55
0
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmBlockTestSelect));
     this.components  = new System.ComponentModel.Container();
     this.ToolTip1    = new System.Windows.Forms.ToolTip(components);
     this.cmdNewExist = new System.Windows.Forms.Button();
     this.cmddelete   = new System.Windows.Forms.Button();
     this.cmdEdit     = new System.Windows.Forms.Button();
     this.cmdExit     = new System.Windows.Forms.Button();
     this._Frame1_0   = new System.Windows.Forms.GroupBox();
     this.txtSearch   = new System.Windows.Forms.TextBox();
     this.lvImport    = new System.Windows.Forms.ListView();
     this._lvImport_ColumnHeader_1 = new System.Windows.Forms.ColumnHeader();
     this._lvImport_ColumnHeader_2 = new System.Windows.Forms.ColumnHeader();
     this._lvImport_ColumnHeader_3 = new System.Windows.Forms.ColumnHeader();
     this._lvImport_ColumnHeader_4 = new System.Windows.Forms.ColumnHeader();
     this._lbl_0 = new System.Windows.Forms.Label();
     this.cmdNew = new System.Windows.Forms.Button();
     //Me.Frame1 = New Microsoft.VisualBasic.Compatibility.VB6.GroupBoxArray(components)
     //Me.lbl = New Microsoft.VisualBasic.Compatibility.VB6.LabelArray(components)
     this._Frame1_0.SuspendLayout();
     this.lvImport.SuspendLayout();
     this.SuspendLayout();
     this.ToolTip1.Active = true;
     //CType(Me.Frame1, System.ComponentModel.ISupportInitialize).BeginInit()
     //CType(Me.lbl, System.ComponentModel.ISupportInitialize).BeginInit()
     this.FormBorderStyle                = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Text                           = "Block Test";
     this.ClientSize                     = new System.Drawing.Size(574, 448);
     this.Location                       = new System.Drawing.Point(3, 29);
     this.ControlBox                     = false;
     this.MaximizeBox                    = false;
     this.MinimizeBox                    = false;
     this.StartPosition                  = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.AutoScaleMode                  = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor                      = System.Drawing.SystemColors.Control;
     this.Enabled                        = true;
     this.KeyPreview                     = false;
     this.Cursor                         = System.Windows.Forms.Cursors.Default;
     this.RightToLeft                    = System.Windows.Forms.RightToLeft.No;
     this.ShowInTaskbar                  = true;
     this.HelpButton                     = false;
     this.WindowState                    = System.Windows.Forms.FormWindowState.Normal;
     this.Name                           = "frmBlockTestSelect";
     this.cmdNewExist.TextAlign          = System.Drawing.ContentAlignment.MiddleCenter;
     this.cmdNewExist.Text               = "Create a N&ew Test  based on existing";
     this.cmdNewExist.Size               = new System.Drawing.Size(130, 49);
     this.cmdNewExist.Location           = new System.Drawing.Point(296, 390);
     this.cmdNewExist.TabIndex           = 8;
     this.cmdNewExist.BackColor          = System.Drawing.SystemColors.Control;
     this.cmdNewExist.CausesValidation   = true;
     this.cmdNewExist.Enabled            = true;
     this.cmdNewExist.ForeColor          = System.Drawing.SystemColors.ControlText;
     this.cmdNewExist.Cursor             = System.Windows.Forms.Cursors.Default;
     this.cmdNewExist.RightToLeft        = System.Windows.Forms.RightToLeft.No;
     this.cmdNewExist.TabStop            = true;
     this.cmdNewExist.Name               = "cmdNewExist";
     this.cmddelete.TextAlign            = System.Drawing.ContentAlignment.MiddleCenter;
     this.cmddelete.Text                 = "&Delete G.R.V";
     this.cmddelete.Size                 = new System.Drawing.Size(111, 27);
     this.cmddelete.Location             = new System.Drawing.Point(488, 456);
     this.cmddelete.TabIndex             = 7;
     this.cmddelete.BackColor            = System.Drawing.SystemColors.Control;
     this.cmddelete.CausesValidation     = true;
     this.cmddelete.Enabled              = true;
     this.cmddelete.ForeColor            = System.Drawing.SystemColors.ControlText;
     this.cmddelete.Cursor               = System.Windows.Forms.Cursors.Default;
     this.cmddelete.RightToLeft          = System.Windows.Forms.RightToLeft.No;
     this.cmddelete.TabStop              = true;
     this.cmddelete.Name                 = "cmddelete";
     this.cmdEdit.TextAlign              = System.Drawing.ContentAlignment.MiddleCenter;
     this.cmdEdit.Text                   = "&Load Selected Test";
     this.cmdEdit.Size                   = new System.Drawing.Size(130, 49);
     this.cmdEdit.Location               = new System.Drawing.Point(8, 390);
     this.cmdEdit.TabIndex               = 6;
     this.cmdEdit.BackColor              = System.Drawing.SystemColors.Control;
     this.cmdEdit.CausesValidation       = true;
     this.cmdEdit.Enabled                = true;
     this.cmdEdit.ForeColor              = System.Drawing.SystemColors.ControlText;
     this.cmdEdit.Cursor                 = System.Windows.Forms.Cursors.Default;
     this.cmdEdit.RightToLeft            = System.Windows.Forms.RightToLeft.No;
     this.cmdEdit.TabStop                = true;
     this.cmdEdit.Name                   = "cmdEdit";
     this.cmdExit.TextAlign              = System.Drawing.ContentAlignment.MiddleCenter;
     this.cmdExit.Text                   = "E&xit";
     this.cmdExit.Size                   = new System.Drawing.Size(121, 49);
     this.cmdExit.Location               = new System.Drawing.Point(448, 390);
     this.cmdExit.TabIndex               = 0;
     this.cmdExit.BackColor              = System.Drawing.SystemColors.Control;
     this.cmdExit.CausesValidation       = true;
     this.cmdExit.Enabled                = true;
     this.cmdExit.ForeColor              = System.Drawing.SystemColors.ControlText;
     this.cmdExit.Cursor                 = System.Windows.Forms.Cursors.Default;
     this.cmdExit.RightToLeft            = System.Windows.Forms.RightToLeft.No;
     this.cmdExit.TabStop                = true;
     this.cmdExit.Name                   = "cmdExit";
     this._Frame1_0.Size                 = new System.Drawing.Size(559, 370);
     this._Frame1_0.Location             = new System.Drawing.Point(8, 8);
     this._Frame1_0.TabIndex             = 1;
     this._Frame1_0.BackColor            = System.Drawing.SystemColors.Control;
     this._Frame1_0.Enabled              = true;
     this._Frame1_0.ForeColor            = System.Drawing.SystemColors.ControlText;
     this._Frame1_0.RightToLeft          = System.Windows.Forms.RightToLeft.No;
     this._Frame1_0.Visible              = true;
     this._Frame1_0.Padding              = new System.Windows.Forms.Padding(0);
     this._Frame1_0.Name                 = "_Frame1_0";
     this.txtSearch.AutoSize             = false;
     this.txtSearch.Size                 = new System.Drawing.Size(283, 19);
     this.txtSearch.Location             = new System.Drawing.Point(52, 18);
     this.txtSearch.TabIndex             = 3;
     this.txtSearch.AcceptsReturn        = true;
     this.txtSearch.TextAlign            = System.Windows.Forms.HorizontalAlignment.Left;
     this.txtSearch.BackColor            = System.Drawing.SystemColors.Window;
     this.txtSearch.CausesValidation     = true;
     this.txtSearch.Enabled              = true;
     this.txtSearch.ForeColor            = System.Drawing.SystemColors.WindowText;
     this.txtSearch.HideSelection        = true;
     this.txtSearch.ReadOnly             = false;
     this.txtSearch.MaxLength            = 0;
     this.txtSearch.Cursor               = System.Windows.Forms.Cursors.IBeam;
     this.txtSearch.Multiline            = false;
     this.txtSearch.RightToLeft          = System.Windows.Forms.RightToLeft.No;
     this.txtSearch.ScrollBars           = System.Windows.Forms.ScrollBars.None;
     this.txtSearch.TabStop              = true;
     this.txtSearch.Visible              = true;
     this.txtSearch.BorderStyle          = System.Windows.Forms.BorderStyle.Fixed3D;
     this.txtSearch.Name                 = "txtSearch";
     this.lvImport.Size                  = new System.Drawing.Size(541, 308);
     this.lvImport.Location              = new System.Drawing.Point(9, 48);
     this.lvImport.TabIndex              = 2;
     this.lvImport.View                  = System.Windows.Forms.View.Details;
     this.lvImport.LabelEdit             = false;
     this.lvImport.LabelWrap             = true;
     this.lvImport.HideSelection         = false;
     this.lvImport.ForeColor             = System.Drawing.SystemColors.WindowText;
     this.lvImport.BackColor             = System.Drawing.SystemColors.Window;
     this.lvImport.BorderStyle           = System.Windows.Forms.BorderStyle.Fixed3D;
     this.lvImport.Name                  = "lvImport";
     this._lvImport_ColumnHeader_1.Text  = "Block Test Name";
     this._lvImport_ColumnHeader_1.Width = 200;
     this._lvImport_ColumnHeader_2.Text  = "Test Date";
     this._lvImport_ColumnHeader_2.Width = 142;
     this._lvImport_ColumnHeader_3.Text  = "Person Cutting";
     this._lvImport_ColumnHeader_3.Width = 212;
     this._lvImport_ColumnHeader_4.Text  = "Main Stock Item";
     this._lvImport_ColumnHeader_4.Width = 358;
     this._lbl_0.TextAlign               = System.Drawing.ContentAlignment.TopRight;
     this._lbl_0.Text                    = "&Search :";
     this._lbl_0.Size                    = new System.Drawing.Size(40, 13);
     this._lbl_0.Location                = new System.Drawing.Point(9, 21);
     this._lbl_0.TabIndex                = 4;
     this._lbl_0.BackColor               = System.Drawing.Color.Transparent;
     this._lbl_0.Enabled                 = true;
     this._lbl_0.ForeColor               = System.Drawing.SystemColors.ControlText;
     this._lbl_0.Cursor                  = System.Windows.Forms.Cursors.Default;
     this._lbl_0.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this._lbl_0.UseMnemonic             = true;
     this._lbl_0.Visible                 = true;
     this._lbl_0.AutoSize                = true;
     this._lbl_0.BorderStyle             = System.Windows.Forms.BorderStyle.None;
     this._lbl_0.Name                    = "_lbl_0";
     this.cmdNew.TextAlign               = System.Drawing.ContentAlignment.MiddleCenter;
     this.cmdNew.Text                    = "Create a N&ew Test";
     this.cmdNew.Size                    = new System.Drawing.Size(130, 49);
     this.cmdNew.Location                = new System.Drawing.Point(152, 390);
     this.cmdNew.TabIndex                = 5;
     this.cmdNew.BackColor               = System.Drawing.SystemColors.Control;
     this.cmdNew.CausesValidation        = true;
     this.cmdNew.Enabled                 = true;
     this.cmdNew.ForeColor               = System.Drawing.SystemColors.ControlText;
     this.cmdNew.Cursor                  = System.Windows.Forms.Cursors.Default;
     this.cmdNew.RightToLeft             = System.Windows.Forms.RightToLeft.No;
     this.cmdNew.TabStop                 = true;
     this.cmdNew.Name                    = "cmdNew";
     this.Controls.Add(cmdNewExist);
     this.Controls.Add(cmddelete);
     this.Controls.Add(cmdEdit);
     this.Controls.Add(cmdExit);
     this.Controls.Add(_Frame1_0);
     this.Controls.Add(cmdNew);
     this._Frame1_0.Controls.Add(txtSearch);
     this._Frame1_0.Controls.Add(lvImport);
     this._Frame1_0.Controls.Add(_lbl_0);
     this.lvImport.Columns.Add(_lvImport_ColumnHeader_1);
     this.lvImport.Columns.Add(_lvImport_ColumnHeader_2);
     this.lvImport.Columns.Add(_lvImport_ColumnHeader_3);
     this.lvImport.Columns.Add(_lvImport_ColumnHeader_4);
     //Me.Frame1.SetIndex(_Frame1_0, CType(0, Short))
     //Me.lbl.SetIndex(_lbl_0, CType(0, Short))
     //CType(Me.lbl, System.ComponentModel.ISupportInitialize).EndInit()
     //CType(Me.Frame1, System.ComponentModel.ISupportInitialize).EndInit()
     this._Frame1_0.ResumeLayout(false);
     this.lvImport.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #56
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(frmAbout));
     this.pbxMCSD = new System.Windows.Forms.PictureBox();
     this.btnOK   = new System.Windows.Forms.Button();
     this.label1  = new System.Windows.Forms.Label();
     this.tipMain = new System.Windows.Forms.ToolTip(this.components);
     this.pbxDM   = new System.Windows.Forms.PictureBox();
     this.SuspendLayout();
     //
     // pbxMCSD
     //
     this.pbxMCSD.BackColor = System.Drawing.Color.White;
     this.pbxMCSD.Cursor    = System.Windows.Forms.Cursors.Hand;
     this.pbxMCSD.Image     = ((System.Drawing.Image)(resources.GetObject("pbxMCSD.Image")));
     this.pbxMCSD.Location  = new System.Drawing.Point(16, 16);
     this.pbxMCSD.Name      = "pbxMCSD";
     this.pbxMCSD.Size      = new System.Drawing.Size(112, 56);
     this.pbxMCSD.SizeMode  = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pbxMCSD.TabIndex  = 1;
     this.pbxMCSD.TabStop   = false;
     this.tipMain.SetToolTip(this.pbxMCSD, "Microsoft Certified Solution Developer For .NET");
     this.pbxMCSD.Click += new System.EventHandler(this.NavigateToTarget);
     //
     // btnOK
     //
     this.btnOK.Cursor       = System.Windows.Forms.Cursors.Hand;
     this.btnOK.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnOK.FlatStyle    = System.Windows.Forms.FlatStyle.Flat;
     this.btnOK.Location     = new System.Drawing.Point(272, 136);
     this.btnOK.Name         = "btnOK";
     this.btnOK.TabIndex     = 1;
     this.btnOK.Text         = "&Aceptar";
     this.btnOK.Click       += new System.EventHandler(this.btnOK_Click);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(144, 32);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(200, 80);
     this.label1.TabIndex = 0;
     this.label1.Text     = "CSharpSniffer es una aplicación que muestra como crear y usar un Sniffer Socket. " +
                            "Desarrollado por Angel J. Hernández M. Administrador de la comunidad \"Desarrolla" +
                            "dores Miranda\"";
     //
     // pbxDM
     //
     this.pbxDM.BackColor = System.Drawing.Color.White;
     this.pbxDM.Cursor    = System.Windows.Forms.Cursors.Hand;
     this.pbxDM.Image     = ((System.Drawing.Image)(resources.GetObject("pbxDM.Image")));
     this.pbxDM.Location  = new System.Drawing.Point(16, 88);
     this.pbxDM.Name      = "pbxDM";
     this.pbxDM.Size      = new System.Drawing.Size(112, 56);
     this.pbxDM.SizeMode  = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pbxDM.TabIndex  = 4;
     this.pbxDM.TabStop   = false;
     this.tipMain.SetToolTip(this.pbxDM, "Desarrolladores Miranda");
     this.pbxDM.Click += new System.EventHandler(this.NavigateToTarget);
     //
     // frmAbout
     //
     this.AcceptButton      = this.btnOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.btnOK;
     this.ClientSize        = new System.Drawing.Size(362, 168);
     this.Controls.Add(this.pbxDM);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.btnOK);
     this.Controls.Add(this.pbxMCSD);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmAbout";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Acerca de CSharpSniffer...";
     this.ResumeLayout(false);
 }
예제 #57
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.panel1          = new System.Windows.Forms.Panel();
     this.panel2          = new System.Windows.Forms.Panel();
     this.btnCancel       = new System.Windows.Forms.Button();
     this.btnOK           = new System.Windows.Forms.Button();
     this.lblInstructions = new System.Windows.Forms.Label();
     this.pnlFields       = new System.Windows.Forms.Panel();
     this.error           = new System.Windows.Forms.ErrorProvider();
     this.tip             = new System.Windows.Forms.ToolTip(this.components);
     this.panel3          = new System.Windows.Forms.Panel();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.CausesValidation = false;
     this.panel1.Controls.Add(this.panel2);
     this.panel1.Controls.Add(this.btnCancel);
     this.panel1.Controls.Add(this.btnOK);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.panel1.Location = new System.Drawing.Point(0, 232);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(292, 34);
     this.panel1.TabIndex = 2;
     //
     // panel2
     //
     this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     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(292, 4);
     this.panel2.TabIndex    = 2;
     //
     // btnCancel
     //
     this.btnCancel.Anchor           = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnCancel.CausesValidation = false;
     this.btnCancel.DialogResult     = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location         = new System.Drawing.Point(212, 7);
     this.btnCancel.Name             = "btnCancel";
     this.btnCancel.TabIndex         = 1;
     this.btnCancel.Text             = "Cancel";
     //
     // btnOK
     //
     this.btnOK.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnOK.Location = new System.Drawing.Point(132, 7);
     this.btnOK.Name     = "btnOK";
     this.btnOK.TabIndex = 0;
     this.btnOK.Text     = "OK";
     this.btnOK.Click   += new System.EventHandler(this.btnOK_Click);
     //
     // lblInstructions
     //
     this.lblInstructions.BackColor = System.Drawing.SystemColors.Control;
     this.lblInstructions.Dock      = System.Windows.Forms.DockStyle.Top;
     this.lblInstructions.ForeColor = System.Drawing.SystemColors.HotTrack;
     this.lblInstructions.Location  = new System.Drawing.Point(0, 0);
     this.lblInstructions.Name      = "lblInstructions";
     this.lblInstructions.Size      = new System.Drawing.Size(292, 16);
     this.lblInstructions.TabIndex  = 1;
     //
     // pnlFields
     //
     this.pnlFields.AutoScroll         = true;
     this.pnlFields.Dock               = System.Windows.Forms.DockStyle.Fill;
     this.pnlFields.DockPadding.Bottom = 3;
     this.pnlFields.DockPadding.Left   = 6;
     this.pnlFields.DockPadding.Right  = 6;
     this.pnlFields.DockPadding.Top    = 3;
     this.pnlFields.Location           = new System.Drawing.Point(0, 20);
     this.pnlFields.Name               = "pnlFields";
     this.pnlFields.Size               = new System.Drawing.Size(292, 212);
     this.pnlFields.TabIndex           = 0;
     //
     // error
     //
     this.error.ContainerControl = this;
     //
     // panel3
     //
     this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.panel3.Dock        = System.Windows.Forms.DockStyle.Top;
     this.panel3.Location    = new System.Drawing.Point(0, 16);
     this.panel3.Name        = "panel3";
     this.panel3.Size        = new System.Drawing.Size(292, 4);
     this.panel3.TabIndex    = 3;
     //
     // XDataForm
     //
     this.AcceptButton      = this.btnOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.btnCancel;
     this.ClientSize        = new System.Drawing.Size(292, 266);
     this.ControlBox        = false;
     this.Controls.Add(this.pnlFields);
     this.Controls.Add(this.panel3);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.lblInstructions);
     this.HelpButton = true;
     this.Name       = "XDataForm";
     this.Text       = "XData Form";
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
예제 #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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(MapDataEditorDialog));
     this.mapPanel      = new System.Windows.Forms.Panel();
     this.landmarksList = new System.Windows.Forms.ListView();
     this.propertyGrid  = new System.Windows.Forms.PropertyGrid();
     this.okButton      = new System.Windows.Forms.Button();
     this.label1        = new System.Windows.Forms.Label();
     this.label2        = new System.Windows.Forms.Label();
     this.addButton     = new System.Windows.Forms.Button();
     this.removeButton  = new System.Windows.Forms.Button();
     this.label3        = new System.Windows.Forms.Label();
     this.cancelButton  = new System.Windows.Forms.Button();
     this.toolTip       = new System.Windows.Forms.ToolTip(this.components);
     this.SuspendLayout();
     //
     // mapPanel
     //
     this.mapPanel.BackColor   = System.Drawing.Color.White;
     this.mapPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.mapPanel.Cursor      = System.Windows.Forms.Cursors.Cross;
     this.mapPanel.Location    = new System.Drawing.Point(8, 28);
     this.mapPanel.Name        = "mapPanel";
     this.mapPanel.Size        = new System.Drawing.Size(288, 288);
     this.mapPanel.TabIndex    = 0;
     this.toolTip.SetToolTip(this.mapPanel, "Click in Preview area to add new landmark.");
     this.mapPanel.Paint     += new System.Windows.Forms.PaintEventHandler(this.mapPanel_Paint);
     this.mapPanel.MouseDown += new System.Windows.Forms.MouseEventHandler(this.mapPanel_MouseDown);
     //
     // landmarksList
     //
     this.landmarksList.BorderStyle           = System.Windows.Forms.BorderStyle.FixedSingle;
     this.landmarksList.HideSelection         = false;
     this.landmarksList.Location              = new System.Drawing.Point(308, 28);
     this.landmarksList.MultiSelect           = false;
     this.landmarksList.Name                  = "landmarksList";
     this.landmarksList.Size                  = new System.Drawing.Size(152, 252);
     this.landmarksList.TabIndex              = 1;
     this.landmarksList.View                  = System.Windows.Forms.View.List;
     this.landmarksList.SelectedIndexChanged += new System.EventHandler(this.landmarksList_SelectedIndexChanged);
     //
     // propertyGrid
     //
     this.propertyGrid.CommandsVisibleIfAvailable = true;
     this.propertyGrid.LargeButtons          = false;
     this.propertyGrid.LineColor             = System.Drawing.SystemColors.ScrollBar;
     this.propertyGrid.Location              = new System.Drawing.Point(476, 28);
     this.propertyGrid.Name                  = "propertyGrid";
     this.propertyGrid.PropertySort          = System.Windows.Forms.PropertySort.Alphabetical;
     this.propertyGrid.Size                  = new System.Drawing.Size(180, 288);
     this.propertyGrid.TabIndex              = 2;
     this.propertyGrid.Text                  = "propertyGrid1";
     this.propertyGrid.ToolbarVisible        = false;
     this.propertyGrid.ViewBackColor         = System.Drawing.SystemColors.Window;
     this.propertyGrid.ViewForeColor         = System.Drawing.SystemColors.WindowText;
     this.propertyGrid.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.propertyGrid_PropertyValueChanged);
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.Location     = new System.Drawing.Point(588, 328);
     this.okButton.Name         = "okButton";
     this.okButton.Size         = new System.Drawing.Size(64, 23);
     this.okButton.TabIndex     = 3;
     this.okButton.Text         = "OK";
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(308, 8);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(100, 16);
     this.label1.TabIndex = 4;
     this.label1.Text     = "Landmarks :";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(476, 8);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(100, 16);
     this.label2.TabIndex = 5;
     this.label2.Text     = "Properties :";
     //
     // addButton
     //
     this.addButton.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.addButton.Location  = new System.Drawing.Point(308, 292);
     this.addButton.Name      = "addButton";
     this.addButton.Size      = new System.Drawing.Size(72, 24);
     this.addButton.TabIndex  = 6;
     this.addButton.Text      = "Add";
     this.addButton.Click    += new System.EventHandler(this.button1_Click);
     //
     // removeButton
     //
     this.removeButton.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.removeButton.Location  = new System.Drawing.Point(392, 292);
     this.removeButton.Name      = "removeButton";
     this.removeButton.Size      = new System.Drawing.Size(68, 24);
     this.removeButton.TabIndex  = 7;
     this.removeButton.Text      = "Remove";
     this.removeButton.Click    += new System.EventHandler(this.removeButton_Click);
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(8, 8);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(100, 16);
     this.label3.TabIndex = 8;
     this.label3.Text     = "Preview :";
     //
     // cancelButton
     //
     this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location     = new System.Drawing.Point(516, 328);
     this.cancelButton.Name         = "cancelButton";
     this.cancelButton.Size         = new System.Drawing.Size(64, 23);
     this.cancelButton.TabIndex     = 9;
     this.cancelButton.Text         = "Cancel";
     //
     // MapDataEditorDialog
     //
     this.AcceptButton      = this.okButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
     this.CancelButton      = this.cancelButton;
     this.ClientSize        = new System.Drawing.Size(666, 357);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.removeButton);
     this.Controls.Add(this.addButton);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.okButton);
     this.Controls.Add(this.propertyGrid);
     this.Controls.Add(this.landmarksList);
     this.Controls.Add(this.mapPanel);
     this.Controls.Add(this.label3);
     this.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "MapDataEditorDialog";
     this.ShowInTaskbar   = false;
     this.SizeGripStyle   = System.Windows.Forms.SizeGripStyle.Hide;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Map Landmarks Editor";
     this.toolTip.SetToolTip(this, "Click in Preview area to add new landmark.");
     this.Load += new System.EventHandler(this.MapDataEditorDialog_Load);
     this.ResumeLayout(false);
 }
예제 #59
0
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmOrderPrint));
     this.components      = new System.ComponentModel.Container();
     this.ToolTip1        = new System.Windows.Forms.ToolTip(components);
     this.ShapeContainer1 = new Microsoft.VisualBasic.PowerPacks.ShapeContainer();
     this.Picture1        = new System.Windows.Forms.Panel();
     this.cmdBack         = new System.Windows.Forms.Button();
     this.lblPath         = new System.Windows.Forms.Label();
     this.lvItems         = new System.Windows.Forms.ListView();
     this.lstSupplier     = new System.Windows.Forms.ListBox();
     this._Shape1_1       = new Microsoft.VisualBasic.PowerPacks.RectangleShape();
     this._lbl_1          = new System.Windows.Forms.Label();
     this._lbl_0          = new System.Windows.Forms.Label();
     this._Shape1_0       = new Microsoft.VisualBasic.PowerPacks.RectangleShape();
     //Me.lbl = New Microsoft.VisualBasic.Compatibility.VB6.LabelArray(components)
     this.Shape1 = new RectangleShapeArray(components);
     this.Picture1.SuspendLayout();
     this.SuspendLayout();
     this.ToolTip1.Active = true;
     //CType(Me.lbl, System.ComponentModel.ISupportInitialize).BeginInit()
     ((System.ComponentModel.ISupportInitialize) this.Shape1).BeginInit();
     this.ControlBox                   = false;
     this.FormBorderStyle              = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.ClientSize                   = new System.Drawing.Size(615, 459);
     this.Location                     = new System.Drawing.Point(3, 3);
     this.KeyPreview                   = true;
     this.MaximizeBox                  = false;
     this.MinimizeBox                  = false;
     this.ShowInTaskbar                = false;
     this.StartPosition                = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.AutoScaleMode                = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor                    = System.Drawing.SystemColors.Control;
     this.Enabled                      = true;
     this.Cursor                       = System.Windows.Forms.Cursors.Default;
     this.RightToLeft                  = System.Windows.Forms.RightToLeft.No;
     this.HelpButton                   = false;
     this.WindowState                  = System.Windows.Forms.FormWindowState.Normal;
     this.Name                         = "frmOrderPrint";
     this.Picture1.Dock                = System.Windows.Forms.DockStyle.Top;
     this.Picture1.BackColor           = System.Drawing.Color.Blue;
     this.Picture1.Size                = new System.Drawing.Size(615, 35);
     this.Picture1.Location            = new System.Drawing.Point(0, 0);
     this.Picture1.TabIndex            = 4;
     this.Picture1.TabStop             = false;
     this.Picture1.CausesValidation    = true;
     this.Picture1.Enabled             = true;
     this.Picture1.ForeColor           = System.Drawing.SystemColors.ControlText;
     this.Picture1.Cursor              = System.Windows.Forms.Cursors.Default;
     this.Picture1.RightToLeft         = System.Windows.Forms.RightToLeft.No;
     this.Picture1.Visible             = true;
     this.Picture1.BorderStyle         = System.Windows.Forms.BorderStyle.Fixed3D;
     this.Picture1.Name                = "Picture1";
     this.cmdBack.TextAlign            = System.Drawing.ContentAlignment.MiddleCenter;
     this.cmdBack.Text                 = "E&xit";
     this.cmdBack.Size                 = new System.Drawing.Size(97, 25);
     this.cmdBack.Location             = new System.Drawing.Point(507, 3);
     this.cmdBack.TabIndex             = 6;
     this.cmdBack.TabStop              = false;
     this.cmdBack.BackColor            = System.Drawing.SystemColors.Control;
     this.cmdBack.CausesValidation     = true;
     this.cmdBack.Enabled              = true;
     this.cmdBack.ForeColor            = System.Drawing.SystemColors.ControlText;
     this.cmdBack.Cursor               = System.Windows.Forms.Cursors.Default;
     this.cmdBack.RightToLeft          = System.Windows.Forms.RightToLeft.No;
     this.cmdBack.Name                 = "cmdBack";
     this.lblPath.BackColor            = System.Drawing.Color.Transparent;
     this.lblPath.Text                 = "Purchase Order Print";
     this.lblPath.ForeColor            = System.Drawing.Color.White;
     this.lblPath.Size                 = new System.Drawing.Size(168, 20);
     this.lblPath.Location             = new System.Drawing.Point(0, 4);
     this.lblPath.TabIndex             = 5;
     this.lblPath.TextAlign            = System.Drawing.ContentAlignment.TopLeft;
     this.lblPath.Enabled              = true;
     this.lblPath.Cursor               = System.Windows.Forms.Cursors.Default;
     this.lblPath.RightToLeft          = System.Windows.Forms.RightToLeft.No;
     this.lblPath.UseMnemonic          = true;
     this.lblPath.Visible              = true;
     this.lblPath.AutoSize             = true;
     this.lblPath.BorderStyle          = System.Windows.Forms.BorderStyle.None;
     this.lblPath.Name                 = "lblPath";
     this.lvItems.Size                 = new System.Drawing.Size(424, 382);
     this.lvItems.Location             = new System.Drawing.Point(177, 64);
     this.lvItems.TabIndex             = 3;
     this.lvItems.View                 = System.Windows.Forms.View.Details;
     this.lvItems.LabelEdit            = false;
     this.lvItems.LabelWrap            = true;
     this.lvItems.HideSelection        = true;
     this.lvItems.ForeColor            = System.Drawing.SystemColors.WindowText;
     this.lvItems.BackColor            = System.Drawing.SystemColors.Window;
     this.lvItems.BorderStyle          = System.Windows.Forms.BorderStyle.Fixed3D;
     this.lvItems.Name                 = "lvItems";
     this.lstSupplier.Size             = new System.Drawing.Size(151, 384);
     this.lstSupplier.Location         = new System.Drawing.Point(6, 64);
     this.lstSupplier.TabIndex         = 1;
     this.lstSupplier.BorderStyle      = System.Windows.Forms.BorderStyle.Fixed3D;
     this.lstSupplier.BackColor        = System.Drawing.SystemColors.Window;
     this.lstSupplier.CausesValidation = true;
     this.lstSupplier.Enabled          = true;
     this.lstSupplier.ForeColor        = System.Drawing.SystemColors.WindowText;
     this.lstSupplier.IntegralHeight   = true;
     this.lstSupplier.Cursor           = System.Windows.Forms.Cursors.Default;
     this.lstSupplier.SelectionMode    = System.Windows.Forms.SelectionMode.One;
     this.lstSupplier.RightToLeft      = System.Windows.Forms.RightToLeft.No;
     this.lstSupplier.Sorted           = false;
     this.lstSupplier.TabStop          = true;
     this.lstSupplier.Visible          = true;
     this.lstSupplier.MultiColumn      = false;
     this.lstSupplier.Name             = "lstSupplier";
     this._Shape1_1.BackColor          = System.Drawing.Color.FromArgb(192, 192, 255);
     this._Shape1_1.BackStyle          = Microsoft.VisualBasic.PowerPacks.BackStyle.Opaque;
     this._Shape1_1.Size               = new System.Drawing.Size(436, 394);
     this._Shape1_1.Location           = new System.Drawing.Point(171, 58);
     this._Shape1_1.BorderColor        = System.Drawing.SystemColors.WindowText;
     this._Shape1_1.BorderStyle        = System.Drawing.Drawing2D.DashStyle.Solid;
     this._Shape1_1.BorderWidth        = 1;
     this._Shape1_1.FillColor          = System.Drawing.Color.Black;
     this._Shape1_1.FillStyle          = Microsoft.VisualBasic.PowerPacks.FillStyle.Transparent;
     this._Shape1_1.Visible            = true;
     this._Shape1_1.Name               = "_Shape1_1";
     this._lbl_1.BackColor             = System.Drawing.Color.Transparent;
     this._lbl_1.Text                  = "&2. Select a Purchase Order";
     this._lbl_1.ForeColor             = System.Drawing.SystemColors.WindowText;
     this._lbl_1.Size                  = new System.Drawing.Size(155, 13);
     this._lbl_1.Location              = new System.Drawing.Point(174, 43);
     this._lbl_1.TabIndex              = 2;
     this._lbl_1.TextAlign             = System.Drawing.ContentAlignment.TopLeft;
     this._lbl_1.Enabled               = true;
     this._lbl_1.Cursor                = System.Windows.Forms.Cursors.Default;
     this._lbl_1.RightToLeft           = System.Windows.Forms.RightToLeft.No;
     this._lbl_1.UseMnemonic           = true;
     this._lbl_1.Visible               = true;
     this._lbl_1.AutoSize              = true;
     this._lbl_1.BorderStyle           = System.Windows.Forms.BorderStyle.None;
     this._lbl_1.Name                  = "_lbl_1";
     this._lbl_0.BackColor             = System.Drawing.Color.Transparent;
     this._lbl_0.Text                  = "&1. Select a Supplier";
     this._lbl_0.ForeColor             = System.Drawing.SystemColors.WindowText;
     this._lbl_0.Size                  = new System.Drawing.Size(113, 13);
     this._lbl_0.Location              = new System.Drawing.Point(3, 43);
     this._lbl_0.TabIndex              = 0;
     this._lbl_0.TextAlign             = System.Drawing.ContentAlignment.TopLeft;
     this._lbl_0.Enabled               = true;
     this._lbl_0.Cursor                = System.Windows.Forms.Cursors.Default;
     this._lbl_0.RightToLeft           = System.Windows.Forms.RightToLeft.No;
     this._lbl_0.UseMnemonic           = true;
     this._lbl_0.Visible               = true;
     this._lbl_0.AutoSize              = true;
     this._lbl_0.BorderStyle           = System.Windows.Forms.BorderStyle.None;
     this._lbl_0.Name                  = "_lbl_0";
     this._Shape1_0.BackColor          = System.Drawing.Color.FromArgb(192, 192, 255);
     this._Shape1_0.BackStyle          = Microsoft.VisualBasic.PowerPacks.BackStyle.Opaque;
     this._Shape1_0.Size               = new System.Drawing.Size(163, 394);
     this._Shape1_0.Location           = new System.Drawing.Point(0, 58);
     this._Shape1_0.BorderColor        = System.Drawing.SystemColors.WindowText;
     this._Shape1_0.BorderStyle        = System.Drawing.Drawing2D.DashStyle.Solid;
     this._Shape1_0.BorderWidth        = 1;
     this._Shape1_0.FillColor          = System.Drawing.Color.Black;
     this._Shape1_0.FillStyle          = Microsoft.VisualBasic.PowerPacks.FillStyle.Transparent;
     this._Shape1_0.Visible            = true;
     this._Shape1_0.Name               = "_Shape1_0";
     this.Controls.Add(Picture1);
     this.Controls.Add(lvItems);
     this.Controls.Add(lstSupplier);
     this.ShapeContainer1.Shapes.Add(_Shape1_1);
     this.Controls.Add(_lbl_1);
     this.Controls.Add(_lbl_0);
     this.ShapeContainer1.Shapes.Add(_Shape1_0);
     this.Controls.Add(ShapeContainer1);
     this.Picture1.Controls.Add(cmdBack);
     this.Picture1.Controls.Add(lblPath);
     //Me.lbl.SetIndex(_lbl_1, CType(1, Short))
     //Me.lbl.SetIndex(_lbl_0, CType(0, Short))
     this.Shape1.SetIndex(_Shape1_1, Convert.ToInt16(1));
     this.Shape1.SetIndex(_Shape1_0, Convert.ToInt16(0));
     ((System.ComponentModel.ISupportInitialize) this.Shape1).EndInit();
     //CType(Me.lbl, System.ComponentModel.ISupportInitialize).EndInit()
     this.Picture1.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #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();
     System.Windows.Forms.ToolTip m_toolTip;
     System.Windows.Forms.Button  buttonOk;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SAAboutDlg));
     System.Windows.Forms.Label      lblAvailableMemory;
     System.Windows.Forms.Label      lblAvailableDiskSpace;
     System.Windows.Forms.PictureBox fieldWorksIcon;
     this.panel1                     = new System.Windows.Forms.Panel();
     this.lnkWebsite                 = new System.Windows.Forms.LinkLabel();
     this.lnkFeedback                = new System.Windows.Forms.LinkLabel();
     this.lblBuild                   = new System.Windows.Forms.Label();
     this.lblAppVersion              = new System.Windows.Forms.Label();
     this.lblAvailableMemoryValue    = new System.Windows.Forms.Label();
     this.lblAvailableDiskSpaceValue = new System.Windows.Forms.Label();
     this.lblCopyright               = new System.Windows.Forms.Label();
     this.lblName                    = new System.Windows.Forms.Label();
     m_toolTip             = new System.Windows.Forms.ToolTip(this.components);
     buttonOk              = new System.Windows.Forms.Button();
     lblAvailableMemory    = new System.Windows.Forms.Label();
     lblAvailableDiskSpace = new System.Windows.Forms.Label();
     fieldWorksIcon        = new System.Windows.Forms.PictureBox();
     ((System.ComponentModel.ISupportInitialize)(fieldWorksIcon)).BeginInit();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // m_toolTip
     //
     m_toolTip.AutomaticDelay = 100;
     m_toolTip.AutoPopDelay   = 1000;
     m_toolTip.InitialDelay   = 100;
     m_toolTip.ReshowDelay    = 100;
     //
     // buttonOk
     //
     buttonOk.DialogResult = System.Windows.Forms.DialogResult.OK;
     resources.ApplyResources(buttonOk, "buttonOk");
     buttonOk.Name = "buttonOk";
     m_toolTip.SetToolTip(buttonOk, resources.GetString("buttonOk.ToolTip"));
     buttonOk.UseVisualStyleBackColor = true;
     //
     // lblAvailableMemory
     //
     resources.ApplyResources(lblAvailableMemory, "lblAvailableMemory");
     lblAvailableMemory.Name = "lblAvailableMemory";
     //
     // lblAvailableDiskSpace
     //
     resources.ApplyResources(lblAvailableDiskSpace, "lblAvailableDiskSpace");
     lblAvailableDiskSpace.Name = "lblAvailableDiskSpace";
     //
     // fieldWorksIcon
     //
     resources.ApplyResources(fieldWorksIcon, "fieldWorksIcon");
     fieldWorksIcon.Image   = global::SIL.SpeechAnalyzer.Properties.Resources.kimidSilLogo;
     fieldWorksIcon.Name    = "fieldWorksIcon";
     fieldWorksIcon.TabStop = false;
     //
     // panel1
     //
     this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panel1.Controls.Add(this.lnkWebsite);
     this.panel1.Controls.Add(this.lnkFeedback);
     this.panel1.Controls.Add(this.lblBuild);
     this.panel1.Controls.Add(this.lblAppVersion);
     this.panel1.Controls.Add(this.lblAvailableMemoryValue);
     this.panel1.Controls.Add(this.lblAvailableDiskSpaceValue);
     this.panel1.Controls.Add(lblAvailableMemory);
     this.panel1.Controls.Add(lblAvailableDiskSpace);
     this.panel1.Controls.Add(this.lblCopyright);
     this.panel1.Controls.Add(fieldWorksIcon);
     this.panel1.Controls.Add(this.lblName);
     this.panel1.Controls.Add(buttonOk);
     resources.ApplyResources(this.panel1, "panel1");
     this.panel1.Name = "panel1";
     //
     // lnkWebsite
     //
     resources.ApplyResources(this.lnkWebsite, "lnkWebsite");
     this.lnkWebsite.Name    = "lnkWebsite";
     this.lnkWebsite.TabStop = true;
     this.lnkWebsite.UseCompatibleTextRendering = true;
     this.lnkWebsite.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.HandleWebsiteLinkClicked);
     //
     // lnkFeedback
     //
     resources.ApplyResources(this.lnkFeedback, "lnkFeedback");
     this.lnkFeedback.Name    = "lnkFeedback";
     this.lnkFeedback.TabStop = true;
     this.lnkFeedback.UseCompatibleTextRendering = true;
     this.lnkFeedback.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.HandleFeedbackLinkClicked);
     //
     // lblBuild
     //
     resources.ApplyResources(this.lblBuild, "lblBuild");
     this.lblBuild.Name = "lblBuild";
     //
     // lblAppVersion
     //
     resources.ApplyResources(this.lblAppVersion, "lblAppVersion");
     this.lblAppVersion.Name = "lblAppVersion";
     //
     // lblAvailableMemoryValue
     //
     this.lblAvailableMemoryValue.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     resources.ApplyResources(this.lblAvailableMemoryValue, "lblAvailableMemoryValue");
     this.lblAvailableMemoryValue.Name = "lblAvailableMemoryValue";
     //
     // lblAvailableDiskSpaceValue
     //
     this.lblAvailableDiskSpaceValue.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     resources.ApplyResources(this.lblAvailableDiskSpaceValue, "lblAvailableDiskSpaceValue");
     this.lblAvailableDiskSpaceValue.Name = "lblAvailableDiskSpaceValue";
     //
     // lblCopyright
     //
     resources.ApplyResources(this.lblCopyright, "lblCopyright");
     this.lblCopyright.Name = "lblCopyright";
     //
     // lblName
     //
     resources.ApplyResources(this.lblName, "lblName");
     this.lblName.Name = "lblName";
     //
     // SAAboutDlg
     //
     this.AcceptButton = buttonOk;
     resources.ApplyResources(this, "$this");
     this.BackColor  = System.Drawing.Color.White;
     this.ControlBox = false;
     this.Controls.Add(this.panel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "SAAboutDlg";
     this.ShowIcon        = false;
     this.ShowInTaskbar   = false;
     ((System.ComponentModel.ISupportInitialize)(fieldWorksIcon)).EndInit();
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.ResumeLayout(false);
 }