Esempio n. 1
0
 public static void ContraseniasIguales(string PwdNueva, string PwdReNueva, object sender, ErrorProvider errorProvider, CancelEventArgs e)
 {
     if (PwdNueva != PwdReNueva)
     {
         errorProvider.SetError(((TextBox)sender), "Las Contraseñas no son Iguales");
     }
 }
Esempio n. 2
0
        public static bool ContraseniaSegura(string Pwd, ErrorProvider error, object sender)
        {
            bool Estado = false;
            Regex Mayuscula = new Regex("[A-Z]");
            Regex Minuscula = new Regex("[a-z]");
            Regex Numeros = new Regex("[0-9]");
            Regex Especial = new Regex("[^a-zA-Z0-9]");

            if (Pwd.Length >= 6)
            {
                if (Mayuscula.Matches(Pwd).Count >= 1)
                {
                    if (Minuscula.Matches(Pwd).Count >= 1)
                    {
                        if (Numeros.Matches(Pwd).Count >= 1)
                        {
                            if (Especial.Matches(Pwd).Count >= 1)
                            {
                                Estado = true;
                            }
                        }
                    }
                }
            }

            if (!Estado)
            {
                error.SetError(((TextBox)sender), "La Contraseña es Insegura");
            }
            return Estado;
        }
Esempio n. 3
0
 public NewChampForm(MainForm mainForm)
 {
     InitializeComponent();
     this.mainForm = mainForm;
     this.picPath = null;
     this.ep = new ErrorProvider();
 }
        public Approach_DetailContent()
        {
            InitializeComponent();

            this.Group = "畢業學生進路";
            _RunningKey = "";

            this.Load += new EventHandler(Form_Load);
            this.form_loaded = false;
            _Errors = new ErrorProvider();
            _Listener = new ChangeListener();
            _Listener.Add(new DataGridViewSource(this.dgvData));
            _Listener.Add(new TextBoxSource(this.txtSurveyYear));
            _Listener.Add(new TextBoxSource(this.txtMemo));
            _Listener.StatusChanged += new EventHandler<ChangeEventArgs>(Listener_StatusChanged);

            this.dgvData.CellEnter += new DataGridViewCellEventHandler(dgvData_CellEnter);
            this.dgvData.CurrentCellDirtyStateChanged += new EventHandler(dgvData_CurrentCellDirtyStateChanged);
            this.dgvData.EditingControlShowing += new DataGridViewEditingControlShowingEventHandler(dgvData_EditingControlShowing);
            this.dgvData.DataError += new DataGridViewDataErrorEventHandler(dgvData_DataError);
            this.dgvData.ColumnHeaderMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dgvData_ColumnHeaderMouseClick);
            this.dgvData.RowHeaderMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dgvData_RowHeaderMouseClick);
            this.dgvData.MouseClick += new System.Windows.Forms.MouseEventHandler(this.dgvData_MouseClick);

            _BGWLoadData = new BackgroundWorker();
            _BGWLoadData.DoWork += new DoWorkEventHandler(_BGWLoadData_DoWork);
            _BGWLoadData.RunWorkerCompleted += new RunWorkerCompletedEventHandler(_BGWLoadData_RunWorkerCompleted);

            _BGWSaveData = new BackgroundWorker();
            _BGWSaveData.DoWork += new DoWorkEventHandler(_BGWSaveData_DoWork);
            _BGWSaveData.RunWorkerCompleted += new RunWorkerCompletedEventHandler(_BGWSaveData_RunWorkerCompleted);
        }
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="parent">The MDI parent.</param>
        public PilotDataLoaderForm(Form parent)
        {
            _parent = parent;

            InitializeComponent();

            _proxySettings = ProxySettingsDTO.GetProxySettings();

            LoadTourDefs();

            _StartTourErrorProvider = new System.Windows.Forms.ErrorProvider();
            _StartTourErrorProvider.SetIconAlignment(this.txtbxStartTour, ErrorIconAlignment.MiddleRight);
            _StartTourErrorProvider.SetIconPadding(this.txtbxStartTour, 2);
            _StartTourErrorProvider.BlinkRate = 700;
            _StartTourErrorProvider.BlinkStyle = System.Windows.Forms.ErrorBlinkStyle.AlwaysBlink;

            _EndTourErrorProvider = new System.Windows.Forms.ErrorProvider();
            _EndTourErrorProvider.SetIconAlignment(this.txtbxEndTour, ErrorIconAlignment.MiddleRight);
            _EndTourErrorProvider.SetIconPadding(this.txtbxEndTour, 2);
            _EndTourErrorProvider.BlinkRate = 700;
            _EndTourErrorProvider.BlinkStyle = System.Windows.Forms.ErrorBlinkStyle.AlwaysBlink;

            _PilotNameErrorProvider = new System.Windows.Forms.ErrorProvider();
            _PilotNameErrorProvider.SetIconAlignment(this.txtbxPilotToLoad, ErrorIconAlignment.MiddleRight);
            _PilotNameErrorProvider.SetIconPadding(this.txtbxPilotToLoad, 2);
            _PilotNameErrorProvider.BlinkRate = 700;
            _PilotNameErrorProvider.BlinkStyle = System.Windows.Forms.ErrorBlinkStyle.AlwaysBlink;

            _TourTypeSelectorErrorProvider = new System.Windows.Forms.ErrorProvider();
            _TourTypeSelectorErrorProvider.SetIconAlignment(this.txtbxPilotToLoad, ErrorIconAlignment.MiddleRight);
            _TourTypeSelectorErrorProvider.SetIconPadding(this.txtbxPilotToLoad, 2);
            _TourTypeSelectorErrorProvider.BlinkRate = 700;
            _TourTypeSelectorErrorProvider.BlinkStyle = System.Windows.Forms.ErrorBlinkStyle.AlwaysBlink;
        }
 public ProjectBehavioralTestControl(Project project, int behavioralTestIndex, ErrorProvider errorProvider)
 {
     _BehavioralTest = project.BehavioralTests[behavioralTestIndex];
     InitializeComponent();
     _ErrorProvider = errorProvider;
     lblBehavioralTest.Text = project.BehavioralTests[behavioralTestIndex].Name;
 }
Esempio n. 7
0
 public ServerDialog(int editId)
 {
     InitializeComponent();
     IsInEditMode = true;
     EditId = editId;
     errProv = new ErrorProvider(this);
 }
Esempio n. 8
0
        private void LineName_ok_Click(object sender, EventArgs e)
        {
            ErrorProvider error = null;
            if (this.LineName.Text == "")
            {
                error = new ErrorProvider();
                error.SetError(this.LineName, "Enter line name");
                error_Label.Text = "Enter line name";
            }

            SQLiteDataReader db_data_lines;
            SQLiteCommand db_cmd_lines = ProjectClass.db_con.CreateCommand(); ;
            db_cmd_lines.CommandText = "SELECT name FROM lines ;";
            db_data_lines = db_cmd_lines.ExecuteReader();
            while (db_data_lines.Read())
                if (this.LineName.Text == db_data_lines.GetString(0))
                {
                    error = new ErrorProvider();
                    error.SetError(this.LineName, "line name exists");
                    error_Label.Text = "line name exists";
                    return;
                }

            {
                linename = this.LineName.Text;
                this.DialogResult = DialogResult.OK;

            }
        }
Esempio n. 9
0
 /// <summary>
 /// Αυτή η μέθοδος δέχεται ένα Control και ελέγχει αν το Text property
 /// είναι κενό. (Δεκτά Controls = RichTextbox, ComboBox)
 /// </summary>
 /// <param name="c">Το Control που θέλουμε να κάνουμε validate</param>
 /// <param name="errorProvider">O ErrorProvider</param>
 /// <returns>true/false</returns>
 public bool ValidateRequired(Control c, ErrorProvider errorProvider)
 {
     if (c == null) return false;
     if (c is RichTextBox)
     {
         if (string.IsNullOrEmpty(c.Text.Trim()))
         {
             errorProvider.SetError(c, "Required field.");
             return false;
         }
         errorProvider.SetError(c, "");
         return true;
     }
     if (c is ComboBox)
     {
         if (((ComboBox)c).SelectedIndex == -1)
         {
             errorProvider.SetError(c, "Required field.");
             return false;
         }
         errorProvider.SetError(c, "");
         return true;
     }
     if (c is TextBox)
     {
         if (string.IsNullOrEmpty(((TextBox)c).Text.Trim()))
         {
             errorProvider.SetError(c, "Required field.");
             return false;
         }
         errorProvider.SetError(c, "");
         return true;
     }
     return false;
 }
        public void OnInstanceConstructed()
        {
            _currentForm = (Form) Instance;
            _controlledBindings = new List<ControlledBinding>();

            var errorProvider = Instance.GetType()
                                         .GetFields(BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance)
                                         .FirstOrDefault(x => x.FieldType == typeof(ErrorProvider));

            if (errorProvider != null)
            {
                _currentErrorProvider = (ErrorProvider)errorProvider.GetValue(Instance);
            }
            else
            {
                _currentErrorProvider = new ErrorProvider(_currentForm);
            }

            var bindingSources = Instance.GetType()
                                         .GetFields(BindingFlags.NonPublic | BindingFlags.Public |BindingFlags.Instance)
                                         .Where(x => x.FieldType == typeof(BindingSource));

            foreach (var bindingSource in bindingSources)
            {
               ((BindingSource)bindingSource.GetValue(Instance)).CurrentChanged += OnCurrentChanged;
            }
        }
Esempio n. 11
0
 public RegisterForm(MainForm mainForm)
 {
     InitializeComponent();
     this.mainForm = mainForm;
     mainForm.getClient().getAdvisorList();
     ep = new ErrorProvider();
 }
Esempio n. 12
0
        public Roba(ErrorProvider ponudaErrorProvider, TextBox robaTextBox, TextBox cena, TextBox cenaUgradnje, TextBox normaSati, Int32 roba_ID)
            : this()
        {
            this.ControlBox = true;
            this.MinimizeBox = false;
            this.StartPosition = FormStartPosition.CenterParent;

            RobaTextBox = robaTextBox;
            CenaTextBox = cena;
            CenaUgradnjeTextBox = cenaUgradnje;
            NormaSatiTextBox = normaSati;
            PonudaErrorProvider = ponudaErrorProvider;


            robaDataGridView.CellMouseDoubleClick += new DataGridViewCellMouseEventHandler(robaDataGridView_CellMouseDoubleClick);

            try
            {
                DBRoba.NadjiRobu(robaDataSet.vwRoba, roba_ID);
            }
            catch (Exception)
            {
                //nista
            }
        }
 public Delete_Patients()
 {
     InitializeComponent();
     ValidateData = new Data_Validator();
     Error = new ErrorProvider();
     Delete = new DCEntities();
 }
        private void btnSave_Click(object sender, EventArgs e)
        {
            ErrorProvider errorProvider1 = new ErrorProvider();
            if (string.IsNullOrWhiteSpace(this.txtSubject.Text))
            {
                errorProvider1.SetError(this.txtSubject, "必填。");
                return;
            }
            else
                errorProvider1.SetError(this.txtSubject, "");

            try
            {
                this.btnSave.Enabled = false;
                conf.Content = webBrowser1.Document.Body.InnerHtml.Replace("<div id=\"editable\">", string.Empty);
                conf_subject.Content = this.txtSubject.Text.Trim();
                List<ActiveRecord> recs = new List<ActiveRecord>();
                recs.Add(conf);
                recs.Add(conf_subject);
                (new AccessHelper()).UpdateValues(recs);
                MessageBox.Show("儲存成功。");
                //this.Close();
            }
            catch (Exception ex)
            {
                MsgBox.Show(ex.Message);
            }
            finally
            {
                this.btnSave.Enabled = true;
            }
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="FormValidator"/> class. 
        /// And bind this instance to corresponding form;
        /// </summary>
        public FormValidator(Form form)
        {
            // check if validator is already exists for this form;
            if (validators.ContainsKey(form))
                throw new InvalidOperationException("This form already has a validator, you can't create another one.");

            // construct providers
            errorProvider = new ErrorProvider(form)
                {
                    BlinkStyle = ErrorBlinkStyle.NeverBlink,
                    Icon = Teleavtomatika_Form_Validation.Properties.Resources.RedCircle
                };

            exclamationProvider = new ErrorProvider(form)
            {
                BlinkStyle = ErrorBlinkStyle.NeverBlink,
                Icon = Teleavtomatika_Form_Validation.Properties.Resources.YellowCircle
            };

            // bind to form and add to validators dictionary
            this.form = form;
            if (!validators.TryAdd(form, this))
                throw new InvalidOperationException("Can't create FormValidator.");

            // create validation timer and start it
            timer = new System.Windows.Forms.Timer() { Interval = 100, Enabled = true };
            timer.Tick += new EventHandler(timer_Tick);

            // bind object disposing to form disposed event
            form.Disposed += (s, e) => Dispose();

            // remember created thread
            thread = Thread.CurrentThread;
        }
Esempio n. 16
0
 public static bool ValidateComboBox(ComboBox boxes, ErrorProvider errorProvider)
 {
     if (!boxes.SelectedIndex.Equals(-1))
         return true;
     errorProvider.SetError(boxes, "Este campo es obligatorio");
     return false;
 }
Esempio n. 17
0
 public static bool ValidateCheckList(CheckedListBox boxes, ErrorProvider errorProvider)
 {
     if(boxes.CheckedItems.Count > 0)
         return true;
     errorProvider.SetError(boxes, "Este campo es obligatorio");
     return false;
 }
Esempio n. 18
0
        public frmPreferences()
        {
            InitializeComponent();

            foreach (Form form in Application.OpenForms)
            {
                if (form.Name == "frmMain")
                {
                    frm = ((frmMain)form);
                    break;
                }
            }

            wsrv.PreferencesSetCompleted += new krw.PreferencesSetCompletedEventHandler(PreferencesSetCompleted);
            wsrv.AdminPwSetCompleted += new krw.AdminPwSetCompletedEventHandler(AdminPwSetCompleted);
            wsrv.WatermarkStatusGetCompleted += new krw.WatermarkStatusGetCompletedEventHandler(WatermarkStatusGetCompleted);
            wsrv.WatermarkStatusSetCompleted += new krw.WatermarkStatusSetCompletedEventHandler(WatermarkStatusSetCompleted);
            wsrv.SpecRightClickGetCompleted += new krw.SpecRightClickGetCompletedEventHandler(SpecRightClickGetCompleted);
            wsrv.SpecRightClickSetCompleted += new krw.SpecRightClickSetCompletedEventHandler(SpecRightClickSetCompleted);
            wsrv.WebsiteTitlesGetCompleted += new krw.WebsiteTitlesGetCompletedEventHandler(WebsiteTitlesGetCompleted);
            wsrv.WebsiteTitlesChangeCompleted += new krw.WebsiteTitlesChangeCompletedEventHandler(WebsiteTitlesChangeCompleted);
            wsrv.ScrollTextGetCompleted += new krw.ScrollTextGetCompletedEventHandler(ScrollTextGetCompleted);
            wsrv.ScrollTextChangeCompleted += new krw.ScrollTextChangeCompletedEventHandler(ScrollTextChangeCompleted);
            wsrv.LogoUploadCompleted += new krw.LogoUploadCompletedEventHandler(LogoUploadCompleted);
            wsrv.LogoDownloadCompleted += new krw.LogoDownloadCompletedEventHandler(LogoDownloadCompleted);
            wsrv.GoogleAllCompleted += new krw.GoogleAllCompletedEventHandler(GoogleAllCompleted);
            wsrv.GoogleAddCompleted += new krw.GoogleAddCompletedEventHandler(GoogleAddCompleted);
            wsrv.GoogleEditCompleted += new krw.GoogleEditCompletedEventHandler(GoogleEditCompleted);
            wsrv.GoogleEraseCompleted += new krw.GoogleEraseCompletedEventHandler(GoogleEraseCompleted);

            errProvider = new ErrorProvider();

            this.dgvLogoTitles.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
        }
Esempio n. 19
0
        public Usluga(ErrorProvider ponudaErrorProvider, TextBox artikalTextBox, TextBox cena, TextBox cenaUgradnje, TextBox normaSati, Int32 usluga_ID)
            : this()
        {
            this.ControlBox = true;
            this.MinimizeBox = false;
            this.StartPosition = FormStartPosition.CenterParent;

            UslugaTextBox = artikalTextBox;
            CenaTextBox = cena;
            CenaUgradnjeTextBox = cenaUgradnje;
            NormaSatiTextBox = normaSati;
            PonudaErrorProvider = ponudaErrorProvider;


            this.uslugaDataGridView.CellMouseDoubleClick += new DataGridViewCellMouseEventHandler(uslugaDataGridView_CellMouseDoubleClick);

            try
            {
                DBUsluga.NadjiUslugu(uslugaDataSet.vwUsluga, usluga_ID);
            }
            catch (Exception)
            {
                //nista
            }
        }
Esempio n. 20
0
        public bool formValido(ErrorProvider errorProvider)
        {
            bool validado = true;

            foreach (var objeto in objetosValidar)
            {
                switch (objeto.Tipo)
                {
                    case TipoCampos.Texto:
                        if (((TextBox)objeto.Objeto).Text == string.Empty)
                        {
                            errorProvider.SetError((Control)objeto.Objeto, objeto.Mensaje == string.Empty ? "Debe ingresar el valor solicidado" : objeto.Mensaje);
                            validado = false;
                        }

                        break;
                    case TipoCampos.Numero:
                        break;
                    default:
                        break;
                }
            }

            return validado;
        }
 public MaskedTextBoxTextEditorDropDown(MaskedTextBox maskedTextBox)
 {
     this.cloneMtb = MaskedTextBoxDesigner.GetDesignMaskedTextBox(maskedTextBox);
     this.errorProvider = new ErrorProvider();
     ((ISupportInitialize) this.errorProvider).BeginInit();
     base.SuspendLayout();
     this.cloneMtb.Dock = DockStyle.Fill;
     this.cloneMtb.TextMaskFormat = MaskFormat.IncludePromptAndLiterals;
     this.cloneMtb.ResetOnPrompt = true;
     this.cloneMtb.SkipLiterals = true;
     this.cloneMtb.ResetOnSpace = true;
     this.cloneMtb.Name = "MaskedTextBoxClone";
     this.cloneMtb.TabIndex = 0;
     this.cloneMtb.MaskInputRejected += new MaskInputRejectedEventHandler(this.maskedTextBox_MaskInputRejected);
     this.cloneMtb.KeyDown += new KeyEventHandler(this.maskedTextBox_KeyDown);
     this.errorProvider.BlinkStyle = ErrorBlinkStyle.NeverBlink;
     this.errorProvider.ContainerControl = this;
     base.Controls.Add(this.cloneMtb);
     this.BackColor = SystemColors.Control;
     base.BorderStyle = BorderStyle.FixedSingle;
     base.Name = "MaskedTextBoxTextEditorDropDown";
     base.Padding = new Padding(0x10);
     base.Size = new Size(100, 0x34);
     ((ISupportInitialize) this.errorProvider).EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
 public PolicyDesignerErrorProvider(
     Interfaces.IErrorProviderCollection errorProviderCollection,
     ErrorProvider errorProvider)
 {
     m_parentCollection = errorProviderCollection;
     m_errorProvider = errorProvider;
 }
        /// <summary>
        /// Initializes a new instance of the 'DateTimePickerPresentation' class.
        /// </summary>
        /// <param name="maskedTextBox">.NET MaskedTextBox reference.</param>
        /// <param name="dateTimePicker">.NET DateTimePicker reference.</param>
        public DateTimePickerPresentation(MaskedTextBox maskedTextBox, DateTimePicker dateTimePicker)
        {
            mMaskedTextBoxIT = maskedTextBox;
            mDateTimePickerIT = dateTimePicker;
            if (mMaskedTextBoxIT != null)
            {
                // Create and configure the ErrorProvider control.
                mErrorProvider = new ErrorProvider();
                mErrorProvider.BlinkStyle = System.Windows.Forms.ErrorBlinkStyle.NeverBlink;

                // Link MaskedTextBox control events.
                mMaskedTextBoxIT.GotFocus += new EventHandler(HandleMaskedTextBoxITGotFocus);
                mMaskedTextBoxIT.LostFocus += new EventHandler(HandleMaskedTextBoxITLostFocus);
                mMaskedTextBoxIT.TextChanged += new EventHandler(HandleMaskedTextBoxITTextChanged);
                mMaskedTextBoxIT.EnabledChanged += new EventHandler(HandleMaskedTextBoxITEnabledChanged);
                mMaskedTextBoxIT.KeyDown += new KeyEventHandler(HandleMaskedTextBoxITKeyDown);
            }

            if (dateTimePicker != null)
            {
                mDateTimePickerIT.Enter += new System.EventHandler(HandleDateTimePickerITEnter);
                mDateTimePickerIT.KeyUp += new System.Windows.Forms.KeyEventHandler(HandleDateTimePickerITKeyUp);
                mDateTimePickerIT.DropDown += new System.EventHandler(HandleDateTimePickerITDropDown);
                mDateTimePickerIT.CloseUp += new System.EventHandler(HandleDateTimePickerCloseUp);
            }
        }
        public Approach_DetailContent()
        {
            InitializeComponent();

            Access = new AccessHelper();
            Query = new QueryHelper();
            dicSurveyFields = new Dictionary<decimal, IEnumerable<string>>();

            this.Group = "畢業學生進路";
            _RunningKey = "";

            this.Load += new EventHandler(Form_Load);
            this.form_loaded = false;
            _Errors = new ErrorProvider();
            _Listener = new ChangeListener();
            _Listener.Add(new DataGridViewSource(this.dgvData));
            _Listener.Add(new TextBoxSource(this.txtMemo));
            _Listener.Add(new NumericUpDownSource(this.txtSurveyYear));
            _Listener.StatusChanged += new EventHandler<ChangeEventArgs>(Listener_StatusChanged);

            this.dgvData.CellEnter += new DataGridViewCellEventHandler(dgvData_CellEnter);
            this.dgvData.CurrentCellDirtyStateChanged += new EventHandler(dgvData_CurrentCellDirtyStateChanged);
            this.dgvData.DataError += new DataGridViewDataErrorEventHandler(dgvData_DataError);
            this.dgvData.ColumnHeaderMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dgvData_ColumnHeaderMouseClick);
            this.dgvData.RowHeaderMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dgvData_RowHeaderMouseClick);
            this.dgvData.MouseClick += new System.Windows.Forms.MouseEventHandler(this.dgvData_MouseClick);

            _BGWLoadData = new BackgroundWorker();
            _BGWLoadData.DoWork += new DoWorkEventHandler(_BGWLoadData_DoWork);
            _BGWLoadData.RunWorkerCompleted += new RunWorkerCompletedEventHandler(_BGWLoadData_RunWorkerCompleted);

            _BGWSaveData = new BackgroundWorker();
            _BGWSaveData.DoWork += new DoWorkEventHandler(_BGWSaveData_DoWork);
            _BGWSaveData.RunWorkerCompleted += new RunWorkerCompletedEventHandler(_BGWSaveData_RunWorkerCompleted);
        }
 public TeacherExtDetail()
     : base()
 {
     InitializeComponent();
     ErrorProvider1 = new ErrorProvider();
     this.Group = "教師基本資料";
 }
        public UserInfoManager()
        {
            InitializeComponent();
            _errorProvider = new ErrorProvider();

            //lblUserid.Text = "【 " + CurrentUser.Instance.UserName + " 】";
        }
