상속: ListControl
예제 #1
0
 public static void DisableEditing(ComboBox cbb)
 {
     cbb.KeyPress += delegate(object sender, KeyPressEventArgs e)
     {
         e.Handled = true;
     };
 }
예제 #2
0
        private void AddSelection(string text, Type dataType, object[] items, object dataSource, string dataMember)
        {
            int row = uxTable.RowCount++ - 1;
            uxTable.RowStyles.Insert(row, new RowStyle(SizeType.Absolute, 30));

            var label = new Label();
            label.Text = text;
            label.Anchor = AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Top;

            var combobox = new ComboBox();
            combobox.DropDownStyle = ComboBoxStyle.DropDownList;
            combobox.DataSource = items;
            //combobox.DataBindings.Add("SelectedValue", dataSource, dataMember, true);
            combobox.SelectedValueChanged += (sender, e) =>
                                             {
                                             	object value = Enum.Parse(dataType, combobox.SelectedItem.ToString());
                                             	GetType().GetProperty(dataMember).SetValue(dataSource, value, null);
                                             };
            combobox.SelectedValue = GetType().GetProperty(dataMember).GetValue(dataSource, null);

            uxTable.Controls.Add(label, 0, row);
            uxTable.Controls.Add(combobox, 1, row);

            uxTable.SetColumnSpan(combobox, 2);
        }
		public InsertPInvokeSignaturesForm()
		{
			SetupFromXmlStream(this.GetType().Assembly.GetManifestResourceStream("PInvokeAddIn.Resources.InsertPInvokeSignaturesForm.xfrm"));
			
			signatureRichTextBox = ((RichTextBox)ControlDictionary["SignatureRichTextBox"]);
			
			// Hook up events.
			closeButton = ((Button)ControlDictionary["CloseButton"]);
			closeButton.Click += new EventHandler(CloseButtonClick);
			
			insertButton = ((Button)ControlDictionary["InsertButton"]);
			insertButton.Enabled = false;
			insertButton.Click += new EventHandler(InsertButtonClick);
			
			findButton = ((Button)ControlDictionary["FindButton"]);
			findButton.Click += new EventHandler(FindButtonClick);
			
			functionNameComboBox = ((ComboBox)ControlDictionary["FunctionNameComboBox"]);
			functionNameComboBox.AutoCompleteMode = AutoCompleteMode.Suggest;
			functionNameComboBox.AutoCompleteSource = AutoCompleteSource.ListItems;

			moduleNameComboBox = ((ComboBox)ControlDictionary["ModuleNameComboBox"]);
			moduleNameComboBox.AutoCompleteMode = AutoCompleteMode.Suggest;
			moduleNameComboBox.AutoCompleteSource = AutoCompleteSource.ListItems;
			
			moreInfoLinkLabel = ((LinkLabel)ControlDictionary["MoreInfoLinkLabel"]);
			moreInfoLinkLabel.LinkClicked += new LinkLabelLinkClickedEventHandler(MoreInfoLinkClicked);

			languageComboBox = ((ComboBox)ControlDictionary["LanguageComboBox"]);
			languageComboBox.SelectedIndexChanged += new EventHandler(LanguageComboBoxSelectedIndexChanged);
			
			SetupLanguages();
			SetupFunctionNames();
			SetupModuleNames();
		}
예제 #4
0
        /// <summary>
        /// 绑定标识卡号信息
        /// </summary>
        /// <param name="cmb"></param>
        /// <param name="deptID"></param>
        public void CardInfoBindComboBox(ComboBox cmb,string deptID)
        {
            DataSet ds = null;
            try
            {
                ds = HMDAL.GetEmpInfo(deptID);
                if (ds != null && ds.Tables.Count > 0)
                {
                    DataTable dt = ds.Tables[0];
                    DataRow dr = dt.NewRow();
                    dr["CodeSenderAddress"] = "所有";
                    dr["empName"] = "0";
                    dt.Rows.InsertAt(dr, 0);
                    dt.AcceptChanges();

                    cmb.DataSource = dt;
                    cmb.DisplayMember = "CodeSenderAddress";
                    cmb.ValueMember = "empName";
                }
                else
                {
                    cmb.Items.Add("所有");
                }
            }
            catch
            {
                cmb.Items.Add("所有");
            }
        }
예제 #5
0
		/// <summary> 
		/// Required method for Designer support - do not modify 
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.labName = new System.Windows.Forms.Label();
			this.cmb = new System.Windows.Forms.ComboBox();
			this.SuspendLayout();
			// 
			// labName
			// 
			this.labName.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.labName.Location = new System.Drawing.Point(0, 0);
			this.labName.Name = "labName";
			this.labName.Size = new System.Drawing.Size(96, 16);
			this.labName.TabIndex = 0;
			// 
			// cmb
			// 
			this.cmb.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.cmb.Location = new System.Drawing.Point(0, 16);
			this.cmb.Name = "cmb";
			this.cmb.Size = new System.Drawing.Size(96, 21);
			this.cmb.TabIndex = 1;
			this.cmb.SelectedIndexChanged += new System.EventHandler(this.cmb_SelectedIndexChanged);
			// 
			// EnumParam
			// 
			this.Controls.Add(this.cmb);
			this.Controls.Add(this.labName);
			this.Name = "EnumParam";
			this.Size = new System.Drawing.Size(96, 36);
			this.ResumeLayout(false);

		}
예제 #6
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.cboSourceLayer = new System.Windows.Forms.ComboBox();
     this.SuspendLayout();
     //
     // cboSourceLayer
     //
     this.cboSourceLayer.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboSourceLayer.DropDownWidth = 260;
     this.cboSourceLayer.Items.AddRange(new object[] {
                                                         "<Business Features Source Layer>"});
     this.cboSourceLayer.Location = new System.Drawing.Point(16, 24);
     this.cboSourceLayer.Name = "cboSourceLayer";
     this.cboSourceLayer.Size = new System.Drawing.Size(216, 21);
     this.cboSourceLayer.TabIndex = 0;
     //this.cboSourceLayer.SelectedIndexChanged += new System.EventHandler(this.cboSourceLayer_SelectedIndexChanged);
     //
     // SourceLayerContainerForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(312, 77);
     this.Controls.Add(this.cboSourceLayer);
     this.Name = "SourceLayerContainerForm";
     this.Text = "This is just a control container form";
     this.ResumeLayout(false);
 }
예제 #7
0
 public static void BindComboData(ComboBox combox,DictKeyEnum dKey)
 {
     List<Bse_Dict> list = dcInstance.GetListByDictKeyByNoRoot(dKey);
     combox.DataSource = list;
     combox.DisplayMember = "Dict_Name";
     combox.ValueMember = "Dict_Code";
 }
        public static void InitDropdownTypes(ComboBox cbo, ModuleDefinition module)
        {
            using (new SimpleWaitCursor())
            {
                object savedItem = cbo.SelectedItem;

                cbo.Items.Clear();
                cbo.Sorted = true;

                if (module != null)
                {
                    foreach (TypeDefinition td in module.AllTypes)
                    {
                        if (td.FullName.StartsWith("<")) continue;
                        cbo.Items.Add(td);
                    }
                }

                Type[] systemTypes = typeof(System.Int32).Module.GetTypes();
                foreach (Type systemType in systemTypes)
                {
                    if (systemType.FullName.StartsWith("<")) continue;
                    cbo.Items.Add(systemType);
                }

                if (savedItem != null)
                {
                    if (!cbo.Items.Contains(savedItem))
                    {
                        cbo.Items.Add(savedItem);
                    }
                    cbo.SelectedItem = savedItem;
                }
            }
        }
예제 #9
0
        void CreateItemSelectionCombo(Rectangle bounds)
        {
            CurrentItemCombo = new ComboBox();
            CurrentItemCombo.DropDownStyle = ComboBoxStyle.DropDownList;

            PopulateCombo();
            if (CurrentItemCombo.Items.Count == 0)
            {
                CurrentItemCombo = null;
                return;
            }

            // Assign calculated bounds to the ComboBox.
            CurrentItemCombo.Bounds = bounds;

            // Set default text for ComboBox to match the item that is clicked.
            CurrentItemCombo.Text = CurrentItem.SubItems[2].Text;

            // Display the ComboBox, and make sure that it is on top with focus.
            CurrentItemCombo.Parent = this;
            CurrentItemCombo.Visible = true;
            CurrentItemCombo.BringToFront();
            CurrentItemCombo.Focus();

            CurrentItemCombo.SelectedValueChanged += FormatCombo_ValueChanged;
            CurrentItemCombo.Leave += FormatCombo_ValueChanged;
            CurrentItemCombo.KeyPress += FormatCombo_KeyPress;
        }
예제 #10
0
        protected override void AbstractCreate(object value, ref int tabIndex)
        {
            var left = Margin;
            var top = Margin;

            // ラベルの作成 top+3 は後のテキストボックスとの整合のため
            _label = (Label) Create(Panel, new Label(), left, top + 3, -1);
            _label.Text = Help;
            // label.setBorder(new LineBorder(Color.RED, 2, true)); //Debug 赤枠
            left += LabelWidth(_label) + 10; // オフセット移動

            // コンボボックスの配置
            _comboBox = (ComboBox) Create(Panel, new ComboBox(), left, top, tabIndex++);
            _comboBox.DropDownStyle = ComboBoxStyle.DropDownList;
            foreach (var s in _list){
                _comboBox.Items.Add(s);
                var w = TextWidth(s) + 20;
                if (w > _comboBox.Width){
                    _comboBox.Width = w;
                }
            }
            //comboBox.addActionListener(this);
            _comboBox.SelectedIndexChanged += Change;//[C#] コントロールの変化をイベント処理する

            //comboBox.setSize(width, comboBox.getHeight());
            _comboBox.Width = _width;
            left += _comboBox.Width; // オフセット移動

            //値の設定
            AbstractWrite(value);

            // パネルのサイズ設定
            Panel.Size = new Size(left + Margin, DefaultHeight + Margin);
        }
예제 #11
0
        public void AddRow(String path, int rateNum)
        {
            var removeButton = new Button();
            removeButton.Image = IconResource.remove_small;
            removeButton.Size = addButton.Size;
            removeButton.Tag = _pathButtons.Count;
            removeButton.Click += OnRemove;
            _removeButtons.Add(removeButton);

            var pathButton = new Button();
            pathButton.Text = path;
            pathButton.Size = addPathButton.Size;
            pathButton.Click += addPathButton_Click;
            _pathButtons.Add(pathButton);

            var rateComboBox = new ComboBox();
            rateComboBox.Items.AddRange(_rates);
            rateComboBox.SelectedIndex = Math.Min(rateNum, _rates.Length);
            rateComboBox.Size = addRateComboBox.Size;
            _rateComboBoxes.Add(rateComboBox);

            int rowCount = _pathButtons.Count;
            rowContainer.RowCount = rowCount;
            rowContainer.Height = 28 * rowCount;
            rowContainer.Controls.Add(removeButton, 0, rowCount - 1);
            rowContainer.Controls.Add(pathButton, 1, rowCount - 1);
            rowContainer.Controls.Add(rateComboBox, 2, rowCount - 1);
        }
 private static IWinFormsComboBoxAdapter GetWinFormsControlAdapter()
 {
     var control = new ComboBox();
     var winFormsControlAdapter = MockRepository.GenerateStub<IWinFormsComboBoxAdapter>();
     winFormsControlAdapter.Stub(adapter => adapter.WrappedControl).Return(control);
     return winFormsControlAdapter;
 }
예제 #13
0
 public static void populateAdaptersList(ComboBox networkAdaptersList)
 {
     networkAdaptersList.DataSource = NetInterfaces.interfaces;
     networkAdaptersList.DisplayMember = "name";
     networkAdaptersList.ValueMember = "ID";
     networkAdaptersList.SelectedIndex = NetInterfaces.InterfaceIndexWithID(Properties.Settings.Default.TrackedAdapter);
 }
예제 #14
0
        private void InitializeComponent()
        {
            this.comboBoxApplication = new System.Windows.Forms.ComboBox();
            this.buttonOK = new System.Windows.Forms.Button();
            this.SuspendLayout();
            // 
            // comboBoxApplication
            // 
            this.comboBoxApplication.Location = new System.Drawing.Point(8, 8);
            this.comboBoxApplication.Name = "comboBoxApplication";
            this.comboBoxApplication.Size = new System.Drawing.Size(280, 21);
            this.comboBoxApplication.TabIndex = 0;
            // 
            // buttonOK
            // 
            this.buttonOK.Location = new System.Drawing.Point(296, 8);
            this.buttonOK.Name = "buttonOK";
            this.buttonOK.TabIndex = 1;
            this.buttonOK.Text = "OK";
            this.buttonOK.Click += new System.EventHandler(this.buttonOK_Click);
            // 
            // FSelectApplication
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize = new System.Drawing.Size(376, 37);
            this.Controls.Add(this.buttonOK);
            this.Controls.Add(this.comboBoxApplication);
            this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
            this.Name = "FSelectApplication";
            this.Text = "Select Application";
            this.Text = Strings.SelectApplication;
            this.Load += new System.EventHandler(this.FSelectApplication_Load);
            this.ResumeLayout(false);

        }
예제 #15
0
        //Methods - Helper
        private bool LoadDataToCombobox(ComboBox combobox,  ref SerialPort _GLOBAL_PORT, string _GLOBAL_PORT_NAME)
        {
            Dictionary<string, string> dictionary = new Dictionary<string, string>();
            try
            {
                //Create items for Combobox
                foreach (var port in SerialPort.GetPortNames())
                {
                    dictionary.Add(port, port);
                }
                combobox.DataSource = new BindingSource(dictionary, null);
                combobox.DisplayMember = "Name";
                combobox.ValueMember = "Value";
                combobox.SelectedIndex = -1;

                //Query Ports (if they have in xml database)
                PortSetting portSetting = service.SelectByName(_GLOBAL_PORT_NAME);
                if (portSetting != null) { combobox.SelectedValue = portSetting.Value.ToString(); }

                //Open Ports 
                if (_GLOBAL_PORT.IsOpen) { _GLOBAL_PORT.Close(); }
                if (combobox.SelectedIndex != -1 && !_GLOBAL_PORT.PortName.Equals(combobox.SelectedValue.ToString()))
                {
                    _GLOBAL_PORT.PortName = combobox.SelectedValue.ToString();
                }
                _GLOBAL_PORT.Open();
            }
            catch
            {
                return false;
            }
            return true;
        }
        internal static void UpdateLayoutsList(ComboBox layoutList, bool includeDefaultStrings)
        {
            try
            {
                layoutList.Items.Clear();

                if (Directory.Exists(GetLayoutPath()) == false)
                    Directory.CreateDirectory(GetLayoutPath());

                if (includeDefaultStrings)
                    layoutList.Items.Add(AllString);

                foreach (string file in Directory.GetFiles(GetLayoutPath(), "*.xml"))
                {
                    layoutList.Items.Add(Path.GetFileName(file));
                }

                if (includeDefaultStrings)
                {
                    layoutList.Items.Add(Separator);
                    layoutList.Items.Add(SaveString);
                    layoutList.Items.Add(RemoveString);
                    layoutList.SelectedItem = AllString;
                }
            }
            catch (Exception err)
            {
                MessageBox.Show("Update Layout List Failed", "Failed to update the layout list");
            }
        }
예제 #17
0
        //改变文本框读写权限,控制计费类型对应关系
        public void control_readonly(ComboBox s_FeeType, TextBox n_Period, TextBox n_FixMoney,TextBox n_FeeRatio,TextBox n_NumFrom,TextBox n_NumTo)
        {
            if (s_FeeType.Text.Trim() == "按张计费")
            {
                n_Period.ReadOnly = true;
                n_FixMoney.ReadOnly = true;

                n_Period.Clear();
                n_FixMoney.Clear();

                n_FeeRatio.ReadOnly = false;
                n_NumFrom.ReadOnly = false;
                n_NumTo.ReadOnly = false;
            }
            if (s_FeeType.Text.Trim() == "周期性固定计费")
            {
                n_FeeRatio.ReadOnly = true;
                n_NumFrom.ReadOnly = true;
                n_NumTo.ReadOnly = true;

                n_FeeRatio.Clear();
                n_NumFrom.Clear();
                n_NumTo.Clear();

                n_Period.ReadOnly = false;
                n_FixMoney.ReadOnly = false;
            }
        }
        /*
         * 外部调用
         */ 

        #region [ 方法: 加载部门,工种,职务信息 ]

        public bool N_LoadInfo(TreeView tvDep, ComboBox cmbWorkType, ComboBox cmbDutyName, int intUserType)
        {
            //加载部门
            using (ds = new DataSet())
            {
                ds = this.N_GetDeptInfo();
                TreeNode tnDept = new TreeNode();
                tnDept.Text = "所有部门";
                tnDept.Name = "0";
                tvDep.Nodes.Add(tnDept);
                this.N_LoadChildDept(tnDept, 0, 0, ds.Tables[0].Rows.Count);
            }

            //加载工种
            using(ds=new DataSet())
            {
                ds = this.N_GetWorkTypeInfo();
                this.N_LoadWorkType(cmbWorkType,ds);
            }

            //加载职务
            using (ds = new DataSet())
            {
                ds = this.N_GetBusinessInfo();
                this.N_LoadDuty(cmbDutyName,ds);
            }

            return true;
        }
예제 #19
0
파일: FrmSchema.cs 프로젝트: g992com/esb
        Boolean SetList(ComboBox cb, IEnumerable data)
        {
            if (cb == null || data == null) return false;

            try
            {
                if (!(data is IList))
                {
                    List<Object> list = new List<Object>();
                    foreach (Object item in data)
                    {
                        list.Add(item);
                    }
                    data = list;
                }
                cb.DataSource = data;
                //cb.DisplayMember = "value";
                cb.Update();

                return true;
            }
            catch (Exception ex)
            {
                XTrace.WriteException(ex);
                return false;
            }
        }
예제 #20
0
        private void AddCrTypeToCmb(ComboBox Cmb, uint CrType)
        {
            if (CrType == 0)
                return;

            Cmb.Items.Add(GetCrTypeDefineByPid((int)CrType) + " [" + CrType + "]");
        }
예제 #21
0
        /// <summary>
        /// Creates a new instance of the CGFontCombo class.
        /// </summary>
        public CGFontCombo()
        {
            // Required by the designer.
            InitializeComponent();

            // Create the combobox.
            m_comboBox = new ComboBox();
            m_comboBox.Dock = DockStyle.Fill;
            m_comboBox.DrawMode = DrawMode.OwnerDrawFixed;
            m_comboBox.BackColor = SystemColors.Window;
            m_comboBox.ForeColor = SystemColors.WindowText;
            m_comboBox.DisplayMember = "Name";
            m_comboBox.DrawItem += new DrawItemEventHandler(
                m_comboBox_DrawItem
                );
            m_comboBox.SelectedIndexChanged += new EventHandler(
                m_comboBox_SelectedIndexChanged
                );
            m_comboBox.FontChanged += new EventHandler(
                m_comboBox_FontChanged
                );
            Controls.Add(m_comboBox);

            // Fixup the styles.
            SetStyle(ControlStyles.StandardClick, false);
            SetStyle(ControlStyles.Selectable, false);
            SetStyle(ControlStyles.UserPaint, false);
            SetStyle(ControlStyles.ResizeRedraw, true);
            SetStyle(ControlStyles.SupportsTransparentBackColor, false);
        }
예제 #22
0
        private void olvCellEditStarting(object sender, CellEditEventArgs e)
        {
            Console.WriteLine("LKLJKLJKL");

            List<String> countries = new List<String> {"testi", "joku", "Hiiri"};

            ComboBox cboCombo = new ComboBox();
            cboCombo.Bounds = e.CellBounds;
            cboCombo.Left = e.CellBounds.Left + 1;
            cboCombo.Width = e.CellBounds.Width - 1;
            cboCombo.DropDownStyle = ComboBoxStyle.DropDownList;
            cboCombo.DisplayMember = "Display";
            cboCombo.ValueMember = "ID";
            cboCombo.DataSource = countries;
            cboCombo.AutoCompleteSource = AutoCompleteSource.ListItems;
            cboCombo.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
            cboCombo.Update();
            //int intComboEditorSelectedValue = countries.Find(item => item.Display == (string)(e.Value)).ID; e.Control = cboCombo; cboCombo.SelectedValue = intComboEditorSelectedValue; //fails silently

            /*
            if (e.Column.Text != "Seura")
                return;

            ComboBox cb = new ComboBox();
            cb.Bounds = e.CellBounds;
            cb.Font = ((ObjectListView)sender).Font;
            cb.DropDownStyle = ComboBoxStyle.DropDownList;
            cb.Items.AddRange(new String[] { "Pay to eat out", "Suggest take-away", "Passable", "Seek dinner invitation", "Hire as chef" });
            cb.SelectedIndex = ((int)e.Value) / 10;
            //cb.SelectedIndexChanged += new EventHandler(cb_SelectedIndexChanged);
            cb.Tag = e.RowObject; // remember which person we are editing
            e.Control = cb;
             *
             * */
        }
예제 #23
0
		public void CanExtend_ComboBox_False()
		{
			using (ComboBox comboBox = new ComboBox())
			{
				Assert.IsFalse(((IExtenderProvider) _prompt).CanExtend(comboBox));
			}
		}
예제 #24
0
        public TgcEnumModifier(string varName, Type enumType, object defaultValue)
            : base(varName)
        {
            this.enumType = enumType;
            this.selectValue = defaultValue;

            //Buscar indice del defaultValue dentro del enum
            string[] enumNames = Enum.GetNames(enumType);
            string currentName = Enum.GetName(enumType, defaultValue);
            int selectedIndex = -1;
            for (int i = 0; i < enumNames.Length; i++)
            {
                if (currentName.Equals(enumNames[i]))
                {
                    selectedIndex = i;
                    break;
                }
            }

            comboBox = new ComboBox();
            comboBox.Margin = new Padding(0);
            comboBox.Size = new System.Drawing.Size(100, 20);
            comboBox.Items.AddRange(enumNames);
            comboBox.SelectedIndex = selectedIndex;
            comboBox.DropDownStyle = ComboBoxStyle.DropDownList;
            comboBox.SelectionChangeCommitted += new EventHandler(comboBox_SelectionChangeCommitted);

            contentPanel.Controls.Add(comboBox);
        }
예제 #25
0
        public TextInputDialog(string []query,object []initialItem, object []comboBoxItems)
        {
            InitializeComponent();

            Control[] controls = new Control[query.Length];

            for (int i = 0; i < query.Length; i++ )
            {
                if (comboBoxItems == null || comboBoxItems.Length <= i || comboBoxItems[i] == null)
                {
                    controls[i] = new TextBox();
                    if (initialItem != null && initialItem[i] != null)
                        controls[i].Text = "" + initialItem[i];
                    if (i == query.Length - 1)
                        (controls[i] as TextBox).Multiline = true;
                }
                else
                {
                    controls[i] = new ComboBox();
                    (controls[i] as ComboBox).DataSource = comboBoxItems.Clone();
                    if (initialItem != null && initialItem[i] != null)
                        (controls[i] as ComboBox).SelectedItem = initialItem[i];
                }
            }

            AddAllControls(query, controls);
        }
        public ComboBox AddNewComboBox()
        {
            ComboBox newComboBox = new
                ComboBox();

            //add to the collection list
            this.List.Add(newComboBox);

            //add to the overall form controls
            Hatchu.Controls.Add(newComboBox);

            newComboBox.Top = 22 + levelCount * 170;
            newComboBox.Width = 95;
            newComboBox.Left = miniCount * (newComboBox.Width + 10) + 80;
            newComboBox.Tag = this.Count;
            newComboBox.Text = "";
            newComboBox.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
            newComboBox.AutoCompleteSource = AutoCompleteSource.ListItems;
            newComboBox.KeyDown += new System.Windows.Forms.KeyEventHandler(EnterHandler);

            AddDanceTypes(newComboBox);

            miniCount++;

            if (Count % 6 == 0)
            {
                miniCount = 0;
                levelCount++;
            }

            return newComboBox;
        }
 /// <summary>
 /// Function for InvoiceNo ComboFill Of SalesReturn Register based on parmeter
 /// </summary>
 /// <param name="cmbInvoiceNo"></param>
 /// <param name="isAll"></param>
 public void InvoiceNoComboFillOfSalesReturnRegister(ComboBox cmbInvoiceNo, bool isAll)
 {
     DataTable dtblInvoiceNo = new DataTable();
     try
     {
         if (sqlcon.State == ConnectionState.Closed)
         {
             sqlcon.Open();
         }
         SqlDataAdapter sqlda = new SqlDataAdapter("AgainstInvoiceNoComboFillInSalesReturnRegister", sqlcon);
         sqlda.SelectCommand.CommandType = CommandType.StoredProcedure;
         sqlda.Fill(dtblInvoiceNo);
         if (isAll)
         {
             DataRow dr = dtblInvoiceNo.NewRow();
             dr["invoiceNo"] = "All";
             dr["salesMasterId"] = 0;
             dtblInvoiceNo.Rows.InsertAt(dr, 0);
         }
         cmbInvoiceNo.DataSource = dtblInvoiceNo;
         cmbInvoiceNo.DisplayMember = "invoiceNo";
         cmbInvoiceNo.ValueMember = "salesMasterId";
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
     finally
     {
         sqlcon.Close();
     }
 }
예제 #28
0
		private void SetupComboBox(System.Type type, ComboBox comboBox)
		{
			Array types = Enum.GetValues(type);
			for (int intI = 0; intI < types.Length; intI++)
				comboBox.Items.Add(types.GetValue(intI));
			comboBox.SelectedIndex = 0;
		}
예제 #29
0
        public ContestantWrongInfo(List<ContestantListLine> notValidInfo, List<bool[]> notValidInfoColumn)
        {
            InitializeComponent();

            this.notValidInfo = notValidInfo;
            this.notValidInfoColumn = notValidInfoColumn;

            nameColumn.AspectGetter = delegate(object x) { return ((ContestantListLine)x).FirstName; };
            nameColumn.AspectPutter = delegate(object x, object newValue) { ((ContestantListLine)x).FirstName = newValue.ToString(); };

            lastnameColumn.AspectGetter = delegate(object x) { return ((ContestantListLine)x).LastName; };
            lastnameColumn.AspectPutter = delegate(object x, object newValue) { ((ContestantListLine)x).LastName = newValue.ToString(); };

            seuraColumn.AspectGetter = delegate(object x) { return ((ContestantListLine)x).LastName; };
            seuraColumn.AspectPutter = delegate(object x, object newValue) { ((ContestantListLine)x).LastName = newValue.ToString(); };

            //COMPOBOX TEST
            ComboBox comboBox1 = new ComboBox();
            comboBox1.Name = "comboBox1";
            comboBox1.BackColor = System.Drawing.Color.Orange;
            comboBox1.Items.Add("Mahesh Chand");
            comboBox1.Items.Add("Mike Gold");

            objectListView1.SetObjects(notValidInfo);
        }
예제 #30
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmAVDevices));
     this.btnClose = new System.Windows.Forms.Button();
     this.chkAutoPlayRemoteAudio   = new System.Windows.Forms.CheckBox();
     this.gbAudioDevices           = new System.Windows.Forms.GroupBox();
     this.btnAdvancedAudioSettings = new System.Windows.Forms.Button();
     this.cboSpeakers              = new System.Windows.Forms.ComboBox();
     this.lblSpeaker               = new System.Windows.Forms.Label();
     this.lblMicrophone            = new System.Windows.Forms.Label();
     this.cboMicrophones           = new System.Windows.Forms.ComboBox();
     this.ckPlayAudio              = new System.Windows.Forms.CheckBox();
     this.lblTestAudio             = new System.Windows.Forms.Label();
     this.gbVideoDevices           = new System.Windows.Forms.GroupBox();
     this.clbCameras               = new System.Windows.Forms.CheckedListBox();
     this.btnAdvancedVideoSettings = new System.Windows.Forms.Button();
     this.lblVideoCameras          = new System.Windows.Forms.Label();
     this.ckPlayVideo              = new System.Windows.Forms.CheckBox();
     this.lblVideoInfo             = new System.Windows.Forms.Label();
     this.chkAutoPlayVideo         = new System.Windows.Forms.CheckBox();
     this.rdbtnWindowFourWay       = new System.Windows.Forms.RadioButton();
     this.rdbtnWindowFullScreen    = new System.Windows.Forms.RadioButton();
     this.rdbtnWindowTiled         = new System.Windows.Forms.RadioButton();
     this.gbWindowLayout           = new System.Windows.Forms.GroupBox();
     this.gbPerf                 = new System.Windows.Forms.GroupBox();
     this.lblPerf                = new System.Windows.Forms.Label();
     this.btnTroubleshooting     = new System.Windows.Forms.Button();
     this.tmrPerf                = new System.Windows.Forms.Timer(this.components);
     this.chkAutoPlayRemoteVideo = new System.Windows.Forms.CheckBox();
     this.gbAutoPlay             = new System.Windows.Forms.GroupBox();
     this.gbAudioDevices.SuspendLayout();
     this.gbVideoDevices.SuspendLayout();
     this.gbWindowLayout.SuspendLayout();
     this.gbPerf.SuspendLayout();
     this.gbAutoPlay.SuspendLayout();
     this.SuspendLayout();
     //
     // btnClose
     //
     this.btnClose.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.btnClose.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.btnClose.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this.btnClose.Font         = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.btnClose.Location     = new System.Drawing.Point(480, 260);
     this.btnClose.Name         = "btnClose";
     this.btnClose.Size         = new System.Drawing.Size(95, 23);
     this.btnClose.TabIndex     = 37;
     this.btnClose.Text         = "Close";
     //
     // chkAutoPlayRemoteAudio
     //
     this.chkAutoPlayRemoteAudio.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.chkAutoPlayRemoteAudio.Location  = new System.Drawing.Point(8, 40);
     this.chkAutoPlayRemoteAudio.Name      = "chkAutoPlayRemoteAudio";
     this.chkAutoPlayRemoteAudio.Size      = new System.Drawing.Size(128, 16);
     this.chkAutoPlayRemoteAudio.TabIndex  = 53;
     this.chkAutoPlayRemoteAudio.Text      = "Others audio streams";
     //
     // gbAudioDevices
     //
     this.gbAudioDevices.Controls.Add(this.btnAdvancedAudioSettings);
     this.gbAudioDevices.Controls.Add(this.cboSpeakers);
     this.gbAudioDevices.Controls.Add(this.lblSpeaker);
     this.gbAudioDevices.Controls.Add(this.lblMicrophone);
     this.gbAudioDevices.Controls.Add(this.cboMicrophones);
     this.gbAudioDevices.Controls.Add(this.ckPlayAudio);
     this.gbAudioDevices.Controls.Add(this.lblTestAudio);
     this.gbAudioDevices.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.gbAudioDevices.Location  = new System.Drawing.Point(296, 8);
     this.gbAudioDevices.Name      = "gbAudioDevices";
     this.gbAudioDevices.Size      = new System.Drawing.Size(280, 188);
     this.gbAudioDevices.TabIndex  = 52;
     this.gbAudioDevices.TabStop   = false;
     this.gbAudioDevices.Text      = "Audio Settings";
     //
     // btnAdvancedAudioSettings
     //
     this.btnAdvancedAudioSettings.Enabled   = false;
     this.btnAdvancedAudioSettings.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnAdvancedAudioSettings.Location  = new System.Drawing.Point(8, 112);
     this.btnAdvancedAudioSettings.Name      = "btnAdvancedAudioSettings";
     this.btnAdvancedAudioSettings.Size      = new System.Drawing.Size(112, 23);
     this.btnAdvancedAudioSettings.TabIndex  = 71;
     this.btnAdvancedAudioSettings.Text      = "Advanced Settings...";
     this.btnAdvancedAudioSettings.Click    += new System.EventHandler(this.btnAdvancedAudioSettings_Click);
     //
     // cboSpeakers
     //
     this.cboSpeakers.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboSpeakers.Location              = new System.Drawing.Point(8, 36);
     this.cboSpeakers.Name                  = "cboSpeakers";
     this.cboSpeakers.Size                  = new System.Drawing.Size(264, 21);
     this.cboSpeakers.Sorted                = true;
     this.cboSpeakers.TabIndex              = 47;
     this.cboSpeakers.SelectedIndexChanged += new System.EventHandler(this.cboSpeakers_SelectedIndexChanged);
     //
     // lblSpeaker
     //
     this.lblSpeaker.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.lblSpeaker.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.lblSpeaker.Location  = new System.Drawing.Point(8, 20);
     this.lblSpeaker.Name      = "lblSpeaker";
     this.lblSpeaker.Size      = new System.Drawing.Size(88, 16);
     this.lblSpeaker.TabIndex  = 46;
     this.lblSpeaker.Text      = "Sound playback:";
     //
     // lblMicrophone
     //
     this.lblMicrophone.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.lblMicrophone.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.lblMicrophone.Location  = new System.Drawing.Point(8, 66);
     this.lblMicrophone.Name      = "lblMicrophone";
     this.lblMicrophone.Size      = new System.Drawing.Size(96, 16);
     this.lblMicrophone.TabIndex  = 45;
     this.lblMicrophone.Text      = "Sound recording:";
     //
     // cboMicrophones
     //
     this.cboMicrophones.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboMicrophones.Location              = new System.Drawing.Point(8, 82);
     this.cboMicrophones.Name                  = "cboMicrophones";
     this.cboMicrophones.Size                  = new System.Drawing.Size(264, 21);
     this.cboMicrophones.Sorted                = true;
     this.cboMicrophones.TabIndex              = 28;
     this.cboMicrophones.SelectedIndexChanged += new System.EventHandler(this.cboMicrophones_SelectedIndexChanged);
     //
     // ckPlayAudio
     //
     this.ckPlayAudio.Appearance      = System.Windows.Forms.Appearance.Button;
     this.ckPlayAudio.Enabled         = false;
     this.ckPlayAudio.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     this.ckPlayAudio.Location        = new System.Drawing.Point(192, 112);
     this.ckPlayAudio.Name            = "ckPlayAudio";
     this.ckPlayAudio.Size            = new System.Drawing.Size(80, 24);
     this.ckPlayAudio.TabIndex        = 82;
     this.ckPlayAudio.Text            = "Test Audio";
     this.ckPlayAudio.TextAlign       = System.Drawing.ContentAlignment.MiddleCenter;
     this.ckPlayAudio.CheckedChanged += new System.EventHandler(this.ckPlayAudio_CheckedChanged);
     //
     // lblTestAudio
     //
     this.lblTestAudio.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.lblTestAudio.Location  = new System.Drawing.Point(8, 144);
     this.lblTestAudio.Name      = "lblTestAudio";
     this.lblTestAudio.Size      = new System.Drawing.Size(264, 28);
     this.lblTestAudio.TabIndex  = 81;
     this.lblTestAudio.Text      = "lblTestAudio";
     //
     // gbVideoDevices
     //
     this.gbVideoDevices.Controls.Add(this.clbCameras);
     this.gbVideoDevices.Controls.Add(this.btnAdvancedVideoSettings);
     this.gbVideoDevices.Controls.Add(this.lblVideoCameras);
     this.gbVideoDevices.Controls.Add(this.ckPlayVideo);
     this.gbVideoDevices.Controls.Add(this.lblVideoInfo);
     this.gbVideoDevices.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.gbVideoDevices.Location  = new System.Drawing.Point(8, 8);
     this.gbVideoDevices.Name      = "gbVideoDevices";
     this.gbVideoDevices.Size      = new System.Drawing.Size(280, 188);
     this.gbVideoDevices.TabIndex  = 51;
     this.gbVideoDevices.TabStop   = false;
     this.gbVideoDevices.Text      = "Video Settings";
     //
     // clbCameras
     //
     this.clbCameras.HorizontalScrollbar = true;
     this.clbCameras.Location            = new System.Drawing.Point(8, 36);
     this.clbCameras.Name                  = "clbCameras";
     this.clbCameras.Size                  = new System.Drawing.Size(256, 64);
     this.clbCameras.Sorted                = true;
     this.clbCameras.TabIndex              = 68;
     this.clbCameras.SelectedIndexChanged += new System.EventHandler(this.clbCameras_SelectedIndexChanged);
     this.clbCameras.ItemCheck            += new System.Windows.Forms.ItemCheckEventHandler(this.clbCameras_ItemCheck);
     //
     // btnAdvancedVideoSettings
     //
     this.btnAdvancedVideoSettings.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnAdvancedVideoSettings.Location  = new System.Drawing.Point(8, 108);
     this.btnAdvancedVideoSettings.Name      = "btnAdvancedVideoSettings";
     this.btnAdvancedVideoSettings.Size      = new System.Drawing.Size(112, 23);
     this.btnAdvancedVideoSettings.TabIndex  = 66;
     this.btnAdvancedVideoSettings.Text      = "Advanced Settings...";
     this.btnAdvancedVideoSettings.Click    += new System.EventHandler(this.btnAdvancedVideoSettings_Click);
     //
     // lblVideoCameras
     //
     this.lblVideoCameras.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.lblVideoCameras.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.lblVideoCameras.Location  = new System.Drawing.Point(8, 20);
     this.lblVideoCameras.Name      = "lblVideoCameras";
     this.lblVideoCameras.Size      = new System.Drawing.Size(104, 16);
     this.lblVideoCameras.TabIndex  = 68;
     this.lblVideoCameras.Text      = "Select camera(s):";
     //
     // ckPlayVideo
     //
     this.ckPlayVideo.Appearance      = System.Windows.Forms.Appearance.Button;
     this.ckPlayVideo.Enabled         = false;
     this.ckPlayVideo.FlatStyle       = System.Windows.Forms.FlatStyle.System;
     this.ckPlayVideo.Location        = new System.Drawing.Point(184, 108);
     this.ckPlayVideo.Name            = "ckPlayVideo";
     this.ckPlayVideo.Size            = new System.Drawing.Size(80, 24);
     this.ckPlayVideo.TabIndex        = 75;
     this.ckPlayVideo.Text            = "Test Video";
     this.ckPlayVideo.TextAlign       = System.Drawing.ContentAlignment.MiddleCenter;
     this.ckPlayVideo.CheckedChanged += new System.EventHandler(this.ckPlayVideo_CheckedChanged);
     //
     // lblVideoInfo
     //
     this.lblVideoInfo.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.lblVideoInfo.Location  = new System.Drawing.Point(8, 140);
     this.lblVideoInfo.Name      = "lblVideoInfo";
     this.lblVideoInfo.Size      = new System.Drawing.Size(260, 42);
     this.lblVideoInfo.TabIndex  = 84;
     this.lblVideoInfo.Text      = "lblVideoInfo";
     //
     // chkAutoPlayVideo
     //
     this.chkAutoPlayVideo.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.chkAutoPlayVideo.Location  = new System.Drawing.Point(8, 20);
     this.chkAutoPlayVideo.Name      = "chkAutoPlayVideo";
     this.chkAutoPlayVideo.Size      = new System.Drawing.Size(128, 16);
     this.chkAutoPlayVideo.TabIndex  = 65;
     this.chkAutoPlayVideo.Text      = "My video stream(s)";
     //
     // rdbtnWindowFourWay
     //
     this.rdbtnWindowFourWay.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.rdbtnWindowFourWay.Location  = new System.Drawing.Point(8, 40);
     this.rdbtnWindowFourWay.Name      = "rdbtnWindowFourWay";
     this.rdbtnWindowFourWay.Size      = new System.Drawing.Size(64, 16);
     this.rdbtnWindowFourWay.TabIndex  = 70;
     this.rdbtnWindowFourWay.Text      = "Four-way";
     //
     // rdbtnWindowFullScreen
     //
     this.rdbtnWindowFullScreen.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.rdbtnWindowFullScreen.Location  = new System.Drawing.Point(8, 60);
     this.rdbtnWindowFullScreen.Name      = "rdbtnWindowFullScreen";
     this.rdbtnWindowFullScreen.Size      = new System.Drawing.Size(72, 16);
     this.rdbtnWindowFullScreen.TabIndex  = 71;
     this.rdbtnWindowFullScreen.Text      = "Full screen";
     //
     // rdbtnWindowTiled
     //
     this.rdbtnWindowTiled.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.rdbtnWindowTiled.Location  = new System.Drawing.Point(8, 20);
     this.rdbtnWindowTiled.Name      = "rdbtnWindowTiled";
     this.rdbtnWindowTiled.Size      = new System.Drawing.Size(48, 16);
     this.rdbtnWindowTiled.TabIndex  = 72;
     this.rdbtnWindowTiled.Text      = "Tiled";
     //
     // gbWindowLayout
     //
     this.gbWindowLayout.Controls.Add(this.rdbtnWindowFullScreen);
     this.gbWindowLayout.Controls.Add(this.rdbtnWindowFourWay);
     this.gbWindowLayout.Controls.Add(this.rdbtnWindowTiled);
     this.gbWindowLayout.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.gbWindowLayout.Location  = new System.Drawing.Point(176, 204);
     this.gbWindowLayout.Name      = "gbWindowLayout";
     this.gbWindowLayout.Size      = new System.Drawing.Size(112, 80);
     this.gbWindowLayout.TabIndex  = 73;
     this.gbWindowLayout.TabStop   = false;
     this.gbWindowLayout.Text      = "Window Layout";
     //
     // gbPerf
     //
     this.gbPerf.Controls.Add(this.lblPerf);
     this.gbPerf.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.gbPerf.Location  = new System.Drawing.Point(296, 204);
     this.gbPerf.Name      = "gbPerf";
     this.gbPerf.Size      = new System.Drawing.Size(280, 46);
     this.gbPerf.TabIndex  = 74;
     this.gbPerf.TabStop   = false;
     this.gbPerf.Text      = "Resource Utilization";
     //
     // lblPerf
     //
     this.lblPerf.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.lblPerf.Location  = new System.Drawing.Point(8, 20);
     this.lblPerf.Name      = "lblPerf";
     this.lblPerf.Size      = new System.Drawing.Size(264, 16);
     this.lblPerf.TabIndex  = 85;
     this.lblPerf.Text      = "lblPerf";
     //
     // btnTroubleshooting
     //
     this.btnTroubleshooting.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.btnTroubleshooting.Location  = new System.Drawing.Point(296, 260);
     this.btnTroubleshooting.Name      = "btnTroubleshooting";
     this.btnTroubleshooting.Size      = new System.Drawing.Size(128, 24);
     this.btnTroubleshooting.TabIndex  = 75;
     this.btnTroubleshooting.Text      = "Troubleshooting Log...";
     this.btnTroubleshooting.Click    += new System.EventHandler(this.btnTroubleshooting_Click);
     //
     // tmrPerf
     //
     this.tmrPerf.Interval = 2000;
     this.tmrPerf.Tick    += new System.EventHandler(this.tmrPerf_Tick);
     //
     // chkAutoPlayRemoteVideo
     //
     this.chkAutoPlayRemoteVideo.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.chkAutoPlayRemoteVideo.Location  = new System.Drawing.Point(8, 60);
     this.chkAutoPlayRemoteVideo.Name      = "chkAutoPlayRemoteVideo";
     this.chkAutoPlayRemoteVideo.Size      = new System.Drawing.Size(128, 16);
     this.chkAutoPlayRemoteVideo.TabIndex  = 76;
     this.chkAutoPlayRemoteVideo.Text      = "Others video streams";
     //
     // gbAutoPlay
     //
     this.gbAutoPlay.Controls.Add(this.chkAutoPlayVideo);
     this.gbAutoPlay.Controls.Add(this.chkAutoPlayRemoteAudio);
     this.gbAutoPlay.Controls.Add(this.chkAutoPlayRemoteVideo);
     this.gbAutoPlay.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.gbAutoPlay.Location  = new System.Drawing.Point(8, 204);
     this.gbAutoPlay.Name      = "gbAutoPlay";
     this.gbAutoPlay.Size      = new System.Drawing.Size(152, 80);
     this.gbAutoPlay.TabIndex  = 77;
     this.gbAutoPlay.TabStop   = false;
     this.gbAutoPlay.Text      = "Auto-play";
     //
     // frmAVDevices
     //
     this.AcceptButton      = this.btnClose;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(586, 292);
     this.ControlBox        = false;
     this.Controls.Add(this.gbAutoPlay);
     this.Controls.Add(this.btnTroubleshooting);
     this.Controls.Add(this.gbPerf);
     this.Controls.Add(this.btnClose);
     this.Controls.Add(this.gbWindowLayout);
     this.Controls.Add(this.gbAudioDevices);
     this.Controls.Add(this.gbVideoDevices);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.ImeMode         = System.Windows.Forms.ImeMode.Disable;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmAVDevices";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Audio/Video Settings";
     this.Closing        += new System.ComponentModel.CancelEventHandler(this.frmAVDevices_Closing);
     this.Load           += new System.EventHandler(this.frmAVDevices_Load);
     this.gbAudioDevices.ResumeLayout(false);
     this.gbVideoDevices.ResumeLayout(false);
     this.gbWindowLayout.ResumeLayout(false);
     this.gbPerf.ResumeLayout(false);
     this.gbAutoPlay.ResumeLayout(false);
     this.ResumeLayout(false);
 }
 private void InitializeComponent()
 {
     this.chkPreview        = new System.Windows.Forms.CheckBox();
     this.groupBox1         = new System.Windows.Forms.GroupBox();
     this.numLOD            = new System.Windows.Forms.NumericUpDown();
     this.label5            = new System.Windows.Forms.Label();
     this.cboFormat         = new System.Windows.Forms.ComboBox();
     this.label4            = new System.Windows.Forms.Label();
     this.btnRecommend      = new System.Windows.Forms.Button();
     this.groupBox2         = new System.Windows.Forms.GroupBox();
     this.label9            = new System.Windows.Forms.Label();
     this.lblTransparencies = new System.Windows.Forms.Label();
     this.lblDataSize       = new System.Windows.Forms.Label();
     this.lblColors         = new System.Windows.Forms.Label();
     this.lblSize           = new System.Windows.Forms.Label();
     this.label3            = new System.Windows.Forms.Label();
     this.label2            = new System.Windows.Forms.Label();
     this.label1            = new System.Windows.Forms.Label();
     this.btnOkay           = new System.Windows.Forms.Button();
     this.btnCancel         = new System.Windows.Forms.Button();
     this.grpPalette        = new System.Windows.Forms.GroupBox();
     this.cboAlgorithm      = new System.Windows.Forms.ComboBox();
     this.label8            = new System.Windows.Forms.Label();
     this.numPaletteCount   = new System.Windows.Forms.NumericUpDown();
     this.label7            = new System.Windows.Forms.Label();
     this.cboPaletteFormat  = new System.Windows.Forms.ComboBox();
     this.label6            = new System.Windows.Forms.Label();
     this.groupBox4         = new System.Windows.Forms.GroupBox();
     this.pictureBox1       = new System.Windows.Forms.GoodPictureBox();
     this.panel1            = new System.Windows.Forms.Panel();
     this.txtPath           = new System.Windows.Forms.TextBox();
     this.panel2            = new System.Windows.Forms.Panel();
     this.button1           = new System.Windows.Forms.Button();
     this.dlgOpen           = new System.Windows.Forms.OpenFileDialog();
     this.groupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numLOD)).BeginInit();
     this.groupBox2.SuspendLayout();
     this.grpPalette.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numPaletteCount)).BeginInit();
     this.groupBox4.SuspendLayout();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // chkPreview
     //
     this.chkPreview.Checked    = true;
     this.chkPreview.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chkPreview.Location   = new System.Drawing.Point(9, 15);
     this.chkPreview.Name       = "chkPreview";
     this.chkPreview.Size       = new System.Drawing.Size(66, 21);
     this.chkPreview.TabIndex   = 0;
     this.chkPreview.Text       = "Preview";
     this.chkPreview.UseVisualStyleBackColor = true;
     this.chkPreview.CheckedChanged         += new System.EventHandler(this.chkPreview_CheckedChanged);
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.numLOD);
     this.groupBox1.Controls.Add(this.label5);
     this.groupBox1.Controls.Add(this.cboFormat);
     this.groupBox1.Controls.Add(this.label4);
     this.groupBox1.Location = new System.Drawing.Point(3, 108);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(179, 71);
     this.groupBox1.TabIndex = 1;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Image";
     //
     // numLOD
     //
     this.numLOD.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.numLOD.Location = new System.Drawing.Point(75, 42);
     this.numLOD.Minimum  = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.numLOD.Name     = "numLOD";
     this.numLOD.Size     = new System.Drawing.Size(98, 20);
     this.numLOD.TabIndex = 9;
     this.numLOD.Value    = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.numLOD.ValueChanged += new System.EventHandler(this.numLOD_ValueChanged);
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(6, 42);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(63, 20);
     this.label5.TabIndex  = 8;
     this.label5.Text      = "MIP Levels:";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // cboFormat
     //
     this.cboFormat.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.cboFormat.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboFormat.FormattingEnabled = true;
     this.cboFormat.Location          = new System.Drawing.Point(75, 15);
     this.cboFormat.Name                  = "cboFormat";
     this.cboFormat.Size                  = new System.Drawing.Size(98, 21);
     this.cboFormat.TabIndex              = 7;
     this.cboFormat.SelectedIndexChanged += new System.EventHandler(this.cboFormat_SelectedIndexChanged);
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(6, 16);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(63, 20);
     this.label4.TabIndex  = 6;
     this.label4.Text      = "Format:";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // btnRecommend
     //
     this.btnRecommend.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.btnRecommend.Location = new System.Drawing.Point(75, 14);
     this.btnRecommend.Name     = "btnRecommend";
     this.btnRecommend.Size     = new System.Drawing.Size(98, 21);
     this.btnRecommend.TabIndex = 5;
     this.btnRecommend.Text     = "Recommend";
     this.btnRecommend.UseVisualStyleBackColor = true;
     this.btnRecommend.Click += new System.EventHandler(this.btnRecommend_Click);
     //
     // groupBox2
     //
     this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox2.Controls.Add(this.label9);
     this.groupBox2.Controls.Add(this.lblTransparencies);
     this.groupBox2.Controls.Add(this.lblDataSize);
     this.groupBox2.Controls.Add(this.lblColors);
     this.groupBox2.Controls.Add(this.lblSize);
     this.groupBox2.Controls.Add(this.label3);
     this.groupBox2.Controls.Add(this.label2);
     this.groupBox2.Controls.Add(this.label1);
     this.groupBox2.Location = new System.Drawing.Point(3, 3);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(179, 99);
     this.groupBox2.TabIndex = 2;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Info";
     //
     // label9
     //
     this.label9.Location  = new System.Drawing.Point(6, 71);
     this.label9.Name      = "label9";
     this.label9.Size      = new System.Drawing.Size(85, 20);
     this.label9.TabIndex  = 7;
     this.label9.Text      = "Data Size:";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // lblTransparencies
     //
     this.lblTransparencies.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                           | System.Windows.Forms.AnchorStyles.Right)));
     this.lblTransparencies.Location  = new System.Drawing.Point(97, 51);
     this.lblTransparencies.Name      = "lblTransparencies";
     this.lblTransparencies.Size      = new System.Drawing.Size(76, 20);
     this.lblTransparencies.TabIndex  = 5;
     this.lblTransparencies.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblDataSize
     //
     this.lblDataSize.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.lblDataSize.Location  = new System.Drawing.Point(97, 71);
     this.lblDataSize.Name      = "lblDataSize";
     this.lblDataSize.Size      = new System.Drawing.Size(76, 20);
     this.lblDataSize.TabIndex  = 6;
     this.lblDataSize.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblColors
     //
     this.lblColors.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.lblColors.Location  = new System.Drawing.Point(97, 31);
     this.lblColors.Name      = "lblColors";
     this.lblColors.Size      = new System.Drawing.Size(76, 20);
     this.lblColors.TabIndex  = 4;
     this.lblColors.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblSize
     //
     this.lblSize.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.lblSize.Location  = new System.Drawing.Point(94, 11);
     this.lblSize.Name      = "lblSize";
     this.lblSize.Size      = new System.Drawing.Size(79, 20);
     this.lblSize.TabIndex  = 3;
     this.lblSize.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(6, 51);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(85, 20);
     this.label3.TabIndex  = 2;
     this.label3.Text      = "Transparent:";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(6, 31);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(85, 20);
     this.label2.TabIndex  = 1;
     this.label2.Text      = "Colors:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(6, 11);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(85, 20);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Size:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // btnOkay
     //
     this.btnOkay.Anchor   = System.Windows.Forms.AnchorStyles.Bottom;
     this.btnOkay.Location = new System.Drawing.Point(8, 95);
     this.btnOkay.Name     = "btnOkay";
     this.btnOkay.Size     = new System.Drawing.Size(79, 23);
     this.btnOkay.TabIndex = 3;
     this.btnOkay.Text     = "Okay";
     this.btnOkay.UseVisualStyleBackColor = true;
     this.btnOkay.Click += new System.EventHandler(this.btnOkay_Click);
     //
     // btnCancel
     //
     this.btnCancel.Anchor   = System.Windows.Forms.AnchorStyles.Bottom;
     this.btnCancel.Location = new System.Drawing.Point(92, 95);
     this.btnCancel.Name     = "btnCancel";
     this.btnCancel.Size     = new System.Drawing.Size(79, 23);
     this.btnCancel.TabIndex = 4;
     this.btnCancel.Text     = "Cancel";
     this.btnCancel.UseVisualStyleBackColor = true;
     this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
     //
     // grpPalette
     //
     this.grpPalette.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this.grpPalette.Controls.Add(this.cboAlgorithm);
     this.grpPalette.Controls.Add(this.label8);
     this.grpPalette.Controls.Add(this.numPaletteCount);
     this.grpPalette.Controls.Add(this.label7);
     this.grpPalette.Controls.Add(this.cboPaletteFormat);
     this.grpPalette.Controls.Add(this.label6);
     this.grpPalette.Location    = new System.Drawing.Point(3, 185);
     this.grpPalette.Name        = "grpPalette";
     this.grpPalette.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.grpPalette.Size        = new System.Drawing.Size(179, 99);
     this.grpPalette.TabIndex    = 5;
     this.grpPalette.TabStop     = false;
     this.grpPalette.Text        = "Palette";
     //
     // cboAlgorithm
     //
     this.cboAlgorithm.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.cboAlgorithm.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboAlgorithm.FormattingEnabled = true;
     this.cboAlgorithm.Location          = new System.Drawing.Point(75, 68);
     this.cboAlgorithm.Name                  = "cboAlgorithm";
     this.cboAlgorithm.Size                  = new System.Drawing.Size(98, 21);
     this.cboAlgorithm.TabIndex              = 13;
     this.cboAlgorithm.SelectedIndexChanged += new System.EventHandler(this.formatChanged);
     //
     // label8
     //
     this.label8.Location  = new System.Drawing.Point(6, 69);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(63, 20);
     this.label8.TabIndex  = 12;
     this.label8.Text      = "Algorithm:";
     this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // numPaletteCount
     //
     this.numPaletteCount.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                         | System.Windows.Forms.AnchorStyles.Right)));
     this.numPaletteCount.Increment = new decimal(new int[] {
         16,
         0,
         0,
         0
     });
     this.numPaletteCount.Location = new System.Drawing.Point(75, 42);
     this.numPaletteCount.Maximum  = new decimal(new int[] {
         256,
         0,
         0,
         0
     });
     this.numPaletteCount.Minimum = new decimal(new int[] {
         16,
         0,
         0,
         0
     });
     this.numPaletteCount.Name     = "numPaletteCount";
     this.numPaletteCount.Size     = new System.Drawing.Size(97, 20);
     this.numPaletteCount.TabIndex = 10;
     this.numPaletteCount.Value    = new decimal(new int[] {
         16,
         0,
         0,
         0
     });
     this.numPaletteCount.ValueChanged += new System.EventHandler(this.formatChanged);
     //
     // label7
     //
     this.label7.Location  = new System.Drawing.Point(6, 42);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(63, 20);
     this.label7.TabIndex  = 11;
     this.label7.Text      = "Colors:";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // cboPaletteFormat
     //
     this.cboPaletteFormat.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                          | System.Windows.Forms.AnchorStyles.Right)));
     this.cboPaletteFormat.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboPaletteFormat.FormattingEnabled = true;
     this.cboPaletteFormat.Location          = new System.Drawing.Point(75, 15);
     this.cboPaletteFormat.Name                  = "cboPaletteFormat";
     this.cboPaletteFormat.Size                  = new System.Drawing.Size(98, 21);
     this.cboPaletteFormat.TabIndex              = 10;
     this.cboPaletteFormat.SelectedIndexChanged += new System.EventHandler(this.formatChanged);
     //
     // label6
     //
     this.label6.Location  = new System.Drawing.Point(6, 16);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(63, 20);
     this.label6.TabIndex  = 10;
     this.label6.Text      = "Format:";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // groupBox4
     //
     this.groupBox4.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.groupBox4.Controls.Add(this.btnOkay);
     this.groupBox4.Controls.Add(this.btnRecommend);
     this.groupBox4.Controls.Add(this.chkPreview);
     this.groupBox4.Controls.Add(this.btnCancel);
     this.groupBox4.Location = new System.Drawing.Point(3, 290);
     this.groupBox4.Name     = "groupBox4";
     this.groupBox4.Size     = new System.Drawing.Size(179, 124);
     this.groupBox4.TabIndex = 7;
     this.groupBox4.TabStop  = false;
     //
     // pictureBox1
     //
     this.pictureBox1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.pictureBox1.Location = new System.Drawing.Point(0, 20);
     this.pictureBox1.Margin   = new System.Windows.Forms.Padding(0);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Picture  = null;
     this.pictureBox1.Size     = new System.Drawing.Size(379, 397);
     this.pictureBox1.TabIndex = 8;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.groupBox2);
     this.panel1.Controls.Add(this.groupBox1);
     this.panel1.Controls.Add(this.groupBox4);
     this.panel1.Controls.Add(this.grpPalette);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Right;
     this.panel1.Location = new System.Drawing.Point(379, 0);
     this.panel1.Margin   = new System.Windows.Forms.Padding(3, 3, 0, 3);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(185, 417);
     this.panel1.TabIndex = 9;
     //
     // txtPath
     //
     this.txtPath.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.txtPath.Location = new System.Drawing.Point(0, 0);
     this.txtPath.Name     = "txtPath";
     this.txtPath.ReadOnly = true;
     this.txtPath.Size     = new System.Drawing.Size(304, 20);
     this.txtPath.TabIndex = 0;
     //
     // panel2
     //
     this.panel2.Controls.Add(this.txtPath);
     this.panel2.Controls.Add(this.button1);
     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(379, 20);
     this.panel2.TabIndex = 1;
     //
     // button1
     //
     this.button1.Dock     = System.Windows.Forms.DockStyle.Right;
     this.button1.Location = new System.Drawing.Point(304, 0);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(75, 20);
     this.button1.TabIndex = 10;
     this.button1.Text     = "Browse...";
     this.button1.UseVisualStyleBackColor = true;
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // TextureConverterDialog
     //
     this.AcceptButton = this.btnOkay;
     this.ClientSize   = new System.Drawing.Size(564, 417);
     this.Controls.Add(this.pictureBox1);
     this.Controls.Add(this.panel2);
     this.Controls.Add(this.panel1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
     this.MinimumSize     = new System.Drawing.Size(0, 435);
     this.Name            = "TextureConverterDialog";
     this.ShowIcon        = false;
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Advanced Texture Converter";
     this.groupBox1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.numLOD)).EndInit();
     this.groupBox2.ResumeLayout(false);
     this.grpPalette.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.numPaletteCount)).EndInit();
     this.groupBox4.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.panel2.PerformLayout();
     this.ResumeLayout(false);
 }