Esempio n. 27
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.inputText = new System.Windows.Forms.TextBox();
     this.errorProvider1 = new System.Windows.Forms.ErrorProvider();
     this.SuspendLayout();
     //
     // inputText
     //
     this.inputText.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
         | System.Windows.Forms.AnchorStyles.Right)));
     this.inputText.Location = new System.Drawing.Point(8, 24);
     this.inputText.Name = "inputText";
     this.inputText.Size = new System.Drawing.Size(384, 20);
     this.inputText.TabIndex = 0;
     this.inputText.Text = "";
     this.inputText.Validating += new System.ComponentModel.CancelEventHandler(this.inputText_Validating);
     //
     // errorProvider1
     //
     this.errorProvider1.ContainerControl = this;
     //
     // StringEntry
     //
     this.Controls.Add(this.inputText);
     this.Name = "StringEntry";
     this.Size = new System.Drawing.Size(408, 80);
     this.ResumeLayout(false);
 }
        private void button1_Click(object sender, EventArgs e)
        {
            if (IDtextBox.Text.Length == 0)
            {
                ErrorProvider error = new ErrorProvider();
                Utilities.Utilitarios.Validacion(DescripciontextBox, error, "No puede haver campos en blanco");
                registro.Descripcion = DescripciontextBox.Text;

                if (registro.Insertar())
                {
                    MessageBox.Show("Se guardaron los datos!");
                }
                else
                {
                    MessageBox.Show("No se han guardado los datos!");
                }

            }
            else if(IDtextBox.Text.Length > 0)
            {
                int.TryParse(IDtextBox.Text, out certificacionId);
                registro.CertificacionID = certificacionId;

                registro.Descripcion = DescripciontextBox.Text;

                if (registro.Editar())
                {
                    MessageBox.Show("Se han actualizado los datos!");
                }
                else
                {
                    MessageBox.Show("No se han guardado los datos!");
                }
            }
        }
        private void button1_Click(object sender, EventArgs e)
        {
            ErrorProvider erro = new ErrorProvider();
            if(TitulotextBox.Text.Length == 0 || DescripcionrichTextBox.Text.Length == 0)
            {
                erro.SetError(TitulotextBox,"No puede dejar este campo vacio");
                erro.SetError(DescripcionrichTextBox,"Debe llenar este campo");
            }
            else
            {
                Pelicula p = new Pelicula();
                p.Titulo = TitulotextBox.Text;
                p.Descripcion = DescripcionrichTextBox.Text;

                int resultado = PeliculaConexion.Agregar(p);

                if(resultado > 0)
                {
                    MessageBox.Show("Se guardo la Pelicula", "Mensaje", MessageBoxButtons.OK, MessageBoxIcon.Information);
                    TitulotextBox.Text = "";
                    DescripcionrichTextBox.Text = "";
                }
                else
                {
                    MessageBox.Show("No se pudo guardar la pelicula", "Mensaje", MessageBoxButtons.OK, MessageBoxIcon.Error);
                }

            }
        }
Esempio n. 30
0
 public DataWraper(Type tableName, BindingSource componentId, ErrorProvider errorProvider)
 {
     errorProvider1 = errorProvider;
     
     bindingSourceMain = componentId;
     bindingSourceMain.PositionChanged += bindingSourceMain_PositionChanged;
     InitializeComponent();
     WrapperBindingSource.PositionChanged += WrapperBindingSource_PositionChanged;
     WrapperBindingSource.DataSource = tableName.GetType();
     //Type yy = tableName.GetType();
     Text = tableName.Name + "s";
     dataTableAdaptor = new MySqlTableAdaptor(tableName);
     dataTable = dataTableAdaptor.GetTable();
     WrapperBindingSource.DataSource = dataTable;
     errorProvider1.DataSource = WrapperBindingSource;
     if (componentId.Current != null)
     {
         WrapperBindingSource.Position = (int)componentId.Current;
     }
     WrapperID.DataBindings.Add("Text", WrapperBindingSource, "ID");
     WrapperComboBox.DataSource = dataTable;
     WrapperComboBox.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
     WrapperComboBox.AutoCompleteSource = AutoCompleteSource.ListItems;
     WrapperComboBox.DisplayMember = dataTable.Columns[1].ColumnName;
     WrapperComboBox.ValueMember = dataTable.Columns[0].ColumnName;
     //WrapperComboBox.DataSource = WrapperBindingSource;
     WrapperComboBox.SelectedValueChanged += WrapperComboBox_SelectedValueChanged;
     WrapperComponentSelection.Click+=WrapperComponentSelection_Click;
     WrapperComboBox.Validated += WrapperComboBox_Validated;
     WrapperLabel.Text = tableName.Name;
     WrapperID.TextChanged += WrapperID_TextChanged;
     //WrapperComboBox.DataBin
     type = tableName;
 }
Esempio n. 31
0
        protected override IRawElementProviderSimple GetProvider()
        {
            SWF.Label label1 = new SWF.Label();
            label1.Text     = "hola";
            label1.Size     = new System.Drawing.Size(30, 30);
            label1.Location = new System.Drawing.Point(1, 1);

            Form.Controls.Add(label1);

            SWF.Label label2 = new SWF.Label();
            label2.Text     = "mundo";
            label2.Size     = new System.Drawing.Size(30, 30);
            label2.Location = new System.Drawing.Point(1, 32);

            Form.Controls.Add(label2);

            SWF.ErrorProvider errorProvider = new SWF.ErrorProvider();
            errorProvider.SetError(label1, "Error: hola");
            errorProvider.SetError(label2, "Error: mundo");

            IRawElementProviderSimple   provider = null;
            IRawElementProviderFragment child    =
                (IRawElementProviderFragment)FormProvider.Navigate(NavigateDirection.FirstChild);

            while (child != null)
            {
                if ((int)child.GetPropertyValue(AutomationElementIdentifiers.ControlTypeProperty.Id)
                    != ControlType.Text.Id)
                {
                    provider = child;
                }
                child = child.Navigate(NavigateDirection.NextSibling);
            }

            Assert.IsNotNull(provider, "We should have a provider different than Text");

            return(provider);
        }
Esempio n. 32
0
        private void uc_Treatments_Load(object sender, EventArgs e)
        {
            errP = new ErrorProvider();

            connStr = @"Data Source = .\SQLEXPRESS; Initial Catalog = NWRC_HairBeauty; Integrated Security = true";
            //connStr = @"Data Source = .; Initial Catalog = NWRC_HairBeauty; Integrated Security = true";

            sqlTreat  = @"SELECT * from Treatments";
            daTreat   = new SqlDataAdapter(sqlTreat, connStr);
            cmdBTreat = new SqlCommandBuilder(daTreat);
            daTreat.FillSchema(dsNWRC_HairBeauty, SchemaType.Source, "Treatments");
            daTreat.Fill(dsNWRC_HairBeauty, "Treatments");
            dgv_Treatments.DataSource = dsNWRC_HairBeauty.Tables["Treatments"];

            //// Resize the DatagridView columns to fit the newly loaded content
            dgv_Treatments.AutoResizeColumns(DataGridViewAutoSizeColumnsMode.AllCells);

            tab_Treatments.TabPages[0].CausesValidation = true;
            tab_Treatments.TabPages[0].Validating      += new CancelEventHandler(AddTabValidate);

            tab_Treatments.TabPages[2].CausesValidation = true;
            tab_Treatments.TabPages[2].Validating      += new CancelEventHandler(EditTabValidate);

            tab_Treatments.SelectedIndex = 1;
            tab_Treatments.SelectedIndex = 0;

            // Set Font Size
            dgv_Treatments.Font = new Font("Times", 10);

            //Fill Columns to panel view

            dgv_Treatments.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
            dgv_Treatments.Columns[0].Width    = 60;
            dgv_Treatments.Columns[1].Width    = 75;
            dgv_Treatments.Columns[3].Width    = 100;
            dgv_Treatments.Columns[4].Width    = 50;
            dgv_Treatments.Columns[4].DefaultCellStyle.Format = "£0.00##";
        }
 private void phone_number_Leave(object sender, EventArgs e)
 {
     // בודקים אם הנתונים בשדה לא תקינים ופעם ראשונה פונקציה phone_number_leave מופעלת
     if (check_phoneNumber() == false && count == 0)
     {
         // מקדמים מונה כניסות/הפעלות של פונקציה phone_number_leave
         count++;
         // מגדירים שגאיה בהתאם
         idErrorProvider = new ErrorProvider();
         idErrorProvider.SetError(phone_number, "מספר פלאפון חייב להכיל 10 ספרות");
     }
     // לא פעם ראשונה phone_number_leave מופעלת
     else
     {
         // פעם ראשונה מפעילים phone_number_leave ונתונים בשדה תקינים
         if (check_phoneNumber() == true && count == 0)
         {
             //לא מבצעים פעולות
             // נשאר count=0
         }
         else
         {
             // לא פעם ראשונה מפעילים phone_number_leave
             // אם מגיעים לתנאי הזה יישארו שתי אןפציות
             // 1) נתונים תקינים בשדה
             if (check_phoneNumber() == true)
             {
                 idErrorProvider.SetError(phone_number, "");
             }
             // 2) נתונים שגויים
             else
             {
                 idErrorProvider.SetError(phone_number, "מספר פלאפון חייב להכיל 10 ספרות");
             }
         }
     }
 }
        public Evaulation(String f_id)
        {
            InitializeComponent();
            fac_idf = f_id;
            werror  = new System.Windows.Forms.ErrorProvider();
            // String url = "http://gubappwebservices.esy.es/out_of_faculty";
            String              url  = murlf + "out_of_faculty";
            WebClient           wc1  = new WebClient();
            NameValueCollection form = new NameValueCollection();

            form.Add("fact_id", fac_idf);
            byte[] otherstudents = wc1.UploadValues(url, form);
            String othrstud      = Encoding.UTF8.GetString(otherstudents);

            OtherStudent[] js      = JsonConvert.DeserializeObject <OtherStudent[]>(othrstud);
            int            stu_len = js.Length;
            int            i       = 0;

            while (i < stu_len)
            {
                Roll_comboBox.Items.Insert(i, js[i].Roll_no);
                i++;
            }
        }
Esempio n. 35
0
        private void TxtNom_Validating(object sender, CancelEventArgs e)
        {
            nameErrorProvider = errorProvider1;

            string Correspondance = "^[A-Za-z ]+$";

            if (!Regex.IsMatch(TxtNom.Text, @Correspondance))
            {
                nameErrorProvider.SetError(TxtNom, "format incorrect");
                ErNom = true;
            }
            else
            {
                nameErrorProvider.SetError(TxtNom, string.Empty);
                ErNom          = false;
                TxtNom.Enabled = false;
            }
            if (TxtNom.Text == "")
            {
                nameErrorProvider.SetError(TxtNom, "Champs vide");
                ErNom          = true;
                TxtNom.Enabled = true;
            }
        }