예제 #32
0
파일: Theme.cs 프로젝트: raj581/Marvin
 public abstract void ComboBoxDrawBackground(ComboBox comboBox, Graphics g, Rectangle clippingArea, FlatStyle style);
예제 #33
0
파일: Theme.cs 프로젝트: raj581/Marvin
 public abstract bool ComboBoxDropDownButtonHasHotElementStyle(ComboBox comboBox);
예제 #34
0
파일: Theme.cs 프로젝트: raj581/Marvin
 public abstract bool ComboBoxNormalDropDownButtonHasTransparentBackground(ComboBox comboBox, ButtonState state);
예제 #35
0
파일: Theme.cs 프로젝트: raj581/Marvin
 public abstract void ComboBoxDrawNormalDropDownButton(ComboBox comboBox, Graphics g, Rectangle clippingArea, Rectangle area, ButtonState state);
예제 #36
0
파일: Theme.cs 프로젝트: raj581/Marvin
 // Drawing
 public abstract void DrawComboBoxItem(ComboBox ctrl, DrawItemEventArgs e);
예제 #37
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend    legend1    = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series    series1    = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint1 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 39);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint2 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 18);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint3 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 15);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint4 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 12);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint5 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 8);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint6 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 4.5);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint7 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 3.2000000476837158);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint8 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 2);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint9 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 1);
     this.chart1                     = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.labelSampleComment         = new System.Windows.Forms.Label();
     this.comboBoxCollectedThreshold = new System.Windows.Forms.ComboBox();
     this.textBoxCollectedLabel      = new System.Windows.Forms.TextBox();
     this.label6                     = new System.Windows.Forms.Label();
     this.label5                     = new System.Windows.Forms.Label();
     this.comboBoxCollectedColor     = new System.Windows.Forms.ComboBox();
     this.label4                     = new System.Windows.Forms.Label();
     this.checkBoxCollectPieSlices   = new System.Windows.Forms.CheckBox();
     this.checkBoxShowExploded       = new System.Windows.Forms.CheckBox();
     this.comboBoxChartType          = new System.Windows.Forms.ComboBox();
     this.label1                     = new System.Windows.Forms.Label();
     this.panel1                     = new System.Windows.Forms.Panel();
     this.textBoxCollectedLegend     = new System.Windows.Forms.TextBox();
     this.label2                     = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // chart1
     //
     this.chart1.BackColor                   = System.Drawing.Color.FromArgb(((int)(((byte)(211)))), ((int)(((byte)(223)))), ((int)(((byte)(240)))));
     this.chart1.BackGradientStyle           = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     this.chart1.BorderlineColor             = System.Drawing.Color.FromArgb(((int)(((byte)(26)))), ((int)(((byte)(59)))), ((int)(((byte)(105)))));
     this.chart1.BorderlineDashStyle         = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     this.chart1.BorderlineWidth             = 2;
     this.chart1.BorderSkin.SkinStyle        = System.Windows.Forms.DataVisualization.Charting.BorderSkinStyle.Emboss;
     chartArea1.Area3DStyle.IsClustered      = true;
     chartArea1.Area3DStyle.IsRightAngleAxes = false;
     chartArea1.Area3DStyle.PointGapDepth    = 900;
     chartArea1.Area3DStyle.Rotation         = 162;
     chartArea1.Area3DStyle.WallWidth        = 25;
     chartArea1.AxisX.LabelStyle.Font        = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisX.LineColor              = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.MajorGrid.Enabled      = false;
     chartArea1.AxisX.MajorGrid.LineColor    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisX.MajorTickMark.Enabled  = false;
     chartArea1.AxisX2.MajorGrid.Enabled     = false;
     chartArea1.AxisX2.MajorTickMark.Enabled = false;
     chartArea1.AxisY.LabelStyle.Font        = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     chartArea1.AxisY.LineColor              = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.MajorGrid.Enabled      = false;
     chartArea1.AxisY.MajorGrid.LineColor    = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.AxisY.MajorTickMark.Enabled  = false;
     chartArea1.AxisY2.MajorGrid.Enabled     = false;
     chartArea1.AxisY2.MajorTickMark.Enabled = false;
     chartArea1.BackColor          = System.Drawing.Color.Transparent;
     chartArea1.BackGradientStyle  = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom;
     chartArea1.BackSecondaryColor = System.Drawing.Color.Transparent;
     chartArea1.BorderColor        = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     chartArea1.Name        = "Area1";
     chartArea1.ShadowColor = System.Drawing.Color.Transparent;
     this.chart1.ChartAreas.Add(chartArea1);
     this.chart1.IsSoftShadows = false;
     legend1.BackColor         = System.Drawing.Color.Transparent;
     legend1.Font = new System.Drawing.Font("Trebuchet MS", 8F, System.Drawing.FontStyle.Bold);
     legend1.IsEquallySpacedItems = true;
     legend1.IsTextAutoFit        = false;
     legend1.Name = "Default";
     this.chart1.Legends.Add(legend1);
     this.chart1.Location     = new System.Drawing.Point(16, 61);
     this.chart1.Name         = "chart1";
     series1.BorderColor      = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     series1.ChartArea        = "Area1";
     series1.ChartType        = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Pie;
     series1.Color            = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(65)))), ((int)(((byte)(140)))), ((int)(((byte)(240)))));
     series1.CustomProperties = "DoughnutRadius=25, PieDrawingStyle=Concave, CollectedLabel=Other, MinimumRelative" +
                                "PieSize=20";
     series1.Font                   = new System.Drawing.Font("Trebuchet MS", 8.25F, System.Drawing.FontStyle.Bold);
     series1.Label                  = "#PERCENT{P1}";
     series1.Legend                 = "Default";
     series1.MarkerStyle            = System.Windows.Forms.DataVisualization.Charting.MarkerStyle.Circle;
     series1.Name                   = "Series1";
     dataPoint1.CustomProperties    = "OriginalPointIndex=0";
     dataPoint1.IsValueShownAsLabel = false;
     dataPoint1.LegendText          = "RUS";
     dataPoint2.CustomProperties    = "OriginalPointIndex=1";
     dataPoint2.IsValueShownAsLabel = false;
     dataPoint2.LegendText          = "CAN";
     dataPoint3.CustomProperties    = "OriginalPointIndex=2";
     dataPoint3.IsValueShownAsLabel = false;
     dataPoint3.LegendText          = "USA";
     dataPoint4.CustomProperties    = "OriginalPointIndex=3";
     dataPoint4.LegendText          = "PRC";
     dataPoint5.CustomProperties    = "OriginalPointIndex=5";
     dataPoint5.LegendText          = "DEN";
     dataPoint6.LegendText          = "AUS";
     dataPoint7.CustomProperties    = "OriginalPointIndex=4";
     dataPoint7.LegendText          = "IND";
     dataPoint8.LegendText          = "ARG";
     dataPoint9.LegendText          = "FRA";
     series1.Points.Add(dataPoint1);
     series1.Points.Add(dataPoint2);
     series1.Points.Add(dataPoint3);
     series1.Points.Add(dataPoint4);
     series1.Points.Add(dataPoint5);
     series1.Points.Add(dataPoint6);
     series1.Points.Add(dataPoint7);
     series1.Points.Add(dataPoint8);
     series1.Points.Add(dataPoint9);
     series1.XValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
     series1.YValueType = System.Windows.Forms.DataVisualization.Charting.ChartValueType.Double;
     this.chart1.Series.Add(series1);
     this.chart1.Size     = new System.Drawing.Size(412, 296);
     this.chart1.TabIndex = 1;
     //
     // labelSampleComment
     //
     this.labelSampleComment.Font     = new System.Drawing.Font("Verdana", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelSampleComment.Location = new System.Drawing.Point(16, 8);
     this.labelSampleComment.Name     = "labelSampleComment";
     this.labelSampleComment.Size     = new System.Drawing.Size(702, 45);
     this.labelSampleComment.TabIndex = 0;
     this.labelSampleComment.Text     = "This sample demonstrates how to group many small segments of a pie or doughnut ch" +
                                        "art into one collected slice to improve chart readability.";
     this.labelSampleComment.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // comboBoxCollectedThreshold
     //
     this.comboBoxCollectedThreshold.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxCollectedThreshold.Font          = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBoxCollectedThreshold.ItemHeight    = 14;
     this.comboBoxCollectedThreshold.Items.AddRange(new object[] {
         "5",
         "8",
         "12",
         "15"
     });
     this.comboBoxCollectedThreshold.Location              = new System.Drawing.Point(184, 40);
     this.comboBoxCollectedThreshold.Name                  = "comboBoxCollectedThreshold";
     this.comboBoxCollectedThreshold.Size                  = new System.Drawing.Size(104, 22);
     this.comboBoxCollectedThreshold.TabIndex              = 2;
     this.comboBoxCollectedThreshold.SelectedIndexChanged += new System.EventHandler(this.comboBoxCollectedThreshold_SelectedIndexChanged);
     //
     // textBoxCollectedLabel
     //
     this.textBoxCollectedLabel.Font         = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBoxCollectedLabel.Location     = new System.Drawing.Point(184, 104);
     this.textBoxCollectedLabel.MaxLength    = 12;
     this.textBoxCollectedLabel.Name         = "textBoxCollectedLabel";
     this.textBoxCollectedLabel.Size         = new System.Drawing.Size(104, 22);
     this.textBoxCollectedLabel.TabIndex     = 4;
     this.textBoxCollectedLabel.TextChanged += new System.EventHandler(this.textBoxCollectedLabel_TextChanged);
     //
     // label6
     //
     this.label6.BackColor = System.Drawing.Color.White;
     this.label6.Font      = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label6.Location  = new System.Drawing.Point(35, 104);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(144, 23);
     this.label6.TabIndex  = 4;
     this.label6.Text      = "Collected &Label:";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label5
     //
     this.label5.BackColor = System.Drawing.Color.White;
     this.label5.Font      = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label5.Location  = new System.Drawing.Point(35, 72);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(144, 23);
     this.label5.TabIndex  = 3;
     this.label5.Text      = "Collected &Color:";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // comboBoxCollectedColor
     //
     this.comboBoxCollectedColor.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxCollectedColor.Font          = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBoxCollectedColor.ItemHeight    = 14;
     this.comboBoxCollectedColor.Items.AddRange(new object[] {
         "Green",
         "Gold",
         "Gray",
         "Magenta"
     });
     this.comboBoxCollectedColor.Location              = new System.Drawing.Point(184, 72);
     this.comboBoxCollectedColor.Name                  = "comboBoxCollectedColor";
     this.comboBoxCollectedColor.Size                  = new System.Drawing.Size(104, 22);
     this.comboBoxCollectedColor.TabIndex              = 3;
     this.comboBoxCollectedColor.SelectedIndexChanged += new System.EventHandler(this.comboBoxCollectedColor_SelectedIndexChanged);
     //
     // label4
     //
     this.label4.BackColor = System.Drawing.Color.White;
     this.label4.Font      = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.Location  = new System.Drawing.Point(4, 40);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(176, 23);
     this.label4.TabIndex  = 2;
     this.label4.Text      = "Collected &Threshold (in %):";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // checkBoxCollectPieSlices
     //
     this.checkBoxCollectPieSlices.BackColor  = System.Drawing.Color.White;
     this.checkBoxCollectPieSlices.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.checkBoxCollectPieSlices.Font       = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBoxCollectPieSlices.Location   = new System.Drawing.Point(38, 8);
     this.checkBoxCollectPieSlices.Name       = "checkBoxCollectPieSlices";
     this.checkBoxCollectPieSlices.Size       = new System.Drawing.Size(160, 24);
     this.checkBoxCollectPieSlices.TabIndex   = 1;
     this.checkBoxCollectPieSlices.Text       = "Collect &Pie Slices:     ";
     this.checkBoxCollectPieSlices.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.checkBoxCollectPieSlices.UseVisualStyleBackColor = false;
     this.checkBoxCollectPieSlices.CheckedChanged         += new System.EventHandler(this.checkBoxCollectPieSlices_CheckedChanged);
     //
     // checkBoxShowExploded
     //
     this.checkBoxShowExploded.BackColor  = System.Drawing.Color.White;
     this.checkBoxShowExploded.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.checkBoxShowExploded.Font       = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.checkBoxShowExploded.Location   = new System.Drawing.Point(62, 165);
     this.checkBoxShowExploded.Name       = "checkBoxShowExploded";
     this.checkBoxShowExploded.Size       = new System.Drawing.Size(136, 24);
     this.checkBoxShowExploded.TabIndex   = 6;
     this.checkBoxShowExploded.Text       = "&Show Exploded: ";
     this.checkBoxShowExploded.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.checkBoxShowExploded.UseVisualStyleBackColor = false;
     this.checkBoxShowExploded.CheckedChanged         += new System.EventHandler(this.checkBoxcollectSmallSegments_CheckedChanged);
     //
     // comboBoxChartType
     //
     this.comboBoxChartType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxChartType.Font          = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBoxChartType.ItemHeight    = 14;
     this.comboBoxChartType.Items.AddRange(new object[] {
         "Pie",
         "Doughnut"
     });
     this.comboBoxChartType.Location              = new System.Drawing.Point(184, 195);
     this.comboBoxChartType.Name                  = "comboBoxChartType";
     this.comboBoxChartType.Size                  = new System.Drawing.Size(104, 22);
     this.comboBoxChartType.TabIndex              = 7;
     this.comboBoxChartType.SelectedIndexChanged += new System.EventHandler(this.comboBoxChartType_SelectedIndexChanged);
     //
     // label1
     //
     this.label1.BackColor = System.Drawing.Color.White;
     this.label1.Font      = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location  = new System.Drawing.Point(99, 194);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(80, 23);
     this.label1.TabIndex  = 7;
     this.label1.Text      = "Chart &Type:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // panel1
     //
     this.panel1.BackColor = System.Drawing.Color.White;
     this.panel1.Controls.Add(this.textBoxCollectedLegend);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.comboBoxCollectedThreshold);
     this.panel1.Controls.Add(this.textBoxCollectedLabel);
     this.panel1.Controls.Add(this.label6);
     this.panel1.Controls.Add(this.label5);
     this.panel1.Controls.Add(this.comboBoxCollectedColor);
     this.panel1.Controls.Add(this.label4);
     this.panel1.Controls.Add(this.checkBoxCollectPieSlices);
     this.panel1.Controls.Add(this.checkBoxShowExploded);
     this.panel1.Controls.Add(this.comboBoxChartType);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Font     = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.panel1.Location = new System.Drawing.Point(432, 69);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(292, 288);
     this.panel1.TabIndex = 0;
     //
     // textBoxCollectedLegend
     //
     this.textBoxCollectedLegend.Font         = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBoxCollectedLegend.Location     = new System.Drawing.Point(184, 136);
     this.textBoxCollectedLegend.MaxLength    = 12;
     this.textBoxCollectedLegend.Name         = "textBoxCollectedLegend";
     this.textBoxCollectedLegend.Size         = new System.Drawing.Size(104, 22);
     this.textBoxCollectedLegend.TabIndex     = 5;
     this.textBoxCollectedLegend.TextChanged += new System.EventHandler(this.textBoxCollectedLegend_TextChanged);
     //
     // label2
     //
     this.label2.BackColor = System.Drawing.Color.White;
     this.label2.Font      = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location  = new System.Drawing.Point(27, 136);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(152, 23);
     this.label2.TabIndex  = 5;
     this.label2.Text      = "Collected &Legend Text:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // PieCollected
     //
     this.BackColor = System.Drawing.Color.White;
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.labelSampleComment);
     this.Controls.Add(this.chart1);
     this.Font  = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name  = "PieCollected";
     this.Size  = new System.Drawing.Size(728, 368);
     this.Load += new System.EventHandler(this.PieChartType_Load);
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.ResumeLayout(false);
 }
예제 #38
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmShortestPath));
     this.label1             = new System.Windows.Forms.Label();
     this.comboBoxSourceData = new System.Windows.Forms.ComboBox();
     this.btnOpenSourceData  = new System.Windows.Forms.Button();
     this.label2             = new System.Windows.Forms.Label();
     this.comboBoxCostDisRs  = new System.Windows.Forms.ComboBox();
     this.btnOpenCostDis     = new System.Windows.Forms.Button();
     this.label3             = new System.Windows.Forms.Label();
     this.comboBoxCostDirRs  = new System.Windows.Forms.ComboBox();
     this.btnOpenCostDir     = new System.Windows.Forms.Button();
     this.label4             = new System.Windows.Forms.Label();
     this.comboBoxPathType   = new System.Windows.Forms.ComboBox();
     this.label5             = new System.Windows.Forms.Label();
     this.txtSavePath        = new System.Windows.Forms.TextBox();
     this.btnSave            = new System.Windows.Forms.Button();
     this.btnGO     = new System.Windows.Forms.Button();
     this.btnCancel = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 16);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(96, 16);
     this.label1.TabIndex = 0;
     this.label1.Text     = "最短路径到:";
     //
     // comboBoxSourceData
     //
     this.comboBoxSourceData.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxSourceData.Location      = new System.Drawing.Point(104, 14);
     this.comboBoxSourceData.Name          = "comboBoxSourceData";
     this.comboBoxSourceData.Size          = new System.Drawing.Size(136, 20);
     this.comboBoxSourceData.TabIndex      = 1;
     //
     // btnOpenSourceData
     //
     this.btnOpenSourceData.Image    = ((System.Drawing.Image)(resources.GetObject("btnOpenSourceData.Image")));
     this.btnOpenSourceData.Location = new System.Drawing.Point(256, 12);
     this.btnOpenSourceData.Name     = "btnOpenSourceData";
     this.btnOpenSourceData.Size     = new System.Drawing.Size(32, 24);
     this.btnOpenSourceData.TabIndex = 2;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(8, 48);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(96, 16);
     this.label2.TabIndex = 3;
     this.label2.Text     = "费用距离栅格:";
     //
     // comboBoxCostDisRs
     //
     this.comboBoxCostDisRs.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxCostDisRs.Location      = new System.Drawing.Point(104, 46);
     this.comboBoxCostDisRs.Name          = "comboBoxCostDisRs";
     this.comboBoxCostDisRs.Size          = new System.Drawing.Size(136, 20);
     this.comboBoxCostDisRs.TabIndex      = 4;
     //
     // btnOpenCostDis
     //
     this.btnOpenCostDis.Image    = ((System.Drawing.Image)(resources.GetObject("btnOpenCostDis.Image")));
     this.btnOpenCostDis.Location = new System.Drawing.Point(256, 44);
     this.btnOpenCostDis.Name     = "btnOpenCostDis";
     this.btnOpenCostDis.Size     = new System.Drawing.Size(32, 24);
     this.btnOpenCostDis.TabIndex = 5;
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(8, 80);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(96, 16);
     this.label3.TabIndex = 6;
     this.label3.Text     = "费用方向栅格:";
     //
     // comboBoxCostDirRs
     //
     this.comboBoxCostDirRs.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxCostDirRs.Location      = new System.Drawing.Point(104, 78);
     this.comboBoxCostDirRs.Name          = "comboBoxCostDirRs";
     this.comboBoxCostDirRs.Size          = new System.Drawing.Size(136, 20);
     this.comboBoxCostDirRs.TabIndex      = 7;
     //
     // btnOpenCostDir
     //
     this.btnOpenCostDir.Image    = ((System.Drawing.Image)(resources.GetObject("btnOpenCostDir.Image")));
     this.btnOpenCostDir.Location = new System.Drawing.Point(256, 76);
     this.btnOpenCostDir.Name     = "btnOpenCostDir";
     this.btnOpenCostDir.Size     = new System.Drawing.Size(32, 24);
     this.btnOpenCostDir.TabIndex = 8;
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(8, 112);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(96, 16);
     this.label4.TabIndex = 9;
     this.label4.Text     = "道路类型:";
     //
     // comboBoxPathType
     //
     this.comboBoxPathType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxPathType.Location      = new System.Drawing.Point(104, 110);
     this.comboBoxPathType.Name          = "comboBoxPathType";
     this.comboBoxPathType.Size          = new System.Drawing.Size(136, 20);
     this.comboBoxPathType.TabIndex      = 10;
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(8, 144);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(96, 16);
     this.label5.TabIndex = 11;
     this.label5.Text     = "输出特征类:";
     //
     // txtSavePath
     //
     this.txtSavePath.Location = new System.Drawing.Point(104, 142);
     this.txtSavePath.Name     = "txtSavePath";
     this.txtSavePath.Size     = new System.Drawing.Size(136, 21);
     this.txtSavePath.TabIndex = 12;
     //
     // btnSave
     //
     this.btnSave.Image    = ((System.Drawing.Image)(resources.GetObject("btnSave.Image")));
     this.btnSave.Location = new System.Drawing.Point(256, 140);
     this.btnSave.Name     = "btnSave";
     this.btnSave.Size     = new System.Drawing.Size(32, 24);
     this.btnSave.TabIndex = 13;
     //
     // btnGO
     //
     this.btnGO.Location = new System.Drawing.Point(120, 184);
     this.btnGO.Name     = "btnGO";
     this.btnGO.Size     = new System.Drawing.Size(72, 24);
     this.btnGO.TabIndex = 14;
     this.btnGO.Text     = "GO!";
     //
     // btnCancel
     //
     this.btnCancel.Location = new System.Drawing.Point(208, 184);
     this.btnCancel.Name     = "btnCancel";
     this.btnCancel.Size     = new System.Drawing.Size(72, 24);
     this.btnCancel.TabIndex = 15;
     this.btnCancel.Text     = "Destroy";
     this.btnCancel.Click   += new System.EventHandler(this.btnCancel_Click);
     //
     // frmShortestPath
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(304, 222);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.btnGO);
     this.Controls.Add(this.btnSave);
     this.Controls.Add(this.txtSavePath);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.comboBoxPathType);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.btnOpenCostDir);
     this.Controls.Add(this.comboBoxCostDirRs);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.btnOpenCostDis);
     this.Controls.Add(this.comboBoxCostDisRs);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.btnOpenSourceData);
     this.Controls.Add(this.comboBoxSourceData);
     this.Controls.Add(this.label1);
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name        = "frmShortestPath";
     this.Text        = "最短路径计算";
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #39
0
 public ObjectCollection(ComboBox owner)
 {
     this.owner    = owner;
     disabledItems = new List <int>();
     items         = new List <object>();
 }
예제 #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._cmbOperator = new System.Windows.Forms.ComboBox();
     this._value       = new System.Windows.Forms.Label();
     this._txtValue    = new System.Windows.Forms.TextBox();
     this.groupBox1    = new System.Windows.Forms.GroupBox();
     this.groupBox2    = new System.Windows.Forms.GroupBox();
     this.label2       = new System.Windows.Forms.Label();
     this._txtFrom     = new System.Windows.Forms.TextBox();
     this._txtTo       = new System.Windows.Forms.TextBox();
     this.label3       = new System.Windows.Forms.Label();
     this._btnOK       = new System.Windows.Forms.Button();
     this._btnCancel   = new System.Windows.Forms.Button();
     this._btnClear    = new System.Windows.Forms.Button();
     this.groupBox3    = new System.Windows.Forms.GroupBox();
     this.label1       = new System.Windows.Forms.Label();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // _cmbOperator
     //
     this._cmbOperator.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this._cmbOperator.Items.AddRange(new object[] {
         "=",
         ">",
         ">=",
         "<",
         "<=",
         "<>"
     });
     this._cmbOperator.Location              = new System.Drawing.Point(16, 24);
     this._cmbOperator.Name                  = "_cmbOperator";
     this._cmbOperator.Size                  = new System.Drawing.Size(56, 21);
     this._cmbOperator.TabIndex              = 2;
     this._cmbOperator.SelectedIndexChanged += new System.EventHandler(this._cmbOperator_SelectedIndexChanged);
     //
     // _value
     //
     this._value.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                           | System.Windows.Forms.AnchorStyles.Right);
     this._value.Location  = new System.Drawing.Point(8, 8);
     this._value.Name      = "_value";
     this._value.Size      = new System.Drawing.Size(426, 21);
     this._value.TabIndex  = 0;
     this._value.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // _txtValue
     //
     this._txtValue.Location     = new System.Drawing.Point(88, 24);
     this._txtValue.Name         = "_txtValue";
     this._txtValue.Size         = new System.Drawing.Size(80, 20);
     this._txtValue.TabIndex     = 3;
     this._txtValue.Text         = "";
     this._txtValue.TextChanged += new System.EventHandler(this._txtValue_TextChanged);
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                              | System.Windows.Forms.AnchorStyles.Right);
     this.groupBox1.Controls.AddRange(new System.Windows.Forms.Control[] {
         this._cmbOperator,
         this._txtValue
     });
     this.groupBox1.Location = new System.Drawing.Point(8, 40);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(176, 56);
     this.groupBox1.TabIndex = 1;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Single value criteria";
     //
     // groupBox2
     //
     this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                              | System.Windows.Forms.AnchorStyles.Right);
     this.groupBox2.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.label2,
         this._txtFrom,
         this._txtTo,
         this.label3
     });
     this.groupBox2.Location = new System.Drawing.Point(8, 104);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(296, 56);
     this.groupBox2.TabIndex = 4;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Interval criteria";
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(16, 24);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(64, 20);
     this.label2.TabIndex  = 5;
     this.label2.Text      = "Between";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // _txtFrom
     //
     this._txtFrom.Location     = new System.Drawing.Point(88, 24);
     this._txtFrom.Name         = "_txtFrom";
     this._txtFrom.Size         = new System.Drawing.Size(80, 20);
     this._txtFrom.TabIndex     = 6;
     this._txtFrom.Text         = "";
     this._txtFrom.TextChanged += new System.EventHandler(this._txtFrom_TextChanged);
     //
     // _txtTo
     //
     this._txtTo.Location     = new System.Drawing.Point(208, 24);
     this._txtTo.Name         = "_txtTo";
     this._txtTo.Size         = new System.Drawing.Size(80, 20);
     this._txtTo.TabIndex     = 8;
     this._txtTo.Text         = "";
     this._txtTo.TextChanged += new System.EventHandler(this._txtTo_TextChanged);
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(176, 24);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(32, 20);
     this.label3.TabIndex  = 7;
     this.label3.Text      = "and";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // _btnOK
     //
     this._btnOK.Anchor       = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right);
     this._btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this._btnOK.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this._btnOK.Location     = new System.Drawing.Point(250, 177);
     this._btnOK.Name         = "_btnOK";
     this._btnOK.Size         = new System.Drawing.Size(88, 24);
     this._btnOK.TabIndex     = 9;
     this._btnOK.Text         = "OK";
     //
     // _btnCancel
     //
     this._btnCancel.Anchor       = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right);
     this._btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this._btnCancel.FlatStyle    = System.Windows.Forms.FlatStyle.System;
     this._btnCancel.Location     = new System.Drawing.Point(346, 177);
     this._btnCancel.Name         = "_btnCancel";
     this._btnCancel.Size         = new System.Drawing.Size(88, 24);
     this._btnCancel.TabIndex     = 10;
     this._btnCancel.Text         = "Cancel";
     //
     // _btnClear
     //
     this._btnClear.Anchor    = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left);
     this._btnClear.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this._btnClear.Location  = new System.Drawing.Point(8, 176);
     this._btnClear.Name      = "_btnClear";
     this._btnClear.Size      = new System.Drawing.Size(88, 24);
     this._btnClear.TabIndex  = 10;
     this._btnClear.Text      = "Clear";
     this._btnClear.Click    += new System.EventHandler(this._btnClear_Click);
     //
     // groupBox3
     //
     this.groupBox3.Anchor = ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                              | System.Windows.Forms.AnchorStyles.Right);
     this.groupBox3.Location = new System.Drawing.Point(0, 169);
     this.groupBox3.Name     = "groupBox3";
     this.groupBox3.Size     = new System.Drawing.Size(442, 2);
     this.groupBox3.TabIndex = 12;
     this.groupBox3.TabStop  = false;
     //
     // label1
     //
     this.label1.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                           | System.Windows.Forms.AnchorStyles.Right);
     this.label1.Location = new System.Drawing.Point(200, 48);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(232, 48);
     this.label1.TabIndex = 13;
     this.label1.Text     = "Tips: use 0 or 1 instead of True and False; remember to enclose string and date c" +
                            "onstants in single quotes.";
     //
     // CriteriaForm
     //
     this.AcceptButton      = this._btnOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this._btnCancel;
     this.ClientSize        = new System.Drawing.Size(442, 207);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.label1,
         this.groupBox3,
         this._btnOK,
         this.groupBox1,
         this._value,
         this.groupBox2,
         this._btnCancel,
         this._btnClear
     });
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Name            = "CriteriaForm";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "CriteriaForm";
     this.Activated      += new System.EventHandler(this.CriteriaForm_Activated);
     this.groupBox1.ResumeLayout(false);
     this.groupBox2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
예제 #41
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.groupBoxTransportEncoding = new System.Windows.Forms.GroupBox();
     this.comboEncoding             = new System.Windows.Forms.ComboBox();
     this.label1          = new System.Windows.Forms.Label();
     this.groupBoxOptions = new System.Windows.Forms.GroupBox();
     this.comboEmbeds     = new System.Windows.Forms.ComboBox();
     this.comboScripts    = new System.Windows.Forms.ComboBox();
     this.lblEmbeds       = new System.Windows.Forms.Label();
     this.lblScripts      = new System.Windows.Forms.Label();
     this.groupBoxXHTML   = new System.Windows.Forms.GroupBox();
     this.comboXHTML      = new System.Windows.Forms.ComboBox();
     this.labelXHTML      = new System.Windows.Forms.Label();
     this.groupBoxTransportEncoding.SuspendLayout();
     this.groupBoxOptions.SuspendLayout();
     this.groupBoxXHTML.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBoxTransportEncoding
     //
     this.groupBoxTransportEncoding.Controls.Add(this.comboEncoding);
     this.groupBoxTransportEncoding.Controls.Add(this.label1);
     this.groupBoxTransportEncoding.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.groupBoxTransportEncoding.Location  = new System.Drawing.Point(8, 32);
     this.groupBoxTransportEncoding.Name      = "groupBoxTransportEncoding";
     this.groupBoxTransportEncoding.Size      = new System.Drawing.Size(352, 112);
     this.groupBoxTransportEncoding.TabIndex  = 1;
     this.groupBoxTransportEncoding.TabStop   = false;
     this.groupBoxTransportEncoding.Text      = "Transport Encoding";
     //
     // comboEncoding
     //
     this.comboEncoding.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboEncoding.Location              = new System.Drawing.Point(16, 80);
     this.comboEncoding.Name                  = "comboEncoding";
     this.comboEncoding.Size                  = new System.Drawing.Size(320, 21);
     this.comboEncoding.TabIndex              = 6;
     this.comboEncoding.SelectedIndexChanged += new System.EventHandler(this.comboEncoding_SelectedIndexChanged);
     //
     // label1
     //
     this.label1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.label1.Location  = new System.Drawing.Point(16, 24);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(320, 56);
     this.label1.TabIndex  = 5;
     this.label1.Text      = "Open Live Writer will use the appropriate default encoding for your posts, usu" +
                             "ally UTF-8. You can manually override this suggestion by selecting a different e" +
                             "ncoding below.";
     //
     // groupBoxOptions
     //
     this.groupBoxOptions.Controls.Add(this.comboEmbeds);
     this.groupBoxOptions.Controls.Add(this.comboScripts);
     this.groupBoxOptions.Controls.Add(this.lblEmbeds);
     this.groupBoxOptions.Controls.Add(this.lblScripts);
     this.groupBoxOptions.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.groupBoxOptions.Location  = new System.Drawing.Point(8, 264);
     this.groupBoxOptions.Name      = "groupBoxOptions";
     this.groupBoxOptions.Size      = new System.Drawing.Size(352, 80);
     this.groupBoxOptions.TabIndex  = 2;
     this.groupBoxOptions.TabStop   = false;
     this.groupBoxOptions.Text      = "Blog Override Options";
     //
     // comboEmbeds
     //
     this.comboEmbeds.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboEmbeds.Location              = new System.Drawing.Point(104, 48);
     this.comboEmbeds.Name                  = "comboEmbeds";
     this.comboEmbeds.Size                  = new System.Drawing.Size(232, 21);
     this.comboEmbeds.TabIndex              = 3;
     this.comboEmbeds.SelectedIndexChanged += new System.EventHandler(this.comboEmbeds_SelectedIndexChanged);
     //
     // comboScripts
     //
     this.comboScripts.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboScripts.Location              = new System.Drawing.Point(104, 24);
     this.comboScripts.Name                  = "comboScripts";
     this.comboScripts.Size                  = new System.Drawing.Size(232, 21);
     this.comboScripts.TabIndex              = 1;
     this.comboScripts.SelectedIndexChanged += new System.EventHandler(this.comboScripts_SelectedIndexChanged);
     //
     // lblEmbeds
     //
     this.lblEmbeds.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.lblEmbeds.Location  = new System.Drawing.Point(16, 51);
     this.lblEmbeds.Name      = "lblEmbeds";
     this.lblEmbeds.Size      = new System.Drawing.Size(80, 23);
     this.lblEmbeds.TabIndex  = 2;
     this.lblEmbeds.Text      = "Embed Tags:";
     //
     // lblScripts
     //
     this.lblScripts.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.lblScripts.Location  = new System.Drawing.Point(16, 27);
     this.lblScripts.Name      = "lblScripts";
     this.lblScripts.Size      = new System.Drawing.Size(80, 23);
     this.lblScripts.TabIndex  = 0;
     this.lblScripts.Text      = "Scripts:";
     //
     // groupBoxXHTML
     //
     this.groupBoxXHTML.Controls.Add(this.comboXHTML);
     this.groupBoxXHTML.Controls.Add(this.labelXHTML);
     this.groupBoxXHTML.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.groupBoxXHTML.Location  = new System.Drawing.Point(8, 152);
     this.groupBoxXHTML.Name      = "groupBoxXHTML";
     this.groupBoxXHTML.Size      = new System.Drawing.Size(352, 104);
     this.groupBoxXHTML.TabIndex  = 2;
     this.groupBoxXHTML.TabStop   = false;
     this.groupBoxXHTML.Text      = "Markup Type";
     //
     // comboXHTML
     //
     this.comboXHTML.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboXHTML.Location              = new System.Drawing.Point(16, 72);
     this.comboXHTML.Name                  = "comboXHTML";
     this.comboXHTML.Size                  = new System.Drawing.Size(320, 21);
     this.comboXHTML.TabIndex              = 1;
     this.comboXHTML.SelectedIndexChanged += new System.EventHandler(this.comboXHTML_SelectedIndexChanged);
     //
     // labelXHTML
     //
     this.labelXHTML.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.labelXHTML.Location  = new System.Drawing.Point(16, 24);
     this.labelXHTML.Name      = "labelXHTML";
     this.labelXHTML.Size      = new System.Drawing.Size(320, 48);
     this.labelXHTML.TabIndex  = 0;
     this.labelXHTML.Text      = "If your blog homepage uses XHTML, Writer can generate well-formed markup. If you " +
                                 "prefer standard HTML, you can manually override this behavior below.";
     //
     // AdvancedPanel
     //
     this.Controls.Add(this.groupBoxXHTML);
     this.Controls.Add(this.groupBoxOptions);
     this.Controls.Add(this.groupBoxTransportEncoding);
     this.Name      = "AdvancedPanel";
     this.PanelName = "Advanced";
     this.Controls.SetChildIndex(this.groupBoxTransportEncoding, 0);
     this.Controls.SetChildIndex(this.groupBoxOptions, 0);
     this.Controls.SetChildIndex(this.groupBoxXHTML, 0);
     this.groupBoxTransportEncoding.ResumeLayout(false);
     this.groupBoxOptions.ResumeLayout(false);
     this.groupBoxXHTML.ResumeLayout(false);
     this.ResumeLayout(false);
 }
예제 #42
0
 /// <summary>
 /// Erforderliche Methode für die Designerunterstützung.
 /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
 /// </summary>
 private void InitializeComponent()
 {
     this.groupBox1         = new System.Windows.Forms.GroupBox();
     this.linkLabel1        = new System.Windows.Forms.LinkLabel();
     this.label3            = new System.Windows.Forms.Label();
     this.cbkbxGuiSetting   = new System.Windows.Forms.CheckBox();
     this.label2            = new System.Windows.Forms.Label();
     this.cbxUpdateReminder = new System.Windows.Forms.ComboBox();
     this.label1            = new System.Windows.Forms.Label();
     this.btnSave           = new System.Windows.Forms.Button();
     this.Cancel            = new System.Windows.Forms.Button();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.linkLabel1);
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Controls.Add(this.cbkbxGuiSetting);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.cbxUpdateReminder);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Location = new System.Drawing.Point(8, 8);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(384, 120);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Settings";
     //
     // linkLabel1
     //
     this.linkLabel1.Location     = new System.Drawing.Point(152, 88);
     this.linkLabel1.Name         = "linkLabel1";
     this.linkLabel1.Size         = new System.Drawing.Size(224, 23);
     this.linkLabel1.TabIndex     = 5;
     this.linkLabel1.TabStop      = true;
     this.linkLabel1.Text         = "Associate OpenDocument files with AODC";
     this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(16, 88);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(144, 23);
     this.label3.TabIndex = 4;
     this.label3.Text     = "Create a Explorer shortcut:";
     //
     // cbkbxGuiSetting
     //
     this.cbkbxGuiSetting.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.cbkbxGuiSetting.Location   = new System.Drawing.Point(16, 56);
     this.cbkbxGuiSetting.Name       = "cbkbxGuiSetting";
     this.cbkbxGuiSetting.Size       = new System.Drawing.Size(152, 24);
     this.cbkbxGuiSetting.TabIndex   = 3;
     this.cbkbxGuiSetting.Text       = "Save Gui size:";
     //
     // label2
     //
     this.label2.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label2.Location  = new System.Drawing.Point(320, 24);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(48, 23);
     this.label2.TabIndex  = 2;
     this.label2.Text      = "Days";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // cbxUpdateReminder
     //
     this.cbxUpdateReminder.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                           | System.Windows.Forms.AnchorStyles.Right)));
     this.cbxUpdateReminder.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cbxUpdateReminder.Items.AddRange(new object[] {
         "5",
         "10",
         "20",
         "Never"
     });
     this.cbxUpdateReminder.Location = new System.Drawing.Point(152, 24);
     this.cbxUpdateReminder.Name     = "cbxUpdateReminder";
     this.cbxUpdateReminder.Size     = new System.Drawing.Size(160, 21);
     this.cbxUpdateReminder.TabIndex = 1;
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(16, 24);
     this.label1.Name      = "label1";
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Update reminder:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // btnSave
     //
     this.btnSave.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnSave.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.btnSave.Location     = new System.Drawing.Point(232, 136);
     this.btnSave.Name         = "btnSave";
     this.btnSave.TabIndex     = 1;
     this.btnSave.Text         = "Save";
     this.btnSave.Click       += new System.EventHandler(this.btnSave_Click);
     //
     // Cancel
     //
     this.Cancel.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.Cancel.Location     = new System.Drawing.Point(312, 136);
     this.Cancel.Name         = "Cancel";
     this.Cancel.TabIndex     = 2;
     this.Cancel.Text         = "Cancel";
     //
     // Optionsform
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(402, 168);
     this.Controls.Add(this.Cancel);
     this.Controls.Add(this.btnSave);
     this.Controls.Add(this.groupBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.Name            = "Optionsform";
     this.Text            = "Options";
     this.Load           += new System.EventHandler(this.Optionsform_Load);
     this.groupBox1.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.pg           = new System.Windows.Forms.PropertyGrid();
     this.pnClient     = new System.Windows.Forms.Panel();
     this.pnRight      = new System.Windows.Forms.Panel();
     this.lBuildin     = new System.Windows.Forms.Label();
     this.ChartControl = new Easychart.Finance.Win.ChartWinControl();
     this.btnCreateNew = new System.Windows.Forms.Button();
     this.btnSave      = new System.Windows.Forms.Button();
     this.btnOK        = new System.Windows.Forms.Button();
     this.cbSkin       = new System.Windows.Forms.ComboBox();
     this.spVerticle   = new System.Windows.Forms.Splitter();
     this.pnClient.SuspendLayout();
     this.pnRight.SuspendLayout();
     this.SuspendLayout();
     //
     // pg
     //
     this.pg.CommandsVisibleIfAvailable = true;
     this.pg.Dock                  = System.Windows.Forms.DockStyle.Left;
     this.pg.LargeButtons          = false;
     this.pg.LineColor             = System.Drawing.SystemColors.ScrollBar;
     this.pg.Location              = new System.Drawing.Point(0, 0);
     this.pg.Name                  = "pg";
     this.pg.Size                  = new System.Drawing.Size(300, 510);
     this.pg.TabIndex              = 0;
     this.pg.Text                  = "propertyGrid1";
     this.pg.ViewBackColor         = System.Drawing.SystemColors.Window;
     this.pg.ViewForeColor         = System.Drawing.SystemColors.WindowText;
     this.pg.PropertyValueChanged += new System.Windows.Forms.PropertyValueChangedEventHandler(this.pg_PropertyValueChanged);
     //
     // pnClient
     //
     this.pnClient.Controls.Add(this.pnRight);
     this.pnClient.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.pnClient.Font     = new System.Drawing.Font("Verdana", 8.5F);
     this.pnClient.Location = new System.Drawing.Point(300, 0);
     this.pnClient.Name     = "pnClient";
     this.pnClient.Size     = new System.Drawing.Size(420, 510);
     this.pnClient.TabIndex = 1;
     //
     // pnRight
     //
     this.pnRight.Controls.Add(this.lBuildin);
     this.pnRight.Controls.Add(this.ChartControl);
     this.pnRight.Controls.Add(this.btnCreateNew);
     this.pnRight.Controls.Add(this.btnSave);
     this.pnRight.Controls.Add(this.btnOK);
     this.pnRight.Controls.Add(this.cbSkin);
     this.pnRight.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.pnRight.Location = new System.Drawing.Point(0, 0);
     this.pnRight.Name     = "pnRight";
     this.pnRight.Size     = new System.Drawing.Size(420, 510);
     this.pnRight.TabIndex = 3;
     //
     // lBuildin
     //
     this.lBuildin.AutoSize = true;
     this.lBuildin.Location = new System.Drawing.Point(8, 8);
     this.lBuildin.Name     = "lBuildin";
     this.lBuildin.Size     = new System.Drawing.Size(88, 17);
     this.lBuildin.TabIndex = 6;
     this.lBuildin.Text     = "Build-in skins:";
     //
     // ChartControl
     //
     this.ChartControl.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.ChartControl.CausesValidation = false;
     this.ChartControl.DefaultFormulas  = "MAIN;VOLMA;RSI(14)#RSI(28);MACD";
     this.ChartControl.Designing        = false;
     this.ChartControl.EndTime          = new System.DateTime(((long)(0)));
     this.ChartControl.FavoriteFormulas = "VOLMA;RSI;CCI;OBV;ATR;FastSTO;SlowSTO;ROC;TRIX;WR;AD;CMF;PPO;StochRSI;ULT;BBWidth" +
                                          ";PVO";
     this.ChartControl.LatestValueType  = Easychart.Finance.LatestValueType.None;
     this.ChartControl.Location         = new System.Drawing.Point(15, 36);
     this.ChartControl.MaxPrice         = 0;
     this.ChartControl.MinPrice         = 0;
     this.ChartControl.Name             = "ChartControl";
     this.ChartControl.PriceLabelFormat = null;
     this.ChartControl.ShowStatistic    = false;
     this.ChartControl.Size             = new System.Drawing.Size(393, 428);
     this.ChartControl.StartTime        = new System.DateTime(((long)(0)));
     this.ChartControl.StockBars        = 70;
     this.ChartControl.Symbol           = "Test";
     this.ChartControl.TabIndex         = 5;
     //
     // btnCreateNew
     //
     this.btnCreateNew.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnCreateNew.Location = new System.Drawing.Point(144, 477);
     this.btnCreateNew.Name     = "btnCreateNew";
     this.btnCreateNew.Size     = new System.Drawing.Size(104, 23);
     this.btnCreateNew.TabIndex = 4;
     this.btnCreateNew.Text     = "Create New";
     this.btnCreateNew.Click   += new System.EventHandler(this.btnCreateNew_Click);
     //
     // btnSave
     //
     this.btnSave.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnSave.Location = new System.Drawing.Point(256, 477);
     this.btnSave.Name     = "btnSave";
     this.btnSave.TabIndex = 3;
     this.btnSave.Text     = "Save";
     this.btnSave.Click   += new System.EventHandler(this.btnSave_Click);
     //
     // 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.OK;
     this.btnOK.Location     = new System.Drawing.Point(336, 477);
     this.btnOK.Name         = "btnOK";
     this.btnOK.TabIndex     = 2;
     this.btnOK.Text         = "Close";
     this.btnOK.Click       += new System.EventHandler(this.btnOK_Click);
     //
     // cbSkin
     //
     this.cbSkin.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cbSkin.Location              = new System.Drawing.Point(104, 3);
     this.cbSkin.Name                  = "cbSkin";
     this.cbSkin.TabIndex              = 0;
     this.cbSkin.SelectedIndexChanged += new System.EventHandler(this.cbSkin_SelectedIndexChanged);
     //
     // spVerticle
     //
     this.spVerticle.Location = new System.Drawing.Point(300, 0);
     this.spVerticle.Name     = "spVerticle";
     this.spVerticle.Size     = new System.Drawing.Size(3, 510);
     this.spVerticle.TabIndex = 2;
     this.spVerticle.TabStop  = false;
     //
     // SkinEditor
     //
     this.AcceptButton      = this.btnSave;
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.CancelButton      = this.btnOK;
     this.ClientSize        = new System.Drawing.Size(720, 510);
     this.Controls.Add(this.spVerticle);
     this.Controls.Add(this.pnClient);
     this.Controls.Add(this.pg);
     this.Name          = "SkinEditor";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Skin Manager";
     this.Load         += new System.EventHandler(this.SkinForm_Load);
     this.pnClient.ResumeLayout(false);
     this.pnRight.ResumeLayout(false);
     this.ResumeLayout(false);
 }