Esempio n. 36
0
        private static void OnUIAErrorProviderHookUp(object sender, SWF.ControlEventArgs args)
        {
            SWF.ErrorProvider errorProvider = (SWF.ErrorProvider)sender;
            List <Control>    list          = null;

            if (errorProviders.TryGetValue(errorProvider, out list) == false)
            {
                list = new List <Control> ();
                errorProviders [errorProvider] = list;
            }
            if (list.Contains(args.Control) == false)
            {
                list.Add(args.Control);
            }

            //Let's associate ErrorProvider if Provider for Control already exists
            FragmentControlProvider provider =
                (FragmentControlProvider)ProviderFactory.FindProvider(args.Control);

            if (provider != null)
            {
                provider.ErrorProvider = errorProvider;
            }
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.btnAddCard         = new Infragistics.Win.Misc.UltraButton();
     this.txtNewMemberCardNo = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
     this.ultraLabel4        = new Infragistics.Win.Misc.UltraLabel();
     this.ultraButton1       = new Infragistics.Win.Misc.UltraButton();
     this.ultraGroupBox1     = new Infragistics.Win.Misc.UltraGroupBox();
     this.errorProvider1     = new System.Windows.Forms.ErrorProvider();
     ((System.ComponentModel.ISupportInitialize)(this.txtNewMemberCardNo)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
     this.ultraGroupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // btnAddCard
     //
     this.btnAddCard.ButtonStyle = Infragistics.Win.UIElementButtonStyle.VisualStudio2005Button;
     this.btnAddCard.Location    = new System.Drawing.Point(56, 88);
     this.btnAddCard.Name        = "btnAddCard";
     this.btnAddCard.Size        = new System.Drawing.Size(72, 23);
     this.btnAddCard.TabIndex    = 11;
     this.btnAddCard.Text        = "È·¶¨";
     this.btnAddCard.Click      += new System.EventHandler(this.btnAddCard_Click);
     //
     // txtNewMemberCardNo
     //
     this.txtNewMemberCardNo.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.VisualStudio2005;
     this.txtNewMemberCardNo.Location     = new System.Drawing.Point(152, 40);
     this.txtNewMemberCardNo.MaxLength    = 8;
     this.txtNewMemberCardNo.Name         = "txtNewMemberCardNo";
     this.txtNewMemberCardNo.Size         = new System.Drawing.Size(100, 21);
     this.txtNewMemberCardNo.TabIndex     = 10;
     this.txtNewMemberCardNo.KeyPress    += new System.Windows.Forms.KeyPressEventHandler(this.txtNewMemberCardNo_KeyPress);
     this.txtNewMemberCardNo.Validated   += new System.EventHandler(this.txtNewMemberCardNo_Validated);
     //
     // ultraLabel4
     //
     this.ultraLabel4.Location = new System.Drawing.Point(40, 40);
     this.ultraLabel4.Name     = "ultraLabel4";
     this.ultraLabel4.TabIndex = 9;
     this.ultraLabel4.Text     = "лáÔ±¿¨ºÅ£º";
     //
     // ultraButton1
     //
     this.ultraButton1.ButtonStyle = Infragistics.Win.UIElementButtonStyle.VisualStudio2005Button;
     this.ultraButton1.Location    = new System.Drawing.Point(152, 88);
     this.ultraButton1.Name        = "ultraButton1";
     this.ultraButton1.Size        = new System.Drawing.Size(72, 23);
     this.ultraButton1.TabIndex    = 12;
     this.ultraButton1.Text        = "È¡Ïû";
     this.ultraButton1.Click      += new System.EventHandler(this.ultraButton1_Click);
     //
     // ultraGroupBox1
     //
     this.ultraGroupBox1.Controls.Add(this.ultraLabel4);
     this.ultraGroupBox1.Controls.Add(this.btnAddCard);
     this.ultraGroupBox1.Controls.Add(this.txtNewMemberCardNo);
     this.ultraGroupBox1.Controls.Add(this.ultraButton1);
     this.ultraGroupBox1.Location = new System.Drawing.Point(48, 48);
     this.ultraGroupBox1.Name     = "ultraGroupBox1";
     this.ultraGroupBox1.Size     = new System.Drawing.Size(320, 160);
     this.ultraGroupBox1.TabIndex = 13;
     //
     // errorProvider1
     //
     this.errorProvider1.ContainerControl = this;
     //
     // MemberCardAddCardNewCard
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.ClientSize        = new System.Drawing.Size(416, 237);
     this.Controls.Add(this.ultraGroupBox1);
     this.Name = "MemberCardAddCardNewCard";
     this.Text = "²¹¿¨²Ù×÷";
     ((System.ComponentModel.ISupportInitialize)(this.txtNewMemberCardNo)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit();
     this.ultraGroupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
 private void InitializeComponent()
 {
     this.components        = new System.ComponentModel.Container();
     this.Label1            = new System.Windows.Forms.Label();
     this.Label2            = new System.Windows.Forms.Label();
     this.btnExit           = new System.Windows.Forms.Button();
     this.grpDefault        = new System.Windows.Forms.GroupBox();
     this.radDefault2       = new System.Windows.Forms.RadioButton();
     this.radDefault1       = new System.Windows.Forms.RadioButton();
     this.radDefault0       = new System.Windows.Forms.RadioButton();
     this.grpLoadInfo       = new System.Windows.Forms.GroupBox();
     this.lblAmount         = new System.Windows.Forms.Label();
     this.lblPaymentAmount  = new System.Windows.Forms.Label();
     this.txtMortgageTerm   = new System.Windows.Forms.TextBox();
     this.txtInterestRate   = new System.Windows.Forms.TextBox();
     this.txtMortgageAmount = new System.Windows.Forms.TextBox();
     this.Label5            = new System.Windows.Forms.Label();
     this.Label4            = new System.Windows.Forms.Label();
     this.Label3            = new System.Windows.Forms.Label();
     this.GroupBox1         = new System.Windows.Forms.GroupBox();
     this.btnClear          = new System.Windows.Forms.Button();
     this.btnCalculate      = new System.Windows.Forms.Button();
     this.grpAmortTable     = new System.Windows.Forms.GroupBox();
     this.Label6            = new System.Windows.Forms.Label();
     this.rtfAmortTable     = new System.Windows.Forms.RichTextBox();
     this.Label7            = new System.Windows.Forms.Label();
     this.Label8            = new System.Windows.Forms.Label();
     this.Label9            = new System.Windows.Forms.Label();
     this.Label10           = new System.Windows.Forms.Label();
     this.Label11           = new System.Windows.Forms.Label();
     this.toolTip1          = new System.Windows.Forms.ToolTip(this.components);
     this.errorProvider1    = new System.Windows.Forms.ErrorProvider();
     this.grpDefault.SuspendLayout();
     this.grpLoadInfo.SuspendLayout();
     this.GroupBox1.SuspendLayout();
     this.grpAmortTable.SuspendLayout();
     this.SuspendLayout();
     //
     // Label1
     //
     this.Label1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Label1.Location = new System.Drawing.Point(8, 8);
     this.Label1.Name     = "Label1";
     this.Label1.Size     = new System.Drawing.Size(220, 20);
     this.Label1.TabIndex = 1;
     this.Label1.Text     = "Mortgage Calculator";
     //
     // Label2
     //
     this.Label2.Location = new System.Drawing.Point(8, 32);
     this.Label2.Name     = "Label2";
     this.Label2.Size     = new System.Drawing.Size(488, 34);
     this.Label2.TabIndex = 2;
     this.Label2.Text     = "Fill in the Mortgage Amount, Annual Interest Rate, and Term of Loan in Years and " +
                            "then click Calculate to display the monthly loan payment";
     //
     // btnExit
     //
     this.btnExit.CausesValidation = false;
     this.btnExit.Location         = new System.Drawing.Point(520, 8);
     this.btnExit.Name             = "btnExit";
     this.btnExit.Size             = new System.Drawing.Size(60, 20);
     this.btnExit.TabIndex         = 6;
     this.btnExit.Text             = "Exit";
     this.toolTip1.SetToolTip(this.btnExit, "Click to exit the application");
     this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
     //
     // grpDefault
     //
     this.grpDefault.Controls.Add(this.radDefault2);
     this.grpDefault.Controls.Add(this.radDefault1);
     this.grpDefault.Controls.Add(this.radDefault0);
     this.grpDefault.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.grpDefault.Location = new System.Drawing.Point(8, 80);
     this.grpDefault.Name     = "grpDefault";
     this.grpDefault.Size     = new System.Drawing.Size(136, 160);
     this.grpDefault.TabIndex = 7;
     this.grpDefault.TabStop  = false;
     this.grpDefault.Text     = "Default Information";
     //
     // radDefault2
     //
     this.radDefault2.Font            = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.radDefault2.Location        = new System.Drawing.Point(8, 90);
     this.radDefault2.Name            = "radDefault2";
     this.radDefault2.Size            = new System.Drawing.Size(120, 24);
     this.radDefault2.TabIndex        = 2;
     this.radDefault2.Text            = "RadioButton1";
     this.radDefault2.CheckedChanged += new System.EventHandler(this.radDefault2_CheckedChanged);
     //
     // radDefault1
     //
     this.radDefault1.Font            = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.radDefault1.Location        = new System.Drawing.Point(8, 56);
     this.radDefault1.Name            = "radDefault1";
     this.radDefault1.Size            = new System.Drawing.Size(112, 24);
     this.radDefault1.TabIndex        = 1;
     this.radDefault1.Text            = "RadioButton1";
     this.radDefault1.CheckedChanged += new System.EventHandler(this.radDefault1_CheckedChanged);
     //
     // radDefault0
     //
     this.radDefault0.Font            = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.radDefault0.Location        = new System.Drawing.Point(8, 24);
     this.radDefault0.Name            = "radDefault0";
     this.radDefault0.Size            = new System.Drawing.Size(112, 24);
     this.radDefault0.TabIndex        = 0;
     this.radDefault0.Text            = "RadioButton1";
     this.radDefault0.CheckedChanged += new System.EventHandler(this.radDefault0_CheckedChanged);
     //
     // grpLoadInfo
     //
     this.grpLoadInfo.Controls.Add(this.lblAmount);
     this.grpLoadInfo.Controls.Add(this.lblPaymentAmount);
     this.grpLoadInfo.Controls.Add(this.txtMortgageTerm);
     this.grpLoadInfo.Controls.Add(this.txtInterestRate);
     this.grpLoadInfo.Controls.Add(this.txtMortgageAmount);
     this.grpLoadInfo.Controls.Add(this.Label5);
     this.grpLoadInfo.Controls.Add(this.Label4);
     this.grpLoadInfo.Controls.Add(this.Label3);
     this.grpLoadInfo.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.grpLoadInfo.Location = new System.Drawing.Point(144, 80);
     this.grpLoadInfo.Name     = "grpLoadInfo";
     this.grpLoadInfo.Size     = new System.Drawing.Size(288, 160);
     this.grpLoadInfo.TabIndex = 8;
     this.grpLoadInfo.TabStop  = false;
     this.grpLoadInfo.Text     = "Loan Information";
     //
     // lblAmount
     //
     this.lblAmount.Font      = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lblAmount.Location  = new System.Drawing.Point(192, 125);
     this.lblAmount.Name      = "lblAmount";
     this.lblAmount.Size      = new System.Drawing.Size(80, 21);
     this.lblAmount.TabIndex  = 3;
     this.lblAmount.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblPaymentAmount
     //
     this.lblPaymentAmount.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lblPaymentAmount.Location  = new System.Drawing.Point(80, 125);
     this.lblPaymentAmount.Name      = "lblPaymentAmount";
     this.lblPaymentAmount.Size      = new System.Drawing.Size(100, 21);
     this.lblPaymentAmount.TabIndex  = 8;
     this.lblPaymentAmount.Text      = "Payment Amount:";
     this.lblPaymentAmount.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtMortgageTerm
     //
     this.txtMortgageTerm.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.txtMortgageTerm.Location  = new System.Drawing.Point(192, 90);
     this.txtMortgageTerm.MaxLength = 2;
     this.txtMortgageTerm.Name      = "txtMortgageTerm";
     this.txtMortgageTerm.Size      = new System.Drawing.Size(80, 20);
     this.txtMortgageTerm.TabIndex  = 2;
     this.txtMortgageTerm.Tag       = "Mortgage Term";
     this.txtMortgageTerm.Text      = "";
     this.toolTip1.SetToolTip(this.txtMortgageTerm, "Enter a value greater than zero the total length of the mortgage loan in years");
     this.txtMortgageTerm.KeyDown  += new System.Windows.Forms.KeyEventHandler(this.txtInput_KeyDown);
     this.txtMortgageTerm.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtInputField_KeyPress);
     //
     // txtInterestRate
     //
     this.txtInterestRate.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.txtInterestRate.Location  = new System.Drawing.Point(192, 56);
     this.txtInterestRate.MaxLength = 6;
     this.txtInterestRate.Name      = "txtInterestRate";
     this.txtInterestRate.Size      = new System.Drawing.Size(80, 20);
     this.txtInterestRate.TabIndex  = 1;
     this.txtInterestRate.Tag       = "Interest Rate";
     this.txtInterestRate.Text      = "";
     this.toolTip1.SetToolTip(this.txtInterestRate, "Enter a percentage greater than or equal to zeor for the annual interest rate for" +
                              " the loan");
     this.txtInterestRate.KeyDown    += new System.Windows.Forms.KeyEventHandler(this.txtInput_KeyDown);
     this.txtInterestRate.KeyPress   += new System.Windows.Forms.KeyPressEventHandler(this.txtInputField_KeyPress);
     this.txtInterestRate.Validating += new System.ComponentModel.CancelEventHandler(this.txtInterestRate_Validating);
     //
     // txtMortgageAmount
     //
     this.txtMortgageAmount.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.txtMortgageAmount.Location  = new System.Drawing.Point(192, 24);
     this.txtMortgageAmount.MaxLength = 10;
     this.txtMortgageAmount.Name      = "txtMortgageAmount";
     this.txtMortgageAmount.Size      = new System.Drawing.Size(80, 20);
     this.txtMortgageAmount.TabIndex  = 0;
     this.txtMortgageAmount.Tag       = "Mortgage Amount";
     this.txtMortgageAmount.Text      = "";
     this.toolTip1.SetToolTip(this.txtMortgageAmount, "Enter a value greater than zero for total  amount of the mortgage loan");
     this.txtMortgageAmount.KeyDown    += new System.Windows.Forms.KeyEventHandler(this.txtInput_KeyDown);
     this.txtMortgageAmount.KeyPress   += new System.Windows.Forms.KeyPressEventHandler(this.txtInputField_KeyPress);
     this.txtMortgageAmount.Validating += new System.ComponentModel.CancelEventHandler(this.txtMortgageAmount_Validating);
     //
     // Label5
     //
     this.Label5.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Label5.Location  = new System.Drawing.Point(80, 90);
     this.Label5.Name      = "Label5";
     this.Label5.Size      = new System.Drawing.Size(100, 21);
     this.Label5.TabIndex  = 4;
     this.Label5.Text      = "Mortgage Term:";
     this.Label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // Label4
     //
     this.Label4.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Label4.Location  = new System.Drawing.Point(8, 56);
     this.Label4.Name      = "Label4";
     this.Label4.Size      = new System.Drawing.Size(168, 21);
     this.Label4.TabIndex  = 3;
     this.Label4.Text      = "Annual Percentage Rate:";
     this.Label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // Label3
     //
     this.Label3.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Label3.Location  = new System.Drawing.Point(44, 24);
     this.Label3.Name      = "Label3";
     this.Label3.Size      = new System.Drawing.Size(136, 21);
     this.Label3.TabIndex  = 2;
     this.Label3.Text      = "Mortgage Amount:";
     this.Label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // GroupBox1
     //
     this.GroupBox1.Controls.Add(this.btnClear);
     this.GroupBox1.Controls.Add(this.btnCalculate);
     this.GroupBox1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.GroupBox1.Location = new System.Drawing.Point(440, 80);
     this.GroupBox1.Name     = "GroupBox1";
     this.GroupBox1.Size     = new System.Drawing.Size(144, 160);
     this.GroupBox1.TabIndex = 9;
     this.GroupBox1.TabStop  = false;
     this.GroupBox1.Text     = "Mortgage Operations";
     //
     // btnClear
     //
     this.btnClear.CausesValidation = false;
     this.btnClear.Font             = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.btnClear.Location         = new System.Drawing.Point(31, 56);
     this.btnClear.Name             = "btnClear";
     this.btnClear.Size             = new System.Drawing.Size(80, 20);
     this.btnClear.TabIndex         = 1;
     this.btnClear.Text             = "Clear";
     this.toolTip1.SetToolTip(this.btnClear, "Click to clear the input fields and the calculated mortgage amount");
     this.btnClear.Click += new System.EventHandler(this.btnClear_Click);
     //
     // btnCalculate
     //
     this.btnCalculate.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.btnCalculate.Location = new System.Drawing.Point(31, 24);
     this.btnCalculate.Name     = "btnCalculate";
     this.btnCalculate.Size     = new System.Drawing.Size(80, 20);
     this.btnCalculate.TabIndex = 0;
     this.btnCalculate.Text     = "Calculate";
     this.toolTip1.SetToolTip(this.btnCalculate, "Click to calculate the mortgage amount");
     this.btnCalculate.Click += new System.EventHandler(this.btnCalculate_Click);
     //
     // grpAmortTable
     //
     this.grpAmortTable.Controls.Add(this.Label6);
     this.grpAmortTable.Controls.Add(this.rtfAmortTable);
     this.grpAmortTable.Controls.Add(this.Label7);
     this.grpAmortTable.Controls.Add(this.Label8);
     this.grpAmortTable.Controls.Add(this.Label9);
     this.grpAmortTable.Controls.Add(this.Label10);
     this.grpAmortTable.Controls.Add(this.Label11);
     this.grpAmortTable.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.grpAmortTable.Location = new System.Drawing.Point(8, 248);
     this.grpAmortTable.Name     = "grpAmortTable";
     this.grpAmortTable.Size     = new System.Drawing.Size(576, 416);
     this.grpAmortTable.TabIndex = 10;
     this.grpAmortTable.TabStop  = false;
     this.grpAmortTable.Text     = "Amortization Table";
     //
     // Label6
     //
     this.Label6.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Label6.Location = new System.Drawing.Point(2, 24);
     this.Label6.Name     = "Label6";
     this.Label6.Size     = new System.Drawing.Size(40, 16);
     this.Label6.TabIndex = 14;
     this.Label6.Text     = "Period";
     //
     // rtfAmortTable
     //
     this.rtfAmortTable.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.rtfAmortTable.Location = new System.Drawing.Point(0, 40);
     this.rtfAmortTable.Name     = "rtfAmortTable";
     this.rtfAmortTable.ReadOnly = true;
     this.rtfAmortTable.Size     = new System.Drawing.Size(568, 368);
     this.rtfAmortTable.TabIndex = 0;
     this.rtfAmortTable.TabStop  = false;
     this.rtfAmortTable.Text     = "";
     //
     // Label7
     //
     this.Label7.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Label7.Location = new System.Drawing.Point(64, 24);
     this.Label7.Name     = "Label7";
     this.Label7.Size     = new System.Drawing.Size(76, 16);
     this.Label7.TabIndex = 15;
     this.Label7.Text     = "Loan Balance";
     //
     // Label8
     //
     this.Label8.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Label8.Location = new System.Drawing.Point(152, 24);
     this.Label8.Name     = "Label8";
     this.Label8.Size     = new System.Drawing.Size(96, 16);
     this.Label8.TabIndex = 16;
     this.Label8.Text     = "Principal Balance";
     //
     // Label9
     //
     this.Label9.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Label9.Location = new System.Drawing.Point(264, 24);
     this.Label9.Name     = "Label9";
     this.Label9.Size     = new System.Drawing.Size(96, 16);
     this.Label9.TabIndex = 11;
     this.Label9.Text     = "Interest Balance";
     //
     // Label10
     //
     this.Label10.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Label10.Location = new System.Drawing.Point(368, 24);
     this.Label10.Name     = "Label10";
     this.Label10.Size     = new System.Drawing.Size(80, 16);
     this.Label10.TabIndex = 12;
     this.Label10.Text     = "Principal Paid";
     //
     // Label11
     //
     this.Label11.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Underline))), System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.Label11.Location = new System.Drawing.Point(456, 24);
     this.Label11.Name     = "Label11";
     this.Label11.Size     = new System.Drawing.Size(96, 16);
     this.Label11.TabIndex = 13;
     this.Label11.Text     = "Interest Paid";
     //
     // errorProvider1
     //
     this.errorProvider1.ContainerControl = this;
     //
     // MortgageInformationInput
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(592, 670);
     this.Controls.Add(this.grpAmortTable);
     this.Controls.Add(this.GroupBox1);
     this.Controls.Add(this.grpLoadInfo);
     this.Controls.Add(this.grpDefault);
     this.Controls.Add(this.btnExit);
     this.Controls.Add(this.Label2);
     this.Controls.Add(this.Label1);
     this.Name  = "MortgageInformationInput";
     this.Text  = "Mortgage Calculator";
     this.Load += new System.EventHandler(this.MortgageInformationInput_Load);
     this.grpDefault.ResumeLayout(false);
     this.grpLoadInfo.ResumeLayout(false);
     this.GroupBox1.ResumeLayout(false);
     this.grpAmortTable.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Esempio n. 39
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WzPageGeneralSetup));
     this.txtClassname       = new System.Windows.Forms.TextBox();
     this.label2             = new System.Windows.Forms.Label();
     this.errorProvider      = new System.Windows.Forms.ErrorProvider(this.components);
     this.txtNamespace       = new System.Windows.Forms.TextBox();
     this.label1             = new System.Windows.Forms.Label();
     this.txtAssemblyKeyFile = new System.Windows.Forms.TextBox();
     this.label3             = new System.Windows.Forms.Label();
     this.cmdSelectKey       = new System.Windows.Forms.Button();
     this.openFileDialog     = new System.Windows.Forms.OpenFileDialog();
     this.saveFileDialog     = new System.Windows.Forms.SaveFileDialog();
     this.cmdNewKey          = new System.Windows.Forms.Button();
     this.panelHeader.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
     this.SuspendLayout();
     //
     // panelHeader
     //
     resources.ApplyResources(this.panelHeader, "panelHeader");
     //
     // labelTitle
     //
     resources.ApplyResources(this.labelTitle, "labelTitle");
     //
     // labelSubTitle
     //
     resources.ApplyResources(this.labelSubTitle, "labelSubTitle");
     //
     // txtClassname
     //
     resources.ApplyResources(this.txtClassname, "txtClassname");
     this.txtClassname.Name         = "txtClassname";
     this.txtClassname.TextChanged += new System.EventHandler(this.Element_Changed);
     this.txtClassname.Validating  += new System.ComponentModel.CancelEventHandler(this.txtClassname_Validating);
     //
     // label2
     //
     resources.ApplyResources(this.label2, "label2");
     this.label2.Name = "label2";
     //
     // errorProvider
     //
     this.errorProvider.ContainerControl = this;
     resources.ApplyResources(this.errorProvider, "errorProvider");
     //
     // txtNamespace
     //
     resources.ApplyResources(this.txtNamespace, "txtNamespace");
     this.txtNamespace.Name         = "txtNamespace";
     this.txtNamespace.TextChanged += new System.EventHandler(this.Element_Changed);
     this.txtNamespace.Validating  += new System.ComponentModel.CancelEventHandler(this.txtNamespace_Validating);
     //
     // label1
     //
     resources.ApplyResources(this.label1, "label1");
     this.label1.Name = "label1";
     //
     // txtAssemblyKeyFile
     //
     resources.ApplyResources(this.txtAssemblyKeyFile, "txtAssemblyKeyFile");
     this.txtAssemblyKeyFile.Name         = "txtAssemblyKeyFile";
     this.txtAssemblyKeyFile.TextChanged += new System.EventHandler(this.Element_Changed);
     this.txtAssemblyKeyFile.Validating  += new System.ComponentModel.CancelEventHandler(this.txtAssemblyKeyFile_Validating);
     //
     // label3
     //
     resources.ApplyResources(this.label3, "label3");
     this.label3.Name = "label3";
     //
     // cmdSelectKey
     //
     resources.ApplyResources(this.cmdSelectKey, "cmdSelectKey");
     this.cmdSelectKey.Name   = "cmdSelectKey";
     this.cmdSelectKey.Click += new System.EventHandler(this.cmdSelectKey_Click);
     //
     // openFileDialog
     //
     this.openFileDialog.DefaultExt = "snk";
     resources.ApplyResources(this.openFileDialog, "openFileDialog");
     //
     // saveFileDialog
     //
     this.saveFileDialog.DefaultExt = "snk";
     resources.ApplyResources(this.saveFileDialog, "saveFileDialog");
     //
     // cmdNewKey
     //
     resources.ApplyResources(this.cmdNewKey, "cmdNewKey");
     this.cmdNewKey.Name   = "cmdNewKey";
     this.cmdNewKey.Click += new System.EventHandler(this.cmdNewKey_Click);
     //
     // WzPageGeneralSetup
     //
     this.Controls.Add(this.txtAssemblyKeyFile);
     this.Controls.Add(this.cmdNewKey);
     this.Controls.Add(this.cmdSelectKey);
     this.Controls.Add(this.txtNamespace);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.txtClassname);
     this.Controls.Add(this.label2);
     this.Name = "WzPageGeneralSetup";
     resources.ApplyResources(this, "$this");
     this.SubTitle = "Specify General Project Properties";
     this.Title    = "General Project Properties";
     this.Leave   += new System.EventHandler(this.WzPageGeneralSetup_Leave);
     this.Controls.SetChildIndex(this.label2, 0);
     this.Controls.SetChildIndex(this.txtClassname, 0);
     this.Controls.SetChildIndex(this.label1, 0);
     this.Controls.SetChildIndex(this.label3, 0);
     this.Controls.SetChildIndex(this.txtNamespace, 0);
     this.Controls.SetChildIndex(this.cmdSelectKey, 0);
     this.Controls.SetChildIndex(this.cmdNewKey, 0);
     this.Controls.SetChildIndex(this.txtAssemblyKeyFile, 0);
     this.Controls.SetChildIndex(this.panelHeader, 0);
     this.panelHeader.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 40
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormAddEditSavedObject));
     this.buttonCollectInput          = new System.Windows.Forms.Button();
     this.labelName                   = new System.Windows.Forms.Label();
     this.buttonOK                    = new System.Windows.Forms.Button();
     this.buttonCancel                = new System.Windows.Forms.Button();
     this.textBoxName                 = new System.Windows.Forms.TextBox();
     this.buttonViewData              = new System.Windows.Forms.Button();
     this.errorProviderRequiredFields = new System.Windows.Forms.ErrorProvider(this.components);
     this.buttonClearInput            = new System.Windows.Forms.Button();
     this.treeViewTemplates           = new System.Windows.Forms.TreeView();
     this.labelTemplate               = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.errorProviderRequiredFields)).BeginInit();
     this.SuspendLayout();
     //
     // buttonCollectInput
     //
     this.buttonCollectInput.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.buttonCollectInput.Location = new System.Drawing.Point(16, 431);
     this.buttonCollectInput.Name     = "buttonCollectInput";
     this.buttonCollectInput.Size     = new System.Drawing.Size(136, 24);
     this.buttonCollectInput.TabIndex = 0;
     this.buttonCollectInput.Text     = "Record Template Input";
     this.buttonCollectInput.Click   += new System.EventHandler(this.buttonCollectInput_Click);
     //
     // labelName
     //
     this.labelName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.labelName.Location  = new System.Drawing.Point(16, 8);
     this.labelName.Name      = "labelName";
     this.labelName.Size      = new System.Drawing.Size(564, 23);
     this.labelName.TabIndex  = 1;
     this.labelName.Text      = "Name:";
     this.labelName.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
     //
     // buttonOK
     //
     this.buttonOK.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonOK.Location = new System.Drawing.Point(456, 431);
     this.buttonOK.Name     = "buttonOK";
     this.buttonOK.Size     = new System.Drawing.Size(56, 23);
     this.buttonOK.TabIndex = 3;
     this.buttonOK.Text     = "OK";
     this.buttonOK.Click   += new System.EventHandler(this.buttonOK_Click);
     //
     // buttonCancel
     //
     this.buttonCancel.Anchor           = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonCancel.CausesValidation = false;
     this.buttonCancel.Location         = new System.Drawing.Point(520, 431);
     this.buttonCancel.Name             = "buttonCancel";
     this.buttonCancel.Size             = new System.Drawing.Size(56, 23);
     this.buttonCancel.TabIndex         = 4;
     this.buttonCancel.Text             = "Cancel";
     this.buttonCancel.Click           += new System.EventHandler(this.buttonCancel_Click);
     //
     // textBoxName
     //
     this.textBoxName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.textBoxName.Location    = new System.Drawing.Point(16, 32);
     this.textBoxName.Name        = "textBoxName";
     this.textBoxName.Size        = new System.Drawing.Size(560, 20);
     this.textBoxName.TabIndex    = 5;
     this.textBoxName.Validating += new System.ComponentModel.CancelEventHandler(this.textBoxName_Validating);
     //
     // buttonViewData
     //
     this.buttonViewData.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.buttonViewData.Location = new System.Drawing.Point(304, 431);
     this.buttonViewData.Name     = "buttonViewData";
     this.buttonViewData.Size     = new System.Drawing.Size(72, 23);
     this.buttonViewData.TabIndex = 6;
     this.buttonViewData.Text     = "View Data";
     this.buttonViewData.Click   += new System.EventHandler(this.buttonViewData_Click);
     //
     // errorProviderRequiredFields
     //
     this.errorProviderRequiredFields.ContainerControl = this;
     //
     // buttonClearInput
     //
     this.buttonClearInput.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.buttonClearInput.Location = new System.Drawing.Point(160, 431);
     this.buttonClearInput.Name     = "buttonClearInput";
     this.buttonClearInput.Size     = new System.Drawing.Size(136, 24);
     this.buttonClearInput.TabIndex = 7;
     this.buttonClearInput.Text     = "Clear Template Input";
     this.buttonClearInput.Click   += new System.EventHandler(this.buttonClearInput_Click);
     //
     // treeViewTemplates
     //
     this.treeViewTemplates.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.treeViewTemplates.Location     = new System.Drawing.Point(16, 72);
     this.treeViewTemplates.Name         = "treeViewTemplates";
     this.treeViewTemplates.Size         = new System.Drawing.Size(560, 344);
     this.treeViewTemplates.TabIndex     = 8;
     this.treeViewTemplates.Validating  += new System.ComponentModel.CancelEventHandler(this.treeViewTemplates_Validating);
     this.treeViewTemplates.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeViewTemplates_AfterSelect);
     //
     // labelTemplate
     //
     this.labelTemplate.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.labelTemplate.Location  = new System.Drawing.Point(16, 56);
     this.labelTemplate.Name      = "labelTemplate";
     this.labelTemplate.Size      = new System.Drawing.Size(564, 16);
     this.labelTemplate.TabIndex  = 10;
     this.labelTemplate.Text      = "Template:";
     this.labelTemplate.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
     //
     // FormAddEditSavedObject
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(600, 461);
     this.Controls.Add(this.labelTemplate);
     this.Controls.Add(this.treeViewTemplates);
     this.Controls.Add(this.buttonClearInput);
     this.Controls.Add(this.buttonViewData);
     this.Controls.Add(this.textBoxName);
     this.Controls.Add(this.buttonCancel);
     this.Controls.Add(this.buttonOK);
     this.Controls.Add(this.labelName);
     this.Controls.Add(this.buttonCollectInput);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "FormAddEditSavedObject";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text          = "AddEditSavedObject";
     this.Load         += new System.EventHandler(this.FormAddEditSavedObject_Load);
     this.Activated    += new System.EventHandler(this.FormAddEditSavedObject_Activated);
     ((System.ComponentModel.ISupportInitialize)(this.errorProviderRequiredFields)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 41
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.txtSrcFile          = new System.Windows.Forms.TextBox();
     this.btnSrcFile          = new System.Windows.Forms.Button();
     this.btnDstFile          = new System.Windows.Forms.Button();
     this.txtDstFile          = new System.Windows.Forms.TextBox();
     this.label2              = new System.Windows.Forms.Label();
     this.btnHide             = new System.Windows.Forms.Button();
     this.txtMessage          = new System.Windows.Forms.TextBox();
     this.tabCtl              = new System.Windows.Forms.TabControl();
     this.tabHide             = new System.Windows.Forms.TabPage();
     this.rdoMsgText          = new System.Windows.Forms.RadioButton();
     this.btnMsgFile1         = new System.Windows.Forms.Button();
     this.txtMsgFile          = new System.Windows.Forms.TextBox();
     this.rdoMsgFile          = new System.Windows.Forms.RadioButton();
     this.tabExtract          = new System.Windows.Forms.TabPage();
     this.btnMessageDstFile   = new System.Windows.Forms.Button();
     this.txtMessageDstFile   = new System.Windows.Forms.TextBox();
     this.rdoMessageDisplay   = new System.Windows.Forms.RadioButton();
     this.rdoMessageDstFile   = new System.Windows.Forms.RadioButton();
     this.txtExtractedMessage = new System.Windows.Forms.TextBox();
     this.btnExtract          = new System.Windows.Forms.Button();
     this.label5              = new System.Windows.Forms.Label();
     this.btnKeyFile          = new System.Windows.Forms.Button();
     this.txtKeyFile          = new System.Windows.Forms.TextBox();
     this.rdoSrcFile          = new System.Windows.Forms.RadioButton();
     this.rdoRecord           = new System.Windows.Forms.RadioButton();
     this.errorProvider       = new System.Windows.Forms.ErrorProvider();
     this.tabCtl.SuspendLayout();
     this.tabHide.SuspendLayout();
     this.tabExtract.SuspendLayout();
     this.SuspendLayout();
     //
     // txtSrcFile
     //
     this.errorProvider.SetIconAlignment(this.txtSrcFile, System.Windows.Forms.ErrorIconAlignment.MiddleLeft);
     this.txtSrcFile.Location     = new System.Drawing.Point(145, 21);
     this.txtSrcFile.Name         = "txtSrcFile";
     this.txtSrcFile.Size         = new System.Drawing.Size(382, 22);
     this.txtSrcFile.TabIndex     = 0;
     this.txtSrcFile.Text         = "";
     this.txtSrcFile.TextChanged += new System.EventHandler(this.textField_TextChanged);
     //
     // btnSrcFile
     //
     this.btnSrcFile.Location = new System.Drawing.Point(529, 21);
     this.btnSrcFile.Name     = "btnSrcFile";
     this.btnSrcFile.Size     = new System.Drawing.Size(102, 28);
     this.btnSrcFile.TabIndex = 1;
     this.btnSrcFile.Text     = "Browse...";
     this.btnSrcFile.Click   += new System.EventHandler(this.btnSrcFile_Click);
     //
     // btnDstFile
     //
     this.btnDstFile.Location = new System.Drawing.Point(594, 21);
     this.btnDstFile.Name     = "btnDstFile";
     this.btnDstFile.Size     = new System.Drawing.Size(102, 28);
     this.btnDstFile.TabIndex = 1;
     this.btnDstFile.Text     = "Browse...";
     this.btnDstFile.Click   += new System.EventHandler(this.btnDstFile_Click);
     //
     // txtDstFile
     //
     this.errorProvider.SetIconAlignment(this.txtDstFile, System.Windows.Forms.ErrorIconAlignment.MiddleLeft);
     this.txtDstFile.Location     = new System.Drawing.Point(195, 21);
     this.txtDstFile.Name         = "txtDstFile";
     this.txtDstFile.Size         = new System.Drawing.Size(382, 22);
     this.txtDstFile.TabIndex     = 0;
     this.txtDstFile.Text         = "";
     this.txtDstFile.TextChanged += new System.EventHandler(this.textField_TextChanged);
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(51, 21);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(123, 31);
     this.label2.TabIndex = 2;
     this.label2.Text     = "Save Result as";
     //
     // btnHide
     //
     this.btnHide.Location = new System.Drawing.Point(297, 237);
     this.btnHide.Name     = "btnHide";
     this.btnHide.Size     = new System.Drawing.Size(164, 30);
     this.btnHide.TabIndex = 3;
     this.btnHide.Text     = "Hide Message";
     this.btnHide.Click   += new System.EventHandler(this.btnHide_Click);
     //
     // txtMessage
     //
     this.errorProvider.SetIconAlignment(this.txtMessage, System.Windows.Forms.ErrorIconAlignment.MiddleLeft);
     this.txtMessage.Location     = new System.Drawing.Point(195, 99);
     this.txtMessage.Multiline    = true;
     this.txtMessage.Name         = "txtMessage";
     this.txtMessage.Size         = new System.Drawing.Size(378, 128);
     this.txtMessage.TabIndex     = 4;
     this.txtMessage.Text         = "";
     this.txtMessage.TextChanged += new System.EventHandler(this.textField_TextChanged);
     this.txtMessage.Enter       += new System.EventHandler(this.txtMessage_Enter);
     //
     // tabCtl
     //
     this.tabCtl.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.tabHide,
         this.tabExtract
     });
     this.tabCtl.Location              = new System.Drawing.Point(10, 172);
     this.tabCtl.Name                  = "tabCtl";
     this.tabCtl.SelectedIndex         = 0;
     this.tabCtl.Size                  = new System.Drawing.Size(727, 315);
     this.tabCtl.TabIndex              = 5;
     this.tabCtl.SelectedIndexChanged += new System.EventHandler(this.tabCtl_SelectedIndexChanged);
     //
     // tabHide
     //
     this.tabHide.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.rdoMsgText,
         this.btnMsgFile1,
         this.txtMsgFile,
         this.rdoMsgFile,
         this.txtMessage,
         this.btnHide,
         this.label2,
         this.btnDstFile,
         this.txtDstFile
     });
     this.tabHide.Location = new System.Drawing.Point(4, 25);
     this.tabHide.Name     = "tabHide";
     this.tabHide.Size     = new System.Drawing.Size(719, 286);
     this.tabHide.TabIndex = 0;
     this.tabHide.Text     = "Hide";
     //
     // rdoMsgText
     //
     this.rdoMsgText.Checked         = true;
     this.rdoMsgText.Location        = new System.Drawing.Point(31, 99);
     this.rdoMsgText.Name            = "rdoMsgText";
     this.rdoMsgText.Size            = new System.Drawing.Size(123, 29);
     this.rdoMsgText.TabIndex        = 8;
     this.rdoMsgText.TabStop         = true;
     this.rdoMsgText.Text            = "Hide Text";
     this.rdoMsgText.CheckedChanged += new System.EventHandler(this.rdoContent_CheckedChanged);
     //
     // btnMsgFile1
     //
     this.btnMsgFile1.Location = new System.Drawing.Point(594, 59);
     this.btnMsgFile1.Name     = "btnMsgFile1";
     this.btnMsgFile1.Size     = new System.Drawing.Size(102, 30);
     this.btnMsgFile1.TabIndex = 7;
     this.btnMsgFile1.Text     = "Browse...";
     this.btnMsgFile1.Click   += new System.EventHandler(this.btnMsgFile_Click);
     //
     // txtMsgFile
     //
     this.errorProvider.SetIconAlignment(this.txtMsgFile, System.Windows.Forms.ErrorIconAlignment.MiddleLeft);
     this.txtMsgFile.Location     = new System.Drawing.Point(195, 59);
     this.txtMsgFile.Name         = "txtMsgFile";
     this.txtMsgFile.Size         = new System.Drawing.Size(382, 22);
     this.txtMsgFile.TabIndex     = 6;
     this.txtMsgFile.Text         = "";
     this.txtMsgFile.TextChanged += new System.EventHandler(this.textField_TextChanged);
     this.txtMsgFile.Enter       += new System.EventHandler(this.txtMsgFile_Enter);
     //
     // rdoMsgFile
     //
     this.rdoMsgFile.Location        = new System.Drawing.Point(31, 59);
     this.rdoMsgFile.Name            = "rdoMsgFile";
     this.rdoMsgFile.Size            = new System.Drawing.Size(174, 30);
     this.rdoMsgFile.TabIndex        = 5;
     this.rdoMsgFile.Text            = "Hide Content of File";
     this.rdoMsgFile.CheckedChanged += new System.EventHandler(this.rdoContent_CheckedChanged);
     //
     // tabExtract
     //
     this.tabExtract.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.btnMessageDstFile,
         this.txtMessageDstFile,
         this.rdoMessageDisplay,
         this.rdoMessageDstFile,
         this.txtExtractedMessage,
         this.btnExtract
     });
     this.tabExtract.Location = new System.Drawing.Point(4, 25);
     this.tabExtract.Name     = "tabExtract";
     this.tabExtract.Size     = new System.Drawing.Size(719, 286);
     this.tabExtract.TabIndex = 1;
     this.tabExtract.Text     = "Extract";
     //
     // btnMessageDstFile
     //
     this.btnMessageDstFile.Location = new System.Drawing.Point(573, 20);
     this.btnMessageDstFile.Name     = "btnMessageDstFile";
     this.btnMessageDstFile.Size     = new System.Drawing.Size(103, 28);
     this.btnMessageDstFile.TabIndex = 12;
     this.btnMessageDstFile.Text     = "Browse...";
     this.btnMessageDstFile.Click   += new System.EventHandler(this.btnMessageDstFile_Click);
     //
     // txtMessageDstFile
     //
     this.errorProvider.SetIconAlignment(this.txtMessageDstFile, System.Windows.Forms.ErrorIconAlignment.MiddleLeft);
     this.txtMessageDstFile.Location     = new System.Drawing.Point(184, 20);
     this.txtMessageDstFile.Name         = "txtMessageDstFile";
     this.txtMessageDstFile.Size         = new System.Drawing.Size(383, 22);
     this.txtMessageDstFile.TabIndex     = 11;
     this.txtMessageDstFile.Text         = "";
     this.txtMessageDstFile.TextChanged += new System.EventHandler(this.textField_TextChanged);
     this.txtMessageDstFile.Enter       += new System.EventHandler(this.txtMessageDstFile_Enter);
     //
     // rdoMessageDisplay
     //
     this.rdoMessageDisplay.Checked  = true;
     this.rdoMessageDisplay.Location = new System.Drawing.Point(31, 59);
     this.rdoMessageDisplay.Name     = "rdoMessageDisplay";
     this.rdoMessageDisplay.Size     = new System.Drawing.Size(143, 30);
     this.rdoMessageDisplay.TabIndex = 10;
     this.rdoMessageDisplay.TabStop  = true;
     this.rdoMessageDisplay.Text     = "Display Message";
     //
     // rdoMessageDstFile
     //
     this.rdoMessageDstFile.Location = new System.Drawing.Point(31, 16);
     this.rdoMessageDstFile.Name     = "rdoMessageDstFile";
     this.rdoMessageDstFile.Size     = new System.Drawing.Size(153, 29);
     this.rdoMessageDstFile.TabIndex = 9;
     this.rdoMessageDstFile.Text     = "Save Message as";
     //
     // txtExtractedMessage
     //
     this.errorProvider.SetIconAlignment(this.txtExtractedMessage, System.Windows.Forms.ErrorIconAlignment.MiddleLeft);
     this.txtExtractedMessage.Location     = new System.Drawing.Point(184, 69);
     this.txtExtractedMessage.Multiline    = true;
     this.txtExtractedMessage.Name         = "txtExtractedMessage";
     this.txtExtractedMessage.Size         = new System.Drawing.Size(379, 119);
     this.txtExtractedMessage.TabIndex     = 7;
     this.txtExtractedMessage.Text         = "";
     this.txtExtractedMessage.TextChanged += new System.EventHandler(this.textField_TextChanged);
     this.txtExtractedMessage.Enter       += new System.EventHandler(this.txtExtractedMessage_Enter);
     //
     // btnExtract
     //
     this.btnExtract.Location = new System.Drawing.Point(297, 237);
     this.btnExtract.Name     = "btnExtract";
     this.btnExtract.Size     = new System.Drawing.Size(164, 30);
     this.btnExtract.TabIndex = 6;
     this.btnExtract.Text     = "Extract Message";
     this.btnExtract.Click   += new System.EventHandler(this.btnExtract_Click);
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(68, 112);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(77, 31);
     this.label5.TabIndex = 2;
     this.label5.Text     = "Key File";
     //
     // btnKeyFile
     //
     this.btnKeyFile.Location = new System.Drawing.Point(529, 112);
     this.btnKeyFile.Name     = "btnKeyFile";
     this.btnKeyFile.Size     = new System.Drawing.Size(102, 27);
     this.btnKeyFile.TabIndex = 1;
     this.btnKeyFile.Text     = "Browse...";
     this.btnKeyFile.Click   += new System.EventHandler(this.btnKeyFile_Click);
     //
     // txtKeyFile
     //
     this.errorProvider.SetIconAlignment(this.txtKeyFile, System.Windows.Forms.ErrorIconAlignment.MiddleLeft);
     this.txtKeyFile.Location     = new System.Drawing.Point(145, 112);
     this.txtKeyFile.Name         = "txtKeyFile";
     this.txtKeyFile.Size         = new System.Drawing.Size(382, 22);
     this.txtKeyFile.TabIndex     = 0;
     this.txtKeyFile.Text         = "";
     this.txtKeyFile.TextChanged += new System.EventHandler(this.textField_TextChanged);
     //
     // rdoSrcFile
     //
     this.rdoSrcFile.Location        = new System.Drawing.Point(51, 16);
     this.rdoSrcFile.Name            = "rdoSrcFile";
     this.rdoSrcFile.Size            = new System.Drawing.Size(94, 26);
     this.rdoSrcFile.TabIndex        = 6;
     this.rdoSrcFile.Text            = "Wave File";
     this.rdoSrcFile.CheckedChanged += new System.EventHandler(this.rdoCarrierWave_CheckedChanged);
     //
     // rdoRecord
     //
     this.rdoRecord.Checked         = true;
     this.rdoRecord.Location        = new System.Drawing.Point(51, 60);
     this.rdoRecord.Name            = "rdoRecord";
     this.rdoRecord.Size            = new System.Drawing.Size(222, 25);
     this.rdoRecord.TabIndex        = 6;
     this.rdoRecord.TabStop         = true;
     this.rdoRecord.Text            = "Record a Wave on the fly";
     this.rdoRecord.CheckedChanged += new System.EventHandler(this.rdoCarrierWave_CheckedChanged);
     //
     // frmMain
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
     this.ClientSize        = new System.Drawing.Size(752, 503);
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.rdoSrcFile,
         this.tabCtl,
         this.btnSrcFile,
         this.txtSrcFile,
         this.txtKeyFile,
         this.label5,
         this.btnKeyFile,
         this.rdoRecord
     });
     this.Name = "frmMain";
     this.Text = "SteganoWave";
     this.tabCtl.ResumeLayout(false);
     this.tabHide.ResumeLayout(false);
     this.tabExtract.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Esempio n. 42
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     //System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EditFormBase));
     this.panel2         = new System.Windows.Forms.Panel();
     this.btnPrint       = new System.Windows.Forms.Button();
     this.btnHelp        = new System.Windows.Forms.Button();
     this.btnClose       = new System.Windows.Forms.Button();
     this.btnSaveAndNew  = new System.Windows.Forms.Button();
     this.btnSave        = new System.Windows.Forms.Button();
     this.errorProvider1 = new System.Windows.Forms.ErrorProvider(this.components);
     this.panel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit();
     this.SuspendLayout();
     //
     // panel2
     //
     this.panel2.Controls.Add(this.btnPrint);
     this.panel2.Controls.Add(this.btnHelp);
     this.panel2.Controls.Add(this.btnClose);
     this.panel2.Controls.Add(this.btnSaveAndNew);
     this.panel2.Controls.Add(this.btnSave);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.panel2.Location = new System.Drawing.Point(0, 343);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(600, 88);
     this.panel2.TabIndex = 20;
     this.panel2.Paint   += new System.Windows.Forms.PaintEventHandler(this.panel2_Paint);
     //
     // btnPrint
     //
     this.btnPrint.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnPrint.Location   = new System.Drawing.Point(107, 38);
     this.btnPrint.Name       = "btnPrint";
     this.btnPrint.Size       = new System.Drawing.Size(77, 27);
     this.btnPrint.TabIndex   = 25;
     this.btnPrint.Text       = "打印(&P)";
     this.btnPrint.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.btnPrint.UseVisualStyleBackColor = true;
     this.btnPrint.Visible = false;
     this.btnPrint.Click  += new System.EventHandler(this.btnPrint_Click);
     //
     // btnHelp
     //
     this.btnHelp.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.btnHelp.Location   = new System.Drawing.Point(24, 38);
     this.btnHelp.Name       = "btnHelp";
     this.btnHelp.Size       = new System.Drawing.Size(77, 27);
     this.btnHelp.TabIndex   = 24;
     this.btnHelp.Text       = "帮助(&H)";
     this.btnHelp.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     this.btnHelp.UseVisualStyleBackColor = true;
     this.btnHelp.Click += new System.EventHandler(this.btnHelp_Click);
     //
     // btnClose
     //
     this.btnClose.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     this.btnClose.Location = new System.Drawing.Point(499, 38);
     this.btnClose.Name     = "btnClose";
     this.btnClose.Size     = new System.Drawing.Size(77, 27);
     this.btnClose.TabIndex = 23;
     this.btnClose.Text     = "关闭(&C)";
     this.btnClose.UseVisualStyleBackColor = true;
     this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
     //
     // btnSaveAndNew
     //
     this.btnSaveAndNew.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     this.btnSaveAndNew.Location = new System.Drawing.Point(396, 38);
     this.btnSaveAndNew.Name     = "btnSaveAndNew";
     this.btnSaveAndNew.Size     = new System.Drawing.Size(97, 27);
     this.btnSaveAndNew.TabIndex = 22;
     this.btnSaveAndNew.Text     = "保存并新增(&A)";
     this.btnSaveAndNew.UseVisualStyleBackColor = true;
     this.btnSaveAndNew.Click += new System.EventHandler(this.btnSaveAndNew_Click);
     //
     // btnSave
     //
     this.btnSave.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     this.btnSave.Location = new System.Drawing.Point(313, 38);
     this.btnSave.Name     = "btnSave";
     this.btnSave.Size     = new System.Drawing.Size(77, 27);
     this.btnSave.TabIndex = 21;
     this.btnSave.Text     = "保存(&S)";
     this.btnSave.UseVisualStyleBackColor = true;
     this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
     //
     // errorProvider1
     //
     this.errorProvider1.BlinkStyle       = System.Windows.Forms.ErrorBlinkStyle.NeverBlink;
     this.errorProvider1.ContainerControl = this;
     //this.errorProvider1.Icon = ((System.Drawing.Icon)(resources.GetObject("errorProvider1.Icon")));
     //
     // EditForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(600, 431);
     this.Controls.Add(this.panel2);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "EditForm";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).EndInit();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WzPageResourceSetup2));
     this.label2         = new System.Windows.Forms.Label();
     this.errorProvider  = new System.Windows.Forms.ErrorProvider(this.components);
     this.label5         = new System.Windows.Forms.Label();
     this.FunctoidIcon   = new System.Windows.Forms.PictureBox();
     this.cmbCategory    = new System.Windows.Forms.ComboBox();
     this.grpLanguage    = new System.Windows.Forms.GroupBox();
     this.optVB          = new System.Windows.Forms.RadioButton();
     this.optCS          = new System.Windows.Forms.RadioButton();
     this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
     this.panelHeader.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.FunctoidIcon)).BeginInit();
     this.grpLanguage.SuspendLayout();
     this.SuspendLayout();
     //
     // panelHeader
     //
     resources.ApplyResources(this.panelHeader, "panelHeader");
     //
     // labelTitle
     //
     resources.ApplyResources(this.labelTitle, "labelTitle");
     //
     // labelSubTitle
     //
     resources.ApplyResources(this.labelSubTitle, "labelSubTitle");
     //
     // label2
     //
     resources.ApplyResources(this.label2, "label2");
     this.label2.Name = "label2";
     //
     // errorProvider
     //
     this.errorProvider.ContainerControl = this;
     resources.ApplyResources(this.errorProvider, "errorProvider");
     //
     // label5
     //
     resources.ApplyResources(this.label5, "label5");
     this.label5.Name = "label5";
     //
     // FunctoidIcon
     //
     resources.ApplyResources(this.FunctoidIcon, "FunctoidIcon");
     this.FunctoidIcon.Name         = "FunctoidIcon";
     this.FunctoidIcon.TabStop      = false;
     this.FunctoidIcon.Click       += new System.EventHandler(this.FunctoidIcon_Click);
     this.FunctoidIcon.DoubleClick += new System.EventHandler(this.FunctoidIcon_DoubleClick);
     //
     // cmbCategory
     //
     this.cmbCategory.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     resources.ApplyResources(this.cmbCategory, "cmbCategory");
     this.cmbCategory.Name   = "cmbCategory";
     this.cmbCategory.Sorted = true;
     //
     // grpLanguage
     //
     this.grpLanguage.Controls.Add(this.optVB);
     this.grpLanguage.Controls.Add(this.optCS);
     resources.ApplyResources(this.grpLanguage, "grpLanguage");
     this.grpLanguage.Name    = "grpLanguage";
     this.grpLanguage.TabStop = false;
     //
     // optVB
     //
     resources.ApplyResources(this.optVB, "optVB");
     this.optVB.Name = "optVB";
     //
     // optCS
     //
     this.optCS.Checked = true;
     resources.ApplyResources(this.optCS, "optCS");
     this.optCS.Name    = "optCS";
     this.optCS.TabStop = true;
     //
     // openFileDialog
     //
     this.openFileDialog.DefaultExt = "bmp";
     resources.ApplyResources(this.openFileDialog, "openFileDialog");
     this.openFileDialog.RestoreDirectory = true;
     //
     // WzPageResourceSetup2
     //
     this.Controls.Add(this.grpLanguage);
     this.Controls.Add(this.cmbCategory);
     this.Controls.Add(this.FunctoidIcon);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.label2);
     this.Name = "WzPageResourceSetup2";
     resources.ApplyResources(this, "$this");
     this.SubTitle = "Specify Functoid Properties";
     this.Title    = "Functoid Properties";
     this.Load    += new System.EventHandler(this.WzPageResourceSetup2_Load);
     this.Leave   += new System.EventHandler(this.WzPageResourceSetup2_Leave);
     this.Controls.SetChildIndex(this.label2, 0);
     this.Controls.SetChildIndex(this.label5, 0);
     this.Controls.SetChildIndex(this.panelHeader, 0);
     this.Controls.SetChildIndex(this.FunctoidIcon, 0);
     this.Controls.SetChildIndex(this.cmbCategory, 0);
     this.Controls.SetChildIndex(this.grpLanguage, 0);
     this.panelHeader.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.FunctoidIcon)).EndInit();
     this.grpLanguage.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 44
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(Puzzler));
     this.pnlPuzzle         = new System.Windows.Forms.Panel();
     this.btnMakeWords      = new System.Windows.Forms.Button();
     this.lblResults        = new System.Windows.Forms.Label();
     this.txtRequired       = new System.Windows.Forms.TextBox();
     this.lblMustInclude    = new System.Windows.Forms.Label();
     this.txtLetters        = new System.Windows.Forms.TextBox();
     this.lblMakeWords      = new System.Windows.Forms.Label();
     this.lbxWordList       = new System.Windows.Forms.ListBox();
     this.pnlSpellCheck     = new System.Windows.Forms.Panel();
     this.lblDictionaryInfo = new System.Windows.Forms.Label();
     this.txtWordToCheck    = new System.Windows.Forms.TextBox();
     this.Label1            = new System.Windows.Forms.Label();
     this.btnAddWord        = new System.Windows.Forms.Button();
     this.errorProvider1    = new System.Windows.Forms.ErrorProvider();
     this.pnlPuzzle.SuspendLayout();
     this.pnlSpellCheck.SuspendLayout();
     this.SuspendLayout();
     //
     // pnlPuzzle
     //
     this.pnlPuzzle.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.pnlPuzzle.Controls.Add(this.btnMakeWords);
     this.pnlPuzzle.Controls.Add(this.lblResults);
     this.pnlPuzzle.Controls.Add(this.txtRequired);
     this.pnlPuzzle.Controls.Add(this.lblMustInclude);
     this.pnlPuzzle.Controls.Add(this.txtLetters);
     this.pnlPuzzle.Controls.Add(this.lblMakeWords);
     this.pnlPuzzle.Controls.Add(this.lbxWordList);
     this.pnlPuzzle.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.pnlPuzzle.Location = new System.Drawing.Point(0, 96);
     this.pnlPuzzle.Name     = "pnlPuzzle";
     this.pnlPuzzle.Size     = new System.Drawing.Size(292, 170);
     this.pnlPuzzle.TabIndex = 10;
     //
     // btnMakeWords
     //
     this.btnMakeWords.Location = new System.Drawing.Point(200, 32);
     this.btnMakeWords.Name     = "btnMakeWords";
     this.btnMakeWords.Size     = new System.Drawing.Size(80, 20);
     this.btnMakeWords.TabIndex = 6;
     this.btnMakeWords.Text     = "Make Words";
     this.btnMakeWords.Click   += new System.EventHandler(this.btnMakeWords_Click);
     //
     // lblResults
     //
     this.lblResults.Location  = new System.Drawing.Point(8, 64);
     this.lblResults.Name      = "lblResults";
     this.lblResults.Size      = new System.Drawing.Size(120, 23);
     this.lblResults.TabIndex  = 4;
     this.lblResults.Text      = "Results:";
     this.lblResults.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtRequired
     //
     this.txtRequired.Location  = new System.Drawing.Point(152, 32);
     this.txtRequired.MaxLength = 1;
     this.txtRequired.Name      = "txtRequired";
     this.txtRequired.Size      = new System.Drawing.Size(24, 20);
     this.txtRequired.TabIndex  = 3;
     this.txtRequired.Text      = "";
     //
     // lblMustInclude
     //
     this.lblMustInclude.Location  = new System.Drawing.Point(8, 32);
     this.lblMustInclude.Name      = "lblMustInclude";
     this.lblMustInclude.Size      = new System.Drawing.Size(120, 23);
     this.lblMustInclude.TabIndex  = 2;
     this.lblMustInclude.Text      = "Must include the letter:";
     this.lblMustInclude.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // txtLetters
     //
     this.txtLetters.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this.txtLetters.Location = new System.Drawing.Point(152, 8);
     this.txtLetters.Name     = "txtLetters";
     this.txtLetters.Size     = new System.Drawing.Size(128, 20);
     this.txtLetters.TabIndex = 1;
     this.txtLetters.Text     = "";
     //
     // lblMakeWords
     //
     this.lblMakeWords.Location  = new System.Drawing.Point(8, 8);
     this.lblMakeWords.Name      = "lblMakeWords";
     this.lblMakeWords.Size      = new System.Drawing.Size(152, 23);
     this.lblMakeWords.TabIndex  = 0;
     this.lblMakeWords.Text      = "Make words from the letters:";
     this.lblMakeWords.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lbxWordList
     //
     this.lbxWordList.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.lbxWordList.Location = new System.Drawing.Point(152, 56);
     this.lbxWordList.Name     = "lbxWordList";
     this.lbxWordList.Size     = new System.Drawing.Size(128, 95);
     this.lbxWordList.TabIndex = 5;
     //
     // pnlSpellCheck
     //
     this.pnlSpellCheck.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.pnlSpellCheck.Controls.Add(this.lblDictionaryInfo);
     this.pnlSpellCheck.Controls.Add(this.txtWordToCheck);
     this.pnlSpellCheck.Controls.Add(this.Label1);
     this.pnlSpellCheck.Controls.Add(this.btnAddWord);
     this.pnlSpellCheck.Dock     = System.Windows.Forms.DockStyle.Top;
     this.pnlSpellCheck.Location = new System.Drawing.Point(0, 0);
     this.pnlSpellCheck.Name     = "pnlSpellCheck";
     this.pnlSpellCheck.Size     = new System.Drawing.Size(292, 96);
     this.pnlSpellCheck.TabIndex = 9;
     //
     // lblDictionaryInfo
     //
     this.lblDictionaryInfo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                           | System.Windows.Forms.AnchorStyles.Right)));
     this.lblDictionaryInfo.Location = new System.Drawing.Point(8, 8);
     this.lblDictionaryInfo.Name     = "lblDictionaryInfo";
     this.lblDictionaryInfo.Size     = new System.Drawing.Size(264, 32);
     this.lblDictionaryInfo.TabIndex = 0;
     this.lblDictionaryInfo.Text     = "lblDictionaryInfo";
     //
     // txtWordToCheck
     //
     this.txtWordToCheck.Location     = new System.Drawing.Point(96, 56);
     this.txtWordToCheck.Name         = "txtWordToCheck";
     this.txtWordToCheck.Size         = new System.Drawing.Size(88, 20);
     this.txtWordToCheck.TabIndex     = 2;
     this.txtWordToCheck.Text         = "";
     this.txtWordToCheck.TextChanged += new System.EventHandler(this.txtWordToCheck_TextChanged);
     //
     // Label1
     //
     this.Label1.Location  = new System.Drawing.Point(8, 56);
     this.Label1.Name      = "Label1";
     this.Label1.Size      = new System.Drawing.Size(88, 20);
     this.Label1.TabIndex  = 1;
     this.Label1.Text      = "Word To check:";
     this.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // btnAddWord
     //
     this.btnAddWord.Location = new System.Drawing.Point(200, 56);
     this.btnAddWord.Name     = "btnAddWord";
     this.btnAddWord.Size     = new System.Drawing.Size(75, 20);
     this.btnAddWord.TabIndex = 3;
     this.btnAddWord.Text     = "Add Word";
     this.btnAddWord.Click   += new System.EventHandler(this.btnAddWord_Click);
     //
     // errorProvider1
     //
     this.errorProvider1.ContainerControl = this;
     //
     // Puzzler
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(292, 266);
     this.Controls.Add(this.pnlPuzzle);
     this.Controls.Add(this.pnlSpellCheck);
     this.Icon  = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name  = "Puzzler";
     this.Text  = "Puzzler";
     this.Load += new System.EventHandler(this.Puzzler_Load);
     this.pnlPuzzle.ResumeLayout(false);
     this.pnlSpellCheck.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Esempio n. 45
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(FormRandomDistribution));
     this.label1          = new System.Windows.Forms.Label();
     this.textBoxNumBalls = new System.Windows.Forms.TextBox();
     this.label2          = new System.Windows.Forms.Label();
     this.textBoxMaxSpeed = new System.Windows.Forms.TextBox();
     this.buttonOk        = new System.Windows.Forms.Button();
     this.buttonDefault   = new System.Windows.Forms.Button();
     this.label3          = new System.Windows.Forms.Label();
     this.textBoxRadius   = new System.Windows.Forms.TextBox();
     this.label4          = new System.Windows.Forms.Label();
     this.textBoxMueG     = new System.Windows.Forms.TextBox();
     this.groupBox1       = new System.Windows.Forms.GroupBox();
     this.radioButton2    = new System.Windows.Forms.RadioButton();
     this.radioButton1    = new System.Windows.Forms.RadioButton();
     this.errorProvider1  = new System.Windows.Forms.ErrorProvider();
     this.textBoxminSpeed = new System.Windows.Forms.TextBox();
     this.label5          = new System.Windows.Forms.Label();
     this.label6          = new System.Windows.Forms.Label();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label1.Location = new System.Drawing.Point(16, 48);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(104, 16);
     this.label1.TabIndex = 0;
     this.label1.Text     = "Number of Balls :";
     //
     // textBoxNumBalls
     //
     this.textBoxNumBalls.Location = new System.Drawing.Point(120, 48);
     this.textBoxNumBalls.Name     = "textBoxNumBalls";
     this.textBoxNumBalls.Size     = new System.Drawing.Size(120, 20);
     this.textBoxNumBalls.TabIndex = 1;
     this.textBoxNumBalls.Text     = "";
     //
     // label2
     //
     this.label2.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label2.Location = new System.Drawing.Point(16, 112);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(184, 16);
     this.label2.TabIndex = 2;
     this.label2.Text     = "Maximum Speed of each Balls  :";
     //
     // textBoxMaxSpeed
     //
     this.textBoxMaxSpeed.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.textBoxMaxSpeed.Location = new System.Drawing.Point(200, 112);
     this.textBoxMaxSpeed.Name     = "textBoxMaxSpeed";
     this.textBoxMaxSpeed.Size     = new System.Drawing.Size(40, 20);
     this.textBoxMaxSpeed.TabIndex = 3;
     this.textBoxMaxSpeed.Text     = "";
     //
     // buttonOk
     //
     this.buttonOk.Cursor   = System.Windows.Forms.Cursors.Hand;
     this.buttonOk.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.buttonOk.Location = new System.Drawing.Point(192, 208);
     this.buttonOk.Name     = "buttonOk";
     this.buttonOk.Size     = new System.Drawing.Size(48, 24);
     this.buttonOk.TabIndex = 9;
     this.buttonOk.Text     = "Ok";
     this.buttonOk.Click   += new System.EventHandler(this.buttonOk_Click);
     //
     // buttonDefault
     //
     this.buttonDefault.Cursor   = System.Windows.Forms.Cursors.Hand;
     this.buttonDefault.Location = new System.Drawing.Point(192, 248);
     this.buttonDefault.Name     = "buttonDefault";
     this.buttonDefault.Size     = new System.Drawing.Size(48, 24);
     this.buttonDefault.TabIndex = 10;
     this.buttonDefault.Text     = "Default";
     this.buttonDefault.Click   += new System.EventHandler(this.buttonDefault_Click);
     //
     // label3
     //
     this.label3.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label3.Location = new System.Drawing.Point(16, 80);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(152, 16);
     this.label3.TabIndex = 6;
     this.label3.Text     = "The Radius of ecah Balls :";
     //
     // textBoxRadius
     //
     this.textBoxRadius.Location = new System.Drawing.Point(168, 80);
     this.textBoxRadius.Name     = "textBoxRadius";
     this.textBoxRadius.Size     = new System.Drawing.Size(72, 20);
     this.textBoxRadius.TabIndex = 2;
     this.textBoxRadius.Text     = "";
     //
     // label4
     //
     this.label4.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label4.Location = new System.Drawing.Point(16, 168);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(184, 16);
     this.label4.TabIndex = 8;
     this.label4.Text     = "Coefficient  of  Friction  (mue*g) :";
     //
     // textBoxMueG
     //
     this.textBoxMueG.Location = new System.Drawing.Point(200, 168);
     this.textBoxMueG.Name     = "textBoxMueG";
     this.textBoxMueG.Size     = new System.Drawing.Size(40, 20);
     this.textBoxMueG.TabIndex = 5;
     this.textBoxMueG.Text     = "";
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.radioButton2);
     this.groupBox1.Controls.Add(this.radioButton1);
     this.groupBox1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.groupBox1.Location = new System.Drawing.Point(16, 200);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(96, 72);
     this.groupBox1.TabIndex = 8;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Ball\'s Color";
     //
     // radioButton2
     //
     this.radioButton2.Font     = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.radioButton2.Location = new System.Drawing.Point(16, 48);
     this.radioButton2.Name     = "radioButton2";
     this.radioButton2.Size     = new System.Drawing.Size(64, 16);
     this.radioButton2.TabIndex = 7;
     this.radioButton2.Text     = "Random";
     //
     // radioButton1
     //
     this.radioButton1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.radioButton1.Location = new System.Drawing.Point(16, 24);
     this.radioButton1.Name     = "radioButton1";
     this.radioButton1.Size     = new System.Drawing.Size(64, 16);
     this.radioButton1.TabIndex = 6;
     this.radioButton1.Text     = "Blue";
     //
     // errorProvider1
     //
     this.errorProvider1.BlinkRate        = 300;
     this.errorProvider1.ContainerControl = this;
     //
     // textBoxminSpeed
     //
     this.textBoxminSpeed.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.textBoxminSpeed.Location = new System.Drawing.Point(200, 136);
     this.textBoxminSpeed.Name     = "textBoxminSpeed";
     this.textBoxminSpeed.Size     = new System.Drawing.Size(40, 20);
     this.textBoxminSpeed.TabIndex = 4;
     this.textBoxminSpeed.Text     = "";
     //
     // label5
     //
     this.label5.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label5.Location = new System.Drawing.Point(16, 136);
     this.label5.Name     = "label5";
     this.label5.Size     = new System.Drawing.Size(184, 16);
     this.label5.TabIndex = 11;
     this.label5.Text     = "Minimum  Speed of each Balls  :";
     //
     // label6
     //
     this.label6.Font      = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.label6.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(128)), ((System.Byte)(128)), ((System.Byte)(255)));
     this.label6.Location  = new System.Drawing.Point(8, 8);
     this.label6.Name      = "label6";
     this.label6.Size      = new System.Drawing.Size(240, 24);
     this.label6.TabIndex  = 12;
     this.label6.Text      = "label6";
     //
     // FormRandomDistribution
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(258, 284);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.textBoxminSpeed);
     this.Controls.Add(this.textBoxMueG);
     this.Controls.Add(this.textBoxRadius);
     this.Controls.Add(this.textBoxMaxSpeed);
     this.Controls.Add(this.textBoxNumBalls);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.buttonDefault);
     this.Controls.Add(this.buttonOk);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "FormRandomDistribution";
     this.Text            = "Random Distribution Form";
     this.Closed         += new System.EventHandler(this.FormDistribution_Closed);
     this.groupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Esempio n. 46
0
        public Form1()
        {
            this.nameTextBox1          = new System.Windows.Forms.TextBox();
            this.label1                = new System.Windows.Forms.Label();
            this.label2                = new System.Windows.Forms.Label();
            this.ageUpDownPicker       = new System.Windows.Forms.NumericUpDown();
            this.favoriteColorComboBox = new System.Windows.Forms.ComboBox();
            this.label3                = new System.Windows.Forms.Label();
            this.label4                = new System.Windows.Forms.Label();
            this.label5                = new System.Windows.Forms.Label();
            this.label6                = new System.Windows.Forms.Label();

            // Name Label
            this.label1.Location = new System.Drawing.Point(56, 32);
            this.label1.Size     = new System.Drawing.Size(40, 23);
            this.label1.Text     = "Name:";

            // Age Label
            this.label2.Location = new System.Drawing.Point(40, 64);
            this.label2.Size     = new System.Drawing.Size(56, 23);
            this.label2.Text     = "Age (3-5)";

            // Favorite Color Label
            this.label3.Location = new System.Drawing.Point(24, 96);
            this.label3.Size     = new System.Drawing.Size(80, 24);
            this.label3.Text     = "Favorite color";

            // ErrorBlinkStyle.AlwaysBlink Label
            this.label4.Location = new System.Drawing.Point(264, 32);
            this.label4.Size     = new System.Drawing.Size(160, 23);
            this.label4.Text     = "ErrorBlinkStyle.AlwaysBlink";

            // ErrorBlinkStyle.BlinkIfDifferentError Label
            this.label5.Location = new System.Drawing.Point(264, 64);
            this.label5.Size     = new System.Drawing.Size(200, 23);
            this.label5.Text     = "ErrorBlinkStyle.BlinkIfDifferentError";

            // ErrorBlinkStyle.NeverBlink Label
            this.label6.Location = new System.Drawing.Point(264, 96);
            this.label6.Size     = new System.Drawing.Size(200, 23);
            this.label6.Text     = "ErrorBlinkStyle.NeverBlink";

            // Name TextBox
            this.nameTextBox1.Location   = new System.Drawing.Point(112, 32);
            this.nameTextBox1.Size       = new System.Drawing.Size(120, 20);
            this.nameTextBox1.TabIndex   = 0;
            this.nameTextBox1.Validated += new System.EventHandler(this.nameTextBox1_Validated);

            // Age NumericUpDown
            this.ageUpDownPicker.Location   = new System.Drawing.Point(112, 64);
            this.ageUpDownPicker.Maximum    = new System.Decimal(new int[] { 150, 0, 0, 0 });
            this.ageUpDownPicker.TabIndex   = 4;
            this.ageUpDownPicker.Validated += new System.EventHandler(this.ageUpDownPicker_Validated);

            // Favorite Color ComboBox
            this.favoriteColorComboBox.Items.AddRange(new object[] { "None", "Red", "Yellow",
                                                                     "Green", "Blue", "Purple" });
            this.favoriteColorComboBox.Location   = new System.Drawing.Point(112, 96);
            this.favoriteColorComboBox.Size       = new System.Drawing.Size(120, 21);
            this.favoriteColorComboBox.TabIndex   = 5;
            this.favoriteColorComboBox.Validated += new System.EventHandler(this.favoriteColorComboBox_Validated);

            // Set up how the form should be displayed and add the controls to the form.
            this.ClientSize = new System.Drawing.Size(464, 150);
            this.Controls.AddRange(new System.Windows.Forms.Control[] {
                this.label6, this.label5, this.label4, this.label3,
                this.favoriteColorComboBox, this.ageUpDownPicker,
                this.label2, this.label1, this.nameTextBox1
            });
            this.Text = "Error Provider Example";

            //<Snippet2>
            // Create and set the ErrorProvider for each data entry control.

            nameErrorProvider = new  System.Windows.Forms.ErrorProvider();
            nameErrorProvider.SetIconAlignment(this.nameTextBox1, ErrorIconAlignment.MiddleRight);
            nameErrorProvider.SetIconPadding(this.nameTextBox1, 2);
            nameErrorProvider.BlinkRate  = 1000;
            nameErrorProvider.BlinkStyle = System.Windows.Forms.ErrorBlinkStyle.AlwaysBlink;

            ageErrorProvider = new  System.Windows.Forms.ErrorProvider();
            ageErrorProvider.SetIconAlignment(this.ageUpDownPicker, ErrorIconAlignment.MiddleRight);
            ageErrorProvider.SetIconPadding(this.ageUpDownPicker, 2);
            ageErrorProvider.BlinkStyle = System.Windows.Forms.ErrorBlinkStyle.BlinkIfDifferentError;

            favoriteColorErrorProvider = new  System.Windows.Forms.ErrorProvider();
            favoriteColorErrorProvider.SetIconAlignment(this.favoriteColorComboBox, ErrorIconAlignment.MiddleRight);
            favoriteColorErrorProvider.SetIconPadding(this.favoriteColorComboBox, 2);
            favoriteColorErrorProvider.BlinkRate  = 1000;
            favoriteColorErrorProvider.BlinkStyle = System.Windows.Forms.ErrorBlinkStyle.NeverBlink;
            //</Snippet2>
        }