예제 #44
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.comboBox1           = new System.Windows.Forms.ComboBox();
     this.textBox1            = new System.Windows.Forms.TextBox();
     this.label1              = new System.Windows.Forms.Label();
     this.label2              = new System.Windows.Forms.Label();
     this.label3              = new System.Windows.Forms.Label();
     this.dataGrid1           = new System.Windows.Forms.DataGrid();
     this.oleDbDataAdapter1   = new System.Data.OleDb.OleDbDataAdapter();
     this.oleDbSelectCommand1 = new System.Data.OleDb.OleDbCommand();
     this.oleDbInsertCommand1 = new System.Data.OleDb.OleDbCommand();
     this.oleDbUpdateCommand1 = new System.Data.OleDb.OleDbCommand();
     this.oleDbDeleteCommand1 = new System.Data.OleDb.OleDbCommand();
     this.oleDbConnection1    = new System.Data.OleDb.OleDbConnection();
     this.debtListSet1        = new Yukon.debtListSet();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.debtListSet1)).BeginInit();
     this.SuspendLayout();
     //
     // comboBox1
     //
     this.comboBox1.Items.AddRange(new object[] {
         "InvoiceID",
         "CustomerName",
         "PaymentType"
     });
     this.comboBox1.Location = new System.Drawing.Point(56, 8);
     this.comboBox1.Name     = "comboBox1";
     this.comboBox1.Size     = new System.Drawing.Size(121, 21);
     this.comboBox1.TabIndex = 9;
     //
     // textBox1
     //
     this.textBox1.Location     = new System.Drawing.Point(208, 8);
     this.textBox1.Name         = "textBox1";
     this.textBox1.Size         = new System.Drawing.Size(264, 20);
     this.textBox1.TabIndex     = 7;
     this.textBox1.Text         = "";
     this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 8);
     this.label1.Name     = "label1";
     this.label1.TabIndex = 6;
     this.label1.Text     = "Search";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(184, 8);
     this.label2.Name     = "label2";
     this.label2.TabIndex = 8;
     this.label2.Text     = "For";
     //
     // label3
     //
     this.label3.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.debtListSet1, "Invoice.InvoiceID"));
     this.label3.Location = new System.Drawing.Point(408, 8);
     this.label3.Name     = "label3";
     this.label3.TabIndex = 10;
     this.label3.Text     = "label3";
     //
     // dataGrid1
     //
     this.dataGrid1.AlternatingBackColor = System.Drawing.Color.Lavender;
     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.BackColor           = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.BackgroundColor     = System.Drawing.Color.LightGray;
     this.dataGrid1.BorderStyle         = System.Windows.Forms.BorderStyle.None;
     this.dataGrid1.CaptionBackColor    = System.Drawing.Color.LightSteelBlue;
     this.dataGrid1.CaptionForeColor    = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.DataMember          = "Invoice";
     this.dataGrid1.DataSource          = this.debtListSet1;
     this.dataGrid1.FlatMode            = true;
     this.dataGrid1.Font                = new System.Drawing.Font("Tahoma", 8F);
     this.dataGrid1.ForeColor           = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.GridLineColor       = System.Drawing.Color.Gainsboro;
     this.dataGrid1.GridLineStyle       = System.Windows.Forms.DataGridLineStyle.None;
     this.dataGrid1.HeaderBackColor     = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.HeaderFont          = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.dataGrid1.HeaderForeColor     = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.LinkColor           = System.Drawing.Color.Teal;
     this.dataGrid1.Location            = new System.Drawing.Point(8, 40);
     this.dataGrid1.Name                = "dataGrid1";
     this.dataGrid1.ParentRowsBackColor = System.Drawing.Color.Gainsboro;
     this.dataGrid1.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.SelectionBackColor  = System.Drawing.Color.CadetBlue;
     this.dataGrid1.SelectionForeColor  = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.Size                = new System.Drawing.Size(472, 392);
     this.dataGrid1.TabIndex            = 11;
     this.dataGrid1.DoubleClick        += new System.EventHandler(this.dataGrid1_DoubleClick);
     //
     // oleDbDataAdapter1
     //
     this.oleDbDataAdapter1.DeleteCommand = this.oleDbDeleteCommand1;
     this.oleDbDataAdapter1.InsertCommand = this.oleDbInsertCommand1;
     this.oleDbDataAdapter1.SelectCommand = this.oleDbSelectCommand1;
     this.oleDbDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
         new System.Data.Common.DataTableMapping("Table", "Invoice", new System.Data.Common.DataColumnMapping[] {
             new System.Data.Common.DataColumnMapping("InvoiceID", "InvoiceID"),
             new System.Data.Common.DataColumnMapping("CustomerName", "CustomerName"),
             new System.Data.Common.DataColumnMapping("PaymentType", "PaymentType"),
             new System.Data.Common.DataColumnMapping("TotalCost", "TotalCost"),
             new System.Data.Common.DataColumnMapping("AmountPaid", "AmountPaid"),
             new System.Data.Common.DataColumnMapping("AmountDue", "AmountDue")
         })
     });
     this.oleDbDataAdapter1.UpdateCommand = this.oleDbUpdateCommand1;
     //
     // oleDbSelectCommand1
     //
     this.oleDbSelectCommand1.CommandText = "SELECT InvoiceID, CustomerName, PaymentType, TotalCost, AmountPaid, AmountDue FRO" +
                                            "M Invoice";
     this.oleDbSelectCommand1.Connection = this.oleDbConnection1;
     //
     // oleDbInsertCommand1
     //
     this.oleDbInsertCommand1.CommandText = "INSERT INTO Invoice(CustomerName, PaymentType, TotalCost, AmountPaid, AmountDue) " +
                                            "VALUES (?, ?, ?, ?, ?)";
     this.oleDbInsertCommand1.Connection = this.oleDbConnection1;
     this.oleDbInsertCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("CustomerName", System.Data.OleDb.OleDbType.VarWChar, 50, "CustomerName"));
     this.oleDbInsertCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("PaymentType", System.Data.OleDb.OleDbType.VarWChar, 50, "PaymentType"));
     this.oleDbInsertCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("TotalCost", System.Data.OleDb.OleDbType.Currency, 0, "TotalCost"));
     this.oleDbInsertCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("AmountPaid", System.Data.OleDb.OleDbType.Currency, 0, "AmountPaid"));
     this.oleDbInsertCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("AmountDue", System.Data.OleDb.OleDbType.Currency, 0, "AmountDue"));
     //
     // oleDbUpdateCommand1
     //
     this.oleDbUpdateCommand1.CommandText = @"UPDATE Invoice SET CustomerName = ?, PaymentType = ?, TotalCost = ?, AmountPaid = ?, AmountDue = ? WHERE (InvoiceID = ?) AND (AmountDue = ? OR ? IS NULL AND AmountDue IS NULL) AND (AmountPaid = ? OR ? IS NULL AND AmountPaid IS NULL) AND (CustomerName = ? OR ? IS NULL AND CustomerName IS NULL) AND (PaymentType = ? OR ? IS NULL AND PaymentType IS NULL) AND (TotalCost = ? OR ? IS NULL AND TotalCost IS NULL)";
     this.oleDbUpdateCommand1.Connection  = this.oleDbConnection1;
     this.oleDbUpdateCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("CustomerName", System.Data.OleDb.OleDbType.VarWChar, 50, "CustomerName"));
     this.oleDbUpdateCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("PaymentType", System.Data.OleDb.OleDbType.VarWChar, 50, "PaymentType"));
     this.oleDbUpdateCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("TotalCost", System.Data.OleDb.OleDbType.Currency, 0, "TotalCost"));
     this.oleDbUpdateCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("AmountPaid", System.Data.OleDb.OleDbType.Currency, 0, "AmountPaid"));
     this.oleDbUpdateCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("AmountDue", System.Data.OleDb.OleDbType.Currency, 0, "AmountDue"));
     this.oleDbUpdateCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("Original_InvoiceID", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "InvoiceID", System.Data.DataRowVersion.Original, null));
     this.oleDbUpdateCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("Original_AmountDue", System.Data.OleDb.OleDbType.Currency, 0, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "AmountDue", System.Data.DataRowVersion.Original, null));
     this.oleDbUpdateCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("Original_AmountDue1", System.Data.OleDb.OleDbType.Currency, 0, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "AmountDue", System.Data.DataRowVersion.Original, null));
     this.oleDbUpdateCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("Original_AmountPaid", System.Data.OleDb.OleDbType.Currency, 0, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "AmountPaid", System.Data.DataRowVersion.Original, null));
     this.oleDbUpdateCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("Original_AmountPaid1", System.Data.OleDb.OleDbType.Currency, 0, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "AmountPaid", System.Data.DataRowVersion.Original, null));
     this.oleDbUpdateCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("Original_CustomerName", System.Data.OleDb.OleDbType.VarWChar, 50, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "CustomerName", System.Data.DataRowVersion.Original, null));
     this.oleDbUpdateCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("Original_CustomerName1", System.Data.OleDb.OleDbType.VarWChar, 50, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "CustomerName", System.Data.DataRowVersion.Original, null));
     this.oleDbUpdateCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("Original_PaymentType", System.Data.OleDb.OleDbType.VarWChar, 50, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "PaymentType", System.Data.DataRowVersion.Original, null));
     this.oleDbUpdateCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("Original_PaymentType1", System.Data.OleDb.OleDbType.VarWChar, 50, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "PaymentType", System.Data.DataRowVersion.Original, null));
     this.oleDbUpdateCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("Original_TotalCost", System.Data.OleDb.OleDbType.Currency, 0, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "TotalCost", System.Data.DataRowVersion.Original, null));
     this.oleDbUpdateCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("Original_TotalCost1", System.Data.OleDb.OleDbType.Currency, 0, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "TotalCost", System.Data.DataRowVersion.Original, null));
     //
     // oleDbDeleteCommand1
     //
     this.oleDbDeleteCommand1.CommandText = @"DELETE FROM Invoice WHERE (InvoiceID = ?) AND (AmountDue = ? OR ? IS NULL AND AmountDue IS NULL) AND (AmountPaid = ? OR ? IS NULL AND AmountPaid IS NULL) AND (CustomerName = ? OR ? IS NULL AND CustomerName IS NULL) AND (PaymentType = ? OR ? IS NULL AND PaymentType IS NULL) AND (TotalCost = ? OR ? IS NULL AND TotalCost IS NULL)";
     this.oleDbDeleteCommand1.Connection  = this.oleDbConnection1;
     this.oleDbDeleteCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("Original_InvoiceID", System.Data.OleDb.OleDbType.Integer, 0, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "InvoiceID", System.Data.DataRowVersion.Original, null));
     this.oleDbDeleteCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("Original_AmountDue", System.Data.OleDb.OleDbType.Currency, 0, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "AmountDue", System.Data.DataRowVersion.Original, null));
     this.oleDbDeleteCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("Original_AmountDue1", System.Data.OleDb.OleDbType.Currency, 0, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "AmountDue", System.Data.DataRowVersion.Original, null));
     this.oleDbDeleteCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("Original_AmountPaid", System.Data.OleDb.OleDbType.Currency, 0, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "AmountPaid", System.Data.DataRowVersion.Original, null));
     this.oleDbDeleteCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("Original_AmountPaid1", System.Data.OleDb.OleDbType.Currency, 0, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "AmountPaid", System.Data.DataRowVersion.Original, null));
     this.oleDbDeleteCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("Original_CustomerName", System.Data.OleDb.OleDbType.VarWChar, 50, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "CustomerName", System.Data.DataRowVersion.Original, null));
     this.oleDbDeleteCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("Original_CustomerName1", System.Data.OleDb.OleDbType.VarWChar, 50, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "CustomerName", System.Data.DataRowVersion.Original, null));
     this.oleDbDeleteCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("Original_PaymentType", System.Data.OleDb.OleDbType.VarWChar, 50, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "PaymentType", System.Data.DataRowVersion.Original, null));
     this.oleDbDeleteCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("Original_PaymentType1", System.Data.OleDb.OleDbType.VarWChar, 50, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "PaymentType", System.Data.DataRowVersion.Original, null));
     this.oleDbDeleteCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("Original_TotalCost", System.Data.OleDb.OleDbType.Currency, 0, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "TotalCost", System.Data.DataRowVersion.Original, null));
     this.oleDbDeleteCommand1.Parameters.Add(new System.Data.OleDb.OleDbParameter("Original_TotalCost1", System.Data.OleDb.OleDbType.Currency, 0, System.Data.ParameterDirection.Input, false, ((System.Byte)(0)), ((System.Byte)(0)), "TotalCost", System.Data.DataRowVersion.Original, null));
     //
     // oleDbConnection1
     //
     this.oleDbConnection1.ConnectionString = @"Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Registry Path=;Jet OLEDB:Database Locking Mode=1;Jet OLEDB:Database Password=;Data Source="".\db\yukon.mdb"";Password=;Jet OLEDB:Engine Type=5;Jet OLEDB:Global Bulk Transactions=1;Provider=""Microsoft.Jet.OLEDB.4.0"";Jet OLEDB:System database=;Jet OLEDB:SFP=False;Extended Properties=;Mode=Share Deny None;Jet OLEDB:New Database Password=;Jet OLEDB:Create System Database=False;Jet OLEDB:Don't Copy Locale on Compact=False;Jet OLEDB:Compact Without Replica Repair=False;User ID=Admin;Jet OLEDB:Encrypt Database=False";
     //
     // debtListSet1
     //
     this.debtListSet1.DataSetName = "debtListSet";
     this.debtListSet1.Locale      = new System.Globalization.CultureInfo("en-US");
     //
     // DebtList
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(488, 446);
     this.Controls.Add(this.dataGrid1);
     this.Controls.Add(this.comboBox1);
     this.Controls.Add(this.textBox1);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label3);
     this.Name  = "DebtList";
     this.Text  = "Debt List";
     this.Load += new System.EventHandler(this.DebtList_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.debtListSet1)).EndInit();
     this.ResumeLayout(false);
 }
예제 #45
0
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1));
     this.mainMenu1              = new System.Windows.Forms.MainMenu();
     this.menuItem4              = new System.Windows.Forms.MenuItem();
     this.menuItem5              = new System.Windows.Forms.MenuItem();
     this.menuItem6              = new System.Windows.Forms.MenuItem();
     this.menuItem10             = new System.Windows.Forms.MenuItem();
     this.menuItem12             = new System.Windows.Forms.MenuItem();
     this.menuItem7              = new System.Windows.Forms.MenuItem();
     this.menuItem18             = new System.Windows.Forms.MenuItem();
     this.menuItem19             = new System.Windows.Forms.MenuItem();
     this.menuItem13             = new System.Windows.Forms.MenuItem();
     this.menuItem20             = new System.Windows.Forms.MenuItem();
     this.menuItem21             = new System.Windows.Forms.MenuItem();
     this.menuItem1              = new System.Windows.Forms.MenuItem();
     this.menuItem2              = new System.Windows.Forms.MenuItem();
     this.menuItem15             = new System.Windows.Forms.MenuItem();
     this.menuItem16             = new System.Windows.Forms.MenuItem();
     this.menuItem17             = new System.Windows.Forms.MenuItem();
     this.menuItem3              = new System.Windows.Forms.MenuItem();
     this.menuItem14             = new System.Windows.Forms.MenuItem();
     this.menuItem22             = new System.Windows.Forms.MenuItem();
     this.menuItem11             = new System.Windows.Forms.MenuItem();
     this.menuItem23             = new System.Windows.Forms.MenuItem();
     this.Gunler                 = new System.Windows.Forms.ComboBox();
     this.CariDataGrid           = new System.Windows.Forms.DataGrid();
     this.dataGridTableStyle1    = new System.Windows.Forms.DataGridTableStyle();
     this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn();
     this.CariNotextBox          = new System.Windows.Forms.TextBox();
     this.statusBar1             = new System.Windows.Forms.StatusBar();
     this.cikis = new System.Windows.Forms.Button();
     //
     // mainMenu1
     //
     this.mainMenu1.MenuItems.Add(this.menuItem4);
     this.mainMenu1.MenuItems.Add(this.menuItem1);
     this.mainMenu1.MenuItems.Add(this.menuItem14);
     //
     // menuItem4
     //
     this.menuItem4.Enabled = false;
     this.menuItem4.MenuItems.Add(this.menuItem5);
     this.menuItem4.MenuItems.Add(this.menuItem6);
     this.menuItem4.MenuItems.Add(this.menuItem7);
     this.menuItem4.MenuItems.Add(this.menuItem13);
     this.menuItem4.Text   = "Seçili Cari";
     this.menuItem4.Click += new System.EventHandler(this.menuItem4_Click);
     //
     // menuItem5
     //
     this.menuItem5.Text   = "Müþ Detay";
     this.menuItem5.Click += new System.EventHandler(this.menuItem5_Click);
     //
     // menuItem6
     //
     this.menuItem6.MenuItems.Add(this.menuItem10);
     this.menuItem6.MenuItems.Add(this.menuItem12);
     this.menuItem6.Text   = "Sipariþler";
     this.menuItem6.Click += new System.EventHandler(this.menuItem6_Click);
     //
     // menuItem10
     //
     this.menuItem10.Text   = "Sipariþ Al";
     this.menuItem10.Click += new System.EventHandler(this.menuItem10_Click);
     //
     // menuItem12
     //
     this.menuItem12.Text   = "Sipariþ Raporu";
     this.menuItem12.Click += new System.EventHandler(this.menuItem12_Click);
     //
     // menuItem7
     //
     this.menuItem7.MenuItems.Add(this.menuItem18);
     this.menuItem7.MenuItems.Add(this.menuItem19);
     this.menuItem7.Text = "Tahsilat";
     //
     // menuItem18
     //
     this.menuItem18.Text   = "Tahsilat Kaydý";
     this.menuItem18.Click += new System.EventHandler(this.menuItem18_Click);
     //
     // menuItem19
     //
     this.menuItem19.Text   = "Tahsilat Raporu";
     this.menuItem19.Click += new System.EventHandler(this.menuItem19_Click);
     //
     // menuItem13
     //
     this.menuItem13.MenuItems.Add(this.menuItem20);
     this.menuItem13.MenuItems.Add(this.menuItem21);
     this.menuItem13.Text = "Ziyaret";
     //
     // menuItem20
     //
     this.menuItem20.Text   = "Ziyaret Kaydý";
     this.menuItem20.Click += new System.EventHandler(this.menuItem20_Click);
     //
     // menuItem21
     //
     this.menuItem21.Text   = "Ziyaret Raporu";
     this.menuItem21.Click += new System.EventHandler(this.menuItem21_Click);
     //
     // menuItem1
     //
     this.menuItem1.MenuItems.Add(this.menuItem2);
     this.menuItem1.MenuItems.Add(this.menuItem3);
     this.menuItem1.Text = "Program";
     //
     // menuItem2
     //
     this.menuItem2.MenuItems.Add(this.menuItem15);
     this.menuItem2.MenuItems.Add(this.menuItem16);
     this.menuItem2.MenuItems.Add(this.menuItem17);
     this.menuItem2.Text   = "Ayarlar";
     this.menuItem2.Click += new System.EventHandler(this.menuItem2_Click);
     //
     // menuItem15
     //
     this.menuItem15.Text   = "Program";
     this.menuItem15.Click += new System.EventHandler(this.menuItem15_Click);
     //
     // menuItem16
     //
     this.menuItem16.Text = "Ödeme";
     //
     // menuItem17
     //
     this.menuItem17.Text = "Sipariþ";
     //
     // menuItem3
     //
     this.menuItem3.Text   = "Veri Ýletiþimi";
     this.menuItem3.Click += new System.EventHandler(this.menuItem3_Click);
     //
     // menuItem14
     //
     this.menuItem14.MenuItems.Add(this.menuItem22);
     this.menuItem14.MenuItems.Add(this.menuItem11);
     this.menuItem14.MenuItems.Add(this.menuItem23);
     this.menuItem14.Text   = "Raporlar";
     this.menuItem14.Click += new System.EventHandler(this.menuItem14_Click);
     //
     // menuItem22
     //
     this.menuItem22.Text   = "Sipariþ";
     this.menuItem22.Click += new System.EventHandler(this.menuItem22_Click);
     //
     // menuItem11
     //
     this.menuItem11.Text   = "Ziyaret";
     this.menuItem11.Click += new System.EventHandler(this.menuItem11_Click_1);
     //
     // menuItem23
     //
     this.menuItem23.Text   = "Tahsilat";
     this.menuItem23.Click += new System.EventHandler(this.menuItem23_Click);
     //
     // Gunler
     //
     this.Gunler.Items.Add("Pazartesi");
     this.Gunler.Items.Add("Salý");
     this.Gunler.Items.Add("Çarþamba");
     this.Gunler.Items.Add("Perþembe");
     this.Gunler.Items.Add("Cuma");
     this.Gunler.Items.Add("Cumartesi");
     this.Gunler.Items.Add("Pazar");
     this.Gunler.Items.Add("Tüm Müþteriler");
     this.Gunler.Location              = new System.Drawing.Point(2, 2);
     this.Gunler.Size                  = new System.Drawing.Size(100, 20);
     this.Gunler.SelectedIndexChanged += new System.EventHandler(this.Gunler_SelectedIndexChanged);
     //
     // CariDataGrid
     //
     this.CariDataGrid.ForeColor = System.Drawing.Color.Black;
     this.CariDataGrid.Location  = new System.Drawing.Point(0, 24);
     this.CariDataGrid.Size      = new System.Drawing.Size(240, 216);
     this.CariDataGrid.TableStyles.Add(this.dataGridTableStyle1);
     this.CariDataGrid.Text       = "dataGrid1";
     this.CariDataGrid.MouseDown += new System.Windows.Forms.MouseEventHandler(this.CariDataGrid_MouseDown);
     //
     // dataGridTableStyle1
     //
     this.dataGridTableStyle1.GridColumnStyles.Add(this.dataGridTextBoxColumn1);
     this.dataGridTableStyle1.GridColumnStyles.Add(this.dataGridTextBoxColumn2);
     this.dataGridTableStyle1.GridColumnStyles.Add(this.dataGridTextBoxColumn5);
     this.dataGridTableStyle1.GridColumnStyles.Add(this.dataGridTextBoxColumn3);
     this.dataGridTableStyle1.GridColumnStyles.Add(this.dataGridTextBoxColumn4);
     this.dataGridTableStyle1.MappingName = "C";
     //
     // dataGridTextBoxColumn1
     //
     this.dataGridTextBoxColumn1.HeaderText  = "Borç Bakiye";
     this.dataGridTextBoxColumn1.MappingName = "borc_bakiye";
     this.dataGridTextBoxColumn1.NullText    = "0";
     this.dataGridTextBoxColumn1.Width       = 60;
     //
     // dataGridTextBoxColumn2
     //
     this.dataGridTextBoxColumn2.HeaderText  = "Cari Adý";
     this.dataGridTextBoxColumn2.MappingName = "CR_CARI_ADI1";
     this.dataGridTextBoxColumn2.NullText    = "(null)";
     this.dataGridTextBoxColumn2.Width       = 120;
     //
     // dataGridTextBoxColumn3
     //
     this.dataGridTextBoxColumn3.HeaderText  = "Sýra";
     this.dataGridTextBoxColumn3.MappingName = "DAY";
     this.dataGridTextBoxColumn3.NullText    = "(null)";
     this.dataGridTextBoxColumn3.Width       = 30;
     //
     // dataGridTextBoxColumn4
     //
     this.dataGridTextBoxColumn4.MappingName = "CR_CARI_NO";
     this.dataGridTextBoxColumn4.NullText    = "(null)";
     this.dataGridTextBoxColumn4.Width       = 0;
     //
     // dataGridTextBoxColumn5
     //
     this.dataGridTextBoxColumn5.HeaderText  = "Zt";
     this.dataGridTextBoxColumn5.MappingName = "Ziyaret_turu";
     this.dataGridTextBoxColumn5.NullText    = "-";
     //
     // CariNotextBox
     //
     this.CariNotextBox.Location     = new System.Drawing.Point(216, 248);
     this.CariNotextBox.Text         = "";
     this.CariNotextBox.Visible      = false;
     this.CariNotextBox.TextChanged += new System.EventHandler(this.CariNotextBox_TextChanged);
     //
     // statusBar1
     //
     this.statusBar1.Font         = new System.Drawing.Font("Microsoft Sans Serif", 7F, System.Drawing.FontStyle.Regular);
     this.statusBar1.Location     = new System.Drawing.Point(0, 248);
     this.statusBar1.Size         = new System.Drawing.Size(240, 22);
     this.statusBar1.TextChanged += new System.EventHandler(this.statusBar1_TextChanged);
     //
     // cikis
     //
     this.cikis.Location = new System.Drawing.Point(166, 2);
     this.cikis.Text     = "Çýkýþ";
     this.cikis.Click   += new System.EventHandler(this.cikis_Click);
     //
     // Form1
     //
     this.Controls.Add(this.cikis);
     this.Controls.Add(this.statusBar1);
     this.Controls.Add(this.CariNotextBox);
     this.Controls.Add(this.CariDataGrid);
     this.Controls.Add(this.Gunler);
     this.Font    = new System.Drawing.Font("Microsoft Sans Serif", 7F, System.Drawing.FontStyle.Regular);
     this.Icon    = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Menu    = this.mainMenu1;
     this.Text    = "Enterprice Mobile";
     this.Load   += new System.EventHandler(this.Form1_Load);
     this.Closed += new System.EventHandler(this.Form1_Closed);
 }
 /// <summary>
 /// 设计器支持所需的方法 - 不要使用代码编辑器修改
 /// 此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.userStatus      = new System.Windows.Forms.CheckBox();
     this.label2          = new System.Windows.Forms.Label();
     this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
     this.txtUser         = new System.Windows.Forms.TextBox();
     this.label8          = new System.Windows.Forms.Label();
     this.btnClose        = new System.Windows.Forms.Button();
     this.btnAddUser      = new System.Windows.Forms.Button();
     this.label1          = new System.Windows.Forms.Label();
     this.department      = new System.Windows.Forms.ComboBox();
     this.label4          = new System.Windows.Forms.Label();
     this.txtRealName     = new System.Windows.Forms.TextBox();
     this.label7          = new System.Windows.Forms.Label();
     this.dividerPanel1   = new DividerPanel.DividerPanel();
     this.dividerPanel2   = new DividerPanel.DividerPanel();
     this.chkGMOnLine     = new System.Windows.Forms.CheckBox();
     this.chkSystmeAdmin  = new System.Windows.Forms.CheckBox();
     this.chkDeptAdmin    = new System.Windows.Forms.CheckBox();
     this.dividerPanel1.SuspendLayout();
     this.dividerPanel2.SuspendLayout();
     this.SuspendLayout();
     //
     // userStatus
     //
     this.userStatus.Location        = new System.Drawing.Point(12, 204);
     this.userStatus.Name            = "userStatus";
     this.userStatus.Size            = new System.Drawing.Size(88, 24);
     this.userStatus.TabIndex        = 60;
     this.userStatus.Text            = "停用该帐户";
     this.userStatus.CheckedChanged += new System.EventHandler(this.userStatus_CheckedChanged);
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(8, 168);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(85, 16);
     this.label2.TabIndex = 58;
     this.label2.Text     = "使用时效:";
     this.label2.Click   += new System.EventHandler(this.label2_Click);
     //
     // dateTimePicker1
     //
     this.dateTimePicker1.Format        = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dateTimePicker1.Location      = new System.Drawing.Point(104, 168);
     this.dateTimePicker1.Name          = "dateTimePicker1";
     this.dateTimePicker1.Size          = new System.Drawing.Size(272, 21);
     this.dateTimePicker1.TabIndex      = 57;
     this.dateTimePicker1.ValueChanged += new System.EventHandler(this.dateTimePicker1_ValueChanged);
     //
     // txtUser
     //
     this.txtUser.Enabled      = false;
     this.txtUser.Location     = new System.Drawing.Point(104, 64);
     this.txtUser.Name         = "txtUser";
     this.txtUser.Size         = new System.Drawing.Size(272, 21);
     this.txtUser.TabIndex     = 53;
     this.txtUser.TextChanged += new System.EventHandler(this.txtUser_TextChanged);
     //
     // label8
     //
     this.label8.Location = new System.Drawing.Point(8, 64);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(85, 16);
     this.label8.TabIndex = 49;
     this.label8.Text     = "用 户 名:";
     this.label8.Click   += new System.EventHandler(this.label8_Click);
     //
     // btnClose
     //
     this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnClose.Location     = new System.Drawing.Point(312, 16);
     this.btnClose.Name         = "btnClose";
     this.btnClose.Size         = new System.Drawing.Size(64, 23);
     this.btnClose.TabIndex     = 48;
     this.btnClose.Text         = "取消";
     this.btnClose.Click       += new System.EventHandler(this.btnClose_Click);
     //
     // btnAddUser
     //
     this.btnAddUser.Location = new System.Drawing.Point(232, 16);
     this.btnAddUser.Name     = "btnAddUser";
     this.btnAddUser.Size     = new System.Drawing.Size(64, 23);
     this.btnAddUser.TabIndex = 47;
     this.btnAddUser.Text     = "确定";
     this.btnAddUser.Click   += new System.EventHandler(this.btnAddUser_Click);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 16);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(208, 16);
     this.label1.TabIndex = 61;
     this.label1.Text     = "编辑GM基本信息管理";
     //
     // department
     //
     this.department.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.department.Location      = new System.Drawing.Point(104, 128);
     this.department.Name          = "department";
     this.department.Size          = new System.Drawing.Size(272, 20);
     this.department.TabIndex      = 69;
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(8, 128);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(85, 16);
     this.label4.TabIndex = 68;
     this.label4.Text     = "所在部门:";
     //
     // txtRealName
     //
     this.txtRealName.Location = new System.Drawing.Point(104, 96);
     this.txtRealName.Name     = "txtRealName";
     this.txtRealName.Size     = new System.Drawing.Size(272, 21);
     this.txtRealName.TabIndex = 67;
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(8, 96);
     this.label7.Name     = "label7";
     this.label7.Size     = new System.Drawing.Size(85, 16);
     this.label7.TabIndex = 66;
     this.label7.Text     = "真实姓名:";
     //
     // dividerPanel1
     //
     this.dividerPanel1.AllowDrop  = true;
     this.dividerPanel1.BackColor  = System.Drawing.SystemColors.Window;
     this.dividerPanel1.BorderSide = System.Windows.Forms.Border3DSide.Bottom;
     this.dividerPanel1.Controls.Add(this.label1);
     this.dividerPanel1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.dividerPanel1.Location = new System.Drawing.Point(0, 0);
     this.dividerPanel1.Name     = "dividerPanel1";
     this.dividerPanel1.Size     = new System.Drawing.Size(386, 48);
     this.dividerPanel1.TabIndex = 70;
     //
     // dividerPanel2
     //
     this.dividerPanel2.AllowDrop  = true;
     this.dividerPanel2.BorderSide = System.Windows.Forms.Border3DSide.Top;
     this.dividerPanel2.Controls.Add(this.btnClose);
     this.dividerPanel2.Controls.Add(this.btnAddUser);
     this.dividerPanel2.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.dividerPanel2.Location = new System.Drawing.Point(0, 280);
     this.dividerPanel2.Name     = "dividerPanel2";
     this.dividerPanel2.Size     = new System.Drawing.Size(386, 48);
     this.dividerPanel2.TabIndex = 71;
     //
     // chkGMOnLine
     //
     this.chkGMOnLine.AutoSize = true;
     this.chkGMOnLine.Location = new System.Drawing.Point(12, 230);
     this.chkGMOnLine.Name     = "chkGMOnLine";
     this.chkGMOnLine.Size     = new System.Drawing.Size(72, 16);
     this.chkGMOnLine.TabIndex = 72;
     this.chkGMOnLine.Text     = "用户在线";
     this.chkGMOnLine.UseVisualStyleBackColor = true;
     this.chkGMOnLine.Click += new System.EventHandler(this.chkGMOnLine_Click);
     //
     // chkSystmeAdmin
     //
     this.chkSystmeAdmin.AutoSize = true;
     this.chkSystmeAdmin.Location = new System.Drawing.Point(12, 253);
     this.chkSystmeAdmin.Name     = "chkSystmeAdmin";
     this.chkSystmeAdmin.Size     = new System.Drawing.Size(84, 16);
     this.chkSystmeAdmin.TabIndex = 73;
     this.chkSystmeAdmin.Text     = "系统管理员";
     this.chkSystmeAdmin.UseVisualStyleBackColor = true;
     this.chkSystmeAdmin.Click += new System.EventHandler(this.chkSystmeAdmin_Click);
     //
     // chkDeptAdmin
     //
     this.chkDeptAdmin.AutoSize = true;
     this.chkDeptAdmin.Location = new System.Drawing.Point(108, 253);
     this.chkDeptAdmin.Name     = "chkDeptAdmin";
     this.chkDeptAdmin.Size     = new System.Drawing.Size(108, 16);
     this.chkDeptAdmin.TabIndex = 74;
     this.chkDeptAdmin.Text     = "部门级别管理员";
     this.chkDeptAdmin.UseVisualStyleBackColor = true;
     this.chkDeptAdmin.Click += new System.EventHandler(this.chkDeptAdmin_Click);
     //
     // ModiUserAttribute
     //
     this.AcceptButton      = this.btnAddUser;
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.CancelButton      = this.btnClose;
     this.ClientSize        = new System.Drawing.Size(386, 328);
     this.Controls.Add(this.chkDeptAdmin);
     this.Controls.Add(this.chkSystmeAdmin);
     this.Controls.Add(this.chkGMOnLine);
     this.Controls.Add(this.dividerPanel2);
     this.Controls.Add(this.dividerPanel1);
     this.Controls.Add(this.department);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.txtRealName);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.userStatus);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.dateTimePicker1);
     this.Controls.Add(this.txtUser);
     this.Controls.Add(this.label8);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "ModiUserAttribute";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "用户信息";
     this.Load           += new System.EventHandler(this.ModiUserAttribute_Load);
     this.dividerPanel1.ResumeLayout(false);
     this.dividerPanel2.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #47
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmChonkhong));
     this.label1     = new System.Windows.Forms.Label();
     this.mm         = new System.Windows.Forms.NumericUpDown();
     this.yyyy       = new System.Windows.Forms.NumericUpDown();
     this.label5     = new System.Windows.Forms.Label();
     this.label2     = new System.Windows.Forms.Label();
     this.makho      = new System.Windows.Forms.ComboBox();
     this.butOk      = new System.Windows.Forms.Button();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.manguon    = new System.Windows.Forms.ComboBox();
     this.label3     = new System.Windows.Forms.Label();
     this.lanthu     = new System.Windows.Forms.NumericUpDown();
     this.label4     = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.mm)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.yyyy)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lanthu)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(16, 15);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(48, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "Tháng :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // mm
     //
     this.mm.Font     = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mm.Location = new System.Drawing.Point(65, 15);
     this.mm.Maximum  = new decimal(new int[] {
         12,
         0,
         0,
         0
     });
     this.mm.Minimum = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.mm.Name     = "mm";
     this.mm.Size     = new System.Drawing.Size(35, 22);
     this.mm.TabIndex = 1;
     this.mm.Value    = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.mm.KeyDown += new System.Windows.Forms.KeyEventHandler(this.mm_KeyDown);
     //
     // yyyy
     //
     this.yyyy.Font     = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.yyyy.Location = new System.Drawing.Point(140, 15);
     this.yyyy.Maximum  = new decimal(new int[] {
         3004,
         0,
         0,
         0
     });
     this.yyyy.Minimum = new decimal(new int[] {
         2004,
         0,
         0,
         0
     });
     this.yyyy.Name     = "yyyy";
     this.yyyy.Size     = new System.Drawing.Size(53, 22);
     this.yyyy.TabIndex = 3;
     this.yyyy.Value    = new decimal(new int[] {
         2004,
         0,
         0,
         0
     });
     this.yyyy.KeyDown += new System.Windows.Forms.KeyEventHandler(this.yyyy_KeyDown);
     //
     // label5
     //
     this.label5.BackColor = System.Drawing.Color.Transparent;
     this.label5.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label5.ForeColor = System.Drawing.SystemColors.ControlText;
     this.label5.Location  = new System.Drawing.Point(104, 15);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(35, 20);
     this.label5.TabIndex  = 2;
     this.label5.Text      = "Năm :";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(16, 60);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(48, 23);
     this.label2.TabIndex  = 6;
     this.label2.Text      = "Kho :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // makho
     //
     this.makho.BackColor     = System.Drawing.SystemColors.HighlightText;
     this.makho.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.makho.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.makho.Location      = new System.Drawing.Point(65, 61);
     this.makho.Name          = "makho";
     this.makho.Size          = new System.Drawing.Size(128, 21);
     this.makho.TabIndex      = 7;
     this.makho.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.makho_KeyDown);
     //
     // butOk
     //
     this.butOk.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butOk.Location   = new System.Drawing.Point(43, 110);
     this.butOk.Name       = "butOk";
     this.butOk.Size       = new System.Drawing.Size(60, 25);
     this.butOk.TabIndex   = 10;
     this.butOk.Text       = "Đồng ý";
     this.butOk.Click     += new System.EventHandler(this.butOk_Click);
     //
     // butKetthuc
     //
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(105, 110);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(60, 25);
     this.butKetthuc.TabIndex   = 11;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // manguon
     //
     this.manguon.Font     = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.manguon.Location = new System.Drawing.Point(65, 84);
     this.manguon.Name     = "manguon";
     this.manguon.Size     = new System.Drawing.Size(128, 21);
     this.manguon.TabIndex = 9;
     this.manguon.KeyDown += new System.Windows.Forms.KeyEventHandler(this.mm_KeyDown);
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(13, 82);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(51, 23);
     this.label3.TabIndex  = 8;
     this.label3.Text      = "Nguồn :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // lanthu
     //
     this.lanthu.BackColor = System.Drawing.SystemColors.HighlightText;
     this.lanthu.Font      = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lanthu.Location  = new System.Drawing.Point(65, 39);
     this.lanthu.Maximum   = new decimal(new int[] {
         999,
         0,
         0,
         0
     });
     this.lanthu.Minimum = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.lanthu.Name     = "lanthu";
     this.lanthu.Size     = new System.Drawing.Size(128, 21);
     this.lanthu.TabIndex = 5;
     this.lanthu.Value    = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.lanthu.KeyDown += new System.Windows.Forms.KeyEventHandler(this.mm_KeyDown);
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(13, 39);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(51, 23);
     this.label4.TabIndex  = 4;
     this.label4.Text      = "Lần thứ :";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // frmChonkhong
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(208, 145);
     this.Controls.Add(this.lanthu);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.manguon);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.butOk);
     this.Controls.Add(this.makho);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.mm);
     this.Controls.Add(this.yyyy);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "frmChonkhong";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Chọn kho";
     this.Load           += new System.EventHandler(this.frmChonkhong_Load);
     ((System.ComponentModel.ISupportInitialize)(this.mm)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.yyyy)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lanthu)).EndInit();
     this.ResumeLayout(false);
 }