Esempio n. 47
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.txtUsername   = new System.Windows.Forms.TextBox();
     this.txtPassword   = new System.Windows.Forms.TextBox();
     this.btnNoLogin    = new System.Windows.Forms.Button();
     this.label1        = new System.Windows.Forms.Label();
     this.label2        = new System.Windows.Forms.Label();
     this.btnLogin      = new System.Windows.Forms.Button();
     this.label3        = new System.Windows.Forms.Label();
     this.errorProvider = new System.Windows.Forms.ErrorProvider();
     this.label4        = new System.Windows.Forms.Label();
     this.linkLabel1    = new System.Windows.Forms.LinkLabel();
     this.SuspendLayout();
     //
     // txtUsername
     //
     this.txtUsername.Location = new System.Drawing.Point(152, 96);
     this.txtUsername.Name     = "txtUsername";
     this.txtUsername.TabIndex = 1;
     this.txtUsername.Text     = "";
     //
     // txtPassword
     //
     this.txtPassword.Location     = new System.Drawing.Point(152, 144);
     this.txtPassword.Name         = "txtPassword";
     this.txtPassword.PasswordChar = '*';
     this.txtPassword.TabIndex     = 3;
     this.txtPassword.Text         = "";
     //
     // btnNoLogin
     //
     this.btnNoLogin.Location = new System.Drawing.Point(152, 192);
     this.btnNoLogin.Name     = "btnNoLogin";
     this.btnNoLogin.Size     = new System.Drawing.Size(112, 40);
     this.btnNoLogin.TabIndex = 7;
     this.btnNoLogin.Text     = "Enter Anonymously (no login)";
     this.btnNoLogin.Click   += new System.EventHandler(this.btnNoLogin_Click);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(32, 144);
     this.label1.Name     = "label1";
     this.label1.TabIndex = 9;
     this.label1.Text     = "password";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(32, 96);
     this.label2.Name     = "label2";
     this.label2.TabIndex = 10;
     this.label2.Text     = "username";
     //
     // btnLogin
     //
     this.btnLogin.Location = new System.Drawing.Point(24, 192);
     this.btnLogin.Name     = "btnLogin";
     this.btnLogin.Size     = new System.Drawing.Size(112, 40);
     this.btnLogin.TabIndex = 11;
     this.btnLogin.Text     = "Login";
     this.btnLogin.Click   += new System.EventHandler(this.btnLogin_Click_1);
     //
     // label3
     //
     this.label3.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(0)), ((System.Byte)(0)));
     this.label3.Location  = new System.Drawing.Point(8, 8);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(272, 32);
     this.label3.TabIndex  = 12;
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // errorProvider
     //
     this.errorProvider.ContainerControl = this;
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(24, 48);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(240, 24);
     this.label4.TabIndex = 13;
     this.label4.Text     = "Username = \'manager\' Password= \'manager\'";
     //
     // linkLabel1
     //
     this.linkLabel1.Location     = new System.Drawing.Point(24, 240);
     this.linkLabel1.Name         = "linkLabel1";
     this.linkLabel1.TabIndex     = 14;
     this.linkLabel1.TabStop      = true;
     this.linkLabel1.Text         = "Help";
     this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
     //
     // Login
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(292, 273);
     this.Controls.Add(this.linkLabel1);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.btnLogin);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.btnNoLogin);
     this.Controls.Add(this.txtPassword);
     this.Controls.Add(this.txtUsername);
     this.Name          = "Login";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Login";
     this.Load         += new System.EventHandler(this.Login_Load);
     this.ResumeLayout(false);
 }
Esempio n. 48
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components      = new System.ComponentModel.Container();
     this.panel1          = new System.Windows.Forms.Panel();
     this.panel2          = new System.Windows.Forms.Panel();
     this.btnCancel       = new System.Windows.Forms.Button();
     this.btnOK           = new System.Windows.Forms.Button();
     this.lblInstructions = new System.Windows.Forms.Label();
     this.pnlFields       = new System.Windows.Forms.Panel();
     this.error           = new System.Windows.Forms.ErrorProvider();
     this.tip             = new System.Windows.Forms.ToolTip(this.components);
     this.panel3          = new System.Windows.Forms.Panel();
     this.panel1.SuspendLayout();
     this.SuspendLayout();
     //
     // panel1
     //
     this.panel1.CausesValidation = false;
     this.panel1.Controls.Add(this.panel2);
     this.panel1.Controls.Add(this.btnCancel);
     this.panel1.Controls.Add(this.btnOK);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this.panel1.Location = new System.Drawing.Point(0, 232);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(292, 34);
     this.panel1.TabIndex = 2;
     //
     // panel2
     //
     this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.panel2.Dock        = System.Windows.Forms.DockStyle.Top;
     this.panel2.Location    = new System.Drawing.Point(0, 0);
     this.panel2.Name        = "panel2";
     this.panel2.Size        = new System.Drawing.Size(292, 4);
     this.panel2.TabIndex    = 2;
     //
     // btnCancel
     //
     this.btnCancel.Anchor           = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnCancel.CausesValidation = false;
     this.btnCancel.DialogResult     = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location         = new System.Drawing.Point(212, 7);
     this.btnCancel.Name             = "btnCancel";
     this.btnCancel.TabIndex         = 1;
     this.btnCancel.Text             = "Cancel";
     //
     // btnOK
     //
     this.btnOK.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnOK.Location = new System.Drawing.Point(132, 7);
     this.btnOK.Name     = "btnOK";
     this.btnOK.TabIndex = 0;
     this.btnOK.Text     = "OK";
     this.btnOK.Click   += new System.EventHandler(this.btnOK_Click);
     //
     // lblInstructions
     //
     this.lblInstructions.BackColor = System.Drawing.SystemColors.Control;
     this.lblInstructions.Dock      = System.Windows.Forms.DockStyle.Top;
     this.lblInstructions.ForeColor = System.Drawing.SystemColors.HotTrack;
     this.lblInstructions.Location  = new System.Drawing.Point(0, 0);
     this.lblInstructions.Name      = "lblInstructions";
     this.lblInstructions.Size      = new System.Drawing.Size(292, 16);
     this.lblInstructions.TabIndex  = 1;
     //
     // pnlFields
     //
     this.pnlFields.AutoScroll         = true;
     this.pnlFields.Dock               = System.Windows.Forms.DockStyle.Fill;
     this.pnlFields.DockPadding.Bottom = 3;
     this.pnlFields.DockPadding.Left   = 6;
     this.pnlFields.DockPadding.Right  = 6;
     this.pnlFields.DockPadding.Top    = 3;
     this.pnlFields.Location           = new System.Drawing.Point(0, 20);
     this.pnlFields.Name               = "pnlFields";
     this.pnlFields.Size               = new System.Drawing.Size(292, 212);
     this.pnlFields.TabIndex           = 0;
     //
     // error
     //
     this.error.ContainerControl = this;
     //
     // panel3
     //
     this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
     this.panel3.Dock        = System.Windows.Forms.DockStyle.Top;
     this.panel3.Location    = new System.Drawing.Point(0, 16);
     this.panel3.Name        = "panel3";
     this.panel3.Size        = new System.Drawing.Size(292, 4);
     this.panel3.TabIndex    = 3;
     //
     // XDataForm
     //
     this.AcceptButton      = this.btnOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.btnCancel;
     this.ClientSize        = new System.Drawing.Size(292, 266);
     this.ControlBox        = false;
     this.Controls.Add(this.pnlFields);
     this.Controls.Add(this.panel3);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this.lblInstructions);
     this.HelpButton = true;
     this.Name       = "XDataForm";
     this.Text       = "XData Form";
     this.panel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Esempio n. 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.buttonCollectInput          = new System.Windows.Forms.Button();
     this.labelName                   = new System.Windows.Forms.Label();
     this.listBoxTemplates            = new System.Windows.Forms.ListBox();
     this.buttonOK                    = new System.Windows.Forms.Button();
     this.buttonCancel                = new System.Windows.Forms.Button();
     this.textBoxName                 = new System.Windows.Forms.TextBox();
     this.buttonViewData              = new System.Windows.Forms.Button();
     this.errorProviderRequiredFields = new System.Windows.Forms.ErrorProvider();
     this.buttonClearInput            = new System.Windows.Forms.Button();
     this.SuspendLayout();
     //
     // buttonCollectInput
     //
     this.buttonCollectInput.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.buttonCollectInput.Location = new System.Drawing.Point(16, 360);
     this.buttonCollectInput.Name     = "buttonCollectInput";
     this.buttonCollectInput.Size     = new System.Drawing.Size(136, 24);
     this.buttonCollectInput.TabIndex = 0;
     this.buttonCollectInput.Text     = "Record Template Input";
     this.buttonCollectInput.Click   += new System.EventHandler(this.buttonCollectInput_Click);
     //
     // labelName
     //
     this.labelName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.labelName.Location  = new System.Drawing.Point(16, 8);
     this.labelName.Name      = "labelName";
     this.labelName.Size      = new System.Drawing.Size(564, 23);
     this.labelName.TabIndex  = 1;
     this.labelName.Text      = "Name:";
     this.labelName.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
     //
     // listBoxTemplates
     //
     this.listBoxTemplates.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.listBoxTemplates.Location     = new System.Drawing.Point(16, 64);
     this.listBoxTemplates.Name         = "listBoxTemplates";
     this.listBoxTemplates.Size         = new System.Drawing.Size(560, 290);
     this.listBoxTemplates.Sorted       = true;
     this.listBoxTemplates.TabIndex     = 2;
     this.listBoxTemplates.DoubleClick += new System.EventHandler(this.listBoxTemplates_DoubleClick);
     this.listBoxTemplates.Validating  += new System.ComponentModel.CancelEventHandler(this.listBoxTemplates_Validating);
     //
     // buttonOK
     //
     this.buttonOK.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonOK.Location = new System.Drawing.Point(456, 360);
     this.buttonOK.Name     = "buttonOK";
     this.buttonOK.Size     = new System.Drawing.Size(56, 23);
     this.buttonOK.TabIndex = 3;
     this.buttonOK.Text     = "OK";
     this.buttonOK.Click   += new System.EventHandler(this.buttonOK_Click);
     //
     // buttonCancel
     //
     this.buttonCancel.Anchor           = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonCancel.CausesValidation = false;
     this.buttonCancel.Location         = new System.Drawing.Point(520, 360);
     this.buttonCancel.Name             = "buttonCancel";
     this.buttonCancel.Size             = new System.Drawing.Size(56, 23);
     this.buttonCancel.TabIndex         = 4;
     this.buttonCancel.Text             = "Cancel";
     this.buttonCancel.Click           += new System.EventHandler(this.buttonCancel_Click);
     //
     // textBoxName
     //
     this.textBoxName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.textBoxName.Location    = new System.Drawing.Point(16, 32);
     this.textBoxName.Name        = "textBoxName";
     this.textBoxName.Size        = new System.Drawing.Size(560, 20);
     this.textBoxName.TabIndex    = 5;
     this.textBoxName.Text        = "";
     this.textBoxName.Validating += new System.ComponentModel.CancelEventHandler(this.textBoxName_Validating);
     //
     // buttonViewData
     //
     this.buttonViewData.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.buttonViewData.Location = new System.Drawing.Point(304, 360);
     this.buttonViewData.Name     = "buttonViewData";
     this.buttonViewData.Size     = new System.Drawing.Size(72, 23);
     this.buttonViewData.TabIndex = 6;
     this.buttonViewData.Text     = "View Data";
     this.buttonViewData.Click   += new System.EventHandler(this.buttonViewData_Click);
     //
     // errorProviderRequiredFields
     //
     this.errorProviderRequiredFields.ContainerControl = this;
     //
     // buttonClearInput
     //
     this.buttonClearInput.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.buttonClearInput.Location = new System.Drawing.Point(160, 360);
     this.buttonClearInput.Name     = "buttonClearInput";
     this.buttonClearInput.Size     = new System.Drawing.Size(136, 24);
     this.buttonClearInput.TabIndex = 7;
     this.buttonClearInput.Text     = "Clear Template Input";
     this.buttonClearInput.Click   += new System.EventHandler(this.buttonClearInput_Click);
     //
     // FormAddEditSavedObject
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(600, 390);
     this.Controls.Add(this.buttonClearInput);
     this.Controls.Add(this.buttonViewData);
     this.Controls.Add(this.textBoxName);
     this.Controls.Add(this.buttonCancel);
     this.Controls.Add(this.buttonOK);
     this.Controls.Add(this.listBoxTemplates);
     this.Controls.Add(this.labelName);
     this.Controls.Add(this.buttonCollectInput);
     this.Name          = "FormAddEditSavedObject";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text          = "AddEditSavedObject";
     this.Load         += new System.EventHandler(this.FormAddEditSavedObject_Load);
     this.Activated    += new System.EventHandler(this.FormAddEditSavedObject_Activated);
     this.ResumeLayout(false);
 }
Esempio n. 50
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WzPageGeneralSetup));
     this.label1                    = new System.Windows.Forms.Label();
     this.txtClassName              = new System.Windows.Forms.TextBox();
     this.label2                    = new System.Windows.Forms.Label();
     this.txtNameSpace              = new System.Windows.Forms.TextBox();
     this.ErrProv                   = new System.Windows.Forms.ErrorProvider(this.components);
     this.cboComponentStage         = new System.Windows.Forms.ComboBox();
     this.label3                    = new System.Windows.Forms.Label();
     this.cboPipelineType           = new System.Windows.Forms.ComboBox();
     this.label4                    = new System.Windows.Forms.Label();
     this.chkImplementIProbeMessage = new System.Windows.Forms.CheckBox();
     this.cboImplementationLanguage = new System.Windows.Forms.ComboBox();
     this.label5                    = new System.Windows.Forms.Label();
     this.panelHeader.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ErrProv)).BeginInit();
     this.SuspendLayout();
     //
     // labelTitle
     //
     resources.ApplyResources(this.labelTitle, "labelTitle");
     //
     // labelSubTitle
     //
     resources.ApplyResources(this.labelSubTitle, "labelSubTitle");
     //
     // label1
     //
     resources.ApplyResources(this.label1, "label1");
     this.label1.Name = "label1";
     //
     // txtClassName
     //
     resources.ApplyResources(this.txtClassName, "txtClassName");
     this.txtClassName.Name         = "txtClassName";
     this.txtClassName.TextChanged += new System.EventHandler(this.Element_Changed);
     this.txtClassName.Validating  += new System.ComponentModel.CancelEventHandler(this.txtClassName_Validating);
     //
     // label2
     //
     resources.ApplyResources(this.label2, "label2");
     this.label2.Name = "label2";
     //
     // txtNameSpace
     //
     resources.ApplyResources(this.txtNameSpace, "txtNameSpace");
     this.txtNameSpace.Name         = "txtNameSpace";
     this.txtNameSpace.TextChanged += new System.EventHandler(this.Element_Changed);
     this.txtNameSpace.Validating  += new System.ComponentModel.CancelEventHandler(this.txtNamespace_Validating);
     //
     // ErrProv
     //
     this.ErrProv.ContainerControl = this;
     resources.ApplyResources(this.ErrProv, "ErrProv");
     //
     // cboComponentStage
     //
     resources.ApplyResources(this.cboComponentStage, "cboComponentStage");
     this.cboComponentStage.DropDownStyle         = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboComponentStage.Name                  = "cboComponentStage";
     this.cboComponentStage.SelectedIndexChanged += new System.EventHandler(this.cboComponentStage_Changed);
     this.cboComponentStage.SelectedValueChanged += new System.EventHandler(this.Element_Changed);
     this.cboComponentStage.Validating           += new System.ComponentModel.CancelEventHandler(this.cboComponentStage_Validating);
     //
     // label3
     //
     resources.ApplyResources(this.label3, "label3");
     this.label3.Name = "label3";
     //
     // cboPipelineType
     //
     this.cboPipelineType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     resources.ApplyResources(this.cboPipelineType, "cboPipelineType");
     this.cboPipelineType.Items.AddRange(new object[] {
         resources.GetString("cboPipelineType.Items"),
         resources.GetString("cboPipelineType.Items1"),
         resources.GetString("cboPipelineType.Items2")
     });
     this.cboPipelineType.Name = "cboPipelineType";
     this.cboPipelineType.SelectedIndexChanged += new System.EventHandler(this.PipelineType_Changed);
     this.cboPipelineType.SelectedValueChanged += new System.EventHandler(this.Element_Changed);
     this.cboPipelineType.Validating           += new System.ComponentModel.CancelEventHandler(this.cboPipelineType_Validating);
     //
     // label4
     //
     resources.ApplyResources(this.label4, "label4");
     this.label4.Name = "label4";
     //
     // chkImplementIProbeMessage
     //
     resources.ApplyResources(this.chkImplementIProbeMessage, "chkImplementIProbeMessage");
     this.chkImplementIProbeMessage.Name = "chkImplementIProbeMessage";
     //
     // cboImplementationLanguage
     //
     resources.ApplyResources(this.cboImplementationLanguage, "cboImplementationLanguage");
     this.cboImplementationLanguage.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cboImplementationLanguage.Items.AddRange(new object[] {
         resources.GetString("cboImplementationLanguage.Items"),
         resources.GetString("cboImplementationLanguage.Items1")
     });
     this.cboImplementationLanguage.Name = "cboImplementationLanguage";
     //
     // label5
     //
     resources.ApplyResources(this.label5, "label5");
     this.label5.Name = "label5";
     //
     // WzPageGeneralSetup
     //
     this.Controls.Add(this.label5);
     this.Controls.Add(this.cboImplementationLanguage);
     this.Controls.Add(this.chkImplementIProbeMessage);
     this.Controls.Add(this.cboPipelineType);
     this.Controls.Add(this.cboComponentStage);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.txtNameSpace);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.txtClassName);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label4);
     this.Name = "WzPageGeneralSetup";
     resources.ApplyResources(this, "$this");
     this.SubTitle = "Specify generic component properties";
     this.Title    = "General setup";
     this.Load    += new System.EventHandler(this.WzPageGeneralSetup_Load);
     this.Leave   += new System.EventHandler(this.WzPageGeneralSetup_Leave);
     this.Controls.SetChildIndex(this.label4, 0);
     this.Controls.SetChildIndex(this.label3, 0);
     this.Controls.SetChildIndex(this.panelHeader, 0);
     this.Controls.SetChildIndex(this.txtClassName, 0);
     this.Controls.SetChildIndex(this.label1, 0);
     this.Controls.SetChildIndex(this.txtNameSpace, 0);
     this.Controls.SetChildIndex(this.label2, 0);
     this.Controls.SetChildIndex(this.cboComponentStage, 0);
     this.Controls.SetChildIndex(this.cboPipelineType, 0);
     this.Controls.SetChildIndex(this.chkImplementIProbeMessage, 0);
     this.Controls.SetChildIndex(this.cboImplementationLanguage, 0);
     this.Controls.SetChildIndex(this.label5, 0);
     this.panelHeader.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.ErrProv)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 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.labelName                   = new System.Windows.Forms.Label();
     this.labelDescription            = new System.Windows.Forms.Label();
     this.textBoxName                 = new System.Windows.Forms.TextBox();
     this.textBoxDescription          = new System.Windows.Forms.TextBox();
     this.buttonCancel                = new System.Windows.Forms.Button();
     this.buttonOK                    = new System.Windows.Forms.Button();
     this.errorProviderRequiredFields = new System.Windows.Forms.ErrorProvider();
     this.SuspendLayout();
     //
     // labelName
     //
     this.labelName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.labelName.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.labelName.Location  = new System.Drawing.Point(16, 8);
     this.labelName.Name      = "labelName";
     this.labelName.Size      = new System.Drawing.Size(256, 23);
     this.labelName.TabIndex  = 0;
     this.labelName.Text      = "Name:";
     this.labelName.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
     //
     // labelDescription
     //
     this.labelDescription.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                          | System.Windows.Forms.AnchorStyles.Right)));
     this.labelDescription.Location  = new System.Drawing.Point(16, 56);
     this.labelDescription.Name      = "labelDescription";
     this.labelDescription.Size      = new System.Drawing.Size(256, 23);
     this.labelDescription.TabIndex  = 1;
     this.labelDescription.Text      = "Description:";
     this.labelDescription.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
     //
     // textBoxName
     //
     this.textBoxName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.textBoxName.Location    = new System.Drawing.Point(16, 32);
     this.textBoxName.Name        = "textBoxName";
     this.textBoxName.Size        = new System.Drawing.Size(256, 20);
     this.textBoxName.TabIndex    = 2;
     this.textBoxName.Text        = "";
     this.textBoxName.Validating += new System.ComponentModel.CancelEventHandler(this.textBoxName_Validating);
     //
     // textBoxDescription
     //
     this.textBoxDescription.AcceptsReturn = true;
     this.textBoxDescription.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.textBoxDescription.Location  = new System.Drawing.Point(16, 80);
     this.textBoxDescription.Multiline = true;
     this.textBoxDescription.Name      = "textBoxDescription";
     this.textBoxDescription.Size      = new System.Drawing.Size(256, 80);
     this.textBoxDescription.TabIndex  = 3;
     this.textBoxDescription.Text      = "";
     //
     // buttonCancel
     //
     this.buttonCancel.Anchor           = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonCancel.CausesValidation = false;
     this.buttonCancel.DialogResult     = System.Windows.Forms.DialogResult.Cancel;
     this.buttonCancel.Location         = new System.Drawing.Point(208, 168);
     this.buttonCancel.Name             = "buttonCancel";
     this.buttonCancel.TabIndex         = 4;
     this.buttonCancel.Text             = "Cancel";
     this.buttonCancel.Click           += new System.EventHandler(this.buttonCancel_Click);
     //
     // buttonOK
     //
     this.buttonOK.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonOK.Location = new System.Drawing.Point(128, 168);
     this.buttonOK.Name     = "buttonOK";
     this.buttonOK.TabIndex = 5;
     this.buttonOK.Text     = "OK";
     this.buttonOK.Click   += new System.EventHandler(this.buttonOK_Click);
     //
     // errorProviderRequiredFields
     //
     this.errorProviderRequiredFields.ContainerControl = this;
     //
     // FormAddEditModule
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(292, 198);
     this.Controls.Add(this.buttonOK);
     this.Controls.Add(this.buttonCancel);
     this.Controls.Add(this.textBoxDescription);
     this.Controls.Add(this.textBoxName);
     this.Controls.Add(this.labelDescription);
     this.Controls.Add(this.labelName);
     this.Name          = "FormAddEditModule";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text          = "Add/Edit Module";
     this.Load         += new System.EventHandler(this.FormAddEditModule_Load);
     this.Activated    += new System.EventHandler(this.FormAddEditModule_Activated);
     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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(WzPageResourceSetup));
     this.txtId          = new System.Windows.Forms.TextBox();
     this.label2         = new System.Windows.Forms.Label();
     this.errorProvider  = new System.Windows.Forms.ErrorProvider();
     this.txtName        = new System.Windows.Forms.TextBox();
     this.label1         = new System.Windows.Forms.Label();
     this.label3         = new System.Windows.Forms.Label();
     this.txtTooltip     = new System.Windows.Forms.TextBox();
     this.label5         = new System.Windows.Forms.Label();
     this.txtDescription = new System.Windows.Forms.TextBox();
     this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
     this.panelHeader.SuspendLayout();
     this.SuspendLayout();
     //
     // panelHeader
     //
     this.panelHeader.Name = "panelHeader";
     this.panelHeader.Size = ((System.Drawing.Size)(resources.GetObject("panelHeader.Size")));
     //
     // labelTitle
     //
     this.labelTitle.Name = "labelTitle";
     this.labelTitle.Size = ((System.Drawing.Size)(resources.GetObject("labelTitle.Size")));
     this.labelTitle.Text = resources.GetString("labelTitle.Text");
     //
     // labelSubTitle
     //
     this.labelSubTitle.Name = "labelSubTitle";
     this.labelSubTitle.Size = ((System.Drawing.Size)(resources.GetObject("labelSubTitle.Size")));
     this.labelSubTitle.Text = resources.GetString("labelSubTitle.Text");
     //
     // txtId
     //
     this.txtId.AccessibleDescription = resources.GetString("txtId.AccessibleDescription");
     this.txtId.AccessibleName        = resources.GetString("txtId.AccessibleName");
     this.txtId.Anchor          = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("txtId.Anchor")));
     this.txtId.AutoSize        = ((bool)(resources.GetObject("txtId.AutoSize")));
     this.txtId.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txtId.BackgroundImage")));
     this.txtId.Dock            = ((System.Windows.Forms.DockStyle)(resources.GetObject("txtId.Dock")));
     this.txtId.Enabled         = ((bool)(resources.GetObject("txtId.Enabled")));
     this.errorProvider.SetError(this.txtId, resources.GetString("txtId.Error"));
     this.txtId.Font = ((System.Drawing.Font)(resources.GetObject("txtId.Font")));
     this.errorProvider.SetIconAlignment(this.txtId, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("txtId.IconAlignment"))));
     this.errorProvider.SetIconPadding(this.txtId, ((int)(resources.GetObject("txtId.IconPadding"))));
     this.txtId.ImeMode      = ((System.Windows.Forms.ImeMode)(resources.GetObject("txtId.ImeMode")));
     this.txtId.Location     = ((System.Drawing.Point)(resources.GetObject("txtId.Location")));
     this.txtId.MaxLength    = ((int)(resources.GetObject("txtId.MaxLength")));
     this.txtId.Multiline    = ((bool)(resources.GetObject("txtId.Multiline")));
     this.txtId.Name         = "txtId";
     this.txtId.PasswordChar = ((char)(resources.GetObject("txtId.PasswordChar")));
     this.txtId.RightToLeft  = ((System.Windows.Forms.RightToLeft)(resources.GetObject("txtId.RightToLeft")));
     this.txtId.ScrollBars   = ((System.Windows.Forms.ScrollBars)(resources.GetObject("txtId.ScrollBars")));
     this.txtId.Size         = ((System.Drawing.Size)(resources.GetObject("txtId.Size")));
     this.txtId.TabIndex     = ((int)(resources.GetObject("txtId.TabIndex")));
     this.txtId.Text         = resources.GetString("txtId.Text");
     this.txtId.TextAlign    = ((System.Windows.Forms.HorizontalAlignment)(resources.GetObject("txtId.TextAlign")));
     this.txtId.Visible      = ((bool)(resources.GetObject("txtId.Visible")));
     this.txtId.WordWrap     = ((bool)(resources.GetObject("txtId.WordWrap")));
     this.txtId.Validating  += new System.ComponentModel.CancelEventHandler(this.txtId_Validating);
     this.txtId.TextChanged += new System.EventHandler(this.Element_Changed);
     //
     // label2
     //
     this.label2.AccessibleDescription = resources.GetString("label2.AccessibleDescription");
     this.label2.AccessibleName        = resources.GetString("label2.AccessibleName");
     this.label2.Anchor   = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("label2.Anchor")));
     this.label2.AutoSize = ((bool)(resources.GetObject("label2.AutoSize")));
     this.label2.Dock     = ((System.Windows.Forms.DockStyle)(resources.GetObject("label2.Dock")));
     this.label2.Enabled  = ((bool)(resources.GetObject("label2.Enabled")));
     this.errorProvider.SetError(this.label2, resources.GetString("label2.Error"));
     this.label2.Font = ((System.Drawing.Font)(resources.GetObject("label2.Font")));
     this.errorProvider.SetIconAlignment(this.label2, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("label2.IconAlignment"))));
     this.errorProvider.SetIconPadding(this.label2, ((int)(resources.GetObject("label2.IconPadding"))));
     this.label2.Image       = ((System.Drawing.Image)(resources.GetObject("label2.Image")));
     this.label2.ImageAlign  = ((System.Drawing.ContentAlignment)(resources.GetObject("label2.ImageAlign")));
     this.label2.ImageIndex  = ((int)(resources.GetObject("label2.ImageIndex")));
     this.label2.ImeMode     = ((System.Windows.Forms.ImeMode)(resources.GetObject("label2.ImeMode")));
     this.label2.Location    = ((System.Drawing.Point)(resources.GetObject("label2.Location")));
     this.label2.Name        = "label2";
     this.label2.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("label2.RightToLeft")));
     this.label2.Size        = ((System.Drawing.Size)(resources.GetObject("label2.Size")));
     this.label2.TabIndex    = ((int)(resources.GetObject("label2.TabIndex")));
     this.label2.Text        = resources.GetString("label2.Text");
     this.label2.TextAlign   = ((System.Drawing.ContentAlignment)(resources.GetObject("label2.TextAlign")));
     this.label2.Visible     = ((bool)(resources.GetObject("label2.Visible")));
     //
     // errorProvider
     //
     this.errorProvider.ContainerControl = this;
     this.errorProvider.Icon             = ((System.Drawing.Icon)(resources.GetObject("errorProvider.Icon")));
     //
     // txtName
     //
     this.txtName.AccessibleDescription = resources.GetString("txtName.AccessibleDescription");
     this.txtName.AccessibleName        = resources.GetString("txtName.AccessibleName");
     this.txtName.Anchor          = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("txtName.Anchor")));
     this.txtName.AutoSize        = ((bool)(resources.GetObject("txtName.AutoSize")));
     this.txtName.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txtName.BackgroundImage")));
     this.txtName.Dock            = ((System.Windows.Forms.DockStyle)(resources.GetObject("txtName.Dock")));
     this.txtName.Enabled         = ((bool)(resources.GetObject("txtName.Enabled")));
     this.errorProvider.SetError(this.txtName, resources.GetString("txtName.Error"));
     this.txtName.Font = ((System.Drawing.Font)(resources.GetObject("txtName.Font")));
     this.errorProvider.SetIconAlignment(this.txtName, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("txtName.IconAlignment"))));
     this.errorProvider.SetIconPadding(this.txtName, ((int)(resources.GetObject("txtName.IconPadding"))));
     this.txtName.ImeMode      = ((System.Windows.Forms.ImeMode)(resources.GetObject("txtName.ImeMode")));
     this.txtName.Location     = ((System.Drawing.Point)(resources.GetObject("txtName.Location")));
     this.txtName.MaxLength    = ((int)(resources.GetObject("txtName.MaxLength")));
     this.txtName.Multiline    = ((bool)(resources.GetObject("txtName.Multiline")));
     this.txtName.Name         = "txtName";
     this.txtName.PasswordChar = ((char)(resources.GetObject("txtName.PasswordChar")));
     this.txtName.RightToLeft  = ((System.Windows.Forms.RightToLeft)(resources.GetObject("txtName.RightToLeft")));
     this.txtName.ScrollBars   = ((System.Windows.Forms.ScrollBars)(resources.GetObject("txtName.ScrollBars")));
     this.txtName.Size         = ((System.Drawing.Size)(resources.GetObject("txtName.Size")));
     this.txtName.TabIndex     = ((int)(resources.GetObject("txtName.TabIndex")));
     this.txtName.Text         = resources.GetString("txtName.Text");
     this.txtName.TextAlign    = ((System.Windows.Forms.HorizontalAlignment)(resources.GetObject("txtName.TextAlign")));
     this.txtName.Visible      = ((bool)(resources.GetObject("txtName.Visible")));
     this.txtName.WordWrap     = ((bool)(resources.GetObject("txtName.WordWrap")));
     this.txtName.Validating  += new System.ComponentModel.CancelEventHandler(this.txtName_Validating);
     this.txtName.TextChanged += new System.EventHandler(this.Element_Changed);
     //
     // label1
     //
     this.label1.AccessibleDescription = resources.GetString("label1.AccessibleDescription");
     this.label1.AccessibleName        = resources.GetString("label1.AccessibleName");
     this.label1.Anchor   = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("label1.Anchor")));
     this.label1.AutoSize = ((bool)(resources.GetObject("label1.AutoSize")));
     this.label1.Dock     = ((System.Windows.Forms.DockStyle)(resources.GetObject("label1.Dock")));
     this.label1.Enabled  = ((bool)(resources.GetObject("label1.Enabled")));
     this.errorProvider.SetError(this.label1, resources.GetString("label1.Error"));
     this.label1.Font = ((System.Drawing.Font)(resources.GetObject("label1.Font")));
     this.errorProvider.SetIconAlignment(this.label1, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("label1.IconAlignment"))));
     this.errorProvider.SetIconPadding(this.label1, ((int)(resources.GetObject("label1.IconPadding"))));
     this.label1.Image       = ((System.Drawing.Image)(resources.GetObject("label1.Image")));
     this.label1.ImageAlign  = ((System.Drawing.ContentAlignment)(resources.GetObject("label1.ImageAlign")));
     this.label1.ImageIndex  = ((int)(resources.GetObject("label1.ImageIndex")));
     this.label1.ImeMode     = ((System.Windows.Forms.ImeMode)(resources.GetObject("label1.ImeMode")));
     this.label1.Location    = ((System.Drawing.Point)(resources.GetObject("label1.Location")));
     this.label1.Name        = "label1";
     this.label1.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("label1.RightToLeft")));
     this.label1.Size        = ((System.Drawing.Size)(resources.GetObject("label1.Size")));
     this.label1.TabIndex    = ((int)(resources.GetObject("label1.TabIndex")));
     this.label1.Text        = resources.GetString("label1.Text");
     this.label1.TextAlign   = ((System.Drawing.ContentAlignment)(resources.GetObject("label1.TextAlign")));
     this.label1.Visible     = ((bool)(resources.GetObject("label1.Visible")));
     //
     // label3
     //
     this.label3.AccessibleDescription = resources.GetString("label3.AccessibleDescription");
     this.label3.AccessibleName        = resources.GetString("label3.AccessibleName");
     this.label3.Anchor   = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("label3.Anchor")));
     this.label3.AutoSize = ((bool)(resources.GetObject("label3.AutoSize")));
     this.label3.Dock     = ((System.Windows.Forms.DockStyle)(resources.GetObject("label3.Dock")));
     this.label3.Enabled  = ((bool)(resources.GetObject("label3.Enabled")));
     this.errorProvider.SetError(this.label3, resources.GetString("label3.Error"));
     this.label3.Font = ((System.Drawing.Font)(resources.GetObject("label3.Font")));
     this.errorProvider.SetIconAlignment(this.label3, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("label3.IconAlignment"))));
     this.errorProvider.SetIconPadding(this.label3, ((int)(resources.GetObject("label3.IconPadding"))));
     this.label3.Image       = ((System.Drawing.Image)(resources.GetObject("label3.Image")));
     this.label3.ImageAlign  = ((System.Drawing.ContentAlignment)(resources.GetObject("label3.ImageAlign")));
     this.label3.ImageIndex  = ((int)(resources.GetObject("label3.ImageIndex")));
     this.label3.ImeMode     = ((System.Windows.Forms.ImeMode)(resources.GetObject("label3.ImeMode")));
     this.label3.Location    = ((System.Drawing.Point)(resources.GetObject("label3.Location")));
     this.label3.Name        = "label3";
     this.label3.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("label3.RightToLeft")));
     this.label3.Size        = ((System.Drawing.Size)(resources.GetObject("label3.Size")));
     this.label3.TabIndex    = ((int)(resources.GetObject("label3.TabIndex")));
     this.label3.Text        = resources.GetString("label3.Text");
     this.label3.TextAlign   = ((System.Drawing.ContentAlignment)(resources.GetObject("label3.TextAlign")));
     this.label3.Visible     = ((bool)(resources.GetObject("label3.Visible")));
     //
     // txtTooltip
     //
     this.txtTooltip.AccessibleDescription = resources.GetString("txtTooltip.AccessibleDescription");
     this.txtTooltip.AccessibleName        = resources.GetString("txtTooltip.AccessibleName");
     this.txtTooltip.Anchor          = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("txtTooltip.Anchor")));
     this.txtTooltip.AutoSize        = ((bool)(resources.GetObject("txtTooltip.AutoSize")));
     this.txtTooltip.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txtTooltip.BackgroundImage")));
     this.txtTooltip.Dock            = ((System.Windows.Forms.DockStyle)(resources.GetObject("txtTooltip.Dock")));
     this.txtTooltip.Enabled         = ((bool)(resources.GetObject("txtTooltip.Enabled")));
     this.errorProvider.SetError(this.txtTooltip, resources.GetString("txtTooltip.Error"));
     this.txtTooltip.Font = ((System.Drawing.Font)(resources.GetObject("txtTooltip.Font")));
     this.errorProvider.SetIconAlignment(this.txtTooltip, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("txtTooltip.IconAlignment"))));
     this.errorProvider.SetIconPadding(this.txtTooltip, ((int)(resources.GetObject("txtTooltip.IconPadding"))));
     this.txtTooltip.ImeMode      = ((System.Windows.Forms.ImeMode)(resources.GetObject("txtTooltip.ImeMode")));
     this.txtTooltip.Location     = ((System.Drawing.Point)(resources.GetObject("txtTooltip.Location")));
     this.txtTooltip.MaxLength    = ((int)(resources.GetObject("txtTooltip.MaxLength")));
     this.txtTooltip.Multiline    = ((bool)(resources.GetObject("txtTooltip.Multiline")));
     this.txtTooltip.Name         = "txtTooltip";
     this.txtTooltip.PasswordChar = ((char)(resources.GetObject("txtTooltip.PasswordChar")));
     this.txtTooltip.RightToLeft  = ((System.Windows.Forms.RightToLeft)(resources.GetObject("txtTooltip.RightToLeft")));
     this.txtTooltip.ScrollBars   = ((System.Windows.Forms.ScrollBars)(resources.GetObject("txtTooltip.ScrollBars")));
     this.txtTooltip.Size         = ((System.Drawing.Size)(resources.GetObject("txtTooltip.Size")));
     this.txtTooltip.TabIndex     = ((int)(resources.GetObject("txtTooltip.TabIndex")));
     this.txtTooltip.Text         = resources.GetString("txtTooltip.Text");
     this.txtTooltip.TextAlign    = ((System.Windows.Forms.HorizontalAlignment)(resources.GetObject("txtTooltip.TextAlign")));
     this.txtTooltip.Visible      = ((bool)(resources.GetObject("txtTooltip.Visible")));
     this.txtTooltip.WordWrap     = ((bool)(resources.GetObject("txtTooltip.WordWrap")));
     //
     // label5
     //
     this.label5.AccessibleDescription = resources.GetString("label5.AccessibleDescription");
     this.label5.AccessibleName        = resources.GetString("label5.AccessibleName");
     this.label5.Anchor   = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("label5.Anchor")));
     this.label5.AutoSize = ((bool)(resources.GetObject("label5.AutoSize")));
     this.label5.Dock     = ((System.Windows.Forms.DockStyle)(resources.GetObject("label5.Dock")));
     this.label5.Enabled  = ((bool)(resources.GetObject("label5.Enabled")));
     this.errorProvider.SetError(this.label5, resources.GetString("label5.Error"));
     this.label5.Font = ((System.Drawing.Font)(resources.GetObject("label5.Font")));
     this.errorProvider.SetIconAlignment(this.label5, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("label5.IconAlignment"))));
     this.errorProvider.SetIconPadding(this.label5, ((int)(resources.GetObject("label5.IconPadding"))));
     this.label5.Image       = ((System.Drawing.Image)(resources.GetObject("label5.Image")));
     this.label5.ImageAlign  = ((System.Drawing.ContentAlignment)(resources.GetObject("label5.ImageAlign")));
     this.label5.ImageIndex  = ((int)(resources.GetObject("label5.ImageIndex")));
     this.label5.ImeMode     = ((System.Windows.Forms.ImeMode)(resources.GetObject("label5.ImeMode")));
     this.label5.Location    = ((System.Drawing.Point)(resources.GetObject("label5.Location")));
     this.label5.Name        = "label5";
     this.label5.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("label5.RightToLeft")));
     this.label5.Size        = ((System.Drawing.Size)(resources.GetObject("label5.Size")));
     this.label5.TabIndex    = ((int)(resources.GetObject("label5.TabIndex")));
     this.label5.Text        = resources.GetString("label5.Text");
     this.label5.TextAlign   = ((System.Drawing.ContentAlignment)(resources.GetObject("label5.TextAlign")));
     this.label5.Visible     = ((bool)(resources.GetObject("label5.Visible")));
     //
     // txtDescription
     //
     this.txtDescription.AccessibleDescription = resources.GetString("txtDescription.AccessibleDescription");
     this.txtDescription.AccessibleName        = resources.GetString("txtDescription.AccessibleName");
     this.txtDescription.Anchor          = ((System.Windows.Forms.AnchorStyles)(resources.GetObject("txtDescription.Anchor")));
     this.txtDescription.AutoSize        = ((bool)(resources.GetObject("txtDescription.AutoSize")));
     this.txtDescription.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txtDescription.BackgroundImage")));
     this.txtDescription.Dock            = ((System.Windows.Forms.DockStyle)(resources.GetObject("txtDescription.Dock")));
     this.txtDescription.Enabled         = ((bool)(resources.GetObject("txtDescription.Enabled")));
     this.errorProvider.SetError(this.txtDescription, resources.GetString("txtDescription.Error"));
     this.txtDescription.Font = ((System.Drawing.Font)(resources.GetObject("txtDescription.Font")));
     this.errorProvider.SetIconAlignment(this.txtDescription, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("txtDescription.IconAlignment"))));
     this.errorProvider.SetIconPadding(this.txtDescription, ((int)(resources.GetObject("txtDescription.IconPadding"))));
     this.txtDescription.ImeMode      = ((System.Windows.Forms.ImeMode)(resources.GetObject("txtDescription.ImeMode")));
     this.txtDescription.Location     = ((System.Drawing.Point)(resources.GetObject("txtDescription.Location")));
     this.txtDescription.MaxLength    = ((int)(resources.GetObject("txtDescription.MaxLength")));
     this.txtDescription.Multiline    = ((bool)(resources.GetObject("txtDescription.Multiline")));
     this.txtDescription.Name         = "txtDescription";
     this.txtDescription.PasswordChar = ((char)(resources.GetObject("txtDescription.PasswordChar")));
     this.txtDescription.RightToLeft  = ((System.Windows.Forms.RightToLeft)(resources.GetObject("txtDescription.RightToLeft")));
     this.txtDescription.ScrollBars   = ((System.Windows.Forms.ScrollBars)(resources.GetObject("txtDescription.ScrollBars")));
     this.txtDescription.Size         = ((System.Drawing.Size)(resources.GetObject("txtDescription.Size")));
     this.txtDescription.TabIndex     = ((int)(resources.GetObject("txtDescription.TabIndex")));
     this.txtDescription.Text         = resources.GetString("txtDescription.Text");
     this.txtDescription.TextAlign    = ((System.Windows.Forms.HorizontalAlignment)(resources.GetObject("txtDescription.TextAlign")));
     this.txtDescription.Visible      = ((bool)(resources.GetObject("txtDescription.Visible")));
     this.txtDescription.WordWrap     = ((bool)(resources.GetObject("txtDescription.WordWrap")));
     //
     // openFileDialog
     //
     this.openFileDialog.DefaultExt = "snk";
     this.openFileDialog.Filter     = resources.GetString("openFileDialog.Filter");
     this.openFileDialog.Title      = resources.GetString("openFileDialog.Title");
     //
     // WzPageResourceSetup
     //
     this.AccessibleDescription = resources.GetString("$this.AccessibleDescription");
     this.AccessibleName        = resources.GetString("$this.AccessibleName");
     this.AutoScroll            = ((bool)(resources.GetObject("$this.AutoScroll")));
     this.AutoScrollMargin      = ((System.Drawing.Size)(resources.GetObject("$this.AutoScrollMargin")));
     this.AutoScrollMinSize     = ((System.Drawing.Size)(resources.GetObject("$this.AutoScrollMinSize")));
     this.BackgroundImage       = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
     this.Controls.Add(this.txtTooltip);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.txtDescription);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.txtName);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.txtId);
     this.Controls.Add(this.label2);
     this.Enabled = ((bool)(resources.GetObject("$this.Enabled")));
     this.errorProvider.SetError(this, resources.GetString("$this.Error"));
     this.Font = ((System.Drawing.Font)(resources.GetObject("$this.Font")));
     this.errorProvider.SetIconAlignment(this, ((System.Windows.Forms.ErrorIconAlignment)(resources.GetObject("$this.IconAlignment"))));
     this.errorProvider.SetIconPadding(this, ((int)(resources.GetObject("$this.IconPadding"))));
     this.ImeMode     = ((System.Windows.Forms.ImeMode)(resources.GetObject("$this.ImeMode")));
     this.Location    = ((System.Drawing.Point)(resources.GetObject("$this.Location")));
     this.Name        = "WzPageResourceSetup";
     this.RightToLeft = ((System.Windows.Forms.RightToLeft)(resources.GetObject("$this.RightToLeft")));
     this.Size        = ((System.Drawing.Size)(resources.GetObject("$this.Size")));
     this.SubTitle    = "Specify Functoid Properties";
     this.Title       = "Functoid Properties";
     this.Leave      += new System.EventHandler(this.WzPageResourceSetup_Leave);
     this.Controls.SetChildIndex(this.label2, 0);
     this.Controls.SetChildIndex(this.txtId, 0);
     this.Controls.SetChildIndex(this.label1, 0);
     this.Controls.SetChildIndex(this.txtName, 0);
     this.Controls.SetChildIndex(this.label3, 0);
     this.Controls.SetChildIndex(this.txtDescription, 0);
     this.Controls.SetChildIndex(this.label5, 0);
     this.Controls.SetChildIndex(this.txtTooltip, 0);
     this.Controls.SetChildIndex(this.panelHeader, 0);
     this.panelHeader.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Esempio n. 53
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components        = new System.ComponentModel.Container();
     this.buttonOK          = new System.Windows.Forms.Button();
     this.buttonCancel      = new System.Windows.Forms.Button();
     this.textBoxText       = new System.Windows.Forms.TextBox();
     this.labelPrompt       = new System.Windows.Forms.Label();
     this.errorProviderText = new System.Windows.Forms.ErrorProvider(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.errorProviderText)).BeginInit();
     this.SuspendLayout();
     //
     // buttonOK
     //
     this.buttonOK.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.buttonOK.Location     = new System.Drawing.Point(288, 72);
     this.buttonOK.Name         = "buttonOK";
     this.buttonOK.Size         = new System.Drawing.Size(75, 23);
     this.buttonOK.TabIndex     = 2;
     this.buttonOK.Text         = "OK";
     this.buttonOK.Click       += new System.EventHandler(this.buttonOK_Click);
     //
     // buttonCancel
     //
     this.buttonCancel.Anchor           = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonCancel.CausesValidation = false;
     this.buttonCancel.DialogResult     = System.Windows.Forms.DialogResult.Cancel;
     this.buttonCancel.Location         = new System.Drawing.Point(376, 72);
     this.buttonCancel.Name             = "buttonCancel";
     this.buttonCancel.Size             = new System.Drawing.Size(75, 23);
     this.buttonCancel.TabIndex         = 3;
     this.buttonCancel.Text             = "Cancel";
     this.buttonCancel.Click           += new System.EventHandler(this.buttonCancel_Click);
     //
     // textBoxText
     //
     this.textBoxText.Location     = new System.Drawing.Point(16, 32);
     this.textBoxText.Name         = "textBoxText";
     this.textBoxText.Size         = new System.Drawing.Size(416, 20);
     this.textBoxText.TabIndex     = 1;
     this.textBoxText.TextChanged += new System.EventHandler(this.textBoxText_TextChanged);
     this.textBoxText.Validating  += new System.ComponentModel.CancelEventHandler(this.textBoxText_Validating);
     //
     // labelPrompt
     //
     this.labelPrompt.AutoSize = true;
     this.labelPrompt.Location = new System.Drawing.Point(15, 15);
     this.labelPrompt.Name     = "labelPrompt";
     this.labelPrompt.Size     = new System.Drawing.Size(39, 13);
     this.labelPrompt.TabIndex = 0;
     this.labelPrompt.Text     = "prompt";
     //
     // errorProviderText
     //
     this.errorProviderText.ContainerControl = this;
     this.errorProviderText.DataMember       = "";
     //
     // InputBox
     //
     this.AcceptButton      = this.buttonOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.buttonCancel;
     this.ClientSize        = new System.Drawing.Size(464, 104);
     this.Controls.Add(this.labelPrompt);
     this.Controls.Add(this.textBoxText);
     this.Controls.Add(this.buttonCancel);
     this.Controls.Add(this.buttonOK);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "InputBox";
     this.ShowIcon        = false;
     this.Text            = "Title";
     ((System.ComponentModel.ISupportInitialize)(this.errorProviderText)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CoursePropertiesForm));
     this.label1                        = new System.Windows.Forms.Label();
     this.label2                        = new System.Windows.Forms.Label();
     this.label3                        = new System.Windows.Forms.Label();
     this.label4                        = new System.Windows.Forms.Label();
     this._groupNameLabel               = new System.Windows.Forms.Label();
     this._nameTextBox                  = new System.Windows.Forms.TextBox();
     this._numOfLessonsPerWeekTextBox   = new System.Windows.Forms.TextBox();
     this._numOfEnrolledStudentsTextBox = new System.Windows.Forms.TextBox();
     this._teacherComboBox              = new System.Windows.Forms.ComboBox();
     this._isGroupCheckBox              = new System.Windows.Forms.CheckBox();
     this._groupNameTextBox             = new System.Windows.Forms.TextBox();
     this._okButton                     = new System.Windows.Forms.Button();
     this._cancelButton                 = new System.Windows.Forms.Button();
     this.label5                        = new System.Windows.Forms.Label();
     this._shortNameTextBox             = new System.Windows.Forms.TextBox();
     this._errorProvider1               = new System.Windows.Forms.ErrorProvider(this.components);
     this.label6                        = new System.Windows.Forms.Label();
     this._extIDTextBox                 = new System.Windows.Forms.TextBox();
     this._courseTypeComboBox           = new System.Windows.Forms.ComboBox();
     this.label7                        = new System.Windows.Forms.Label();
     this._errorProvider2               = new System.Windows.Forms.ErrorProvider(this.components);
     ((System.ComponentModel.ISupportInitialize)(this._errorProvider1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this._errorProvider2)).BeginInit();
     this.SuspendLayout();
     //
     // label1
     //
     resources.ApplyResources(this.label1, "label1");
     this.label1.Name = "label1";
     //
     // label2
     //
     resources.ApplyResources(this.label2, "label2");
     this.label2.Name = "label2";
     //
     // label3
     //
     resources.ApplyResources(this.label3, "label3");
     this.label3.Name = "label3";
     //
     // label4
     //
     resources.ApplyResources(this.label4, "label4");
     this.label4.Name = "label4";
     //
     // _groupNameLabel
     //
     resources.ApplyResources(this._groupNameLabel, "_groupNameLabel");
     this._groupNameLabel.Name = "_groupNameLabel";
     //
     // _nameTextBox
     //
     resources.ApplyResources(this._nameTextBox, "_nameTextBox");
     this._nameTextBox.Name         = "_nameTextBox";
     this._nameTextBox.TextChanged += new System.EventHandler(this._nameTextBox_TextChanged);
     //
     // _numOfLessonsPerWeekTextBox
     //
     resources.ApplyResources(this._numOfLessonsPerWeekTextBox, "_numOfLessonsPerWeekTextBox");
     this._numOfLessonsPerWeekTextBox.Name         = "_numOfLessonsPerWeekTextBox";
     this._numOfLessonsPerWeekTextBox.TextChanged += new System.EventHandler(this._numOfLessPerWeekTextBox_TextChanged);
     //
     // _numOfEnrolledStudentsTextBox
     //
     resources.ApplyResources(this._numOfEnrolledStudentsTextBox, "_numOfEnrolledStudentsTextBox");
     this._numOfEnrolledStudentsTextBox.Name         = "_numOfEnrolledStudentsTextBox";
     this._numOfEnrolledStudentsTextBox.TextChanged += new System.EventHandler(this._numOfEnrStudentsTextBox_TextChanged);
     //
     // _teacherComboBox
     //
     this._teacherComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     resources.ApplyResources(this._teacherComboBox, "_teacherComboBox");
     this._teacherComboBox.Name   = "_teacherComboBox";
     this._teacherComboBox.Sorted = true;
     //
     // _isGroupCheckBox
     //
     resources.ApplyResources(this._isGroupCheckBox, "_isGroupCheckBox");
     this._isGroupCheckBox.Name            = "_isGroupCheckBox";
     this._isGroupCheckBox.CheckedChanged += new System.EventHandler(this._grupaCheckBox_CheckedChanged);
     //
     // _groupNameTextBox
     //
     resources.ApplyResources(this._groupNameTextBox, "_groupNameTextBox");
     this._groupNameTextBox.Name         = "_groupNameTextBox";
     this._groupNameTextBox.TextChanged += new System.EventHandler(this._groupNameTextBox_TextChanged);
     //
     // _okButton
     //
     this._okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     resources.ApplyResources(this._okButton, "_okButton");
     this._okButton.Name = "_okButton";
     //
     // _cancelButton
     //
     this._cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     resources.ApplyResources(this._cancelButton, "_cancelButton");
     this._cancelButton.Name = "_cancelButton";
     //
     // label5
     //
     resources.ApplyResources(this.label5, "label5");
     this.label5.Name = "label5";
     //
     // _shortNameTextBox
     //
     resources.ApplyResources(this._shortNameTextBox, "_shortNameTextBox");
     this._shortNameTextBox.Name         = "_shortNameTextBox";
     this._shortNameTextBox.TextChanged += new System.EventHandler(this._nameTextBox_TextChanged);
     //
     // _errorProvider1
     //
     this._errorProvider1.ContainerControl = this;
     this._errorProvider1.DataMember       = "";
     resources.ApplyResources(this._errorProvider1, "_errorProvider1");
     //
     // label6
     //
     resources.ApplyResources(this.label6, "label6");
     this.label6.Name = "label6";
     //
     // _extIDTextBox
     //
     resources.ApplyResources(this._extIDTextBox, "_extIDTextBox");
     this._extIDTextBox.Name = "_extIDTextBox";
     //
     // _courseTypeComboBox
     //
     resources.ApplyResources(this._courseTypeComboBox, "_courseTypeComboBox");
     this._courseTypeComboBox.Name   = "_courseTypeComboBox";
     this._courseTypeComboBox.Sorted = true;
     //
     // label7
     //
     resources.ApplyResources(this.label7, "label7");
     this.label7.Name = "label7";
     //
     // _errorProvider2
     //
     this._errorProvider2.ContainerControl = this;
     this._errorProvider2.DataMember       = "";
     resources.ApplyResources(this._errorProvider2, "_errorProvider2");
     //
     // CoursePropertiesForm
     //
     this.AcceptButton = this._okButton;
     resources.ApplyResources(this, "$this");
     this.CancelButton = this._cancelButton;
     this.Controls.Add(this.label7);
     this.Controls.Add(this._courseTypeComboBox);
     this.Controls.Add(this._extIDTextBox);
     this.Controls.Add(this.label6);
     this.Controls.Add(this._shortNameTextBox);
     this.Controls.Add(this._groupNameTextBox);
     this.Controls.Add(this._numOfEnrolledStudentsTextBox);
     this.Controls.Add(this._numOfLessonsPerWeekTextBox);
     this.Controls.Add(this._nameTextBox);
     this.Controls.Add(this.label5);
     this.Controls.Add(this._cancelButton);
     this.Controls.Add(this._okButton);
     this.Controls.Add(this._isGroupCheckBox);
     this.Controls.Add(this._teacherComboBox);
     this.Controls.Add(this._groupNameLabel);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "CoursePropertiesForm";
     this.ShowInTaskbar   = false;
     this.Closing        += new System.ComponentModel.CancelEventHandler(this.Form_Closing);
     ((System.ComponentModel.ISupportInitialize)(this._errorProvider1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this._errorProvider2)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 55
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components            = new System.ComponentModel.Container();
     this.comboBoxChannels      = new System.Windows.Forms.ComboBox();
     this.comboBoxBitsPerSample = new System.Windows.Forms.ComboBox();
     this.label3            = new System.Windows.Forms.Label();
     this.label2            = new System.Windows.Forms.Label();
     this.textBoxSampleRate = new NumericTextBox();
     this.label1            = new System.Windows.Forms.Label();
     this.toolTip1          = new System.Windows.Forms.ToolTip(this.components);
     this.errorProvider1    = new System.Windows.Forms.ErrorProvider();
     this.SuspendLayout();
     //
     // comboBoxChannels
     //
     this.comboBoxChannels.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxChannels.Items.AddRange(new object[] {
         "MONO",
         "STEREO"
     });
     this.comboBoxChannels.Location              = new System.Drawing.Point(96, 56);
     this.comboBoxChannels.Name                  = "comboBoxChannels";
     this.comboBoxChannels.Size                  = new System.Drawing.Size(112, 21);
     this.comboBoxChannels.TabIndex              = 13;
     this.comboBoxChannels.SelectedIndexChanged += new System.EventHandler(this.comboBoxChannels_SelectedIndexChanged);
     //
     // comboBoxBitsPerSample
     //
     this.comboBoxBitsPerSample.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBoxBitsPerSample.Items.AddRange(new object[] {
         "8 bits per sample",
         "16 bits per sample"
     });
     this.comboBoxBitsPerSample.Location              = new System.Drawing.Point(96, 96);
     this.comboBoxBitsPerSample.Name                  = "comboBoxBitsPerSample";
     this.comboBoxBitsPerSample.Size                  = new System.Drawing.Size(112, 21);
     this.comboBoxBitsPerSample.TabIndex              = 12;
     this.comboBoxBitsPerSample.SelectedIndexChanged += new System.EventHandler(this.comboBoxBitsPerSample_SelectedIndexChanged);
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(16, 96);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(88, 23);
     this.label3.TabIndex = 11;
     this.label3.Text     = "Bits per sample:";
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(16, 56);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(72, 16);
     this.label2.TabIndex = 10;
     this.label2.Text     = "Audio mode:";
     //
     // textBoxSampleRate
     //
     this.textBoxSampleRate.Location = new System.Drawing.Point(96, 16);
     this.textBoxSampleRate.Name     = "textBoxSampleRate";
     this.textBoxSampleRate.Size     = new System.Drawing.Size(112, 20);
     this.textBoxSampleRate.TabIndex = 8;
     this.textBoxSampleRate.Text     = "44100";
     this.toolTip1.SetToolTip(this.textBoxSampleRate, "Sample rate, in samples per second. ");
     this.textBoxSampleRate.Value        = 44100;
     this.textBoxSampleRate.FormatValid += new System.EventHandler(this.textBoxSampleRate_FormatValid);
     this.textBoxSampleRate.FormatError += new System.EventHandler(this.textBoxSampleRate_FormatError);
     this.textBoxSampleRate.TextChanged += new System.EventHandler(this.textBoxSampleRate_TextChanged);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(16, 16);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(72, 16);
     this.label1.TabIndex = 9;
     this.label1.Text     = "Sample rate:";
     //
     // errorProvider1
     //
     this.errorProvider1.ContainerControl = this;
     //
     // EditFormat
     //
     this.Controls.Add(this.comboBoxChannels);
     this.Controls.Add(this.comboBoxBitsPerSample);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.textBoxSampleRate);
     this.Controls.Add(this.label1);
     this.Name = "EditFormat";
     this.Size = new System.Drawing.Size(288, 200);
     this.ResumeLayout(false);
 }