예제 #48
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormRpReferrals));
     this.tabReferrals      = new System.Windows.Forms.TabControl();
     this.tabData           = new System.Windows.Forms.TabPage();
     this.listSelect        = new System.Windows.Forms.ListBox();
     this.butCheckAll       = new OpenDental.UI.Button();
     this.butClear          = new OpenDental.UI.Button();
     this.tabFilters        = new System.Windows.Forms.TabPage();
     this.butDeleteFilter   = new OpenDental.UI.Button();
     this.comboBox          = new System.Windows.Forms.ListBox();
     this.ListPrerequisites = new System.Windows.Forms.ListBox();
     this.butAddFilter      = new OpenDental.UI.Button();
     this.ListConditions    = new System.Windows.Forms.ListBox();
     this.textBox           = new System.Windows.Forms.TextBox();
     this.DropListFilter    = new System.Windows.Forms.ComboBox();
     this.butCancel         = new OpenDental.UI.Button();
     this.butOK             = new OpenDental.UI.Button();
     this.textSQL           = new System.Windows.Forms.TextBox();
     this.tabReferrals.SuspendLayout();
     this.tabData.SuspendLayout();
     this.tabFilters.SuspendLayout();
     this.SuspendLayout();
     //
     // tabReferrals
     //
     this.tabReferrals.Controls.Add(this.tabData);
     this.tabReferrals.Controls.Add(this.tabFilters);
     this.tabReferrals.Location      = new System.Drawing.Point(14, 16);
     this.tabReferrals.Name          = "tabReferrals";
     this.tabReferrals.SelectedIndex = 0;
     this.tabReferrals.Size          = new System.Drawing.Size(814, 492);
     this.tabReferrals.TabIndex      = 39;
     //
     // tabData
     //
     this.tabData.Controls.Add(this.listSelect);
     this.tabData.Controls.Add(this.butCheckAll);
     this.tabData.Controls.Add(this.butClear);
     this.tabData.Location = new System.Drawing.Point(4, 22);
     this.tabData.Name     = "tabData";
     this.tabData.Size     = new System.Drawing.Size(806, 466);
     this.tabData.TabIndex = 1;
     this.tabData.Text     = "SELECT";
     //
     // listSelect
     //
     this.listSelect.Location              = new System.Drawing.Point(8, 8);
     this.listSelect.Name                  = "listSelect";
     this.listSelect.SelectionMode         = System.Windows.Forms.SelectionMode.MultiExtended;
     this.listSelect.Size                  = new System.Drawing.Size(184, 407);
     this.listSelect.TabIndex              = 3;
     this.listSelect.SelectedIndexChanged += new System.EventHandler(this.listSelect_SelectedIndexChanged);
     //
     // butCheckAll
     //
     this.butCheckAll.Location = new System.Drawing.Point(10, 430);
     this.butCheckAll.Name     = "butCheckAll";
     this.butCheckAll.Size     = new System.Drawing.Size(80, 26);
     this.butCheckAll.TabIndex = 1;
     this.butCheckAll.Text     = "&All";
     this.butCheckAll.Click   += new System.EventHandler(this.butAll_Click);
     //
     // butClear
     //
     this.butClear.Location = new System.Drawing.Point(100, 430);
     this.butClear.Name     = "butClear";
     this.butClear.Size     = new System.Drawing.Size(80, 26);
     this.butClear.TabIndex = 2;
     this.butClear.Text     = "&None";
     this.butClear.Click   += new System.EventHandler(this.butNone_Click);
     //
     // tabFilters
     //
     this.tabFilters.Controls.Add(this.butDeleteFilter);
     this.tabFilters.Controls.Add(this.comboBox);
     this.tabFilters.Controls.Add(this.ListPrerequisites);
     this.tabFilters.Controls.Add(this.butAddFilter);
     this.tabFilters.Controls.Add(this.ListConditions);
     this.tabFilters.Controls.Add(this.textBox);
     this.tabFilters.Controls.Add(this.DropListFilter);
     this.tabFilters.Location = new System.Drawing.Point(4, 22);
     this.tabFilters.Name     = "tabFilters";
     this.tabFilters.Size     = new System.Drawing.Size(806, 466);
     this.tabFilters.TabIndex = 0;
     this.tabFilters.Text     = "WHERE";
     this.tabFilters.Visible  = false;
     //
     // butDeleteFilter
     //
     this.butDeleteFilter.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butDeleteFilter.Image      = ((System.Drawing.Image)(resources.GetObject("butDeleteFilter.Image")));
     this.butDeleteFilter.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butDeleteFilter.Location   = new System.Drawing.Point(10, 426);
     this.butDeleteFilter.Name       = "butDeleteFilter";
     this.butDeleteFilter.Size       = new System.Drawing.Size(110, 26);
     this.butDeleteFilter.TabIndex   = 34;
     this.butDeleteFilter.Text       = "&Delete Row";
     this.butDeleteFilter.Click     += new System.EventHandler(this.butDeleteFilter_Click);
     //
     // comboBox
     //
     this.comboBox.Location              = new System.Drawing.Point(358, 12);
     this.comboBox.Name                  = "comboBox";
     this.comboBox.SelectionMode         = System.Windows.Forms.SelectionMode.MultiExtended;
     this.comboBox.Size                  = new System.Drawing.Size(266, 199);
     this.comboBox.TabIndex              = 12;
     this.comboBox.Visible               = false;
     this.comboBox.SelectedIndexChanged += new System.EventHandler(this.comboBox_SelectedIndexChanged);
     //
     // ListPrerequisites
     //
     this.ListPrerequisites.Location              = new System.Drawing.Point(10, 234);
     this.ListPrerequisites.Name                  = "ListPrerequisites";
     this.ListPrerequisites.SelectionMode         = System.Windows.Forms.SelectionMode.MultiExtended;
     this.ListPrerequisites.Size                  = new System.Drawing.Size(608, 173);
     this.ListPrerequisites.TabIndex              = 7;
     this.ListPrerequisites.SelectedIndexChanged += new System.EventHandler(this.ListPrerequisites_SelectedIndexChanged);
     //
     // butAddFilter
     //
     this.butAddFilter.Enabled  = false;
     this.butAddFilter.Location = new System.Drawing.Point(664, 12);
     this.butAddFilter.Name     = "butAddFilter";
     this.butAddFilter.Size     = new System.Drawing.Size(75, 23);
     this.butAddFilter.TabIndex = 6;
     this.butAddFilter.Text     = "&Add";
     this.butAddFilter.Click   += new System.EventHandler(this.butAddFilter_Click);
     //
     // ListConditions
     //
     this.ListConditions.Items.AddRange(new object[] {
         "LIKE",
         "=",
         ">",
         "<",
         ">=",
         "<=",
         "<>"
     });
     this.ListConditions.Location = new System.Drawing.Point(232, 12);
     this.ListConditions.Name     = "ListConditions";
     this.ListConditions.Size     = new System.Drawing.Size(78, 95);
     this.ListConditions.TabIndex = 5;
     //
     // textBox
     //
     this.textBox.Location = new System.Drawing.Point(358, 12);
     this.textBox.Name     = "textBox";
     this.textBox.Size     = new System.Drawing.Size(262, 20);
     this.textBox.TabIndex = 2;
     this.textBox.Visible  = false;
     //
     // DropListFilter
     //
     this.DropListFilter.Location              = new System.Drawing.Point(8, 12);
     this.DropListFilter.MaxDropDownItems      = 45;
     this.DropListFilter.Name                  = "DropListFilter";
     this.DropListFilter.Size                  = new System.Drawing.Size(172, 21);
     this.DropListFilter.TabIndex              = 1;
     this.DropListFilter.Text                  = "WHERE";
     this.DropListFilter.SelectedIndexChanged += new System.EventHandler(this.DropListFilter_SelectedIndexChanged);
     //
     // butCancel
     //
     this.butCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.butCancel.Location     = new System.Drawing.Point(750, 640);
     this.butCancel.Name         = "butCancel";
     this.butCancel.Size         = new System.Drawing.Size(75, 26);
     this.butCancel.TabIndex     = 41;
     this.butCancel.Text         = "&Cancel";
     //
     // butOK
     //
     this.butOK.Enabled  = false;
     this.butOK.Location = new System.Drawing.Point(750, 602);
     this.butOK.Name     = "butOK";
     this.butOK.Size     = new System.Drawing.Size(75, 26);
     this.butOK.TabIndex = 40;
     this.butOK.Text     = "&OK";
     this.butOK.Click   += new System.EventHandler(this.butOK_Click);
     //
     // textSQL
     //
     this.textSQL.Location  = new System.Drawing.Point(16, 542);
     this.textSQL.Multiline = true;
     this.textSQL.Name      = "textSQL";
     this.textSQL.ReadOnly  = true;
     this.textSQL.Size      = new System.Drawing.Size(692, 124);
     this.textSQL.TabIndex  = 42;
     //
     // FormRpReferrals
     //
     this.AcceptButton      = this.butOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.butCancel;
     this.ClientSize        = new System.Drawing.Size(842, 683);
     this.Controls.Add(this.tabReferrals);
     this.Controls.Add(this.butCancel);
     this.Controls.Add(this.butOK);
     this.Controls.Add(this.textSQL);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox   = false;
     this.MinimizeBox   = false;
     this.Name          = "FormRpReferrals";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "FormRpReferrals";
     this.tabReferrals.ResumeLayout(false);
     this.tabData.ResumeLayout(false);
     this.tabFilters.ResumeLayout(false);
     this.tabFilters.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #49
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.labelFilterByType    = new System.Windows.Forms.Label();
     this.comboBoxTypes        = new System.Windows.Forms.ComboBox();
     this.listViewSubstances   = new System.Windows.Forms.ListView();
     this.columnHeaderName     = new System.Windows.Forms.ColumnHeader();
     this.columnHeaderUserDef  = new System.Windows.Forms.ColumnHeader();
     this.columnHeaderType     = new System.Windows.Forms.ColumnHeader();
     this.columnHeaderFormula  = new System.Windows.Forms.ColumnHeader();
     this.labelFilterByUserDef = new System.Windows.Forms.Label();
     this.comboBoxUserDef      = new System.Windows.Forms.ComboBox();
     this.SuspendLayout();
     //
     // labelFilterByType
     //
     this.labelFilterByType.Location  = new System.Drawing.Point(4, 204);
     this.labelFilterByType.Name      = "labelFilterByType";
     this.labelFilterByType.Size      = new System.Drawing.Size(132, 20);
     this.labelFilterByType.TabIndex  = 3;
     this.labelFilterByType.Text      = "Filter by Substance Type:";
     this.labelFilterByType.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // comboBoxTypes
     //
     this.comboBoxTypes.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxTypes.Location              = new System.Drawing.Point(140, 204);
     this.comboBoxTypes.Name                  = "comboBoxTypes";
     this.comboBoxTypes.Size                  = new System.Drawing.Size(121, 21);
     this.comboBoxTypes.TabIndex              = 2;
     this.comboBoxTypes.SelectedIndexChanged += new System.EventHandler(this.comboBoxTypes_SelectedIndexChanged);
     //
     // listViewSubstances
     //
     this.listViewSubstances.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeaderName,
         this.columnHeaderUserDef,
         this.columnHeaderType,
         this.columnHeaderFormula
     });
     this.listViewSubstances.FullRowSelect = true;
     this.listViewSubstances.HideSelection = false;
     this.listViewSubstances.Location      = new System.Drawing.Point(0, 0);
     this.listViewSubstances.Name          = "listViewSubstances";
     this.listViewSubstances.Size          = new System.Drawing.Size(344, 176);
     this.listViewSubstances.TabIndex      = 4;
     this.listViewSubstances.View          = System.Windows.Forms.View.Details;
     this.listViewSubstances.ColumnClick  += new System.Windows.Forms.ColumnClickEventHandler(this.listViewSubstances_ColumnClick);
     //
     // columnHeaderName
     //
     this.columnHeaderName.Text  = "Name";
     this.columnHeaderName.Width = 91;
     //
     // columnHeaderUserDef
     //
     this.columnHeaderUserDef.Text = "User Def.";
     //
     // columnHeaderType
     //
     this.columnHeaderType.Text  = "Type";
     this.columnHeaderType.Width = 78;
     //
     // columnHeaderFormula
     //
     this.columnHeaderFormula.Text  = "Formula";
     this.columnHeaderFormula.Width = 92;
     //
     // labelFilterByUserDef
     //
     this.labelFilterByUserDef.Location  = new System.Drawing.Point(4, 180);
     this.labelFilterByUserDef.Name      = "labelFilterByUserDef";
     this.labelFilterByUserDef.Size      = new System.Drawing.Size(132, 20);
     this.labelFilterByUserDef.TabIndex  = 10;
     this.labelFilterByUserDef.Text      = "Filter by User Defined:";
     this.labelFilterByUserDef.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // comboBoxUserDef
     //
     this.comboBoxUserDef.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxUserDef.Location              = new System.Drawing.Point(140, 180);
     this.comboBoxUserDef.Name                  = "comboBoxUserDef";
     this.comboBoxUserDef.Size                  = new System.Drawing.Size(121, 21);
     this.comboBoxUserDef.TabIndex              = 9;
     this.comboBoxUserDef.SelectedIndexChanged += new System.EventHandler(this.comboBoxUserDef_SelectedIndexChanged);
     //
     // SubstancesControl
     //
     this.Controls.Add(this.labelFilterByUserDef);
     this.Controls.Add(this.comboBoxUserDef);
     this.Controls.Add(this.listViewSubstances);
     this.Controls.Add(this.labelFilterByType);
     this.Controls.Add(this.comboBoxTypes);
     this.Name = "SubstancesControl";
     this.Size = new System.Drawing.Size(344, 228);
     this.ResumeLayout(false);
 }
예제 #50
0
 private void InitializeComponent()
 {
     this.typeBox      = new System.Windows.Forms.ComboBox();
     this.preview      = new System.Windows.Forms.PictureBox();
     this.costBox      = new freetrain.controls.CostBox();
     this.buttonRemove = new System.Windows.Forms.RadioButton();
     this.buttonPlace  = new System.Windows.Forms.RadioButton();
     this.SuspendLayout();
     //
     // typeBox
     //
     this.typeBox.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.typeBox.Location              = new System.Drawing.Point(8, 8);
     this.typeBox.Name                  = "typeBox";
     this.typeBox.Size                  = new System.Drawing.Size(112, 20);
     this.typeBox.Sorted                = true;
     this.typeBox.TabIndex              = 2;
     this.typeBox.SelectedIndexChanged += new System.EventHandler(this.onTypeChanged);
     //
     // preview
     //
     this.preview.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.preview.Location    = new System.Drawing.Point(8, 40);
     this.preview.Name        = "preview";
     this.preview.Size        = new System.Drawing.Size(112, 80);
     this.preview.TabIndex    = 1;
     this.preview.TabStop     = false;
     //
     // costBox
     //
     this.costBox.cost  = 0;
     this.costBox.label = "Cost:";
     //! this.costBox.label = "費用:";
     this.costBox.Location = new System.Drawing.Point(8, 128);
     this.costBox.Name     = "costBox";
     this.costBox.Size     = new System.Drawing.Size(112, 32);
     this.costBox.TabIndex = 10;
     //
     // buttonRemove
     //
     this.buttonRemove.Appearance = System.Windows.Forms.Appearance.Button;
     this.buttonRemove.Location   = new System.Drawing.Point(64, 160);
     this.buttonRemove.Name       = "buttonRemove";
     this.buttonRemove.Size       = new System.Drawing.Size(56, 24);
     this.buttonRemove.TabIndex   = 9;
     this.buttonRemove.Text       = "Remove";
     //! this.buttonRemove.Text = "撤去";
     this.buttonRemove.TextAlign       = System.Drawing.ContentAlignment.MiddleCenter;
     this.buttonRemove.CheckedChanged += new System.EventHandler(this.onModeChanged);
     //
     // buttonPlace
     //
     this.buttonPlace.Appearance = System.Windows.Forms.Appearance.Button;
     this.buttonPlace.Checked    = true;
     this.buttonPlace.Location   = new System.Drawing.Point(8, 160);
     this.buttonPlace.Name       = "buttonPlace";
     this.buttonPlace.Size       = new System.Drawing.Size(56, 24);
     this.buttonPlace.TabIndex   = 8;
     this.buttonPlace.TabStop    = true;
     this.buttonPlace.Text       = "Place";
     //! this.buttonPlace.Text = "設置";
     this.buttonPlace.TextAlign       = System.Drawing.ContentAlignment.MiddleCenter;
     this.buttonPlace.CheckedChanged += new System.EventHandler(this.onModeChanged);
     //
     // ControllerForm
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 12);
     this.ClientSize        = new System.Drawing.Size(128, 190);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.costBox,
         this.buttonRemove,
         this.buttonPlace,
         this.typeBox,
         this.preview
     });
     this.Name = "ControllerForm";
     this.Text = "Wire";
     //! this.Text = "架線";
     this.ResumeLayout(false);
 }