Esempio n. 56
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WzPageParametersConn));
     this.txtFunctoidParameter    = new System.Windows.Forms.TextBox();
     this.cmdFunctoidParameterDel = new System.Windows.Forms.Button();
     this.cmdFunctoidParameterAdd = new System.Windows.Forms.Button();
     this.cmbParameterDataType    = new System.Windows.Forms.ComboBox();
     this.label2 = new System.Windows.Forms.Label();
     this.lstFunctoidParameters = new System.Windows.Forms.ListBox();
     this.label1                  = new System.Windows.Forms.Label();
     this.errorProvider           = new System.Windows.Forms.ErrorProvider(this.components);
     this.txtMinParams            = new System.Windows.Forms.TextBox();
     this.txtMaxParams            = new System.Windows.Forms.TextBox();
     this.label3                  = new System.Windows.Forms.Label();
     this.label4                  = new System.Windows.Forms.Label();
     this.label5                  = new System.Windows.Forms.Label();
     this.label6                  = new System.Windows.Forms.Label();
     this.label7                  = new System.Windows.Forms.Label();
     this.cmbInputConnType        = new System.Windows.Forms.ComboBox();
     this.cmbOutputConnType       = new System.Windows.Forms.ComboBox();
     this.cmbReturnDataType       = new System.Windows.Forms.ComboBox();
     this.groupBox1               = new System.Windows.Forms.GroupBox();
     this.grpParams               = new System.Windows.Forms.GroupBox();
     this.cmdMoveUp               = new System.Windows.Forms.Button();
     this.cmdMoveDown             = new System.Windows.Forms.Button();
     this.txtFunctoidFunctionName = new System.Windows.Forms.TextBox();
     this.label8                  = new System.Windows.Forms.Label();
     this.panelHeader.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.grpParams.SuspendLayout();
     this.SuspendLayout();
     //
     // panelHeader
     //
     resources.ApplyResources(this.panelHeader, "panelHeader");
     //
     // labelTitle
     //
     resources.ApplyResources(this.labelTitle, "labelTitle");
     //
     // labelSubTitle
     //
     resources.ApplyResources(this.labelSubTitle, "labelSubTitle");
     //
     // txtFunctoidParameter
     //
     resources.ApplyResources(this.txtFunctoidParameter, "txtFunctoidParameter");
     this.txtFunctoidParameter.Name = "txtFunctoidParameter";
     //
     // cmdFunctoidParameterDel
     //
     resources.ApplyResources(this.cmdFunctoidParameterDel, "cmdFunctoidParameterDel");
     this.cmdFunctoidParameterDel.Name   = "cmdFunctoidParameterDel";
     this.cmdFunctoidParameterDel.Click += new System.EventHandler(this.cmdFunctoidParameterDel_Click);
     //
     // cmdFunctoidParameterAdd
     //
     resources.ApplyResources(this.cmdFunctoidParameterAdd, "cmdFunctoidParameterAdd");
     this.cmdFunctoidParameterAdd.Name   = "cmdFunctoidParameterAdd";
     this.cmdFunctoidParameterAdd.Click += new System.EventHandler(this.cmdFunctoidParameterAdd_Click);
     //
     // cmbParameterDataType
     //
     this.cmbParameterDataType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     resources.ApplyResources(this.cmbParameterDataType, "cmbParameterDataType");
     this.cmbParameterDataType.Name   = "cmbParameterDataType";
     this.cmbParameterDataType.Sorted = true;
     //
     // label2
     //
     resources.ApplyResources(this.label2, "label2");
     this.label2.Name = "label2";
     //
     // lstFunctoidParameters
     //
     resources.ApplyResources(this.lstFunctoidParameters, "lstFunctoidParameters");
     this.lstFunctoidParameters.Name = "lstFunctoidParameters";
     //
     // label1
     //
     resources.ApplyResources(this.label1, "label1");
     this.label1.Name = "label1";
     //
     // errorProvider
     //
     this.errorProvider.ContainerControl = this;
     resources.ApplyResources(this.errorProvider, "errorProvider");
     //
     // txtMinParams
     //
     resources.ApplyResources(this.txtMinParams, "txtMinParams");
     this.txtMinParams.Name         = "txtMinParams";
     this.txtMinParams.TextChanged += new System.EventHandler(this.Element_Changed);
     this.txtMinParams.Validating  += new System.ComponentModel.CancelEventHandler(this.Params_Validating);
     //
     // txtMaxParams
     //
     resources.ApplyResources(this.txtMaxParams, "txtMaxParams");
     this.txtMaxParams.Name         = "txtMaxParams";
     this.txtMaxParams.TextChanged += new System.EventHandler(this.Element_Changed);
     this.txtMaxParams.Validating  += new System.ComponentModel.CancelEventHandler(this.Params_Validating);
     //
     // label3
     //
     resources.ApplyResources(this.label3, "label3");
     this.label3.Name = "label3";
     //
     // label4
     //
     resources.ApplyResources(this.label4, "label4");
     this.label4.Name = "label4";
     //
     // label5
     //
     resources.ApplyResources(this.label5, "label5");
     this.label5.Name = "label5";
     //
     // label6
     //
     resources.ApplyResources(this.label6, "label6");
     this.label6.Name = "label6";
     //
     // label7
     //
     resources.ApplyResources(this.label7, "label7");
     this.label7.Name = "label7";
     //
     // cmbInputConnType
     //
     this.cmbInputConnType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     resources.ApplyResources(this.cmbInputConnType, "cmbInputConnType");
     this.cmbInputConnType.Name   = "cmbInputConnType";
     this.cmbInputConnType.Sorted = true;
     this.cmbInputConnType.Leave += new System.EventHandler(this.WzPageParametersConn_Leave);
     //
     // cmbOutputConnType
     //
     this.cmbOutputConnType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     resources.ApplyResources(this.cmbOutputConnType, "cmbOutputConnType");
     this.cmbOutputConnType.Name   = "cmbOutputConnType";
     this.cmbOutputConnType.Sorted = true;
     //
     // cmbReturnDataType
     //
     this.cmbReturnDataType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     resources.ApplyResources(this.cmbReturnDataType, "cmbReturnDataType");
     this.cmbReturnDataType.Name   = "cmbReturnDataType";
     this.cmbReturnDataType.Sorted = true;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.cmbInputConnType);
     this.groupBox1.Controls.Add(this.label5);
     this.groupBox1.Controls.Add(this.cmbOutputConnType);
     this.groupBox1.Controls.Add(this.label7);
     this.groupBox1.Controls.Add(this.cmbReturnDataType);
     this.groupBox1.Controls.Add(this.label6);
     resources.ApplyResources(this.groupBox1, "groupBox1");
     this.groupBox1.Name    = "groupBox1";
     this.groupBox1.TabStop = false;
     //
     // grpParams
     //
     this.grpParams.Controls.Add(this.txtMinParams);
     this.grpParams.Controls.Add(this.txtMaxParams);
     this.grpParams.Controls.Add(this.label3);
     this.grpParams.Controls.Add(this.label4);
     resources.ApplyResources(this.grpParams, "grpParams");
     this.grpParams.Name    = "grpParams";
     this.grpParams.TabStop = false;
     //
     // cmdMoveUp
     //
     resources.ApplyResources(this.cmdMoveUp, "cmdMoveUp");
     this.cmdMoveUp.Name   = "cmdMoveUp";
     this.cmdMoveUp.Click += new System.EventHandler(this.cmdMoveUp_Click);
     //
     // cmdMoveDown
     //
     resources.ApplyResources(this.cmdMoveDown, "cmdMoveDown");
     this.cmdMoveDown.Name   = "cmdMoveDown";
     this.cmdMoveDown.Click += new System.EventHandler(this.cmdMoveDown_Click);
     //
     // txtFunctoidFunctionName
     //
     resources.ApplyResources(this.txtFunctoidFunctionName, "txtFunctoidFunctionName");
     this.txtFunctoidFunctionName.Name = "txtFunctoidFunctionName";
     //
     // label8
     //
     resources.ApplyResources(this.label8, "label8");
     this.label8.Name = "label8";
     //
     // WzPageParametersConn
     //
     this.Controls.Add(this.txtFunctoidFunctionName);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.cmdMoveDown);
     this.Controls.Add(this.cmdMoveUp);
     this.Controls.Add(this.grpParams);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.txtFunctoidParameter);
     this.Controls.Add(this.cmdFunctoidParameterDel);
     this.Controls.Add(this.cmdFunctoidParameterAdd);
     this.Controls.Add(this.cmbParameterDataType);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.lstFunctoidParameters);
     this.Controls.Add(this.label1);
     this.Name = "WzPageParametersConn";
     resources.ApplyResources(this, "$this");
     this.SubTitle = "Specify Functoid Parameters && Connection Types";
     this.Title    = "Functoid Parameters && Connection Types";
     this.Load    += new System.EventHandler(this.WzPageParametersConn_Load);
     this.Leave   += new System.EventHandler(this.WzPageParametersConn_Leave);
     this.Controls.SetChildIndex(this.panelHeader, 0);
     this.Controls.SetChildIndex(this.label1, 0);
     this.Controls.SetChildIndex(this.lstFunctoidParameters, 0);
     this.Controls.SetChildIndex(this.label2, 0);
     this.Controls.SetChildIndex(this.cmbParameterDataType, 0);
     this.Controls.SetChildIndex(this.cmdFunctoidParameterAdd, 0);
     this.Controls.SetChildIndex(this.cmdFunctoidParameterDel, 0);
     this.Controls.SetChildIndex(this.txtFunctoidParameter, 0);
     this.Controls.SetChildIndex(this.groupBox1, 0);
     this.Controls.SetChildIndex(this.grpParams, 0);
     this.Controls.SetChildIndex(this.cmdMoveUp, 0);
     this.Controls.SetChildIndex(this.cmdMoveDown, 0);
     this.Controls.SetChildIndex(this.label8, 0);
     this.Controls.SetChildIndex(this.txtFunctoidFunctionName, 0);
     this.panelHeader.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.grpParams.ResumeLayout(false);
     this.grpParams.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 57
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Configuration.AppSettingsReader configurationAppSettings = new System.Configuration.AppSettingsReader();
     System.Resources.ResourceManager       resources = new System.Resources.ResourceManager(typeof(OrgAccountEdit));
     this.bnOK     = new System.Windows.Forms.Button();
     this.bnCancel = new System.Windows.Forms.Button();
     this.textBox1 = new AM_Controls.TextBoxV();
     this.cmbBank  = new System.Windows.Forms.ComboBox();
     this.label1   = new System.Windows.Forms.Label();
     this.label2   = new System.Windows.Forms.Label();
     this.button3  = new System.Windows.Forms.Button();
     this.label3   = new System.Windows.Forms.Label();
     this.textBox2 = new System.Windows.Forms.TextBox();
     this.label4   = new System.Windows.Forms.Label();
     this.cmbCurr  = new System.Windows.Forms.ComboBox();
     this.tbBIK    = new AM_Controls.TextBoxBIK();
     this.label5   = new System.Windows.Forms.Label();
     this.dvBank   = new System.Data.DataView();
     this.err      = new System.Windows.Forms.ErrorProvider();
     this.textBox3 = new System.Windows.Forms.TextBox();
     this.label6   = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.dvBank)).BeginInit();
     this.SuspendLayout();
     //
     // bnOK
     //
     this.bnOK.Font     = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.bnOK.Location = new System.Drawing.Point(188, 146);
     this.bnOK.Name     = "bnOK";
     this.bnOK.Size     = new System.Drawing.Size(80, 26);
     this.bnOK.TabIndex = 13;
     this.bnOK.Text     = "Сохранить";
     this.bnOK.Click   += new System.EventHandler(this.bnOK_Click);
     //
     // bnCancel
     //
     this.bnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.bnCancel.Font         = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.bnCancel.Location     = new System.Drawing.Point(268, 146);
     this.bnCancel.Name         = "bnCancel";
     this.bnCancel.Size         = new System.Drawing.Size(80, 26);
     this.bnCancel.TabIndex     = 14;
     this.bnCancel.Text         = "Отменить";
     this.bnCancel.Click       += new System.EventHandler(this.bnCancel_Click);
     //
     // textBox1
     //
     this.textBox1.AllowDrop = true;
     this.textBox1.dValue    = 0;
     this.textBox1.IsPcnt    = false;
     this.textBox1.Location  = new System.Drawing.Point(86, 66);
     this.textBox1.MaxDecPos = 0;
     this.textBox1.MaxLength = ((int)(configurationAppSettings.GetValue("RAccount.MaxLength", typeof(int))));
     this.textBox1.MaxPos    = 20;
     this.textBox1.Name      = "textBox1";
     this.textBox1.Negative  = System.Drawing.Color.Empty;
     this.textBox1.nValue    = ((long)(0));
     this.textBox1.Positive  = System.Drawing.Color.Empty;
     this.textBox1.Size      = new System.Drawing.Size(136, 21);
     this.textBox1.TabIndex  = 5;
     this.textBox1.Text      = "";
     this.textBox1.TextMode  = true;
     this.textBox1.Zero      = System.Drawing.Color.Empty;
     //
     // cmbBank
     //
     this.cmbBank.DropDownWidth         = 500;
     this.cmbBank.Location              = new System.Drawing.Point(86, 110);
     this.cmbBank.MaxDropDownItems      = 20;
     this.cmbBank.Name                  = "cmbBank";
     this.cmbBank.Size                  = new System.Drawing.Size(236, 21);
     this.cmbBank.TabIndex              = 11;
     this.cmbBank.SelectedIndexChanged += new System.EventHandler(this.cmbBank_SelectedIndexChanged);
     this.cmbBank.Leave                += new System.EventHandler(this.comboBox1_Leave);
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(2, 66);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(52, 23);
     this.label1.TabIndex  = 4;
     this.label1.Text      = "Р./счёт:";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(2, 108);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(44, 23);
     this.label2.TabIndex  = 10;
     this.label2.Text      = "Банк:";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // button3
     //
     this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
     this.button3.Image     = ((System.Drawing.Image)(resources.GetObject("button3.Image")));
     this.button3.Location  = new System.Drawing.Point(322, 110);
     this.button3.Name      = "button3";
     this.button3.Size      = new System.Drawing.Size(24, 22);
     this.button3.TabIndex  = 12;
     this.button3.TabStop   = false;
     this.button3.Click    += new System.EventHandler(this.button3_Click);
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(2, 2);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(76, 23);
     this.label3.TabIndex  = 0;
     this.label3.Text      = "Организация:";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // textBox2
     //
     this.textBox2.BackColor = System.Drawing.Color.Gainsboro;
     this.textBox2.Location  = new System.Drawing.Point(86, 2);
     this.textBox2.Name      = "textBox2";
     this.textBox2.ReadOnly  = true;
     this.textBox2.Size      = new System.Drawing.Size(262, 21);
     this.textBox2.TabIndex  = 1;
     this.textBox2.TabStop   = false;
     this.textBox2.Text      = "";
     //
     // label4
     //
     this.label4.Location  = new System.Drawing.Point(232, 70);
     this.label4.Name      = "label4";
     this.label4.Size      = new System.Drawing.Size(48, 16);
     this.label4.TabIndex  = 6;
     this.label4.Text      = "Валюта:";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // cmbCurr
     //
     this.cmbCurr.Enabled  = false;
     this.cmbCurr.Location = new System.Drawing.Point(282, 66);
     this.cmbCurr.Name     = "cmbCurr";
     this.cmbCurr.Size     = new System.Drawing.Size(66, 21);
     this.cmbCurr.TabIndex = 7;
     this.cmbCurr.Leave   += new System.EventHandler(this.cmbCurr_Leave);
     //
     // tbBIK
     //
     this.tbBIK.AllowDrop = true;
     this.tbBIK.dValue    = 0;
     this.tbBIK.IsPcnt    = false;
     this.tbBIK.Location  = new System.Drawing.Point(86, 88);
     this.tbBIK.MaxDecPos = 0;
     this.tbBIK.MaxLength = 9;
     this.tbBIK.MaxPos    = 9;
     this.tbBIK.Name      = "tbBIK";
     this.tbBIK.Negative  = System.Drawing.Color.Empty;
     this.tbBIK.nValue    = ((long)(0));
     this.tbBIK.Positive  = System.Drawing.Color.Empty;
     this.tbBIK.Size      = new System.Drawing.Size(136, 21);
     this.tbBIK.TabIndex  = 9;
     this.tbBIK.Text      = "";
     this.tbBIK.TextMode  = true;
     this.tbBIK.Zero      = System.Drawing.Color.Empty;
     this.tbBIK.Leave    += new System.EventHandler(this.tbBIK_Leave);
     //
     // label5
     //
     this.label5.Location  = new System.Drawing.Point(2, 88);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(34, 23);
     this.label5.TabIndex  = 8;
     this.label5.Text      = "БИК:";
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // err
     //
     this.err.ContainerControl = this;
     //
     // textBox3
     //
     this.textBox3.Location  = new System.Drawing.Point(86, 24);
     this.textBox3.Multiline = true;
     this.textBox3.Name      = "textBox3";
     this.textBox3.Size      = new System.Drawing.Size(262, 42);
     this.textBox3.TabIndex  = 3;
     this.textBox3.Text      = "";
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(2, 28);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(82, 34);
     this.label6.TabIndex = 2;
     this.label6.Text     = "Наименование в пл.пор.";
     //
     // OrgAccountEdit
     //
     this.AcceptButton      = this.bnOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
     this.CancelButton      = this.bnCancel;
     this.ClientSize        = new System.Drawing.Size(350, 173);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.textBox3);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.tbBIK);
     this.Controls.Add(this.cmbCurr);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.textBox2);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.button3);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.cmbBank);
     this.Controls.Add(this.textBox1);
     this.Controls.Add(this.bnCancel);
     this.Controls.Add(this.bnOK);
     this.Font            = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Icon            = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "OrgAccountEdit";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Расчетный счёт";
     this.Load           += new System.EventHandler(this.OrgAccountEdit_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dvBank)).EndInit();
     this.ResumeLayout(false);
 }
Esempio n. 58
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.label1         = new System.Windows.Forms.Label();
     this.textBox1       = new System.Windows.Forms.TextBox();
     this.label2         = new System.Windows.Forms.Label();
     this.button1        = new System.Windows.Forms.Button();
     this.button2        = new System.Windows.Forms.Button();
     this.label3         = new System.Windows.Forms.Label();
     this.textBox2       = new System.Windows.Forms.TextBox();
     this.errorProvider1 = new System.Windows.Forms.ErrorProvider();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location  = new System.Drawing.Point(24, 48);
     this.label1.Name      = "label1";
     this.label1.Size      = new System.Drawing.Size(232, 24);
     this.label1.TabIndex  = 5;
     this.label1.Text      = "Идентификатор образа тома (8 символов):";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // textBox1
     //
     this.textBox1.Location = new System.Drawing.Point(264, 48);
     this.textBox1.Name     = "textBox1";
     this.textBox1.Size     = new System.Drawing.Size(88, 20);
     this.textBox1.TabIndex = 0;
     this.textBox1.Text     = "";
     //
     // label2
     //
     this.label2.Location  = new System.Drawing.Point(8, 80);
     this.label2.Name      = "label2";
     this.label2.Size      = new System.Drawing.Size(248, 24);
     this.label2.TabIndex  = 6;
     this.label2.Text      = "Размер образа тома (в блоках по 4096 байт):";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // button1
     //
     this.button1.Location = new System.Drawing.Point(80, 112);
     this.button1.Name     = "button1";
     this.button1.Size     = new System.Drawing.Size(64, 24);
     this.button1.TabIndex = 2;
     this.button1.Text     = "OK";
     this.button1.Click   += new System.EventHandler(this.button1_Click);
     //
     // button2
     //
     this.button2.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.button2.Location     = new System.Drawing.Point(224, 112);
     this.button2.Name         = "button2";
     this.button2.Size         = new System.Drawing.Size(64, 24);
     this.button2.TabIndex     = 3;
     this.button2.Text         = "Отмена";
     this.button2.Click       += new System.EventHandler(this.button2_Click);
     //
     // label3
     //
     this.label3.Location  = new System.Drawing.Point(8, 16);
     this.label3.Name      = "label3";
     this.label3.Size      = new System.Drawing.Size(344, 24);
     this.label3.TabIndex  = 4;
     this.label3.Text      = "Задайте необходмую информацию для создания образа тома.";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // textBox2
     //
     this.textBox2.Location = new System.Drawing.Point(264, 80);
     this.textBox2.Name     = "textBox2";
     this.textBox2.Size     = new System.Drawing.Size(88, 20);
     this.textBox2.TabIndex = 1;
     this.textBox2.Text     = "";
     //
     // errorProvider1
     //
     this.errorProvider1.ContainerControl = this;
     //
     // FormCreateImage
     //
     this.AcceptButton      = this.button1;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.button2;
     this.ClientSize        = new System.Drawing.Size(370, 149);
     this.Controls.Add(this.textBox2);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.button2);
     this.Controls.Add(this.button1);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.textBox1);
     this.Controls.Add(this.label1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Name            = "FormCreateImage";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Создание образа тома";
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components    = new System.ComponentModel.Container();
     this.okButton      = new System.Windows.Forms.Button();
     this.cancelButton  = new System.Windows.Forms.Button();
     this.textBox       = new System.Windows.Forms.TextBox();
     this.label         = new System.Windows.Forms.Label();
     this.errorProvider = new System.Windows.Forms.ErrorProvider();
     this.comboBox      = new System.Windows.Forms.ComboBox();
     this.SuspendLayout();
     //
     // okButton
     //
     this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.okButton.Location     = new System.Drawing.Point(16, 96);
     this.okButton.Name         = "okButton";
     this.okButton.Size         = new System.Drawing.Size(75, 23);
     this.okButton.TabIndex     = 1;
     this.okButton.TabStop      = false;
     this.okButton.Text         = "OK";
     //
     // cancelButton
     //
     this.cancelButton.CausesValidation = false;
     this.cancelButton.DialogResult     = System.Windows.Forms.DialogResult.Cancel;
     this.cancelButton.Location         = new System.Drawing.Point(104, 96);
     this.cancelButton.Name             = "cancelButton";
     this.cancelButton.Size             = new System.Drawing.Size(75, 23);
     this.cancelButton.TabIndex         = 2;
     this.cancelButton.TabStop          = false;
     this.cancelButton.Text             = "Cancel";
     //
     // textBox
     //
     this.textBox.Location    = new System.Drawing.Point(16, 48);
     this.textBox.Name        = "textBox";
     this.textBox.Size        = new System.Drawing.Size(160, 20);
     this.textBox.TabIndex    = 0;
     this.textBox.Visible     = false;
     this.textBox.Validating += new System.ComponentModel.CancelEventHandler(this.InputDialog_Validating);
     //
     // label
     //
     this.label.Location = new System.Drawing.Point(16, 26);
     this.label.Name     = "label";
     this.label.Size     = new System.Drawing.Size(160, 20);
     this.label.TabIndex = 3;
     this.label.Text     = "Prompt";
     //
     // errorProvider
     //
     this.errorProvider.BlinkStyle       = System.Windows.Forms.ErrorBlinkStyle.NeverBlink;
     this.errorProvider.ContainerControl = this;
     //
     // comboBox
     //
     this.comboBox.Location              = new System.Drawing.Point(16, 49);
     this.comboBox.Name                  = "comboBox";
     this.comboBox.Size                  = new System.Drawing.Size(160, 21);
     this.comboBox.TabIndex              = 4;
     this.comboBox.Visible               = false;
     this.comboBox.SelectedIndexChanged += new System.EventHandler(this.comboBox_SelectedIndexChanged);
     //
     // InputDialog
     //
     this.AcceptButton      = this.okButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this.cancelButton;
     this.ClientSize        = new System.Drawing.Size(194, 131);
     this.Controls.Add(this.comboBox);
     this.Controls.Add(this.textBox);
     this.Controls.Add(this.label);
     this.Controls.Add(this.cancelButton);
     this.Controls.Add(this.okButton);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Name            = "InputDialog";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Caption";
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Esempio n. 60
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.cmdCancel    = new System.Windows.Forms.Button();
     this.cmdLogin     = new System.Windows.Forms.Button();
     this.txtPassword  = new System.Windows.Forms.TextBox();
     this.txtUserName  = new System.Windows.Forms.TextBox();
     this.lblPassword  = new System.Windows.Forms.Label();
     this.lblUserName  = new System.Windows.Forms.Label();
     this.epValidation = new System.Windows.Forms.ErrorProvider();
     this.SuspendLayout();
     //
     // cmdCancel
     //
     this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.cmdCancel.Font         = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.cmdCancel.Location     = new System.Drawing.Point(220, 80);
     this.cmdCancel.Name         = "cmdCancel";
     this.cmdCancel.Size         = new System.Drawing.Size(88, 32);
     this.cmdCancel.TabIndex     = 21;
     this.cmdCancel.Text         = "E&xit";
     //
     // cmdLogin
     //
     this.cmdLogin.Font     = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.cmdLogin.Location = new System.Drawing.Point(116, 80);
     this.cmdLogin.Name     = "cmdLogin";
     this.cmdLogin.Size     = new System.Drawing.Size(88, 32);
     this.cmdLogin.TabIndex = 20;
     this.cmdLogin.Text     = "&Login";
     this.cmdLogin.Click   += new System.EventHandler(this.cmdLogin_Click);
     //
     // txtPassword
     //
     this.txtPassword.BorderStyle  = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtPassword.Font         = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.txtPassword.Location     = new System.Drawing.Point(116, 40);
     this.txtPassword.MaxLength    = 32;
     this.txtPassword.Name         = "txtPassword";
     this.txtPassword.PasswordChar = '*';
     this.txtPassword.Size         = new System.Drawing.Size(200, 21);
     this.txtPassword.TabIndex     = 19;
     this.txtPassword.Text         = "password";
     //
     // txtUserName
     //
     this.txtUserName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.txtUserName.Font        = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.txtUserName.Location    = new System.Drawing.Point(116, 8);
     this.txtUserName.MaxLength   = 32;
     this.txtUserName.Name        = "txtUserName";
     this.txtUserName.Size        = new System.Drawing.Size(200, 21);
     this.txtUserName.TabIndex    = 17;
     this.txtUserName.Text        = "DeborahK";
     this.txtUserName.Leave      += new System.EventHandler(this.txt_Leave);
     this.txtUserName.Enter      += new System.EventHandler(this.txt_Enter);
     //
     // lblPassword
     //
     this.lblPassword.BackColor = System.Drawing.Color.Transparent;
     this.lblPassword.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lblPassword.ForeColor = System.Drawing.Color.DarkBlue;
     this.lblPassword.Location  = new System.Drawing.Point(28, 42);
     this.lblPassword.Name      = "lblPassword";
     this.lblPassword.Size      = new System.Drawing.Size(92, 16);
     this.lblPassword.TabIndex  = 18;
     this.lblPassword.Text      = "Password";
     this.lblPassword.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblUserName
     //
     this.lblUserName.BackColor = System.Drawing.Color.Transparent;
     this.lblUserName.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
     this.lblUserName.ForeColor = System.Drawing.Color.DarkBlue;
     this.lblUserName.Location  = new System.Drawing.Point(28, 8);
     this.lblUserName.Name      = "lblUserName";
     this.lblUserName.Size      = new System.Drawing.Size(88, 21);
     this.lblUserName.TabIndex  = 16;
     this.lblUserName.Text      = "Username";
     this.lblUserName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // epValidation
     //
     this.epValidation.BlinkStyle       = System.Windows.Forms.ErrorBlinkStyle.NeverBlink;
     this.epValidation.ContainerControl = this;
     //
     // LoginWin
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize        = new System.Drawing.Size(322, 123);
     this.Controls.Add(this.cmdCancel);
     this.Controls.Add(this.cmdLogin);
     this.Controls.Add(this.txtPassword);
     this.Controls.Add(this.txtUserName);
     this.Controls.Add(this.lblPassword);
     this.Controls.Add(this.lblUserName);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.Name            = "LoginWin";
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "Please log in";
     this.Paint          += new System.Windows.Forms.PaintEventHandler(this.LoginWin_Paint);
     this.ResumeLayout(false);
 }