예제 #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.label1             = new System.Windows.Forms.Label();
     this.label2             = new System.Windows.Forms.Label();
     this.cbMajorTickMarks   = new System.Windows.Forms.ComboBox();
     this.cbMinorTickMarks   = new System.Windows.Forms.ComboBox();
     this.chkVisible         = new System.Windows.Forms.CheckBox();
     this.chkMargin          = new System.Windows.Forms.CheckBox();
     this.chkReverse         = new System.Windows.Forms.CheckBox();
     this.chkInterlaced      = new System.Windows.Forms.CheckBox();
     this.chkScalar          = new System.Windows.Forms.CheckBox();
     this.chkLogScale        = new System.Windows.Forms.CheckBox();
     this.groupBox1          = new System.Windows.Forms.GroupBox();
     this.chkMajorGLShow     = new System.Windows.Forms.CheckBox();
     this.tbMajorGLWidth     = new System.Windows.Forms.TextBox();
     this.bMajorGLColor      = new System.Windows.Forms.Button();
     this.cbMajorGLColor     = new System.Windows.Forms.ComboBox();
     this.cbMajorGLStyle     = new System.Windows.Forms.ComboBox();
     this.label7             = new System.Windows.Forms.Label();
     this.label6             = new System.Windows.Forms.Label();
     this.label3             = new System.Windows.Forms.Label();
     this.groupBox2          = new System.Windows.Forms.GroupBox();
     this.chkMinorGLShow     = new System.Windows.Forms.CheckBox();
     this.tbMinorGLWidth     = new System.Windows.Forms.TextBox();
     this.bMinorGLColor      = new System.Windows.Forms.Button();
     this.cbMinorGLColor     = new System.Windows.Forms.ComboBox();
     this.cbMinorGLStyle     = new System.Windows.Forms.ComboBox();
     this.label4             = new System.Windows.Forms.Label();
     this.label5             = new System.Windows.Forms.Label();
     this.label8             = new System.Windows.Forms.Label();
     this.label9             = new System.Windows.Forms.Label();
     this.tbMajorInterval    = new System.Windows.Forms.TextBox();
     this.tbMinorInterval    = new System.Windows.Forms.TextBox();
     this.label10            = new System.Windows.Forms.Label();
     this.tbMax              = new System.Windows.Forms.TextBox();
     this.label11            = new System.Windows.Forms.Label();
     this.tbMin              = new System.Windows.Forms.TextBox();
     this.label12            = new System.Windows.Forms.Label();
     this.bMinorIntervalExpr = new System.Windows.Forms.Button();
     this.bMajorIntervalExpr = new System.Windows.Forms.Button();
     this.bMinExpr           = new System.Windows.Forms.Button();
     this.bMaxExpr           = new System.Windows.Forms.Button();
     this.chkCanOmit         = new System.Windows.Forms.CheckBox();
     this.chkMonth           = new System.Windows.Forms.CheckBox();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(16, 8);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(104, 16);
     this.label1.TabIndex = 1;
     this.label1.Text     = "Major Tick Marks";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(224, 8);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(112, 16);
     this.label2.TabIndex = 3;
     this.label2.Text     = "Minor Tick Marks";
     //
     // cbMajorTickMarks
     //
     this.cbMajorTickMarks.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cbMajorTickMarks.Items.AddRange(new object[] {
         "None",
         "Inside",
         "Outside",
         "Cross"
     });
     this.cbMajorTickMarks.Location              = new System.Drawing.Point(128, 8);
     this.cbMajorTickMarks.Name                  = "cbMajorTickMarks";
     this.cbMajorTickMarks.Size                  = new System.Drawing.Size(80, 21);
     this.cbMajorTickMarks.TabIndex              = 2;
     this.cbMajorTickMarks.SelectedIndexChanged += new System.EventHandler(this.cbMajorTickMarks_SelectedIndexChanged);
     //
     // cbMinorTickMarks
     //
     this.cbMinorTickMarks.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cbMinorTickMarks.Items.AddRange(new object[] {
         "None",
         "Inside",
         "Outside",
         "Cross"
     });
     this.cbMinorTickMarks.Location              = new System.Drawing.Point(336, 8);
     this.cbMinorTickMarks.Name                  = "cbMinorTickMarks";
     this.cbMinorTickMarks.Size                  = new System.Drawing.Size(80, 21);
     this.cbMinorTickMarks.TabIndex              = 4;
     this.cbMinorTickMarks.SelectedIndexChanged += new System.EventHandler(this.cbMinorTickMarks_SelectedIndexChanged);
     //
     // chkVisible
     //
     this.chkVisible.Location        = new System.Drawing.Point(24, 224);
     this.chkVisible.Name            = "chkVisible";
     this.chkVisible.Size            = new System.Drawing.Size(88, 24);
     this.chkVisible.TabIndex        = 19;
     this.chkVisible.Text            = "Visible";
     this.chkVisible.CheckedChanged += new System.EventHandler(this.chkVisible_CheckedChanged);
     //
     // chkMargin
     //
     this.chkMargin.Location        = new System.Drawing.Point(240, 224);
     this.chkMargin.Name            = "chkMargin";
     this.chkMargin.Size            = new System.Drawing.Size(60, 24);
     this.chkMargin.TabIndex        = 21;
     this.chkMargin.Text            = "Margin";
     this.chkMargin.CheckedChanged += new System.EventHandler(this.chkMargin_CheckedChanged);
     //
     // chkReverse
     //
     this.chkReverse.Location        = new System.Drawing.Point(108, 248);
     this.chkReverse.Name            = "chkReverse";
     this.chkReverse.Size            = new System.Drawing.Size(120, 24);
     this.chkReverse.TabIndex        = 23;
     this.chkReverse.Text            = "Reverse Direction";
     this.chkReverse.CheckedChanged += new System.EventHandler(this.chkReverse_CheckedChanged);
     //
     // chkInterlaced
     //
     this.chkInterlaced.Location        = new System.Drawing.Point(240, 248);
     this.chkInterlaced.Name            = "chkInterlaced";
     this.chkInterlaced.Size            = new System.Drawing.Size(88, 24);
     this.chkInterlaced.TabIndex        = 23;
     this.chkInterlaced.Text            = "Interlaced";
     this.chkInterlaced.CheckedChanged += new System.EventHandler(this.chkInterlaced_CheckedChanged);
     //
     // chkScalar
     //
     this.chkScalar.Location        = new System.Drawing.Point(24, 248);
     this.chkScalar.Name            = "chkScalar";
     this.chkScalar.Size            = new System.Drawing.Size(72, 24);
     this.chkScalar.TabIndex        = 22;
     this.chkScalar.Text            = "Scalar";
     this.chkScalar.CheckedChanged += new System.EventHandler(this.chkScalar_CheckedChanged);
     //
     // chkLogScale
     //
     this.chkLogScale.Location        = new System.Drawing.Point(108, 224);
     this.chkLogScale.Name            = "chkLogScale";
     this.chkLogScale.Size            = new System.Drawing.Size(120, 24);
     this.chkLogScale.TabIndex        = 20;
     this.chkLogScale.Text            = "Log Scale";
     this.chkLogScale.CheckedChanged += new System.EventHandler(this.chkLogScale_CheckedChanged);
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.chkMajorGLShow);
     this.groupBox1.Controls.Add(this.tbMajorGLWidth);
     this.groupBox1.Controls.Add(this.bMajorGLColor);
     this.groupBox1.Controls.Add(this.cbMajorGLColor);
     this.groupBox1.Controls.Add(this.cbMajorGLStyle);
     this.groupBox1.Controls.Add(this.label7);
     this.groupBox1.Controls.Add(this.label6);
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Location = new System.Drawing.Point(16, 32);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(400, 48);
     this.groupBox1.TabIndex = 5;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Major Grid Lines";
     //
     // chkMajorGLShow
     //
     this.chkMajorGLShow.Location        = new System.Drawing.Point(8, 14);
     this.chkMajorGLShow.Name            = "chkMajorGLShow";
     this.chkMajorGLShow.Size            = new System.Drawing.Size(56, 24);
     this.chkMajorGLShow.TabIndex        = 0;
     this.chkMajorGLShow.Text            = "Show";
     this.chkMajorGLShow.CheckedChanged += new System.EventHandler(this.chkMajorGLShow_CheckedChanged);
     //
     // tbMajorGLWidth
     //
     this.tbMajorGLWidth.Location     = new System.Drawing.Point(352, 16);
     this.tbMajorGLWidth.Name         = "tbMajorGLWidth";
     this.tbMajorGLWidth.Size         = new System.Drawing.Size(40, 20);
     this.tbMajorGLWidth.TabIndex     = 7;
     this.tbMajorGLWidth.TextChanged += new System.EventHandler(this.tbMajorGLWidth_TextChanged);
     //
     // bMajorGLColor
     //
     this.bMajorGLColor.Location = new System.Drawing.Point(288, 14);
     this.bMajorGLColor.Name     = "bMajorGLColor";
     this.bMajorGLColor.Size     = new System.Drawing.Size(24, 24);
     this.bMajorGLColor.TabIndex = 5;
     this.bMajorGLColor.Text     = "...";
     this.bMajorGLColor.Click   += new System.EventHandler(this.bMajorGLColor_Click);
     //
     // cbMajorGLColor
     //
     this.cbMajorGLColor.Location              = new System.Drawing.Point(208, 16);
     this.cbMajorGLColor.Name                  = "cbMajorGLColor";
     this.cbMajorGLColor.Size                  = new System.Drawing.Size(72, 21);
     this.cbMajorGLColor.TabIndex              = 4;
     this.cbMajorGLColor.SelectedIndexChanged += new System.EventHandler(this.cbMajorGLColor_SelectedIndexChanged);
     //
     // cbMajorGLStyle
     //
     this.cbMajorGLStyle.Items.AddRange(new object[] {
         "None",
         "Dotted",
         "Dashed",
         "Solid",
         "Double",
         "Groove",
         "Ridge",
         "Inset",
         "WindowInset",
         "Outset"
     });
     this.cbMajorGLStyle.Location              = new System.Drawing.Point(96, 16);
     this.cbMajorGLStyle.Name                  = "cbMajorGLStyle";
     this.cbMajorGLStyle.Size                  = new System.Drawing.Size(72, 21);
     this.cbMajorGLStyle.TabIndex              = 2;
     this.cbMajorGLStyle.SelectedIndexChanged += new System.EventHandler(this.cbMajorGLStyle_SelectedIndexChanged);
     //
     // label7
     //
     this.label7.Location  = new System.Drawing.Point(176, 18);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(32, 16);
     this.label7.TabIndex  = 3;
     this.label7.Text      = "Color";
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label6
     //
     this.label6.Location  = new System.Drawing.Point(320, 18);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(36, 16);
     this.label6.TabIndex  = 6;
     this.label6.Text      = "Width";
     this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(64, 18);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(36, 16);
     this.label3.TabIndex  = 1;
     this.label3.Text      = "Style";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.chkMinorGLShow);
     this.groupBox2.Controls.Add(this.tbMinorGLWidth);
     this.groupBox2.Controls.Add(this.bMinorGLColor);
     this.groupBox2.Controls.Add(this.cbMinorGLColor);
     this.groupBox2.Controls.Add(this.cbMinorGLStyle);
     this.groupBox2.Controls.Add(this.label4);
     this.groupBox2.Controls.Add(this.label5);
     this.groupBox2.Controls.Add(this.label8);
     this.groupBox2.Location = new System.Drawing.Point(16, 88);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(400, 48);
     this.groupBox2.TabIndex = 6;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Minor Grid Lines";
     //
     // chkMinorGLShow
     //
     this.chkMinorGLShow.Location        = new System.Drawing.Point(8, 14);
     this.chkMinorGLShow.Name            = "chkMinorGLShow";
     this.chkMinorGLShow.Size            = new System.Drawing.Size(56, 24);
     this.chkMinorGLShow.TabIndex        = 0;
     this.chkMinorGLShow.Text            = "Show";
     this.chkMinorGLShow.CheckedChanged += new System.EventHandler(this.chkMinorGLShow_CheckedChanged);
     //
     // tbMinorGLWidth
     //
     this.tbMinorGLWidth.Location     = new System.Drawing.Point(352, 16);
     this.tbMinorGLWidth.Name         = "tbMinorGLWidth";
     this.tbMinorGLWidth.Size         = new System.Drawing.Size(40, 20);
     this.tbMinorGLWidth.TabIndex     = 7;
     this.tbMinorGLWidth.TextChanged += new System.EventHandler(this.tbMinorGLWidth_TextChanged);
     //
     // bMinorGLColor
     //
     this.bMinorGLColor.Location = new System.Drawing.Point(288, 14);
     this.bMinorGLColor.Name     = "bMinorGLColor";
     this.bMinorGLColor.Size     = new System.Drawing.Size(24, 24);
     this.bMinorGLColor.TabIndex = 5;
     this.bMinorGLColor.Text     = "...";
     this.bMinorGLColor.Click   += new System.EventHandler(this.bMinorGLColor_Click);
     //
     // cbMinorGLColor
     //
     this.cbMinorGLColor.Location              = new System.Drawing.Point(208, 16);
     this.cbMinorGLColor.Name                  = "cbMinorGLColor";
     this.cbMinorGLColor.Size                  = new System.Drawing.Size(72, 21);
     this.cbMinorGLColor.TabIndex              = 4;
     this.cbMinorGLColor.SelectedIndexChanged += new System.EventHandler(this.cbMinorGLColor_SelectedIndexChanged);
     //
     // cbMinorGLStyle
     //
     this.cbMinorGLStyle.Items.AddRange(new object[] {
         "None",
         "Dotted",
         "Dashed",
         "Solid",
         "Double",
         "Groove",
         "Ridge",
         "Inset",
         "WindowInset",
         "Outset"
     });
     this.cbMinorGLStyle.Location              = new System.Drawing.Point(96, 16);
     this.cbMinorGLStyle.Name                  = "cbMinorGLStyle";
     this.cbMinorGLStyle.Size                  = new System.Drawing.Size(72, 21);
     this.cbMinorGLStyle.TabIndex              = 2;
     this.cbMinorGLStyle.SelectedIndexChanged += new System.EventHandler(this.cbMinorGLStyle_SelectedIndexChanged);
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(176, 18);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(40, 16);
     this.label4.TabIndex  = 3;
     this.label4.Text      = "Color";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(320, 18);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(36, 16);
     this.label5.TabIndex  = 6;
     this.label5.Text      = "Width";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label8
     //
     this.label8.Location  = new System.Drawing.Point(64, 18);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(40, 16);
     this.label8.TabIndex  = 1;
     this.label8.Text      = "Style";
     this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label9
     //
     this.label9.Location = new System.Drawing.Point(16, 154);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(80, 16);
     this.label9.TabIndex = 7;
     this.label9.Text     = "Major Interval";
     //
     // tbMajorInterval
     //
     this.tbMajorInterval.Location     = new System.Drawing.Point(104, 152);
     this.tbMajorInterval.Name         = "tbMajorInterval";
     this.tbMajorInterval.Size         = new System.Drawing.Size(65, 20);
     this.tbMajorInterval.TabIndex     = 8;
     this.tbMajorInterval.TextChanged += new System.EventHandler(this.tbMajorInterval_TextChanged);
     //
     // tbMinorInterval
     //
     this.tbMinorInterval.Location     = new System.Drawing.Point(302, 152);
     this.tbMinorInterval.Name         = "tbMinorInterval";
     this.tbMinorInterval.Size         = new System.Drawing.Size(65, 20);
     this.tbMinorInterval.TabIndex     = 11;
     this.tbMinorInterval.TextChanged += new System.EventHandler(this.tbMinorInterval_TextChanged);
     //
     // label10
     //
     this.label10.Location = new System.Drawing.Point(217, 154);
     this.label10.Name     = "label10";
     this.label10.Size     = new System.Drawing.Size(80, 16);
     this.label10.TabIndex = 10;
     this.label10.Text     = "Minor Interval";
     //
     // tbMax
     //
     this.tbMax.Location     = new System.Drawing.Point(302, 182);
     this.tbMax.Name         = "tbMax";
     this.tbMax.Size         = new System.Drawing.Size(65, 20);
     this.tbMax.TabIndex     = 17;
     this.tbMax.TextChanged += new System.EventHandler(this.tbMax_TextChanged);
     //
     // label11
     //
     this.label11.Location = new System.Drawing.Point(216, 184);
     this.label11.Name     = "label11";
     this.label11.Size     = new System.Drawing.Size(84, 16);
     this.label11.TabIndex = 16;
     this.label11.Text     = "Maximum Value";
     //
     // tbMin
     //
     this.tbMin.Location     = new System.Drawing.Point(104, 182);
     this.tbMin.Name         = "tbMin";
     this.tbMin.Size         = new System.Drawing.Size(65, 20);
     this.tbMin.TabIndex     = 14;
     this.tbMin.TextChanged += new System.EventHandler(this.tbMin_TextChanged);
     //
     // label12
     //
     this.label12.Location = new System.Drawing.Point(16, 184);
     this.label12.Name     = "label12";
     this.label12.Size     = new System.Drawing.Size(88, 16);
     this.label12.TabIndex = 13;
     this.label12.Text     = "Minimum Value";
     //
     // bMinorIntervalExpr
     //
     this.bMinorIntervalExpr.Font      = new System.Drawing.Font("Arial", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.bMinorIntervalExpr.Location  = new System.Drawing.Point(375, 154);
     this.bMinorIntervalExpr.Name      = "bMinorIntervalExpr";
     this.bMinorIntervalExpr.Size      = new System.Drawing.Size(22, 16);
     this.bMinorIntervalExpr.TabIndex  = 12;
     this.bMinorIntervalExpr.Tag       = "minorinterval";
     this.bMinorIntervalExpr.Text      = "fx";
     this.bMinorIntervalExpr.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.bMinorIntervalExpr.Click    += new System.EventHandler(this.bExpr_Click);
     //
     // bMajorIntervalExpr
     //
     this.bMajorIntervalExpr.Font      = new System.Drawing.Font("Arial", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.bMajorIntervalExpr.Location  = new System.Drawing.Point(177, 154);
     this.bMajorIntervalExpr.Name      = "bMajorIntervalExpr";
     this.bMajorIntervalExpr.Size      = new System.Drawing.Size(22, 16);
     this.bMajorIntervalExpr.TabIndex  = 9;
     this.bMajorIntervalExpr.Tag       = "majorinterval";
     this.bMajorIntervalExpr.Text      = "fx";
     this.bMajorIntervalExpr.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.bMajorIntervalExpr.Click    += new System.EventHandler(this.bExpr_Click);
     //
     // bMinExpr
     //
     this.bMinExpr.Font      = new System.Drawing.Font("Arial", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.bMinExpr.Location  = new System.Drawing.Point(177, 184);
     this.bMinExpr.Name      = "bMinExpr";
     this.bMinExpr.Size      = new System.Drawing.Size(22, 16);
     this.bMinExpr.TabIndex  = 15;
     this.bMinExpr.Tag       = "min";
     this.bMinExpr.Text      = "fx";
     this.bMinExpr.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.bMinExpr.Click    += new System.EventHandler(this.bExpr_Click);
     //
     // bMaxExpr
     //
     this.bMaxExpr.Font      = new System.Drawing.Font("Arial", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.bMaxExpr.Location  = new System.Drawing.Point(376, 184);
     this.bMaxExpr.Name      = "bMaxExpr";
     this.bMaxExpr.Size      = new System.Drawing.Size(22, 16);
     this.bMaxExpr.TabIndex  = 18;
     this.bMaxExpr.Tag       = "max";
     this.bMaxExpr.Text      = "fx";
     this.bMaxExpr.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.bMaxExpr.Click    += new System.EventHandler(this.bExpr_Click);
     //
     // chkCanOmit
     //
     this.chkCanOmit.Location        = new System.Drawing.Point(334, 224);
     this.chkCanOmit.Name            = "chkCanOmit";
     this.chkCanOmit.Size            = new System.Drawing.Size(93, 48);
     this.chkCanOmit.TabIndex        = 24;
     this.chkCanOmit.Text            = "Can Omit Values on Truncation";
     this.chkCanOmit.CheckedChanged += new System.EventHandler(this.chkCanOmit_CheckedChanged);
     //
     // chkMonth
     //
     this.chkMonth.Location        = new System.Drawing.Point(24, 272);
     this.chkMonth.Name            = "chkMonth";
     this.chkMonth.Size            = new System.Drawing.Size(145, 24);
     this.chkMonth.TabIndex        = 25;
     this.chkMonth.Text            = "Month Category Scale";
     this.chkMonth.CheckedChanged += new System.EventHandler(this.chkMonth_CheckedChanged);
     //
     // ChartAxisCtl
     //
     this.Controls.Add(this.chkMonth);
     this.Controls.Add(this.chkCanOmit);
     this.Controls.Add(this.bMaxExpr);
     this.Controls.Add(this.bMinExpr);
     this.Controls.Add(this.bMajorIntervalExpr);
     this.Controls.Add(this.bMinorIntervalExpr);
     this.Controls.Add(this.tbMax);
     this.Controls.Add(this.label11);
     this.Controls.Add(this.tbMin);
     this.Controls.Add(this.label12);
     this.Controls.Add(this.tbMinorInterval);
     this.Controls.Add(this.label10);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.chkLogScale);
     this.Controls.Add(this.chkScalar);
     this.Controls.Add(this.chkInterlaced);
     this.Controls.Add(this.chkReverse);
     this.Controls.Add(this.chkMargin);
     this.Controls.Add(this.chkVisible);
     this.Controls.Add(this.cbMinorTickMarks);
     this.Controls.Add(this.cbMajorTickMarks);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.tbMajorInterval);
     this.Controls.Add(this.label9);
     this.Name = "ChartAxisCtl";
     this.Size = new System.Drawing.Size(440, 303);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #52
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(FormProbabilityTable));
     this.comboBoxProb  = new System.Windows.Forms.ComboBox();
     this.label2        = new System.Windows.Forms.Label();
     this.listViewProb  = new System.Windows.Forms.ListView();
     this.columnHeader1 = new System.Windows.Forms.ColumnHeader();
     this.columnHeader2 = new System.Windows.Forms.ColumnHeader();
     this.columnHeader3 = new System.Windows.Forms.ColumnHeader();
     this.columnHeader4 = new System.Windows.Forms.ColumnHeader();
     this.columnHeader5 = new System.Windows.Forms.ColumnHeader();
     this.columnHeader6 = new System.Windows.Forms.ColumnHeader();
     this.SuspendLayout();
     //
     // comboBoxProb
     //
     this.comboBoxProb.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxProb.Items.AddRange(new object[] {
         "Next Letter",
         "Two Letters away",
         "Three Letters away",
         "Four letters away",
         "Five Letters away",
         "Six letters away",
         "Seven letters away",
         "Eight letters away",
         "Nine letters away"
     });
     this.comboBoxProb.Location              = new System.Drawing.Point(160, 8);
     this.comboBoxProb.Name                  = "comboBoxProb";
     this.comboBoxProb.Size                  = new System.Drawing.Size(128, 21);
     this.comboBoxProb.TabIndex              = 0;
     this.comboBoxProb.SelectedIndexChanged += new System.EventHandler(this.comboBoxProb_SelectedIndexChanged);
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(88, 8);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(72, 16);
     this.label2.TabIndex = 3;
     this.label2.Text     = "The Prob on:";
     this.label2.Click   += new System.EventHandler(this.label2_Click);
     //
     // listViewProb
     //
     this.listViewProb.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.listViewProb.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
         this.columnHeader1,
         this.columnHeader2,
         this.columnHeader3,
         this.columnHeader4,
         this.columnHeader5,
         this.columnHeader6
     });
     this.listViewProb.GridLines = true;
     this.listViewProb.Location  = new System.Drawing.Point(8, 40);
     this.listViewProb.Name      = "listViewProb";
     this.listViewProb.Size      = new System.Drawing.Size(480, 320);
     this.listViewProb.TabIndex  = 4;
     this.listViewProb.View      = System.Windows.Forms.View.Details;
     //
     // FormProbabilityTable
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(504, 373);
     this.Controls.Add(this.listViewProb);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.comboBoxProb);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "FormProbabilityTable";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Probability Table";
     this.Load         += new System.EventHandler(this.FormProbabilityTable_Load);
     this.ResumeLayout(false);
 }
예제 #53
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmCoso));
     this.dataGrid1  = new System.Windows.Forms.DataGrid();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.label1     = new System.Windows.Forms.Label();
     this.ma         = new System.Windows.Forms.TextBox();
     this.label2     = new System.Windows.Forms.Label();
     this.ten        = new System.Windows.Forms.TextBox();
     this.label3     = new System.Windows.Forms.Label();
     this.makp       = new System.Windows.Forms.ComboBox();
     this.butMoi     = new System.Windows.Forms.Button();
     this.butSua     = new System.Windows.Forms.Button();
     this.butLuu     = new System.Windows.Forms.Button();
     this.butBoqua   = new System.Windows.Forms.Button();
     this.butHuy     = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit();
     this.SuspendLayout();
     //
     // dataGrid1
     //
     this.dataGrid1.AlternatingBackColor = System.Drawing.Color.Lavender;
     this.dataGrid1.BackColor            = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.BackgroundColor      = System.Drawing.SystemColors.Control;
     this.dataGrid1.BorderStyle          = System.Windows.Forms.BorderStyle.None;
     this.dataGrid1.CaptionBackColor     = System.Drawing.SystemColors.Control;
     this.dataGrid1.CaptionFont          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid1.CaptionForeColor     = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.DataMember           = "";
     this.dataGrid1.FlatMode             = true;
     this.dataGrid1.Font                = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dataGrid1.ForeColor           = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.GridLineColor       = System.Drawing.Color.Gainsboro;
     this.dataGrid1.GridLineStyle       = System.Windows.Forms.DataGridLineStyle.None;
     this.dataGrid1.HeaderFont          = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold);
     this.dataGrid1.HeaderForeColor     = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.LinkColor           = System.Drawing.Color.Teal;
     this.dataGrid1.Location            = new System.Drawing.Point(8, -14);
     this.dataGrid1.Name                = "dataGrid1";
     this.dataGrid1.ParentRowsBackColor = System.Drawing.Color.Gainsboro;
     this.dataGrid1.ParentRowsForeColor = System.Drawing.Color.MidnightBlue;
     this.dataGrid1.ReadOnly            = true;
     this.dataGrid1.RowHeaderWidth      = 10;
     this.dataGrid1.SelectionBackColor  = System.Drawing.Color.CadetBlue;
     this.dataGrid1.SelectionForeColor  = System.Drawing.Color.WhiteSmoke;
     this.dataGrid1.Size                = new System.Drawing.Size(617, 320);
     this.dataGrid1.TabIndex            = 19;
     this.dataGrid1.CurrentCellChanged += new System.EventHandler(this.dataGrid1_CurrentCellChanged);
     //
     // butKetthuc
     //
     this.butKetthuc.Image      = ((System.Drawing.Image)(resources.GetObject("butKetthuc.Image")));
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(456, 342);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(70, 25);
     this.butKetthuc.TabIndex   = 10;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(2, 312);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(41, 23);
     this.label1.TabIndex  = 21;
     this.label1.Text      = "Mã :";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // ma
     //
     this.ma.BackColor  = System.Drawing.SystemColors.HighlightText;
     this.ma.Enabled    = false;
     this.ma.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ma.Location   = new System.Drawing.Point(40, 312);
     this.ma.MaxLength  = 2;
     this.ma.Name       = "ma";
     this.ma.Size       = new System.Drawing.Size(24, 21);
     this.ma.TabIndex   = 0;
     this.ma.Validated += new System.EventHandler(this.ma_Validated);
     this.ma.KeyDown   += new System.Windows.Forms.KeyEventHandler(this.ma_KeyDown);
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(61, 312);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(67, 23);
     this.label2.TabIndex  = 23;
     this.label2.Text      = "Tên :";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // ten
     //
     this.ten.BackColor  = System.Drawing.SystemColors.HighlightText;
     this.ten.Enabled    = false;
     this.ten.Font       = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ten.Location   = new System.Drawing.Point(129, 312);
     this.ten.Name       = "ten";
     this.ten.Size       = new System.Drawing.Size(353, 21);
     this.ten.TabIndex   = 1;
     this.ten.Validated += new System.EventHandler(this.ten_Validated);
     this.ten.KeyDown   += new System.Windows.Forms.KeyEventHandler(this.ten_KeyDown);
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(478, 312);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(60, 23);
     this.label3.TabIndex  = 25;
     this.label3.Text      = "Tuyến :";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // makp
     //
     this.makp.BackColor     = System.Drawing.SystemColors.HighlightText;
     this.makp.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.makp.Enabled       = false;
     this.makp.Font          = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.makp.Location      = new System.Drawing.Point(536, 312);
     this.makp.Name          = "makp";
     this.makp.Size          = new System.Drawing.Size(88, 21);
     this.makp.TabIndex      = 2;
     this.makp.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.makp_KeyDown);
     //
     // butMoi
     //
     this.butMoi.Image      = ((System.Drawing.Image)(resources.GetObject("butMoi.Image")));
     this.butMoi.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butMoi.Location   = new System.Drawing.Point(106, 342);
     this.butMoi.Name       = "butMoi";
     this.butMoi.Size       = new System.Drawing.Size(70, 25);
     this.butMoi.TabIndex   = 7;
     this.butMoi.Text       = "     &Mới";
     this.butMoi.Click     += new System.EventHandler(this.butMoi_Click);
     //
     // butSua
     //
     this.butSua.Image      = ((System.Drawing.Image)(resources.GetObject("butSua.Image")));
     this.butSua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butSua.Location   = new System.Drawing.Point(176, 342);
     this.butSua.Name       = "butSua";
     this.butSua.Size       = new System.Drawing.Size(70, 25);
     this.butSua.TabIndex   = 8;
     this.butSua.Text       = "    &Sửa";
     this.butSua.Click     += new System.EventHandler(this.butSua_Click);
     //
     // butLuu
     //
     this.butLuu.Enabled    = false;
     this.butLuu.Image      = ((System.Drawing.Image)(resources.GetObject("butLuu.Image")));
     this.butLuu.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butLuu.Location   = new System.Drawing.Point(246, 342);
     this.butLuu.Name       = "butLuu";
     this.butLuu.Size       = new System.Drawing.Size(70, 25);
     this.butLuu.TabIndex   = 5;
     this.butLuu.Text       = "     &Lưu";
     this.butLuu.Click     += new System.EventHandler(this.butLuu_Click);
     //
     // butBoqua
     //
     this.butBoqua.Enabled    = false;
     this.butBoqua.Image      = ((System.Drawing.Image)(resources.GetObject("butBoqua.Image")));
     this.butBoqua.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butBoqua.Location   = new System.Drawing.Point(316, 342);
     this.butBoqua.Name       = "butBoqua";
     this.butBoqua.Size       = new System.Drawing.Size(70, 25);
     this.butBoqua.TabIndex   = 6;
     this.butBoqua.Text       = "&Bỏ qua";
     this.butBoqua.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butBoqua.Click     += new System.EventHandler(this.butBoqua_Click);
     //
     // butHuy
     //
     this.butHuy.Image      = ((System.Drawing.Image)(resources.GetObject("butHuy.Image")));
     this.butHuy.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butHuy.Location   = new System.Drawing.Point(386, 342);
     this.butHuy.Name       = "butHuy";
     this.butHuy.Size       = new System.Drawing.Size(70, 25);
     this.butHuy.TabIndex   = 9;
     this.butHuy.Text       = "     &Hủy";
     this.butHuy.Click     += new System.EventHandler(this.butHuy_Click);
     //
     // frmCoso
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(632, 389);
     this.Controls.Add(this.ma);
     this.Controls.Add(this.butHuy);
     this.Controls.Add(this.butBoqua);
     this.Controls.Add(this.butLuu);
     this.Controls.Add(this.butSua);
     this.Controls.Add(this.butMoi);
     this.Controls.Add(this.ten);
     this.Controls.Add(this.makp);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.dataGrid1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "frmCoso";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Danh mục cơ sở y tế,  trạm y tế xã";
     this.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.frmCoso_KeyDown);
     this.Load         += new System.EventHandler(this.frmCoso_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #54
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with theCode editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components      = new System.ComponentModel.Container();
     this.comboBoxUrl     = new System.Windows.Forms.ComboBox();
     this.label1          = new System.Windows.Forms.Label();
     this.buttonOK        = new System.Windows.Forms.Button();
     this.buttonCancel    = new System.Windows.Forms.Button();
     this.buttonHelp      = new System.Windows.Forms.Button();
     this.userPreferences = new MarkThree.UserPreferences(this.components);
     this.SuspendLayout();
     //
     // comboBoxUrl
     //
     this.comboBoxUrl.Location    = new System.Drawing.Point(8, 32);
     this.comboBoxUrl.Name        = "comboBoxUrl";
     this.comboBoxUrl.Size        = new System.Drawing.Size(488, 21);
     this.comboBoxUrl.TabIndex    = 0;
     this.comboBoxUrl.Validating += new System.ComponentModel.CancelEventHandler(this.comboBoxUrl_Validating);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(8, 8);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(184, 16);
     this.label1.TabIndex = 1;
     this.label1.Text     = "Please select a Web Server:";
     //
     // buttonOK
     //
     this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.buttonOK.Location     = new System.Drawing.Point(248, 64);
     this.buttonOK.Name         = "buttonOK";
     this.buttonOK.Size         = new System.Drawing.Size(75, 23);
     this.buttonOK.TabIndex     = 2;
     this.buttonOK.Text         = "OK";
     //
     // buttonCancel
     //
     this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.buttonCancel.Location     = new System.Drawing.Point(336, 64);
     this.buttonCancel.Name         = "buttonCancel";
     this.buttonCancel.Size         = new System.Drawing.Size(75, 23);
     this.buttonCancel.TabIndex     = 3;
     this.buttonCancel.Text         = "Cancel";
     //
     // buttonHelp
     //
     this.buttonHelp.Location = new System.Drawing.Point(424, 64);
     this.buttonHelp.Name     = "buttonHelp";
     this.buttonHelp.Size     = new System.Drawing.Size(75, 23);
     this.buttonHelp.TabIndex = 4;
     this.buttonHelp.Text     = "Help";
     //
     // FormUrl
     //
     this.AcceptButton      = this.buttonOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.buttonCancel;
     this.ClientSize        = new System.Drawing.Size(506, 96);
     this.ControlBox        = false;
     this.Controls.Add(this.buttonHelp);
     this.Controls.Add(this.buttonCancel);
     this.Controls.Add(this.buttonOK);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.comboBoxUrl);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.HelpButton      = true;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "FormUrl";
     this.ShowInTaskbar   = false;
     this.Text            = "Client Connect";
     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()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(XorProblem));
     this.groupBox1           = new System.Windows.Forms.GroupBox();
     this.stopButton          = new System.Windows.Forms.Button();
     this.startButton         = new System.Windows.Forms.Button();
     this.label5              = new System.Windows.Forms.Label();
     this.currentErrorBox     = new System.Windows.Forms.TextBox();
     this.label11             = new System.Windows.Forms.Label();
     this.currentIterationBox = new System.Windows.Forms.TextBox();
     this.label8              = new System.Windows.Forms.Label();
     this.label7              = new System.Windows.Forms.Label();
     this.sigmoidTypeCombo    = new System.Windows.Forms.ComboBox();
     this.errorLimitBox       = new System.Windows.Forms.TextBox();
     this.label3              = new System.Windows.Forms.Label();
     this.alphaBox            = new System.Windows.Forms.TextBox();
     this.label2              = new System.Windows.Forms.Label();
     this.learningRateBox     = new System.Windows.Forms.TextBox();
     this.label1              = new System.Windows.Forms.Label();
     this.label4              = new System.Windows.Forms.Label();
     this.groupBox2           = new System.Windows.Forms.GroupBox();
     this.errorChart          = new Accord.Controls.Chart();
     this.saveFilesCheck      = new System.Windows.Forms.CheckBox();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.stopButton);
     this.groupBox1.Controls.Add(this.startButton);
     this.groupBox1.Controls.Add(this.label5);
     this.groupBox1.Controls.Add(this.currentErrorBox);
     this.groupBox1.Controls.Add(this.label11);
     this.groupBox1.Controls.Add(this.currentIterationBox);
     this.groupBox1.Controls.Add(this.label8);
     this.groupBox1.Controls.Add(this.label7);
     this.groupBox1.Controls.Add(this.sigmoidTypeCombo);
     this.groupBox1.Controls.Add(this.errorLimitBox);
     this.groupBox1.Controls.Add(this.label3);
     this.groupBox1.Controls.Add(this.alphaBox);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.learningRateBox);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Controls.Add(this.label4);
     this.groupBox1.Location = new System.Drawing.Point(16, 15);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(312, 380);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Neural Network";
     //
     // stopButton
     //
     this.stopButton.Enabled  = false;
     this.stopButton.Location = new System.Drawing.Point(176, 329);
     this.stopButton.Name     = "stopButton";
     this.stopButton.Size     = new System.Drawing.Size(120, 33);
     this.stopButton.TabIndex = 28;
     this.stopButton.Text     = "S&top";
     this.stopButton.Click   += new System.EventHandler(this.stopButton_Click);
     //
     // startButton
     //
     this.startButton.Location = new System.Drawing.Point(40, 329);
     this.startButton.Name     = "startButton";
     this.startButton.Size     = new System.Drawing.Size(120, 33);
     this.startButton.TabIndex = 27;
     this.startButton.Text     = "&Start";
     this.startButton.Click   += new System.EventHandler(this.startButton_Click);
     //
     // label5
     //
     this.label5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.label5.Location    = new System.Drawing.Point(16, 308);
     this.label5.Name        = "label5";
     this.label5.Size        = new System.Drawing.Size(280, 3);
     this.label5.TabIndex    = 26;
     //
     // currentErrorBox
     //
     this.currentErrorBox.Location = new System.Drawing.Point(200, 270);
     this.currentErrorBox.Name     = "currentErrorBox";
     this.currentErrorBox.ReadOnly = true;
     this.currentErrorBox.Size     = new System.Drawing.Size(96, 26);
     this.currentErrorBox.TabIndex = 25;
     //
     // label11
     //
     this.label11.Location = new System.Drawing.Point(16, 273);
     this.label11.Name     = "label11";
     this.label11.Size     = new System.Drawing.Size(194, 21);
     this.label11.TabIndex = 24;
     this.label11.Text     = "Current summary error:";
     //
     // currentIterationBox
     //
     this.currentIterationBox.Location = new System.Drawing.Point(200, 234);
     this.currentIterationBox.Name     = "currentIterationBox";
     this.currentIterationBox.ReadOnly = true;
     this.currentIterationBox.Size     = new System.Drawing.Size(96, 26);
     this.currentIterationBox.TabIndex = 23;
     //
     // label8
     //
     this.label8.Location = new System.Drawing.Point(16, 237);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(157, 23);
     this.label8.TabIndex = 22;
     this.label8.Text     = "Current iteration:";
     //
     // label7
     //
     this.label7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.label7.Location    = new System.Drawing.Point(16, 219);
     this.label7.Name        = "label7";
     this.label7.Size        = new System.Drawing.Size(280, 3);
     this.label7.TabIndex    = 21;
     //
     // sigmoidTypeCombo
     //
     this.sigmoidTypeCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.sigmoidTypeCombo.Items.AddRange(new object[] {
         "Unipolar",
         "Bipolar"
     });
     this.sigmoidTypeCombo.Location = new System.Drawing.Point(200, 140);
     this.sigmoidTypeCombo.Name     = "sigmoidTypeCombo";
     this.sigmoidTypeCombo.Size     = new System.Drawing.Size(96, 28);
     this.sigmoidTypeCombo.TabIndex = 9;
     //
     // errorLimitBox
     //
     this.errorLimitBox.Location = new System.Drawing.Point(200, 104);
     this.errorLimitBox.Name     = "errorLimitBox";
     this.errorLimitBox.Size     = new System.Drawing.Size(96, 26);
     this.errorLimitBox.TabIndex = 7;
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(16, 107);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(176, 22);
     this.label3.TabIndex = 6;
     this.label3.Text     = "Learning error limit:";
     //
     // alphaBox
     //
     this.alphaBox.Location = new System.Drawing.Point(200, 67);
     this.alphaBox.Name     = "alphaBox";
     this.alphaBox.Size     = new System.Drawing.Size(96, 26);
     this.alphaBox.TabIndex = 5;
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(16, 70);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(192, 22);
     this.label2.TabIndex = 4;
     this.label2.Text     = "Sigmoid\'s alpha value:";
     //
     // learningRateBox
     //
     this.learningRateBox.Location = new System.Drawing.Point(200, 29);
     this.learningRateBox.Name     = "learningRateBox";
     this.learningRateBox.Size     = new System.Drawing.Size(96, 26);
     this.learningRateBox.TabIndex = 1;
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(16, 32);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(125, 21);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Learning rate:";
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(16, 143);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(160, 22);
     this.label4.TabIndex = 8;
     this.label4.Text     = "Sigmoid\'s type:";
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.errorChart);
     this.groupBox2.Controls.Add(this.saveFilesCheck);
     this.groupBox2.Location = new System.Drawing.Point(344, 15);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(352, 380);
     this.groupBox2.TabIndex = 1;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "Error\'s dynamics";
     //
     // errorChart
     //
     this.errorChart.Location = new System.Drawing.Point(16, 29);
     this.errorChart.Name     = "errorChart";
     this.errorChart.Size     = new System.Drawing.Size(320, 300);
     this.errorChart.TabIndex = 2;
     this.errorChart.Text     = "chart1";
     //
     // saveFilesCheck
     //
     this.saveFilesCheck.Location = new System.Drawing.Point(16, 341);
     this.saveFilesCheck.Name     = "saveFilesCheck";
     this.saveFilesCheck.Size     = new System.Drawing.Size(320, 26);
     this.saveFilesCheck.TabIndex = 1;
     this.saveFilesCheck.Text     = "Save errors to files";
     //
     // XorProblem
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(144F, 144F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Dpi;
     this.ClientSize          = new System.Drawing.Size(708, 409);
     this.Controls.Add(this.groupBox2);
     this.Controls.Add(this.groupBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.Name            = "XorProblem";
     this.Text            = "XOR Problem (Resilient Backpropagation)";
     this.Closing        += new System.ComponentModel.CancelEventHandler(this.MainForm_Closing);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.groupBox2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
예제 #56
0
파일: Theme.cs 프로젝트: raj581/Marvin
 public abstract bool CombBoxBackgroundHasHotElementStyle(ComboBox comboBox);
예제 #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.rateCombo   = new System.Windows.Forms.ComboBox();
     this.label6      = new System.Windows.Forms.Label();
     this.passwordBox = new System.Windows.Forms.TextBox();
     this.label3      = new System.Windows.Forms.Label();
     this.loginBox    = new System.Windows.Forms.TextBox();
     this.label2      = new System.Windows.Forms.Label();
     this.serverBox   = new System.Windows.Forms.TextBox();
     this.label1      = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // rateCombo
     //
     this.rateCombo.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                              | System.Windows.Forms.AnchorStyles.Right);
     this.rateCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.rateCombo.Items.AddRange(new object[] {
         "Uncontrolled",
         "10 frames per second",
         "7 frames per second",
         "5 frames per second",
         "3 frames per second",
         "1 frame per second",
         "12 frames per minute",
         "6 frames per minute",
         "4 frames per minute",
         "3 frames per minute",
         "2 frames per minute",
         "1 frame per minute"
     });
     this.rateCombo.Location = new System.Drawing.Point(70, 100);
     this.rateCombo.Name     = "rateCombo";
     this.rateCombo.Size     = new System.Drawing.Size(220, 21);
     this.rateCombo.TabIndex = 7;
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(10, 103);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(63, 14);
     this.label6.TabIndex = 6;
     this.label6.Text     = "&Frame rate:";
     //
     // passwordBox
     //
     this.passwordBox.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                | System.Windows.Forms.AnchorStyles.Right);
     this.passwordBox.Location = new System.Drawing.Point(70, 70);
     this.passwordBox.Name     = "passwordBox";
     this.passwordBox.Size     = new System.Drawing.Size(220, 20);
     this.passwordBox.TabIndex = 5;
     this.passwordBox.Text     = "";
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(10, 73);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(57, 14);
     this.label3.TabIndex = 4;
     this.label3.Text     = "&Password:"******"loginBox";
     this.loginBox.Size     = new System.Drawing.Size(220, 20);
     this.loginBox.TabIndex = 3;
     this.loginBox.Text     = "";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(10, 43);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(43, 14);
     this.label2.TabIndex = 2;
     this.label2.Text     = "&Login:"******"serverBox";
     this.serverBox.Size         = new System.Drawing.Size(220, 20);
     this.serverBox.TabIndex     = 1;
     this.serverBox.Text         = "";
     this.serverBox.TextChanged += new System.EventHandler(this.serverBox_TextChanged);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(10, 13);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(50, 15);
     this.label1.TabIndex = 0;
     this.label1.Text     = "&Server:";
     //
     // DLinkCameraSetupPage
     //
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.rateCombo,
         this.label6,
         this.passwordBox,
         this.label3,
         this.loginBox,
         this.label2,
         this.serverBox,
         this.label1
     });
     this.Name = "DLinkCameraSetupPage";
     this.Size = new System.Drawing.Size(300, 160);
     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()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmIndmpttt));
     this.butIn      = new System.Windows.Forms.Button();
     this.loai       = new System.Windows.Forms.ComboBox();
     this.muc        = new System.Windows.Forms.CheckedListBox();
     this.pttt       = new System.Windows.Forms.CheckedListBox();
     this.butKetthuc = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // butIn
     //
     this.butIn.Image      = ((System.Drawing.Image)(resources.GetObject("butIn.Image")));
     this.butIn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butIn.Location   = new System.Drawing.Point(263, 353);
     this.butIn.Name       = "butIn";
     this.butIn.Size       = new System.Drawing.Size(70, 25);
     this.butIn.TabIndex   = 13;
     this.butIn.Text       = "&In";
     this.butIn.Click     += new System.EventHandler(this.butIn_Click);
     //
     // loai
     //
     this.loai.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.loai.Font                  = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.loai.Location              = new System.Drawing.Point(8, 9);
     this.loai.Name                  = "loai";
     this.loai.Size                  = new System.Drawing.Size(160, 21);
     this.loai.TabIndex              = 1;
     this.loai.SelectedIndexChanged += new System.EventHandler(this.loai_SelectedIndexChanged);
     this.loai.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.loai_KeyDown);
     //
     // muc
     //
     this.muc.CheckOnClick          = true;
     this.muc.Font                  = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.muc.Location              = new System.Drawing.Point(8, 33);
     this.muc.Name                  = "muc";
     this.muc.Size                  = new System.Drawing.Size(160, 340);
     this.muc.TabIndex              = 17;
     this.muc.SelectedIndexChanged += new System.EventHandler(this.muc_SelectedIndexChanged);
     //
     // pttt
     //
     this.pttt.CheckOnClick = true;
     this.pttt.Font         = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.pttt.Location     = new System.Drawing.Point(171, 7);
     this.pttt.Name         = "pttt";
     this.pttt.Size         = new System.Drawing.Size(525, 340);
     this.pttt.TabIndex     = 18;
     //
     // butKetthuc
     //
     this.butKetthuc.Anchor     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butKetthuc.Image      = ((System.Drawing.Image)(resources.GetObject("butKetthuc.Image")));
     this.butKetthuc.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butKetthuc.Location   = new System.Drawing.Point(333, 353);
     this.butKetthuc.Name       = "butKetthuc";
     this.butKetthuc.Size       = new System.Drawing.Size(70, 25);
     this.butKetthuc.TabIndex   = 19;
     this.butKetthuc.Text       = "&Kết thúc";
     this.butKetthuc.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.butKetthuc.Click     += new System.EventHandler(this.butKetthuc_Click);
     //
     // frmIndmpttt
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(704, 389);
     this.Controls.Add(this.butKetthuc);
     this.Controls.Add(this.pttt);
     this.Controls.Add(this.muc);
     this.Controls.Add(this.loai);
     this.Controls.Add(this.butIn);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "frmIndmpttt";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "In danh mục phẫu thuật - thủ thuật";
     this.Load         += new System.EventHandler(this.frmIndmpttt_Load);
     this.ResumeLayout(false);
 }
예제 #59
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1  = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     System.Windows.Forms.DataVisualization.Charting.Legend    legend1     = new System.Windows.Forms.DataVisualization.Charting.Legend();
     System.Windows.Forms.DataVisualization.Charting.Series    series1     = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint1  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 3);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint2  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 4);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint3  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 7);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint4  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 3);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint5  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 9);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint6  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 7);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint7  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 2);
     System.Windows.Forms.DataVisualization.Charting.Series    series2     = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint8  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 9);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint9  = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 7);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint10 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 5);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint11 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 8);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint12 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 2);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint13 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 1);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint14 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 5);
     System.Windows.Forms.DataVisualization.Charting.Series    series3     = new System.Windows.Forms.DataVisualization.Charting.Series();
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint15 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 8);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint16 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 3);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint17 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 6);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint18 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 1);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint19 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 3);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint20 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 9);
     System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint21 = new System.Windows.Forms.DataVisualization.Charting.DataPoint(0, 2);
     this.chart1             = new System.Windows.Forms.DataVisualization.Charting.Chart();
     this.labelSampleComment = new System.Windows.Forms.Label();
     this.panel1             = new System.Windows.Forms.Panel();
     this.comboBoxTemplate   = new System.Windows.Forms.ComboBox();
     this.label1             = new System.Windows.Forms.Label();
     this.label2             = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // chart1
     //
     this.chart1.BackColor                    = System.Drawing.Color.Goldenrod;
     this.chart1.BackSecondaryColor           = System.Drawing.Color.PaleGoldenrod;
     this.chart1.BackGradientStyle            = System.Windows.Forms.DataVisualization.Charting.GradientStyle.DiagonalLeft;
     this.chart1.BorderlineColor              = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)));
     chartArea1.AxisX.MajorGrid.LineColor     = System.Drawing.Color.Gray;
     chartArea1.AxisX.MajorGrid.LineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Dash;
     chartArea1.AxisY.MajorGrid.LineColor     = System.Drawing.Color.Gray;
     chartArea1.AxisY.MajorGrid.LineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Dash;
     chartArea1.BackColor   = System.Drawing.Color.Transparent;
     chartArea1.BorderColor = System.Drawing.Color.Empty;
     chartArea1.Name        = "Default";
     this.chart1.ChartAreas.Add(chartArea1);
     legend1.Alignment   = System.Drawing.StringAlignment.Center;
     legend1.BackColor   = System.Drawing.Color.Transparent;
     legend1.BorderColor = System.Drawing.Color.Transparent;
     legend1.Docking     = System.Windows.Forms.DataVisualization.Charting.Docking.Bottom;
     legend1.LegendStyle = System.Windows.Forms.DataVisualization.Charting.LegendStyle.Row;
     legend1.Name        = "Default";
     this.chart1.Legends.Add(legend1);
     this.chart1.Location       = new System.Drawing.Point(16, 40);
     this.chart1.Name           = "chart1";
     this.chart1.Palette        = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.EarthTones;
     series1.BackSecondaryColor = System.Drawing.Color.Khaki;
     series1.BackGradientStyle  = System.Windows.Forms.DataVisualization.Charting.GradientStyle.VerticalCenter;
     series1.BorderColor        = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)));
     series1.Name = "Series1";
     series1.Points.Add(dataPoint1);
     series1.Points.Add(dataPoint2);
     series1.Points.Add(dataPoint3);
     series1.Points.Add(dataPoint4);
     series1.Points.Add(dataPoint5);
     series1.Points.Add(dataPoint6);
     series1.Points.Add(dataPoint7);
     series1.ShadowOffset       = 2;
     series2.BackSecondaryColor = System.Drawing.Color.Khaki;
     series2.BackGradientStyle  = System.Windows.Forms.DataVisualization.Charting.GradientStyle.VerticalCenter;
     series2.BorderColor        = System.Drawing.Color.FromArgb(((System.Byte)(64)), ((System.Byte)(64)), ((System.Byte)(64)));
     series2.Name = "Series2";
     series2.Points.Add(dataPoint8);
     series2.Points.Add(dataPoint9);
     series2.Points.Add(dataPoint10);
     series2.Points.Add(dataPoint11);
     series2.Points.Add(dataPoint12);
     series2.Points.Add(dataPoint13);
     series2.Points.Add(dataPoint14);
     series2.ShadowOffset = 2;
     series3.BorderColor  = System.Drawing.Color.LightGray;
     series3.BorderWidth  = 3;
     series3.ChartType    = SeriesChartType.Spline;
     series3.Name         = "Series3";
     series3.Points.Add(dataPoint15);
     series3.Points.Add(dataPoint16);
     series3.Points.Add(dataPoint17);
     series3.Points.Add(dataPoint18);
     series3.Points.Add(dataPoint19);
     series3.Points.Add(dataPoint20);
     series3.Points.Add(dataPoint21);
     series3.ShadowOffset = 2;
     this.chart1.Series.Add(series1);
     this.chart1.Series.Add(series2);
     this.chart1.Series.Add(series3);
     this.chart1.Size     = new System.Drawing.Size(412, 296);
     this.chart1.TabIndex = 0;
     //
     // labelSampleComment
     //
     this.labelSampleComment.Font      = new System.Drawing.Font("Verdana", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.labelSampleComment.Location  = new System.Drawing.Point(16, 8);
     this.labelSampleComment.Name      = "labelSampleComment";
     this.labelSampleComment.Size      = new System.Drawing.Size(702, 24);
     this.labelSampleComment.TabIndex  = 2;
     this.labelSampleComment.Text      = "This sample demonstrates how to load appearance templates using serialization.";
     this.labelSampleComment.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // panel1
     //
     this.panel1.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.comboBoxTemplate,
         this.label1
     });
     this.panel1.Location = new System.Drawing.Point(432, 48);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(292, 288);
     this.panel1.TabIndex = 1;
     //
     // comboBoxTemplate
     //
     this.comboBoxTemplate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxTemplate.Items.AddRange(new object[] {
         "None",
         "WhiteSmoke",
         "SkyBlue",
         "WarmTones"
     });
     this.comboBoxTemplate.Location              = new System.Drawing.Point(168, 8);
     this.comboBoxTemplate.Name                  = "comboBoxTemplate";
     this.comboBoxTemplate.TabIndex              = 1;
     this.comboBoxTemplate.SelectedIndexChanged += new System.EventHandler(this.comboBoxTemplate_SelectedIndexChanged);
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(56, 8);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(104, 23);
     this.label1.TabIndex  = 0;
     this.label1.Text      = "&Template:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label2
     //
     this.label2.Font     = new System.Drawing.Font("Verdana", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label2.Location = new System.Drawing.Point(16, 344);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(702, 48);
     this.label2.TabIndex = 3;
     this.label2.Text     = "Template files are in an XML format, and can be created using any text editor or " +
                            "by using the Save method of the ChartSerializer class.";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // Templates
     //
     this.BackColor = System.Drawing.Color.White;
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.label2,
         this.panel1,
         this.labelSampleComment,
         this.chart1
     });
     this.Font  = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Name  = "Templates";
     this.Size  = new System.Drawing.Size(728, 440);
     this.Load += new System.EventHandler(this.Templates_Load);
     ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit();
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
예제 #60
-1
        private void GetAppointmentIDsAndTests()
        {
            this.Clear();

            DataGridViewComboBoxColumn cmb = new DataGridViewComboBoxColumn();
            cmb.HeaderText = "Select Test";
            ComboBox cbTests = new ComboBox();
            foreach (LabTest test in testList)
            {
                cmb.Items.Add(test.TestType);
            }
            dgvAddTest.Columns.Add(cmb);

            

            //cbAppointmentID.SelectedIndexChanged -= cbAppointmentID_SelectedIndexChanged;
            //cbAppointmentID.DataSource = null;
            //cbAppointmentID.Items.Clear();
            //cbAppointmentID.SelectedIndexChanged += cbAppointmentID_SelectedIndexChanged;

            //appointmentsList = AppointmentController.GetAppointmentsWithoutDiagnosis();
            //cbAppointmentID.DataSource = appointmentsList;
            //cbAppointmentID.DisplayMember = "AppointmentID";
            //cbAppointmentID.ValueMember = "AppointmentID";

            //cbTest.SelectedIndexChanged -= cbTest_SelectedIndexChanged;
            //cbTest.DataSource = null;
            //cbTest.Items.Clear();
            //cbTest.SelectedIndexChanged += cbTest_SelectedIndexChanged;

            //testList = LabTestController.GetAllLabTests();
            //cbTest.DataSource = testList;
            //cbTest.DisplayMember = "TestType";
            //cbTest.ValueMember = "TestId";
        }