예제 #1
1
        public static void CheckSessionAccessList(AccessSubType accessSubType, RadButton btnPrint, RadButton btnAdd, RadButton btnNew, RadButton btnSave, RadButton btnCancel, RadGridView grid)
        {
            if (Session.CurrentUser.Role.IsAdmin)
                return;

            AccessControl ac = Session.CurrentUser.Role.AccessControlList[accessSubType];

            if (!ac.AccessPrint)
            {
                if (btnPrint != null)
                    btnPrint.Hide();
            }

            if (!ac.AccessRemove)
            {
                if (grid != null)
                    grid.Columns.RemoveAt(grid.Columns.Count() - 1);
            }

            if (!ac.AccessInsert)
            {
                if (btnAdd != null)
                    btnAdd.Hide();
                if (btnNew != null)
                    btnNew.Hide();
            }

            if (!ac.AccessChange)
            {
                if (btnSave != null)
                    btnSave.Hide();
                if (btnCancel != null)
                    btnCancel.Hide();
            }
        }
예제 #2
0
 /// <summary>
 /// Checks whether the process responses is already running, and changes the status message.
 /// </summary>
 /// <param name="btnProcessIncomingResponse"></param>
 /// <param name="litIncomingInfo"></param>
 /// <author>Saad Mansour</author>
 public static void CheckProcessResponsesStatus(RadButton btnProcessIncomingResponse, Literal litIncomingInfo)
 {
     try
     {
         if (GlobalVariables.IsProcessIncomingRunning)
         {
             if (btnProcessIncomingResponse != null)
             {
                 btnProcessIncomingResponse.Enabled = false;
                 litIncomingInfo.Text = "Processing is already Running. Please, wait.";
             }
         }
         else
         {
             if (btnProcessIncomingResponse != null)
             {
                 string[] files = Directory.GetFiles(Utility.GetResponseFilesFolderName() + "incoming");
                 if (files.Length > 0)
                 {
                     btnProcessIncomingResponse.Enabled = true;
                     litIncomingInfo.Text = "New Form Response(s): " + files.Length;
                 }
                 else
                 {
                     btnProcessIncomingResponse.Enabled = false;
                     litIncomingInfo.Text = "All Responses have been processed.";
                 }
             }
         }
     }
     catch (Exception ex)
     {
         LogUtils.WriteErrorLog(ex.ToString());
     }
 }
 private void ConfigureRadio(RadButton button, DemographicType type)
 {
     button.OnClientClicked = CriteriaName + "Controller.OnChange";
     button.GroupName = type.DemoField.ToString();
     button.Attributes.Add("DemoField", type.DemoField.ToString());
     button.Attributes.Add("DemoLabel", type.Label);
     button.CssClass = CriteriaName + "Finder";
 }
예제 #4
0
        public static void AsignarBloqueoBotones(RadButton btnNuevo, RadButton btnModificar, RadButton btnCancelar, EBotones estadoBoton, ref Boolean IsGuardarActivo, ref Boolean IsModificarActivo)
        {
            if ((estadoBoton == EBotones.Nuevo && IsGuardarActivo == false) || (estadoBoton == EBotones.Modificar && IsModificarActivo == false))
            {
                estadoBoton = EBotones.Reset;
            }


            switch (estadoBoton)
            {
                case EBotones.Reset: btnNuevo.Enabled = true;
                    btnModificar.Enabled = true;
                    btnCancelar.Enabled = false;
                    IsGuardarActivo = true;
                    IsModificarActivo = true;
                    AsignarIconoBotonModificar(btnModificar, ref IsModificarActivo);
                    AsignarIconoBotonNuevo(btnNuevo, ref IsGuardarActivo);
                    break;

                case EBotones.Nuevo: btnNuevo.Enabled = true;
                    btnModificar.Enabled = false;
                    btnCancelar.Enabled = true;
                    break;

                case EBotones.Modificar: btnNuevo.Enabled = false;
                    btnModificar.Enabled = true;
                    btnCancelar.Enabled = true;
                    break;

                case EBotones.MOModificar: btnNuevo.Enabled = true;
                    btnModificar.Enabled = true;
                    btnCancelar.Enabled = false;
                    break;

                case EBotones.Cancelar: btnNuevo.Enabled = true;
                    btnModificar.Enabled = false;
                    btnCancelar.Enabled = false;
                    IsGuardarActivo = true;
                    IsModificarActivo = true;
                    AsignarIconoBotonModificar(btnModificar, ref IsModificarActivo);
                    AsignarIconoBotonNuevo(btnNuevo, ref IsGuardarActivo);
                    break;

                case EBotones.Ver: btnNuevo.Enabled = true;
                    btnModificar.Enabled = true;
                    btnCancelar.Enabled = false;
                    IsGuardarActivo = true;
                    IsModificarActivo = true;
                    AsignarIconoBotonModificar(btnModificar, ref IsModificarActivo);
                    AsignarIconoBotonNuevo(btnNuevo, ref IsGuardarActivo);
                    break;

                default: break;

            }
        }
예제 #5
0
 protected void itemX_OnClick(object sender, EventArgs e)
 {
     var button = ((RadButton)sender);
     var list = new RadButton[] { s1, s2, s3 };
     foreach (var btn in list)
     {
         btn.Checked = btn.Value == button.Value;
     }
     reBind();
 }
예제 #6
0
 private void InsertButton(string buttonText, RoutedEventHandler buttonEventHandler, Panel panel)
 {
     RadButton btn = new RadButton();
     btn.Content = buttonText;
     btn.Click += buttonEventHandler;
     btn.Width = 150;
     btn.Height = 20;
     btn.Margin = new Thickness(5);
     panel.Children.Add(btn);
 }
예제 #7
0
        protected void radGridMenu_ItemDataBound(object sender, GridItemEventArgs e)
        {
            if (e.Item is GridDataItem)
            {
                GridDataItem dataItem = (GridDataItem)e.Item;
                try
                {
                    string    rowId    = dataItem["Id"].Text;
                    RadButton editLink = (RadButton)dataItem.FindControl("ViewMenuLink");
                    editLink.Attributes["href"]    = "javascript:void(0);";
                    editLink.Attributes["onclick"] = String.Format("return ShowEditForm('{0}','{1}');", rowId, e.Item.ItemIndex);

                    if (dataItem["MenuName"].Text.Length > 50)
                    {
                        string strValue   = dataItem["MenuName"].Text;
                        int    strLen     = dataItem["MenuName"].Text.Length;
                        int    intSection = (strLen - (strLen % 50)) / 50;
                        while (intSection > 0)
                        {
                            strValue    = strValue.Substring(0, intSection * 50) + "<br/>" + strValue.Substring(intSection * 50);
                            intSection -= 1;
                        }
                    }
                }
                catch
                {
                }

                try
                {
                    string    rowId    = dataItem["Id"].Text;
                    RadButton editLink = (RadButton)dataItem.FindControl("ViewPDFLink");
                    editLink.Attributes["href"]    = "javascript:void(0);";
                    editLink.Attributes["onclick"] = String.Format("return ShowMenuPDFForm('{0}','{1}');", rowId, e.Item.ItemIndex);

                    if (dataItem["MenuName"].Text.Length > 50)
                    {
                        string strValue   = dataItem["MenuName"].Text;
                        int    strLen     = dataItem["MenuName"].Text.Length;
                        int    intSection = (strLen - (strLen % 50)) / 50;
                        while (intSection > 0)
                        {
                            strValue    = strValue.Substring(0, intSection * 50) + "<br/>" + strValue.Substring(intSection * 50);
                            intSection -= 1;
                        }
                    }
                }
                catch
                {
                }
            }
        }
예제 #8
0
 private void InitializeComponent()
 {
     this.icontainer_0 = (IContainer) new Container();
     this.label1       = new Label();
     this.pictArrow    = new PictureBox();
     this.btnGotcha    = new RadButton();
     this.timer_1      = new Timer(this.icontainer_0);
     ((ISupportInitialize)this.pictArrow).BeginInit();
     this.btnGotcha.BeginInit();
     this.SuspendLayout();
     this.label1.BackColor    = Color.Transparent;
     this.label1.Dock         = DockStyle.Fill;
     this.label1.Font         = new Font("Microsoft Sans Serif", 51.75f, FontStyle.Bold, GraphicsUnit.Point, (byte)0);
     this.label1.ForeColor    = Color.White;
     this.label1.Location     = new Point(0, 0);
     this.label1.Name         = "label1";
     this.label1.Size         = new Size(1357, 789);
     this.label1.TabIndex     = 0;
     this.label1.Text         = "_";
     this.label1.TextAlign    = ContentAlignment.MiddleCenter;
     this.pictArrow.Image     = (Image)Class123.imgArrow;
     this.pictArrow.Location  = new Point(62, 49);
     this.pictArrow.Name      = "pictArrow";
     this.pictArrow.Size      = new Size(200, 200);
     this.pictArrow.SizeMode  = PictureBoxSizeMode.AutoSize;
     this.pictArrow.TabIndex  = 1;
     this.pictArrow.TabStop   = false;
     this.btnGotcha.Anchor    = AnchorStyles.Bottom | AnchorStyles.Right;
     this.btnGotcha.Location  = new Point(1139, 728);
     this.btnGotcha.Name      = "btnGotcha";
     this.btnGotcha.Size      = new Size(206, 49);
     this.btnGotcha.TabIndex  = 2;
     this.btnGotcha.Text      = "Gotcha!";
     this.btnGotcha.Click    += new EventHandler(this.btnGotcha_Click);
     this.timer_1.Enabled     = true;
     this.timer_1.Interval    = 33;
     this.timer_1.Tick       += new EventHandler(this.timer_1_Tick);
     this.AutoScaleDimensions = new SizeF(6f, 13f);
     this.AutoScaleMode       = AutoScaleMode.Font;
     this.ClientSize          = new Size(1357, 789);
     this.Controls.Add((Control)this.btnGotcha);
     this.Controls.Add((Control)this.pictArrow);
     this.Controls.Add((Control)this.label1);
     this.FormBorderStyle = FormBorderStyle.None;
     this.Name            = nameof(frmHelpOverlay);
     this.StartPosition   = FormStartPosition.Manual;
     this.Text            = nameof(frmHelpOverlay);
     ((ISupportInitialize)this.pictArrow).EndInit();
     this.btnGotcha.EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
        private void btnDeleteMailing_Click(object sender, RoutedEventArgs e)
        {
            RadButton _button = (RadButton)sender;

            Mouse.OverrideCursor = Cursors.Wait;
            int ID = ((DealerMailingList)_button.DataContext).ID;

            DealerMailingList _selectedDealerMailingList = DealerMailingListService.GetByID(ID);

            //there is the possibility that more than one mailing list has been created from this CSV file.

            try
            {
                List <DealerMailingList> _mailingLists = DealerMailingListService.GetByCsvFilePath(_selectedDealerMailingList.CsvFilePath);

                if (_mailingLists.Count > 1)
                {
                    MessageBox.Show("There are multiple mailing lists generated from this set of cases! The CSV file will not be deleted and the cases will show as SOLD until the other mailing lists generated against this data set are deleted.");
                }

                if (MessageBox.Show("Delete the mailing?", "Delete Mailing?", MessageBoxButton.YesNo) == MessageBoxResult.Yes)
                {
                    if (File.Exists(_selectedDealerMailingList.CsvFilePath) && _mailingLists.Count == 1)
                    {
                        File.Delete(_selectedDealerMailingList.CsvFilePath);
                    }

                    if (File.Exists(_selectedDealerMailingList.MailMergeFilePath))
                    {
                        File.Delete(_selectedDealerMailingList.MailMergeFilePath);
                    }

                    DealerMailingListService.Delete(_selectedDealerMailingList);

                    LoadPreviousMailings();
                    LoadMailingTotals();
                }
            }
            catch (IOException ioex)
            {
                if (ioex.ToString().Contains("The process cannot access the file"))
                {
                    MessageBox.Show("One of the required files (.csv or doc) is open in Word or Excel.  Please clsoe Word and Excel completely and try again.");
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show("The delete failed: " + ex.ToString());
            }

            Mouse.OverrideCursor = Cursors.Arrow;
        }
예제 #10
0
        private static RadButton CreateDeleteButton(PhraseItem phrase, string author)
        {
            var button = new RadButton
            {
                Content    = "To delete",
                Padding    = new Thickness(10, 2, 10, 2),
                Margin     = new Thickness(3, 1, 3, 2),
                Visibility = phrase.IsWantToDeleteBy(author) ? Visibility.Hidden : Visibility.Visible
            };

            button.Click += (o, args) => Button_Click(o, State.Delete);
            return(button);
        }
예제 #11
0
        private static RadButton CreateReviewButton(PhraseItem phrase, string author)
        {
            var button = new RadButton
            {
                Content    = "Accept",
                Padding    = new Thickness(10, 2, 10, 2),
                Margin     = new Thickness(3, 1, 3, 2),
                Visibility = phrase.IsReviewedBy(author) ? Visibility.Hidden : Visibility.Visible
            };

            button.Click += (o, args) => Button_Click(o, State.Accept);
            return(button);
        }
예제 #12
0
        public void Button_Click(Object sender, EventArgs args)
        {
            objButton = (RadButton)sender;

            switch (objButton.Name)
            {
            case "btnAgregarAlInventario":
                break;

            case "btnRemplazarInventario":
                break;
            }
        }
예제 #13
0
파일: MainWindow.xaml.cs 프로젝트: wpmyj/LC
        //每个页面的关闭按钮事件处理
        private void CloseToggleButton_Click(object sender, RoutedEventArgs e)
        {
            RadButton       rb        = sender as RadButton;
            RadTileViewItem rtvi      = rb.TemplatedParent as RadTileViewItem;
            int             pageIndex = _openPageName.IndexOf(rtvi.Name);

            _openPageName.RemoveAt(pageIndex);
            mainView.Items.RemoveAt(pageIndex);
            if (_openPageName.Count == 1)
            {
                mainView.ColumnsCount = 1;
            }
        }
예제 #14
0
        private void btnDelete_Click(object sender, RoutedEventArgs e)
        {
            RadButton _button         = (RadButton)sender;
            int       ID              = ((Dealer)_button.DataContext).ID;
            Dealer    _selectedDealer = DealerService.GetByID(ID);

            if (MessageBox.Show("Delete the dealer: " + _selectedDealer.CompanyName, "Confirm delete dealer", MessageBoxButton.YesNo) == MessageBoxResult.Yes)
            {
                DealerService.Delete(_selectedDealer);
            }

            LoadDealers();
        }
예제 #15
0
        private void bnt_Click(object sender, EventArgs e)
        {
            RadButton selBnt = sender as RadButton;//将触发此事件的对象转换为该Button对象

            if (selBnt != null)
            {
                if (selBnt.Tag != null && selBnt.Tag is DataRow)
                {
                    DataRow data = selBnt.Tag as DataRow;
                    InvokeFrom(data["filename"].ToString(), data["hcs_namespace"].ToString(), data["hcs_dialogname"].ToString(), data["indicator_type"].ToString(), data["name"].ToString());
                }
            }
        }
        protected void onMinMaxClick(object o, EventArgs e)
        {
            RadButton btn = (RadButton)o;

            if (btn.CommandArgument == "0")
            {
                btnTargetMax.Checked = false;
            }
            else
            {
                btnTargetMin.Checked = false;
            }
        }
예제 #17
0
        private void btnSendBack_Click(object sender, RoutedEventArgs e)
        {
            RadButton btn = (RadButton)sender;
            BillGoodReturnForSearch entity = (BillGoodReturnForSearch)btn.DataContext;
            var result = BillStoringReturnGoodVM.SendBack(entity);

            MessageBox.Show(result.Message);
            if (result.IsSucceed)
            {
                var data = RadGridView1.ItemsSource as ObservableCollection <BillGoodReturnForSearch>;
                data.Remove(entity);
            }
        }
        /*
         * ---------------------------------------------------------
         * EVENTOS UTILIZADOS EN EL FORMULARIO "frmAdminSuppliers.cs"
         * ---------------------------------------------------------
         */

        #region Eventos

        public void Button_Click(Object sender, EventArgs args)
        {
            objButton = (RadButton)sender;

            switch (objButton.Name)
            {
            case "btnAgregar":
                frmRegisterSupplier frmRegisterSupplier = new frmRegisterSupplier();
                frmRegisterSupplier.ShowDialog();
                break;

            case "btnBuscar":
                string supplierName = Proveedor.Text.Trim().ToString();

                if (string.IsNullOrEmpty(supplierName))
                {
                    MessageBox.Show(new Form {
                        TopMost = true
                    }, "Favor de introducir el nombre del proveedor a buscar", "Sistema de Punto de Venta Viper-OwalTek Innovation Solutions", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
                }
                else
                {
                    gvSuppliers.DataSource = null;
                    gvSuppliers.DataSource = BusinessLogicLayer.SupplierBLL.procGetSuppliersByNameToDataTable(supplierName, folderToSave);

                    if (gvSuppliers.Rows.Count > 0)
                    {
                        gvSuppliers.AutoSizeRows        = true;
                        gvSuppliers.Columns[0].WrapText = true;
                    }
                }
                break;

            case "btnRecargar":
                gvSuppliers.DataSource = null;
                gvSuppliers.DataSource = BusinessLogicLayer.SupplierBLL.procGetSuppliersToDataTable(folderToSave);

                if (gvSuppliers.Rows.Count > 0)
                {
                    gvSuppliers.AutoSizeRows        = true;
                    gvSuppliers.Columns[0].WrapText = true;
                }
                break;

            case "btnEliminar":
                break;

            case "btnEditar":
                break;
            }
        }
예제 #19
0
 private void SetButtonEnabled(ref RadButton btn, Boolean isEnabled)
 {
     if (!btn.InvokeRequired)
     {
         btn.Enabled = isEnabled;
     }
     else
     {
         RadButton btnControl = btn;
         SetButtonEnabledDelegate setButtonEnabledDelegate = new SetButtonEnabledDelegate(SetButtonEnabled);
         Object[] objArray = new Object[] { btn, isEnabled };
         btnControl.Invoke(setButtonEnabledDelegate, objArray);
     }
 }
예제 #20
0
 public static void KeyEnterToSaveChanges(KeyEventArgs e, RadButton btnYes, RadButton btnSave)
 {
     if (e.KeyCode == Keys.Enter)
     {
         if (!btnYes.Enabled)
         {
             btnSave.PerformClick();
         }
         else
         {
             btnYes.PerformClick();
         }
     }
 }
예제 #21
0
        protected void EmployeeList_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)
        {
            if (e.Item is GridDataItem)
            {
                GridDataItem Item      = (GridDataItem)e.Item;
                Employee     lDataItem = (Employee)e.Item.DataItem;

                RadButton btnViewDeatails = (RadButton)e.Item.FindControl("btnViewDetails");
                if (!object.ReferenceEquals(btnViewDeatails, null))
                {
                    btnViewDeatails.OnClientClicking = "function(button, args){window.location.replace('/Forms/EditEmployee.aspx?EmployeeID=" + lDataItem.EmployeeID.ToString() + "');}";
                }
            }
        }
예제 #22
0
        private void btnDelete_Click(object sender, RoutedEventArgs e)
        {
            RadButton _button = (RadButton)sender;

            PacerImportTransaction _transaction = ((PacerImportTransaction)_button.DataContext);

            //Dealer _selectedDealer = DealerService.GetByID(ID);

            if (MessageBox.Show("Delete the transaction from " + _transaction.DownloadTimeStamp.ToString() + " and all record of imported cases from the database?", "Delete Transaction?", MessageBoxButton.YesNo) == MessageBoxResult.Yes)
            {
                PacerImportTransactionService.Delete(_transaction);
                LoadTransactions();
            }
        }
예제 #23
0
        private void btnPrint_Click(object sender, RoutedEventArgs e)
        {
            RadButton _button = (RadButton)sender;

            int ID = ((Dealer)_button.DataContext).ID;

            Dealer _selectedDealer = DealerService.GetByID(ID);
            //MessageBox.Show("The double-clicked row is " + ((PacerImportTransaction)row.DataContext).ID);
            DealerMailingWindow _dealerMailingWindow = new DealerMailingWindow(_selectedDealer);

            _dealerMailingWindow.ShowInTaskbar = false;
            _dealerMailingWindow.Owner         = Window.GetWindow(this);
            _dealerMailingWindow.ShowDialog();
        }
예제 #24
0
        public override FrameworkElement CreateCellElement(GridViewCell cell, object dataItem)
        {
            RadButton button = cell.Content as RadButton;

            if (button == null)
            {
                button         = new RadButton();
                button.Content = "Delete";
                button.Command = RadGridViewCommands.Delete;
            }

            button.CommandParameter = dataItem;
            return(button);
        }
예제 #25
0
        private void btnFetch_Click(object sender, RoutedEventArgs e)
        {
            RadButton btn    = sender as RadButton;
            var       entity = (HoldRetailEntity)btn.DataContext;

            if (FetchRetailEvent != null)
            {
                FetchRetailEvent(entity);
            }
            ObservableCollection <HoldRetailEntity> context = this.DataContext as ObservableCollection <HoldRetailEntity>;

            context.Remove(entity);
            this.Close();
        }
예제 #26
0
 public void SeleccionarBotonRespuesta(RadButton a, RadButton b, string pAnswer)
 {
     if (a.Value.Equals(pAnswer))
     {
         a.Checked = true;
     }
     else if (b.Value.Equals(pAnswer))
     {
         b.Checked = true;
     }
     else
     {
         //DEJAR SIN RESPONDER
     }
 }
예제 #27
0
            /// <summary>
            /// Setting the cell content to be button and assigning the delegate to its click event
            /// </summary>
            /// <param name="cell"></param>
            /// <param name="dataItem"></param>
            /// <returns></returns>
            public override FrameworkElement CreateCellElement(GridViewCell cell, object dataItem)
            {
                RadButton button = cell.Content as RadButton;

                if (button == null)
                {
                    button         = new RadButton();
                    button.Content = Header;
                    button.Click  += DetailsButton_Click;
                }

                button.CommandParameter = dataItem;

                return(button);
            }
예제 #28
0
        /// <summary>
        /// Update comment on documentation
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e">RoutedEventArgs</param>
        private void DocumentCommentUpdation(object sender, RoutedEventArgs e)
        {
            RadButton element = sender as RadButton;

            if (element != null)
            {
                CommentUpdationData commentUpdationData = element.Tag as CommentUpdationData;
                if (commentUpdationData != null)
                {
                    DocumentCategoricalData data = commentUpdationData.CommentUpdationInfo as DocumentCategoricalData;
                    if (data != null)
                    {
                        DocumentCategoricalData selectedDocument = documentCategoricalInfo.Where(record => record == data).FirstOrDefault();
                        if (selectedDocument != null)
                        {
                            if (DataContextViewModelDocuments.DbInteractivity != null)
                            {
                                DataContextViewModelDocuments.BusyIndicatorNotification(true, "Updating comment to document...");
                                DataContextViewModelDocuments.DbInteractivity.SetDocumentComment(UserSession.SessionManager.SESSION.UserName
                                                                                                 , (Int64)selectedDocument.DocumentCatalogData.FileId, commentUpdationData.CommentUpdationInput.Text
                                                                                                 , DataContextViewModelDocuments.SetDocumentCommentCallbackMethod);

                                if ((commentUpdationData.CommentAlertInput.DropDownContent as RadListBox).SelectedItems.Count > 0)
                                {
                                    List <String> emailUsers = new List <string>();
                                    foreach (MembershipUserInfo alertUser in
                                             (commentUpdationData.CommentAlertInput.DropDownContent as RadListBox).SelectedItems)
                                    {
                                        emailUsers.Add(alertUser.Email);
                                    }

                                    String emailTo          = String.Join("|", emailUsers.ToArray());
                                    String emailSubject     = "Document Comment Updation Alert";
                                    String emailMessageBody = "Document comment updation notification. Please find the details below:\n"
                                                              + "Document Name - " + selectedDocument.DocumentCatalogData.FileName + "\n"
                                                              + "Company - " + selectedDocument.DocumentCompanyName + "\n"
                                                              + "Type - " + EnumUtils.GetDescriptionFromEnumValue <DocumentCategoryType>(selectedDocument.DocumentCategoryType) + "\n"
                                                              + "Comment - " + commentUpdationData.CommentUpdationInput.Text + "\n"
                                                              + "Comment By - " + UserSession.SessionManager.SESSION.UserName;
                                    DataContextViewModelDocuments.DbInteractivity.SetMessageInfo(emailTo, null, emailSubject, emailMessageBody, null
                                                                                                 , UserSession.SessionManager.SESSION.UserName, DataContextViewModelDocuments.SetMessageInfoCallbackMethod_Comment);
                                }
                            }
                        }
                    }
                }
            }
        }
        private void FormChangedHandler(object sender, EventArgs e)
        {
            RadButton salva     = MenuPanel.Controls[0].Controls.OfType <RadButton>().First(b => b.Text == "Salva");
            bool      formValid = true;

            foreach (Control control in ProfilePanel.Controls)
            {
                if (!(control is Label))
                {
                    PropertyInfo pi = (PropertyInfo)control.Tag;
                    object       o;
                    if (control.GetType() == typeof(GroupBox))
                    {
                        o = System.Enum.Parse(pi.PropertyType, control.Controls.OfType <RadioButton>()
                                              .FirstOrDefault(r => r.Checked).Text);
                    }

                    else if (control.GetType() == typeof(RadRating))
                    {
                        o = (int)((RadRating)control).Value;
                    }

                    else
                    {
                        o = Convert.ChangeType(control.Text, pi.PropertyType);
                    }
                    try
                    {
                        if (typeof(PersonalDetails).GetProperties().Contains(pi))
                        {
                            pi.SetValue(Model.CurrentUser.Details, o);
                            RecalculateTargetWeight();
                        }
                        else
                        {
                            pi.SetValue(Model.CurrentUser, o);
                        }
                        control.BackColor = Color.White;
                    }
                    catch (Exception)
                    {
                        formValid         = false;
                        control.BackColor = Color.Orange;
                    }
                }
            }
            salva.Enabled = formValid;
        }
예제 #30
0
파일: helper.cs 프로젝트: m0ch4/Sinarek
 /// <summary>
 /// Update System Theme According to Selection
 /// </summary>
 /// <param name="c"></param>
 /// <param name="themeName"></param>
 internal static void UpdateControlTheme(Control c, string themeName)
 {
     if (c is RadMaskedEditBox)
     {
         RadMaskedEditBox rm = (RadMaskedEditBox)c;
         rm.ThemeName = themeName;
     }
     if (c is RadTextBox)
     {
         RadTextBox txt = (RadTextBox)c;
         txt.ThemeName = themeName;
     }
     if (c is RadDropDownList)
     {
         RadDropDownList ddl = (RadDropDownList)c;
         ddl.ThemeName = themeName;
     }
     if (c is RadGridView)
     {
         RadGridView ddl = (RadGridView)c;
         ddl.ThemeName = themeName;
     }
     if (c is RadGroupBox)
     {
         RadGroupBox rg = (RadGroupBox)c;
         rg.ThemeName = themeName;
     }
     if (c is RadButton)
     {
         RadButton btn = (RadButton)c;
         btn.ThemeName = themeName;
     }
     if (c is RadDateTimePicker)
     {
         RadDateTimePicker dtp = (RadDateTimePicker)c;
         dtp.ThemeName = themeName;
     }
     if (c is RadPageView)
     {
         RadPageView pv = new RadPageView();
         pv.ThemeName = themeName;
     }
     //Also update theme for children
     foreach (Control ch in c.Controls)
     {
         UpdateControlTheme(ch, themeName);
     }
 }
예제 #31
0
        protected void btnDeleteDetails_Click(object sender, EventArgs e)
        {
            try
            {
                RadButton    Button    = (RadButton)sender;
                GridDataItem item      = (GridDataItem)Button.NamingContainer;
                String       MappingID = item.GetDataKeyValue("MappingID").ToString();

                DataTable dataTable1 = (DataTable)ViewState["DetailsDataTable"];
                DataTable dt         = new DataTable();
                dt.Clear();
                dt.Columns.Add("MappingID");
                dt.Columns.Add("pin_number");
                dt.Columns.Add("StakeholderTypeID");
                dt.Columns.Add("StakeholderTypeName");
                dt.Columns.Add("StakeholderName");
                int newMappingID = 0;
                foreach (DataRow dataRow in dataTable1.Rows)
                {
                    if ((string)dataRow["MappingID"].ToString() != MappingID)
                    {
                        newMappingID++;
                        DataRow row = dt.NewRow();
                        row["MappingID"]           = (string)newMappingID.ToString();
                        row["pin_number"]          = (string)dataRow["pin_number"].ToString();
                        row["StakeholderTypeID"]   = (string)dataRow["StakeholderTypeID"].ToString();
                        row["StakeholderTypeName"] = (string)dataRow["StakeholderTypeName"];;
                        row["StakeholderName"]     = (string)dataRow["StakeholderName"];;
                        dt.Rows.Add(row);
                    }
                }

                if (dt.Rows.Count > 0)
                {
                    ViewState["DetailsDataTable"] = null;
                    ViewState["DetailsDataTable"] = dt;
                    grdDetailsList.DataSource     = dt;
                    grdDetailsList.DataBind();
                    SetDetailsGridAppearance();
                    ClearStakeHolderType();
                    ClearStakeHolder();
                }
            }
            catch (Exception ex)
            {
                Alert.Show(ex.Message);
            }
        }
예제 #32
0
        public static void UpdateButton(this RadButton la, string Text)
        {
            if (la == null)
            {
                return;
            }

            if (la.InvokeRequired)  // if currently on a different thread, invoke
            {
                la.BeginInvoke((MethodInvoker) delegate() { la.Text = Text; });
            }
            else
            {
                la.Text = Text;
            }
        }
예제 #33
0
        private void PART_AddButton_Click(object sender, RoutedEventArgs e)
        {
            RadButton btn           = (RadButton)sender;
            var       groupbox      = btn.ParentOfType <System.Windows.Controls.GroupBox>();
            var       materielInfos = groupbox.DataContext as ObservableCollection <MaterielInfo>;
            var       lbxMateriels  = View.Extension.UIHelper.GetVisualChild <ListBox>(groupbox, "lbxMateriels");

            if (lbxMateriels.SelectedIndex != -1)
            {
                materielInfos.Insert(lbxMateriels.SelectedIndex + 1, new MaterielInfo());
            }
            else
            {
                materielInfos.Add(new MaterielInfo());
            }
        }
예제 #34
0
        void radButton1_MouseEnter(object sender, EventArgs e)
        {
            //setup style in case mouse enters
            RadButton btn = ((RadButton)sender);

            ((FillPrimitive)btn.RootElement.Children[0].Children[0]).Visibility            = Telerik.WinControls.ElementVisibility.Visible;
            ((FillPrimitive)btn.RootElement.Children[0].Children[0]).GradientStyle         = GradientStyles.Linear;
            ((FillPrimitive)btn.RootElement.Children[0].Children[0]).NumberOfColors        = 4;
            ((FillPrimitive)btn.RootElement.Children[0].Children[0]).BackColor             = Color.FromArgb(255, 255, 254);
            ((FillPrimitive)btn.RootElement.Children[0].Children[0]).BackColor2            = Color.FromArgb(253, 253, 250);
            ((FillPrimitive)btn.RootElement.Children[0].Children[0]).BackColor3            = Color.FromArgb(237, 245, 225);
            ((FillPrimitive)btn.RootElement.Children[0].Children[0]).BackColor4            = Color.FromArgb(252, 253, 250);
            ((BorderPrimitive)btn.RootElement.Children[0].Children[2]).ForeColor           = Color.FromArgb(193, 206, 171);
            ((BorderPrimitive)btn.RootElement.Children[0].Children[2]).Visibility          = ElementVisibility.Visible;
            ((TextPrimitive)btn.RootElement.Children[0].Children[1].Children[1]).ForeColor = Color.FromArgb(103, 138, 51);
        }
예제 #35
0
        public static void AsignarIconoBotonNuevo(RadButton boton, ref Boolean IsGuardarActivo)
        {
            if (IsGuardarActivo)
            {
                boton.Image = global::WinFormTelerikDS.Properties.Resources.Gnome_Document_New_48;
                boton.Text = "Nuevo";
                IsGuardarActivo = false;
            }
            else
            {
                boton.Image = global::WinFormTelerikDS.Properties.Resources.Gnome_Media_Floppy_48;
                boton.Text = "Guardar";
                IsGuardarActivo = true;

            }
        }
예제 #36
0
        public static void AsignarIconoBotonModificar(RadButton boton, ref Boolean IsModificarActivo)
        {
            if (IsModificarActivo)
            {
                boton.Image = global::WinFormTelerikDS.Properties.Resources.Gnome_Accessories_Text_Editor_48;
                boton.Text = "Modificar";
                IsModificarActivo = false;
            }
            else
            {
                boton.Image = global::WinFormTelerikDS.Properties.Resources.Gnome_Media_Floppy_48;
                boton.Text = "Guardar";
                IsModificarActivo = true;

            }
        }
예제 #37
0
            protected override void CreateChildElements()
            {
                base.CreateChildElements();
                this.button      = new RadDropDownButtonElement();
                this.button.Text = "Click For Edit";
                this.Children.Add(button);
                this.button.Items.Add(CreateDropDownButton());

                //subscribe for RadDropDownButtonClick event
                this.button.Click += new EventHandler(button_Click);

                //subscribe for UserControl's saveButton click event
                RadButton saveButton = (RadButton)userControl.Controls["saveButton"];

                saveButton.Click += new EventHandler(saveButton_Click);
            }
예제 #38
0
        private void btnAddPercent_Click(object sender, RoutedEventArgs e)
        {
            RadButton    btn                 = (RadButton)sender;
            var          groupbox            = btn.ParentOfType <System.Windows.Controls.GroupBox>();
            var          lbxMaterielPercents = View.Extension.UIHelper.GetVisualChild <ListBox>(groupbox, "lbxMaterielPercents");
            MaterielInfo info                = btn.DataContext as MaterielInfo;

            if (lbxMaterielPercents.SelectedIndex != -1)
            {
                info.MaterielPercents.Insert(lbxMaterielPercents.SelectedIndex + 1, new MaterielPercent());
            }
            else
            {
                info.MaterielPercents.Add(new MaterielPercent());
            }
        }
예제 #39
0
        public static string Show(string text, string caption)
        {
            RadForm prompt = new RadForm();
            prompt.Width = 500;
            prompt.Height = 150;
            prompt.FormBorderStyle = FormBorderStyle.FixedDialog;
            prompt.Text = caption;
            prompt.StartPosition = FormStartPosition.CenterScreen;
            prompt.Anchor = AnchorStyles.Right;
            prompt.ShowIcon = false;

            RadLabel textLabel = new RadLabel() { Left = 50, Top = 20, Text = text, AutoSize = true };
            RadTextBox textBox = new RadTextBox() { Left = 50, Top = 50, Width = 400 };
            RadButton confirmation = new RadButton() { Text = "Ok", Left = 350, Width = 100, Top = 70, DialogResult = DialogResult.OK };
            confirmation.Click += (sender, e) => { prompt.Close(); };
            prompt.Controls.Add(textBox);
            prompt.Controls.Add(confirmation);
            prompt.Controls.Add(textLabel);
            prompt.AcceptButton = confirmation;

            return prompt.ShowDialog() == DialogResult.OK ? textBox.Text : "";
        }
예제 #40
0
파일: Launcher.cs 프로젝트: BLaDZer/Luncher
 public Dictionary<int, object> LogTab(string text, string profilename)
 {
     var report = new RadPageViewPage {Text = string.Format("{0} ({1})", Localization_LauncherForm.Launcher_LogTab_GameOutputText, profilename)};
     var killprocess = new RadButton { Text = Resources.Launcher_ShowLogTab_Завершить, Anchor = (AnchorStyles.Right | AnchorStyles.Top) };
     var panel = new RadPanel {Text = text, Dock = DockStyle.Top};
     panel.Size = new Size(panel.Size.Width, 60);
     var closebutton = new RadButton
     {
         Text = LocRm.GetString("close.text"),
         Anchor = (AnchorStyles.Right | AnchorStyles.Top),
         Enabled = false
     };
     var reportbox = new RichTextBox { Dock = DockStyle.Fill, ReadOnly = true};
     closebutton.Location = new Point(panel.Size.Width - (closebutton.Size.Width + 5), 5);
     closebutton.Click += (sender, e) =>
     {
         var rb = sender as RadButton;
         if (rb == null) return;
         radPageView1.Pages.Remove(report);
     };
     killprocess.Location = new Point(panel.Size.Width - (killprocess.Size.Width + 5), closebutton.Location.Y + closebutton.Size.Height + 5);
     panel.Controls.Add(closebutton);
     panel.Controls.Add(killprocess);
     report.Controls.Add(reportbox);
     report.Controls.Add(panel);
     radPageView1.Pages.Add(report);
     radPageView1.SelectedPage = report;
     reportbox.LinkClicked += (sender, e) => Process.Start(e.LinkText);
     return new Dictionary<int,object>
     {
         {0, reportbox},
         {1, killprocess},
         {2, closebutton}
     };
 }
예제 #41
0
        // Display the buttons depending on the Record Type - this should be done in
        // the Sobject the same way as the fields (I think) but just doing it here for now
        void DisplayButtons()
        {
            // Remove any buttons
            for (int x = this.tbObjectButtons.Items.Count - 1; x >= 0; x--)
            {
                if (this.tbObjectButtons.Items[x].GetType() == typeof(RadButton))
                {
                    RadButton b = (RadButton)this.tbObjectButtons.Items[x];
                    if (b.Tag != null && b.Tag.ToString().StartsWith("Custom*"))
                    {
                        this.tbObjectButtons.Items.RemoveAt(x);
                    }
                }
            }
            for (int x = this.tbDataObjectButtons.Items.Count - 1; x >= 0; x--)
            {
                if (this.tbDataObjectButtons.Items[x].GetType() == typeof(RadButton))
                {
                    RadButton b = (RadButton)this.tbDataObjectButtons.Items[x];
                    if (b.Tag != null && b.Tag.ToString().StartsWith("Custom*"))
                    {
                        this.tbDataObjectButtons.Items.RemoveAt(x);
                    }
                }
            }

            // Get the button definition
            string buttondefinition = Globals.ThisAddIn.GetSettings(_sObjectDef.Name, "Buttons");
            bool hasDataButtons = false;

            if (buttondefinition != "")
            {

                foreach (string bdef in buttondefinition.Split('|'))
                {

                    string[] b = bdef.Split(':');
                    string name = b[0];
                    string type = (b.Length > 1) ? b[1] : "";
                    string action = (b.Length > 2) ? b[2] : "";
                    string recordtypes = (b.Length > 3) ? b[3] : "";
                    string confirm = (b.Length > 4) ? b[4] : "";


                    if (type == "Add" || type == "Data")
                    {

                        RadButton rB = new RadButton()
                        {
                            Content = name,
                            BorderThickness = new Thickness(0),
                            Height = 22,
                            Margin = new Thickness(3, 0, 3, 0),
                            Tag = "Custom*" + bdef
                        };
                        rB.Click += rB_Click;

                        if (type == "Add")
                        {
                            this.tbObjectButtons.Items.Add(rB);
                        }
                        else
                        {
                            bool showbutton = true;
                            if (recordtypes.Trim() != "")
                            {
                                showbutton = false;
                                string[] rt = recordtypes.Split(',');
                                foreach (string r in rt)
                                {
                                    if (r == _CurrentRecordTypeName)
                                    {
                                        showbutton = true;
                                    }
                                }
                            }
                            if (showbutton)
                            {
                                hasDataButtons = true;
                                this.tbDataObjectButtons.Items.Add(rB);
                            }
                        }
                    }
                    else if (type == "AddSeperator" || type == "DataSeperator")
                    {
                        RadToolBarSeparator tbS = new RadToolBarSeparator();
                        if (type == "AddSeperator")
                        {
                            this.tbObjectButtons.Items.Add(tbS);
                        }
                        else
                        {
                            bool showbutton = true;
                            if (recordtypes.Trim() != "")
                            {
                                showbutton = false;
                                string[] rt = recordtypes.Split(',');
                                foreach (string r in rt)
                                {
                                    if (r == _CurrentRecordTypeName)
                                    {
                                        showbutton = true;
                                    }
                                }
                            }
                            if (showbutton)
                            {
                                hasDataButtons = true;
                                this.tbDataObjectButtons.Items.Add(tbS);
                            }
                        }
                    }
                }
            }
            if (hasDataButtons)
            {
                if (this.tbDataObjectButtons.Visibility == System.Windows.Visibility.Collapsed)
                {
                    this.tbDataObjectButtons.Visibility = System.Windows.Visibility.Visible;
                    rowDataButtons.Height = new GridLength(28);
                    this.tbDataObjectButtons.Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Render, EmptyDelegate);
                }

            }
            else
            {
                if (this.tbDataObjectButtons.Visibility == System.Windows.Visibility.Visible)
                {
                    this.tbDataObjectButtons.Visibility = System.Windows.Visibility.Collapsed;
                    rowDataButtons.Height = new GridLength(0);
                    this.tbDataObjectButtons.Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Render, EmptyDelegate);
                }

            }
        }
 public object[] AddNewPage()
 {
     RadPageViewPage outputPage = new RadPageViewPage {
         Text =
             string.Format("{0} ({1})", _applicationContext.ProgramLocalization.GameOutput,
                 _versionToLaunch ?? _selectedProfile.ProfileName)
     };
     RadButton killProcessButton = new RadButton {
         Text = _applicationContext.ProgramLocalization.KillProcess,
         Anchor = (AnchorStyles.Right | AnchorStyles.Top)
     };
     RadPanel panel = new RadPanel {
         Text = (_versionToLaunch ?? (
             (_selectedProfile.SelectedVersion ?? GetLatestVersion(_selectedProfile)))),
         Dock = DockStyle.Top
     };
     panel.Size = new Size(panel.Size.Width, 60);
     RadButton closeButton = new RadButton {
         Text = _applicationContext.ProgramLocalization.Close,
         Anchor = (AnchorStyles.Right | AnchorStyles.Top),
         Enabled = false
     };
     RichTextBox reportBox = new RichTextBox {Dock = DockStyle.Fill, ReadOnly = true};
     closeButton.Location = new Point(panel.Size.Width - (closeButton.Size.Width + 5), 5);
     closeButton.Click += (sender, e) => mainPageView.Pages.Remove(outputPage);
     killProcessButton.Location = new Point(panel.Size.Width - (killProcessButton.Size.Width + 5),
         closeButton.Location.Y + closeButton.Size.Height + 5);
     panel.Controls.Add(closeButton);
     panel.Controls.Add(killProcessButton);
     outputPage.Controls.Add(reportBox);
     outputPage.Controls.Add(panel);
     mainPageView.Pages.Add(outputPage);
     mainPageView.SelectedPage = outputPage;
     reportBox.LinkClicked += (sender, e) => Process.Start(e.LinkText);
     return new object[] {
         reportBox,
         killProcessButton,
         closeButton
     };
 }
        private static HtmlGenericControl CreateRTI(Criterion criterion, string adjustedID)
        {
            var outerDiv = new HtmlGenericControl("div");
            outerDiv.Style.Add("background-color", "white");
            outerDiv.Style.Add("border", "1px solid #979797;");

            var rtiSerializer = new JavaScriptSerializer();
            RTIJsonObject rtiObject = null;

            if (!string.IsNullOrEmpty(criterion.ReportStringVal))
            {
                rtiObject = rtiSerializer.Deserialize<RTIJsonObject>(criterion.ReportStringVal);
            }

            var tiers = RTI.GetAllTiers();

            foreach (var tier in tiers)
            {
                var containerDiv = new HtmlGenericControl("div");
                containerDiv.Style.Add("padding", "3px");

                var image = new HtmlGenericControl("img");

                switch (tier)
                {
                    case "Former Year":
                        image.Attributes["src"] = "../../Images/rti_gray.png";
                        image.Attributes["alt"] = "Gray";
                        break;

                    case "Current Tier 1":
                        image.Attributes["src"] = "../../Images/rti_green.png";
                        image.Attributes["alt"] = "Green";
                        break;

                    case "Current Tier 2":
                        image.Attributes["src"] = "../../Images/rti_yellow.png";
                        image.Attributes["alt"] = "Yellow";
                        break;

                    case "Current Tier 3":
                        image.Attributes["src"] = "../../Images/rti_red.png";
                        image.Attributes["alt"] = "Red";
                        break;
                }

                image.Style.Add("width", "26px");
                image.Style.Add("height", "26px");
                image.Style.Add("vertical-align", "middle");
                image.Style.Add("margin-left", "3px");

                var checkBox = new RadButton
                {
                    AutoPostBack = false,
                    ToggleType = ButtonToggleType.CheckBox,
                    ButtonType = RadButtonType.ToggleButton,
                    Text = tier,
                    Value = tier,
                    Skin = "Vista",
                    OnClientCheckedChanged = "onRTICheckedChanged"
                };

                if (rtiObject != null)
                {
                    var rti = rtiObject.items.Find(r => r.text == tier);
                    if (rti != null)
                    {
                        checkBox.Checked = true;
                    }
                }

                checkBox.Style.Add("vertical-align", "middle");

                containerDiv.Controls.Add(checkBox);
                containerDiv.Controls.Add(image);
                outerDiv.Controls.Add(containerDiv);
            }

            return outerDiv;
        }
예제 #44
0
        public static void EventoClickCeldaDataGridView(RadButton btnNuevo, RadButton btnModificar, RadButton btnCancelar, ref Boolean IsGuardarActivo, ref Boolean IsModificarActivo)
        {
            Botones.AsignarBloqueoBotones(btnNuevo, btnModificar, btnCancelar, EBotones.MOModificar, ref IsGuardarActivo, ref IsModificarActivo);

        }
예제 #45
0
 private void SetButtonEnabled(ref RadButton btn, Boolean isEnabled)
 {
     if (!btn.InvokeRequired)
     {
         btn.Enabled = isEnabled;
     }
     else
     {
         RadButton btnControl = btn;
         SetButtonEnabledDelegate setButtonEnabledDelegate = new SetButtonEnabledDelegate(SetButtonEnabled);
         Object[] objArray = new Object[] { btn, isEnabled };
         btnControl.Invoke(setButtonEnabledDelegate, objArray);
     }
 }
예제 #46
0
 public static void EventoClickBotonVer(RadButton btnNuevo, RadButton btnModificar, RadButton btnCancelar, ref Boolean IsGuardarActivo, ref Boolean IsModificarActivo, RadPanel pnlInfo, RadPanel pnlContenido)
 {
     Botones.AsignarIconoBotonNuevo(btnNuevo, ref IsGuardarActivo);
     Botones.AsignarBloqueoBotones(btnNuevo, btnModificar, btnCancelar, EBotones.Ver, ref IsGuardarActivo, ref IsModificarActivo);
     CambiarPanel(pnlInfo, pnlContenido, EBotones.Ver, IsGuardarActivo);
 }
예제 #47
0
        public RadForm Build(string title)
        {
            var frm = new RadForm();
            var tableLayoutPanel1 = new TableLayoutPanel();

            frm.Text = title;
            frm.MaximizeBox = false;
            frm.MinimizeBox = false;
            frm.ShowIcon = false;
            frm.ShowInTaskbar = false;
            frm.FormBorderStyle = FormBorderStyle.FixedDialog;
            frm.StartPosition = FormStartPosition.CenterScreen;
            frm.AutoSize = true;
            frm.AutoSizeMode = AutoSizeMode.GrowOnly;

            var btnCancel = new RadButton();
            btnCancel.ThemeName = ThemeResolutionService.ApplicationThemeName;

            btnCancel.Anchor = (AnchorStyles.Bottom | AnchorStyles.Right);
            btnCancel.DialogResult = DialogResult.Cancel;
            btnCancel.Name = "btnCancel";
            btnCancel.Size = new System.Drawing.Size(75, 23);
            btnCancel.TabIndex = 3;
            btnCancel.Text = "Cancel";
            btnCancel.Dock = DockStyle.Right;

            var btnOk = new RadButton();
            btnOk.ThemeName = ThemeResolutionService.ApplicationThemeName;

            btnOk.Anchor = (AnchorStyles.Bottom | AnchorStyles.Right);
            btnOk.DialogResult = DialogResult.OK;
            btnOk.Name = "btnOk";
            btnOk.Size = new System.Drawing.Size(75, 23);
            btnOk.TabIndex = 2;
            btnOk.Text = "OK";
            btnOk.Dock = DockStyle.Right;

            tableLayoutPanel1.RowCount = _controls.Count;
            tableLayoutPanel1.ColumnCount = 2;
            tableLayoutPanel1.Location = new System.Drawing.Point(12, 12);
            tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle());
            tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle());
            tableLayoutPanel1.RowStyles.Add(new RowStyle());
            tableLayoutPanel1.Dock = DockStyle.Fill;

            for (int i = 0; i < _controls.Count; i++)
            {
                var c = _controls.Values.ToArray()[i];
                var label = CreateLabel(_controls.Keys.ToArray()[i]);

                tableLayoutPanel1.Controls.Add(label, 0, i);
                tableLayoutPanel1.Controls.Add(c, 1, i);
            }

            frm.Width = tableLayoutPanel1.Width + 40;
            frm.Height = tableLayoutPanel1.Height + 90;

            var p = new Panel();
            p.Dock = DockStyle.Bottom;
            p.Size = new System.Drawing.Size(75, 23);

            p.Controls.Add(btnCancel);
            p.Controls.Add(btnOk);

            frm.Controls.Add(p);
            var sp = new RadScrollablePanel();
            sp.Dock = DockStyle.Fill;
            sp.AutoScroll = true;

            sp.Controls.Add(tableLayoutPanel1);
            frm.Controls.Add(sp);

            return frm;
        }
예제 #48
0
    public static void ProcessIncommingForms(RadButton btnProcessIncomingResponse, Literal litIncomingInfo)
    {
        bool concurrentCalls = false; //whether the process called while it is already running by the task scheduler.
        try
        {
            if (GlobalVariables.IsProcessIncomingRunning) //whether the processing is already running by the task scheduler.
            {
                if (btnProcessIncomingResponse != null)
                {
                    btnProcessIncomingResponse.Enabled = false;
                    litIncomingInfo.Text = "Processing is already Running. Please, wait.";
                }
                concurrentCalls = true;
                return;
            }

            GlobalVariables.IsProcessIncomingRunning = true;
            string[] files = Directory.GetFiles(Utility.GetResponseFilesFolderName() + "incoming");
            double step = 100.0000 / (double)files.Length;

            RadProgressContext ProgressContex = RadProgressContext.Current;
            ProgressContex.PrimaryTotal = files.Length;
            ProgressContex.PrimaryValue = 0;
            ProgressContex.PrimaryPercent = 0;

            IncomingProcessor incomProc = new IncomingProcessor();

            double ms = 0;
            Stopwatch sw = new Stopwatch();

            int formToProc = files.Length;
            if (formToProc > 10)
            {
                formToProc = 10;
            }
            for (int i = 0; i < files.Length; i++)
            {
                sw.Reset();
                sw.Start();
                string filePath = files[i];
                string fileName = Path.GetFileNameWithoutExtension(filePath);
                string senderNo = fileName.GetSubstringAfterLastChar('_');//"+" + fileName.Substring(18);
                using (StreamReader sr = File.OpenText(files[i]))
                {
                    string s = sr.ReadToEnd();
                    sr.Close();
                    incomProc.ProcessResponse(s, senderNo, fileName);
                }

                ProgressContex.CurrentOperationText = "Processing " + fileName;
                ProgressContex.PrimaryValue = (i + 1).ToString();
                ProgressContex.PrimaryPercent = (step * (i + 1)).ToString("00.##");
                sw.Stop();

                TimeSpan ts = sw.Elapsed;
                ms += ts.TotalMilliseconds;
                TimeSpan ts2 = TimeSpan.FromMilliseconds((ms / (double)(i + 1)) * (files.Length - (i + 1)));
                ts.Add(ts2);

                string elapsedTime = String.Format("{0:00}:{1:00}:{2:00}", ts2.Hours, ts2.Minutes, ts2.Seconds);
                ProgressContex.TimeEstimated = elapsedTime;
            }
            ProgressContex.CurrentOperationText = "Insert Done. Pleas Wait...";
            Thread.Sleep(2000);
            ProgressContex.CurrentOperationText = "Calculating Indexes. Pleas Wait...";
            Thread.Sleep(1100);
            incomProc.GenerateIndexesHash();
            ProgressContex.CurrentOperationText = "Calculating Server Side Calulated Fields. Please Wait...";
            Thread.Sleep(1100);
            incomProc.GenerateCalculatedField();
            ProgressContex.CurrentOperationText = "Validating User to Response Permission. Please Wait...";
            Thread.Sleep(1100);
            incomProc.GenerateUserToFormResponseAssociation();
            GlobalVariables.LastProcessFormResponsesTime = "Last Process Form Responses: " + DateTime.Now.ToString();
        }
        catch (Exception ex)
        {
            concurrentCalls = false;
            LogUtils.WriteErrorLog(ex.ToString());
        }
        finally
        {
            if (concurrentCalls == false)
            {
                GlobalVariables.IsProcessIncomingRunning = false;
                CheckProcessResponsesStatus(btnProcessIncomingResponse, litIncomingInfo);
            }
        }
    }
예제 #49
0
 protected void t_Click(object sender, EventArgs e)
 {
     var button = ((RadButton)sender);
     var list = new RadButton[] { t1, t2, t3, t4 };
     foreach (var btn in list)
     {
         btn.Checked = btn.Value == button.Value;
     }
     reBind();
 }
 public void Launch()
 {
     if (_profile.LauncherVisibilityOnGameClose != Profile.LauncherVisibility.CLOSED) {
         if (_launcherForm.EnableMinecraftLogging.Checked) {
             _outputReader = new Thread(o_reader);
             _outputReader.Start();
         }
         _errorReader = new Thread(e_reader);
         _errorReader.Start();
         object[] obj = _launcherForm.AddNewPage();
         _gameLoggingBox = (RichTextBox) obj[0];
         _closePageButton = (RadButton) obj[2];
         _killProcessButton = (RadButton) obj[1];
         _killProcessButton.Click += KillProcessButton_Click;
         _minecraftProcess.Exited += MinecraftProcess_Exited;
     }
     _minecraftProcess.Start();
     if (_profile.LauncherVisibilityOnGameClose == Profile.LauncherVisibility.CLOSED) {
         _launcherForm.Close();
     }
     if (_profile.LauncherVisibilityOnGameClose == Profile.LauncherVisibility.HIDDEN) {
         _launcherForm.Hide();
     }
 }
 private void setRadButton(RadButton control, bool enable)
 {
     if (control.InvokeRequired)
     {
         control.Invoke(new MethodInvoker(delegate
         {
             control.Enabled = enable;
         }));
     }
     else
     {
         control.Enabled = enable;
     }
 }
예제 #52
0
 public static void EventoClickBotonCancelar(RadButton btnNuevo, RadButton btnModificar, RadButton btnCancelar, ref Boolean IsGuardarActivo, ref Boolean IsModificarActivo)
 {
     Botones.AsignarBloqueoBotones(btnNuevo, btnModificar, btnCancelar, EBotones.Cancelar, ref IsGuardarActivo, ref IsModificarActivo);
    // WinForm.CambiarPanel(pnlInfo, pnlContenido, EBotones.Cancelar);
 }
예제 #53
0
        private static RadWindow CreatePreviewWindow(RadRichTextBox rtb)
        {
            var printButton = new RadButton
                {
                    Content = "Print",
                    Margin = new Thickness(10, 0, 10, 0),
                    FontWeight = FontWeights.Bold,
                    Width = 80
                };

            printButton.Click += (s, e) => rtb.Print("MyDocument", Telerik.Windows.Documents.UI.PrintMode.Native);

            var sp = new StackPanel { Height = 26, Orientation = Orientation.Horizontal, Margin = new Thickness(10) };
            sp.Children.Add(new RadRichTextBoxStatusBar { AssociatedRichTextBox = rtb, Margin = new Thickness(20, 0, 10, 0) });

            sp.Children.Add(new TextBlock
                {
                    Text = "Orientation:",
                    Margin = new Thickness(10, 0, 3, 0),
                    VerticalAlignment = VerticalAlignment.Center
                });

            var radComboBoxPageOrientation = new RadComboBox
                {
                    ItemsSource = new[] { "Portrait", "Landscape" },
                    SelectedIndex = 0
                };
            sp.Children.Add(radComboBoxPageOrientation);

            radComboBoxPageOrientation.SelectionChanged +=
                (s, e) => rtb.ChangeSectionPageOrientation((PageOrientation)Enum.Parse(typeof(PageOrientation),
                                                                                        radComboBoxPageOrientation.Items
                                                                                            [
                                                                                                radComboBoxPageOrientation
                                                                                                    .SelectedIndex]
                                                                                            .ToString(), true));

            sp.Children.Add(new TextBlock
                {
                    Text = "Size:",
                    Margin = new Thickness(10, 0, 3, 0),
                    VerticalAlignment = VerticalAlignment.Center
                });

            var radComboBoxPageSize = new RadComboBox
                {
                    ItemsSource = new[] { "A0", "A1", "A2", "A3", "A4", "A5", "Letter" },
                    Height = 25,
                    SelectedIndex = 4,
                };
            sp.Children.Add(radComboBoxPageSize);

            radComboBoxPageSize.SelectionChanged += (s, e) =>
                rtb.ChangeSectionPageSize(PaperTypeConverter.ToSize((PaperTypes)Enum.Parse(typeof(PaperTypes),
                                                                                            radComboBoxPageSize.Items[
                                                                                                radComboBoxPageSize
                                                                                                    .SelectedIndex]
                                                                                                .ToString(), true)));

            sp.Children.Add(printButton);

            var g = new Grid();
            g.RowDefinitions.Add(new RowDefinition { Height = GridLength.Auto });
            g.RowDefinitions.Add(new RowDefinition());
            g.Children.Add(sp);
            g.Children.Add(rtb);

            Grid.SetRow(rtb, 1);

            return new RadWindow
                {
                    Content = g,
                    Width = 900,
                    Height = 600,
                    Header = "Print Preview",
                    WindowStartupLocation = Telerik.Windows.Controls.WindowStartupLocation.CenterScreen
                };
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Telerik.WinControls.UI.ListViewDetailColumn listViewDetailColumn1 = new Telerik.WinControls.UI.ListViewDetailColumn("Column 0", "Версия");
     Telerik.WinControls.UI.ListViewDetailColumn listViewDetailColumn2 = new Telerik.WinControls.UI.ListViewDetailColumn("Column 1", "Тип");
     Telerik.WinControls.UI.ListViewDetailColumn listViewDetailColumn3 = new Telerik.WinControls.UI.ListViewDetailColumn("Column 2", "Зависимость");
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LauncherForm));
     Telerik.WinControls.UI.RadListDataItem radListDataItem1 = new Telerik.WinControls.UI.RadListDataItem();
     this.vs12theme = new Telerik.WinControls.Themes.VisualStudio2012DarkTheme();
     this.mainPageView = new Telerik.WinControls.UI.RadPageView();
     this.News = new Telerik.WinControls.UI.RadPageViewPage();
     this.newsBrowser = new System.Windows.Forms.WebBrowser();
     this.webPanel = new Telerik.WinControls.UI.RadPanel();
     this.BackWebButton = new Telerik.WinControls.UI.RadButton();
     this.ForwardWebButton = new Telerik.WinControls.UI.RadButton();
     this.ConsolePage = new Telerik.WinControls.UI.RadPageViewPage();
     this.logBox = new System.Windows.Forms.RichTextBox();
     this.ConsoleOptionsPanel = new Telerik.WinControls.UI.RadPanel();
     this.SetToClipboardButton = new Telerik.WinControls.UI.RadButton();
     this.DebugModeButton = new Telerik.WinControls.UI.RadToggleButton();
     this.EditVersions = new Telerik.WinControls.UI.RadPageViewPage();
     this.versionsListView = new Telerik.WinControls.UI.RadListView();
     this.AboutPage = new Telerik.WinControls.UI.RadPageViewPage();
     this.AboutPageView = new Telerik.WinControls.UI.RadPageView();
     this.AboutPageViewPage = new Telerik.WinControls.UI.RadPageViewPage();
     this.radScrollablePanel2 = new Telerik.WinControls.UI.RadScrollablePanel();
     this.AboutVersion = new Telerik.WinControls.UI.RadLabel();
     this.label6 = new System.Windows.Forms.Label();
     this.MCofflineDescLabel = new System.Windows.Forms.Label();
     this.radLabel1 = new Telerik.WinControls.UI.RadLabel();
     this.PartnersLabel = new Telerik.WinControls.UI.RadLabel();
     this.CopyrightInfoLabel = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.DevInfoLabel = new System.Windows.Forms.Label();
     this.label5 = new System.Windows.Forms.Label();
     this.GratitudesDescLabel = new System.Windows.Forms.Label();
     this.GratitudesLabel = new Telerik.WinControls.UI.RadLabel();
     this.LicensesPage = new Telerik.WinControls.UI.RadPageViewPage();
     this.licensePageView = new Telerik.WinControls.UI.RadPageView();
     this.FreeLauncherLicense = new Telerik.WinControls.UI.RadPageViewPage();
     this.FreeLauncherLicenseText = new Telerik.WinControls.UI.RadLabel();
     this.dotMCLauncherLicense = new Telerik.WinControls.UI.RadPageViewPage();
     this.dotMCLauncherLicenseText = new Telerik.WinControls.UI.RadLabel();
     this.SettingsPage = new Telerik.WinControls.UI.RadPageViewPage();
     this.radScrollablePanel1 = new Telerik.WinControls.UI.RadScrollablePanel();
     this.radGroupBox2 = new Telerik.WinControls.UI.RadGroupBox();
     this.CloseGameOutput = new Telerik.WinControls.UI.RadCheckBox();
     this.UseGamePrefix = new Telerik.WinControls.UI.RadCheckBox();
     this.EnableMinecraftLogging = new Telerik.WinControls.UI.RadCheckBox();
     this.radGroupBox1 = new Telerik.WinControls.UI.RadGroupBox();
     this.radLabel4 = new Telerik.WinControls.UI.RadLabel();
     this.LangDropDownList = new Telerik.WinControls.UI.RadDropDownList();
     this.EnableMinecraftUpdateAlerts = new Telerik.WinControls.UI.RadCheckBox();
     this.radCheckBox1 = new Telerik.WinControls.UI.RadCheckBox();
     this.StatusBar = new Telerik.WinControls.UI.RadProgressBar();
     this.radPanel1 = new Telerik.WinControls.UI.RadPanel();
     this.DeleteProfileButton = new Telerik.WinControls.UI.RadButton();
     this.ManageUsersButton = new Telerik.WinControls.UI.RadButton();
     this.NicknameDropDownList = new Telerik.WinControls.UI.RadDropDownList();
     this.SelectedVersion = new System.Windows.Forms.Label();
     this.LogoBox = new System.Windows.Forms.PictureBox();
     this.LaunchButton = new Telerik.WinControls.UI.RadButton();
     this.profilesDropDownBox = new Telerik.WinControls.UI.RadDropDownList();
     this.EditProfile = new Telerik.WinControls.UI.RadButton();
     this.AddProfile = new Telerik.WinControls.UI.RadButton();
     ((System.ComponentModel.ISupportInitialize)(this.mainPageView)).BeginInit();
     this.mainPageView.SuspendLayout();
     this.News.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.webPanel)).BeginInit();
     this.webPanel.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.BackWebButton)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ForwardWebButton)).BeginInit();
     this.ConsolePage.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ConsoleOptionsPanel)).BeginInit();
     this.ConsoleOptionsPanel.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.SetToClipboardButton)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.DebugModeButton)).BeginInit();
     this.EditVersions.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.versionsListView)).BeginInit();
     this.AboutPage.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.AboutPageView)).BeginInit();
     this.AboutPageView.SuspendLayout();
     this.AboutPageViewPage.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radScrollablePanel2)).BeginInit();
     this.radScrollablePanel2.PanelContainer.SuspendLayout();
     this.radScrollablePanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.AboutVersion)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.PartnersLabel)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.GratitudesLabel)).BeginInit();
     this.LicensesPage.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.licensePageView)).BeginInit();
     this.licensePageView.SuspendLayout();
     this.FreeLauncherLicense.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.FreeLauncherLicenseText)).BeginInit();
     this.dotMCLauncherLicense.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dotMCLauncherLicenseText)).BeginInit();
     this.SettingsPage.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radScrollablePanel1)).BeginInit();
     this.radScrollablePanel1.PanelContainer.SuspendLayout();
     this.radScrollablePanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox2)).BeginInit();
     this.radGroupBox2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.CloseGameOutput)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.UseGamePrefix)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.EnableMinecraftLogging)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).BeginInit();
     this.radGroupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.LangDropDownList)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.EnableMinecraftUpdateAlerts)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radCheckBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.StatusBar)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).BeginInit();
     this.radPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.DeleteProfileButton)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ManageUsersButton)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.NicknameDropDownList)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.LogoBox)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.LaunchButton)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.profilesDropDownBox)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.EditProfile)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.AddProfile)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
     this.SuspendLayout();
     //
     // mainPageView
     //
     this.mainPageView.Controls.Add(this.News);
     this.mainPageView.Controls.Add(this.ConsolePage);
     this.mainPageView.Controls.Add(this.EditVersions);
     this.mainPageView.Controls.Add(this.AboutPage);
     this.mainPageView.Dock = System.Windows.Forms.DockStyle.Fill;
     this.mainPageView.Location = new System.Drawing.Point(0, 0);
     this.mainPageView.Name = "mainPageView";
     //
     //
     //
     this.mainPageView.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.mainPageView.RootElement.AngleTransform = 0F;
     this.mainPageView.RootElement.FlipText = false;
     this.mainPageView.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.mainPageView.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.mainPageView.SelectedPage = this.News;
     this.mainPageView.Size = new System.Drawing.Size(858, 363);
     this.mainPageView.TabIndex = 2;
     this.mainPageView.ThemeName = "VisualStudio2012Dark";
     ((Telerik.WinControls.UI.RadPageViewStripElement)(this.mainPageView.GetChildAt(0))).StripButtons = Telerik.WinControls.UI.StripViewButtons.None;
     //
     // News
     //
     this.News.Controls.Add(this.newsBrowser);
     this.News.Controls.Add(this.webPanel);
     this.News.ItemSize = new System.Drawing.SizeF(65F, 24F);
     this.News.Location = new System.Drawing.Point(5, 30);
     this.News.Name = "News";
     this.News.Size = new System.Drawing.Size(848, 328);
     this.News.Text = "НОВОСТИ";
     //
     // newsBrowser
     //
     this.newsBrowser.Dock = System.Windows.Forms.DockStyle.Fill;
     this.newsBrowser.Location = new System.Drawing.Point(0, 0);
     this.newsBrowser.MinimumSize = new System.Drawing.Size(20, 20);
     this.newsBrowser.Name = "newsBrowser";
     this.newsBrowser.ScriptErrorsSuppressed = true;
     this.newsBrowser.Size = new System.Drawing.Size(848, 308);
     this.newsBrowser.TabIndex = 0;
     this.newsBrowser.Url = new System.Uri("http://mcupdate.tumblr.com/", System.UriKind.Absolute);
     this.newsBrowser.Navigated += new System.Windows.Forms.WebBrowserNavigatedEventHandler(this.newsBrowser_Navigated);
     this.newsBrowser.Navigating += new System.Windows.Forms.WebBrowserNavigatingEventHandler(this.newsBrowser_Navigating);
     //
     // webPanel
     //
     this.webPanel.Controls.Add(this.BackWebButton);
     this.webPanel.Controls.Add(this.ForwardWebButton);
     this.webPanel.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.webPanel.Location = new System.Drawing.Point(0, 308);
     this.webPanel.Name = "webPanel";
     //
     //
     //
     this.webPanel.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.webPanel.RootElement.AngleTransform = 0F;
     this.webPanel.RootElement.FlipText = false;
     this.webPanel.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.webPanel.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.webPanel.Size = new System.Drawing.Size(848, 20);
     this.webPanel.TabIndex = 1;
     this.webPanel.ThemeName = "VisualStudio2012Dark";
     this.webPanel.Visible = false;
     //
     // BackWebButton
     //
     this.BackWebButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.BackWebButton.Location = new System.Drawing.Point(720, 0);
     this.BackWebButton.Name = "BackWebButton";
     //
     //
     //
     this.BackWebButton.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.BackWebButton.RootElement.AngleTransform = 0F;
     this.BackWebButton.RootElement.FlipText = false;
     this.BackWebButton.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.BackWebButton.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.BackWebButton.Size = new System.Drawing.Size(64, 17);
     this.BackWebButton.TabIndex = 1;
     this.BackWebButton.Text = "<";
     this.BackWebButton.ThemeName = "VisualStudio2012Dark";
     this.BackWebButton.Click += new System.EventHandler(this.backWebButton_Click);
     //
     // ForwardWebButton
     //
     this.ForwardWebButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.ForwardWebButton.Location = new System.Drawing.Point(784, 0);
     this.ForwardWebButton.Name = "ForwardWebButton";
     //
     //
     //
     this.ForwardWebButton.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.ForwardWebButton.RootElement.AngleTransform = 0F;
     this.ForwardWebButton.RootElement.FlipText = false;
     this.ForwardWebButton.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.ForwardWebButton.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.ForwardWebButton.Size = new System.Drawing.Size(64, 17);
     this.ForwardWebButton.TabIndex = 0;
     this.ForwardWebButton.Text = ">";
     this.ForwardWebButton.ThemeName = "VisualStudio2012Dark";
     this.ForwardWebButton.Click += new System.EventHandler(this.forwardWebButton_Click);
     //
     // ConsolePage
     //
     this.ConsolePage.Controls.Add(this.logBox);
     this.ConsolePage.Controls.Add(this.ConsoleOptionsPanel);
     this.ConsolePage.ItemSize = new System.Drawing.SizeF(65F, 24F);
     this.ConsolePage.Location = new System.Drawing.Point(5, 30);
     this.ConsolePage.Name = "ConsolePage";
     this.ConsolePage.Size = new System.Drawing.Size(848, 328);
     this.ConsolePage.Text = "КОНСОЛЬ";
     //
     // logBox
     //
     this.logBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.logBox.Dock = System.Windows.Forms.DockStyle.Fill;
     this.logBox.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.logBox.Location = new System.Drawing.Point(0, 0);
     this.logBox.Name = "logBox";
     this.logBox.ReadOnly = true;
     this.logBox.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical;
     this.logBox.Size = new System.Drawing.Size(848, 299);
     this.logBox.TabIndex = 1;
     this.logBox.Text = "";
     this.logBox.TextChanged += new System.EventHandler(this.logBox_TextChanged);
     //
     // ConsoleOptionsPanel
     //
     this.ConsoleOptionsPanel.Controls.Add(this.SetToClipboardButton);
     this.ConsoleOptionsPanel.Controls.Add(this.DebugModeButton);
     this.ConsoleOptionsPanel.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.ConsoleOptionsPanel.Location = new System.Drawing.Point(0, 299);
     this.ConsoleOptionsPanel.Name = "ConsoleOptionsPanel";
     this.ConsoleOptionsPanel.Size = new System.Drawing.Size(848, 29);
     this.ConsoleOptionsPanel.TabIndex = 2;
     this.ConsoleOptionsPanel.ThemeName = "VisualStudio2012Dark";
     //
     // SetToClipboardButton
     //
     this.SetToClipboardButton.Location = new System.Drawing.Point(7, 3);
     this.SetToClipboardButton.Name = "SetToClipboardButton";
     this.SetToClipboardButton.Size = new System.Drawing.Size(131, 23);
     this.SetToClipboardButton.TabIndex = 1;
     this.SetToClipboardButton.Text = "Скопировать в буфер";
     this.SetToClipboardButton.ThemeName = "VisualStudio2012Dark";
     this.SetToClipboardButton.Click += new System.EventHandler(this.SetToClipboardButton_Click);
     //
     // DebugModeButton
     //
     this.DebugModeButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.DebugModeButton.Location = new System.Drawing.Point(710, 3);
     this.DebugModeButton.Name = "DebugModeButton";
     this.DebugModeButton.Size = new System.Drawing.Size(131, 23);
     this.DebugModeButton.TabIndex = 0;
     this.DebugModeButton.Text = "Debug Mode";
     this.DebugModeButton.ThemeName = "VisualStudio2012Dark";
     //
     // EditVersions
     //
     this.EditVersions.Controls.Add(this.versionsListView);
     this.EditVersions.ItemSize = new System.Drawing.SizeF(145F, 24F);
     this.EditVersions.Location = new System.Drawing.Point(5, 30);
     this.EditVersions.Name = "EditVersions";
     this.EditVersions.Size = new System.Drawing.Size(848, 328);
     this.EditVersions.Text = "УПРАВЛЕНИЕ ВЕРСИЯМИ";
     //
     // versionsListView
     //
     this.versionsListView.AllowColumnReorder = false;
     this.versionsListView.AllowColumnResize = false;
     this.versionsListView.AllowEdit = false;
     this.versionsListView.AllowRemove = false;
     this.versionsListView.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
     this.versionsListView.CheckOnClickMode = Telerik.WinControls.UI.CheckOnClickMode.FirstClick;
     listViewDetailColumn1.HeaderText = "Версия";
     listViewDetailColumn2.HeaderText = "Тип";
     listViewDetailColumn2.Width = 100F;
     listViewDetailColumn3.HeaderText = "Зависимость";
     listViewDetailColumn3.Width = 100F;
     this.versionsListView.Columns.AddRange(new Telerik.WinControls.UI.ListViewDetailColumn[] {
     listViewDetailColumn1,
     listViewDetailColumn2,
     listViewDetailColumn3});
     this.versionsListView.Dock = System.Windows.Forms.DockStyle.Fill;
     this.versionsListView.EnableColumnSort = true;
     this.versionsListView.EnableFiltering = true;
     this.versionsListView.EnableSorting = true;
     this.versionsListView.HorizontalScrollState = Telerik.WinControls.UI.ScrollState.AlwaysHide;
     this.versionsListView.ItemSpacing = -1;
     this.versionsListView.Location = new System.Drawing.Point(0, 0);
     this.versionsListView.Name = "versionsListView";
     //
     //
     //
     this.versionsListView.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.versionsListView.RootElement.AngleTransform = 0F;
     this.versionsListView.RootElement.FlipText = false;
     this.versionsListView.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.versionsListView.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.versionsListView.SelectLastAddedItem = false;
     this.versionsListView.ShowItemToolTips = false;
     this.versionsListView.Size = new System.Drawing.Size(848, 328);
     this.versionsListView.TabIndex = 0;
     this.versionsListView.ThemeName = "VisualStudio2012Dark";
     this.versionsListView.VerticalScrollState = Telerik.WinControls.UI.ScrollState.AlwaysShow;
     this.versionsListView.ViewType = Telerik.WinControls.UI.ListViewType.DetailsView;
     this.versionsListView.ItemMouseClick += new Telerik.WinControls.UI.ListViewItemEventHandler(this.versionsListView_ItemMouseClick);
     //
     // AboutPage
     //
     this.AboutPage.Controls.Add(this.AboutPageView);
     this.AboutPage.ItemSize = new System.Drawing.SizeF(79F, 24F);
     this.AboutPage.Location = new System.Drawing.Point(5, 30);
     this.AboutPage.Name = "AboutPage";
     this.AboutPage.Size = new System.Drawing.Size(848, 328);
     this.AboutPage.Text = "О ЛАУНЧЕРЕ";
     //
     // AboutPageView
     //
     this.AboutPageView.Controls.Add(this.AboutPageViewPage);
     this.AboutPageView.Controls.Add(this.LicensesPage);
     this.AboutPageView.Controls.Add(this.SettingsPage);
     this.AboutPageView.Dock = System.Windows.Forms.DockStyle.Fill;
     this.AboutPageView.Location = new System.Drawing.Point(0, 0);
     this.AboutPageView.Name = "AboutPageView";
     //
     //
     //
     this.AboutPageView.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.AboutPageView.RootElement.AngleTransform = 0F;
     this.AboutPageView.RootElement.FlipText = false;
     this.AboutPageView.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.AboutPageView.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.AboutPageView.SelectedPage = this.AboutPageViewPage;
     this.AboutPageView.Size = new System.Drawing.Size(848, 328);
     this.AboutPageView.TabIndex = 9;
     this.AboutPageView.ThemeName = "VisualStudio2012Dark";
     ((Telerik.WinControls.UI.RadPageViewStripElement)(this.AboutPageView.GetChildAt(0))).StripButtons = Telerik.WinControls.UI.StripViewButtons.None;
     ((Telerik.WinControls.UI.RadPageViewStripElement)(this.AboutPageView.GetChildAt(0))).ItemAlignment = Telerik.WinControls.UI.StripViewItemAlignment.Center;
     ((Telerik.WinControls.UI.RadPageViewStripElement)(this.AboutPageView.GetChildAt(0))).ItemFitMode = Telerik.WinControls.UI.StripViewItemFitMode.Fill;
     ((Telerik.WinControls.UI.RadPageViewStripElement)(this.AboutPageView.GetChildAt(0))).StripAlignment = Telerik.WinControls.UI.StripViewAlignment.Bottom;
     //
     // AboutPageViewPage
     //
     this.AboutPageViewPage.Controls.Add(this.radScrollablePanel2);
     this.AboutPageViewPage.Location = new System.Drawing.Point(5, 5);
     this.AboutPageViewPage.Name = "AboutPageViewPage";
     this.AboutPageViewPage.Size = new System.Drawing.Size(838, 293);
     this.AboutPageViewPage.Text = "О ЛАУНЧЕРЕ";
     //
     // radScrollablePanel2
     //
     this.radScrollablePanel2.Dock = System.Windows.Forms.DockStyle.Fill;
     this.radScrollablePanel2.Location = new System.Drawing.Point(0, 0);
     this.radScrollablePanel2.Name = "radScrollablePanel2";
     //
     // radScrollablePanel2.PanelContainer
     //
     this.radScrollablePanel2.PanelContainer.Controls.Add(this.AboutVersion);
     this.radScrollablePanel2.PanelContainer.Controls.Add(this.label6);
     this.radScrollablePanel2.PanelContainer.Controls.Add(this.MCofflineDescLabel);
     this.radScrollablePanel2.PanelContainer.Controls.Add(this.radLabel1);
     this.radScrollablePanel2.PanelContainer.Controls.Add(this.PartnersLabel);
     this.radScrollablePanel2.PanelContainer.Controls.Add(this.CopyrightInfoLabel);
     this.radScrollablePanel2.PanelContainer.Controls.Add(this.label3);
     this.radScrollablePanel2.PanelContainer.Controls.Add(this.DevInfoLabel);
     this.radScrollablePanel2.PanelContainer.Controls.Add(this.label5);
     this.radScrollablePanel2.PanelContainer.Controls.Add(this.GratitudesDescLabel);
     this.radScrollablePanel2.PanelContainer.Controls.Add(this.GratitudesLabel);
     this.radScrollablePanel2.PanelContainer.Size = new System.Drawing.Size(836, 291);
     //
     //
     //
     this.radScrollablePanel2.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.radScrollablePanel2.RootElement.AngleTransform = 0F;
     this.radScrollablePanel2.RootElement.FlipText = false;
     this.radScrollablePanel2.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.radScrollablePanel2.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.radScrollablePanel2.Size = new System.Drawing.Size(838, 293);
     this.radScrollablePanel2.TabIndex = 9;
     this.radScrollablePanel2.Text = "radScrollablePanel2";
     this.radScrollablePanel2.ThemeName = "VisualStudio2012Dark";
     //
     // AboutVersion
     //
     this.AboutVersion.BackColor = System.Drawing.Color.Transparent;
     this.AboutVersion.ForeColor = System.Drawing.Color.DimGray;
     this.AboutVersion.Location = new System.Drawing.Point(122, 34);
     this.AboutVersion.MinimumSize = new System.Drawing.Size(58, 18);
     this.AboutVersion.Name = "AboutVersion";
     //
     //
     //
     this.AboutVersion.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.AboutVersion.RootElement.AngleTransform = 0F;
     this.AboutVersion.RootElement.FlipText = false;
     this.AboutVersion.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.AboutVersion.RootElement.MinSize = new System.Drawing.Size(58, 18);
     this.AboutVersion.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.AboutVersion.Size = new System.Drawing.Size(58, 18);
     this.AboutVersion.TabIndex = 1;
     this.AboutVersion.Text = "0.0.0.000";
     this.AboutVersion.TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
     this.AboutVersion.ThemeName = "VisualStudio2012Dark";
     ((Telerik.WinControls.UI.RadLabelElement)(this.AboutVersion.GetChildAt(0))).TextAlignment = System.Drawing.ContentAlignment.MiddleRight;
     ((Telerik.WinControls.UI.RadLabelElement)(this.AboutVersion.GetChildAt(0))).Text = "0.0.0.000";
     ((Telerik.WinControls.Primitives.FillPrimitive)(this.AboutVersion.GetChildAt(0).GetChildAt(0))).BackColor = System.Drawing.Color.Transparent;
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.BackColor = System.Drawing.Color.Transparent;
     this.label6.Cursor = System.Windows.Forms.Cursors.Hand;
     this.label6.ForeColor = System.Drawing.Color.Gray;
     this.label6.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this.label6.Location = new System.Drawing.Point(14, 201);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(127, 13);
     this.label6.TabIndex = 11;
     this.label6.Text = "http://vk.com/mcoffline";
     this.label6.Click += new System.EventHandler(this.urlLabel_Click);
     //
     // MCofflineDescLabel
     //
     this.MCofflineDescLabel.AutoSize = true;
     this.MCofflineDescLabel.BackColor = System.Drawing.Color.Transparent;
     this.MCofflineDescLabel.Font = new System.Drawing.Font("Segoe UI", 9.75F);
     this.MCofflineDescLabel.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this.MCofflineDescLabel.Location = new System.Drawing.Point(14, 184);
     this.MCofflineDescLabel.Name = "MCofflineDescLabel";
     this.MCofflineDescLabel.Size = new System.Drawing.Size(402, 17);
     this.MCofflineDescLabel.TabIndex = 9;
     this.MCofflineDescLabel.Text = "MCoffline - лучшая программа для серверных администраторов!";
     //
     // radLabel1
     //
     this.radLabel1.BackColor = System.Drawing.Color.Transparent;
     this.radLabel1.Font = new System.Drawing.Font("Segoe UI", 20.25F);
     this.radLabel1.ForeColor = System.Drawing.Color.Transparent;
     this.radLabel1.Location = new System.Drawing.Point(3, 3);
     this.radLabel1.Name = "radLabel1";
     //
     //
     //
     this.radLabel1.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.radLabel1.RootElement.AngleTransform = 0F;
     this.radLabel1.RootElement.FlipText = false;
     this.radLabel1.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.radLabel1.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.radLabel1.Size = new System.Drawing.Size(175, 41);
     this.radLabel1.TabIndex = 0;
     this.radLabel1.Text = "FreeLauncher";
     this.radLabel1.ThemeName = "VisualStudio2012Dark";
     ((Telerik.WinControls.UI.RadLabelElement)(this.radLabel1.GetChildAt(0))).Text = "FreeLauncher";
     ((Telerik.WinControls.Primitives.FillPrimitive)(this.radLabel1.GetChildAt(0).GetChildAt(0))).BackColor = System.Drawing.Color.Transparent;
     //
     // PartnersLabel
     //
     this.PartnersLabel.BackColor = System.Drawing.Color.Transparent;
     this.PartnersLabel.Font = new System.Drawing.Font("Segoe UI", 20.25F);
     this.PartnersLabel.ForeColor = System.Drawing.Color.Transparent;
     this.PartnersLabel.Location = new System.Drawing.Point(3, 147);
     this.PartnersLabel.Name = "PartnersLabel";
     //
     //
     //
     this.PartnersLabel.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.PartnersLabel.RootElement.AngleTransform = 0F;
     this.PartnersLabel.RootElement.FlipText = false;
     this.PartnersLabel.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.PartnersLabel.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.PartnersLabel.Size = new System.Drawing.Size(140, 41);
     this.PartnersLabel.TabIndex = 10;
     this.PartnersLabel.Text = "Партнёры";
     this.PartnersLabel.ThemeName = "VisualStudio2012Dark";
     ((Telerik.WinControls.UI.RadLabelElement)(this.PartnersLabel.GetChildAt(0))).Text = "Партнёры";
     ((Telerik.WinControls.Primitives.FillPrimitive)(this.PartnersLabel.GetChildAt(0).GetChildAt(0))).BackColor = System.Drawing.Color.Transparent;
     //
     // CopyrightInfoLabel
     //
     this.CopyrightInfoLabel.AutoSize = true;
     this.CopyrightInfoLabel.BackColor = System.Drawing.Color.Transparent;
     this.CopyrightInfoLabel.Font = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.CopyrightInfoLabel.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this.CopyrightInfoLabel.Location = new System.Drawing.Point(7, 248);
     this.CopyrightInfoLabel.Name = "CopyrightInfoLabel";
     this.CopyrightInfoLabel.Size = new System.Drawing.Size(464, 34);
     this.CopyrightInfoLabel.TabIndex = 4;
     this.CopyrightInfoLabel.Text = "\"Minecraft\" является торговой маркой Mojang AB. Все права защищены.\r\nMojang AB яв" +
     "ляется дочерней студией Microsoft Studios.";
     this.CopyrightInfoLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.BackColor = System.Drawing.Color.Transparent;
     this.label3.Cursor = System.Windows.Forms.Cursors.Hand;
     this.label3.Font = new System.Drawing.Font("Segoe UI", 9F);
     this.label3.ForeColor = System.Drawing.Color.Gray;
     this.label3.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this.label3.Location = new System.Drawing.Point(14, 72);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(163, 15);
     this.label3.TabIndex = 5;
     this.label3.Text = "https://github.com/dedepete";
     this.label3.Click += new System.EventHandler(this.urlLabel_Click);
     //
     // DevInfoLabel
     //
     this.DevInfoLabel.AutoSize = true;
     this.DevInfoLabel.BackColor = System.Drawing.Color.Transparent;
     this.DevInfoLabel.Font = new System.Drawing.Font("Segoe UI", 9.75F);
     this.DevInfoLabel.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this.DevInfoLabel.Location = new System.Drawing.Point(14, 55);
     this.DevInfoLabel.Name = "DevInfoLabel";
     this.DevInfoLabel.Size = new System.Drawing.Size(146, 17);
     this.DevInfoLabel.TabIndex = 3;
     this.DevInfoLabel.Text = "Разработано dedepete";
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.BackColor = System.Drawing.Color.Transparent;
     this.label5.Cursor = System.Windows.Forms.Cursors.Hand;
     this.label5.ForeColor = System.Drawing.Color.Gray;
     this.label5.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this.label5.Location = new System.Drawing.Point(14, 135);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(117, 13);
     this.label5.TabIndex = 8;
     this.label5.Text = "http://ru-minecraft.ru";
     this.label5.Click += new System.EventHandler(this.urlLabel_Click);
     //
     // GratitudesDescLabel
     //
     this.GratitudesDescLabel.AutoSize = true;
     this.GratitudesDescLabel.BackColor = System.Drawing.Color.Transparent;
     this.GratitudesDescLabel.Font = new System.Drawing.Font("Segoe UI", 9.75F);
     this.GratitudesDescLabel.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this.GratitudesDescLabel.Location = new System.Drawing.Point(14, 118);
     this.GratitudesDescLabel.Name = "GratitudesDescLabel";
     this.GratitudesDescLabel.Size = new System.Drawing.Size(449, 17);
     this.GratitudesDescLabel.TabIndex = 6;
     this.GratitudesDescLabel.Text = "Большое спасибо администрации портала ru-minecraft.ru за хост файлов";
     //
     // GratitudesLabel
     //
     this.GratitudesLabel.BackColor = System.Drawing.Color.Transparent;
     this.GratitudesLabel.Font = new System.Drawing.Font("Segoe UI", 20.25F);
     this.GratitudesLabel.ForeColor = System.Drawing.Color.Transparent;
     this.GratitudesLabel.Location = new System.Drawing.Point(3, 81);
     this.GratitudesLabel.Name = "GratitudesLabel";
     //
     //
     //
     this.GratitudesLabel.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.GratitudesLabel.RootElement.AngleTransform = 0F;
     this.GratitudesLabel.RootElement.FlipText = false;
     this.GratitudesLabel.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.GratitudesLabel.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.GratitudesLabel.Size = new System.Drawing.Size(202, 41);
     this.GratitudesLabel.TabIndex = 7;
     this.GratitudesLabel.Text = "Благодарности";
     this.GratitudesLabel.ThemeName = "VisualStudio2012Dark";
     ((Telerik.WinControls.UI.RadLabelElement)(this.GratitudesLabel.GetChildAt(0))).Text = "Благодарности";
     ((Telerik.WinControls.Primitives.FillPrimitive)(this.GratitudesLabel.GetChildAt(0).GetChildAt(0))).BackColor = System.Drawing.Color.Transparent;
     //
     // LicensesPage
     //
     this.LicensesPage.Controls.Add(this.licensePageView);
     this.LicensesPage.Location = new System.Drawing.Point(5, 5);
     this.LicensesPage.Name = "LicensesPage";
     this.LicensesPage.Size = new System.Drawing.Size(838, 293);
     this.LicensesPage.Text = "ЛИЦЕНЗИИ";
     //
     // licensePageView
     //
     this.licensePageView.Controls.Add(this.FreeLauncherLicense);
     this.licensePageView.Controls.Add(this.dotMCLauncherLicense);
     this.licensePageView.Dock = System.Windows.Forms.DockStyle.Fill;
     this.licensePageView.Location = new System.Drawing.Point(0, 0);
     this.licensePageView.Name = "licensePageView";
     //
     //
     //
     this.licensePageView.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.licensePageView.RootElement.AngleTransform = 0F;
     this.licensePageView.RootElement.FlipText = false;
     this.licensePageView.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.licensePageView.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.licensePageView.SelectedPage = this.FreeLauncherLicense;
     this.licensePageView.Size = new System.Drawing.Size(838, 293);
     this.licensePageView.TabIndex = 0;
     this.licensePageView.Text = "radPageView3";
     this.licensePageView.ThemeName = "VisualStudio2012Dark";
     this.licensePageView.ViewMode = Telerik.WinControls.UI.PageViewMode.Backstage;
     ((Telerik.WinControls.UI.StripViewItemContainer)(this.licensePageView.GetChildAt(0).GetChildAt(0))).MinSize = new System.Drawing.Size(150, 0);
     //
     // FreeLauncherLicense
     //
     this.FreeLauncherLicense.AutoScroll = true;
     this.FreeLauncherLicense.Controls.Add(this.FreeLauncherLicenseText);
     this.FreeLauncherLicense.Location = new System.Drawing.Point(155, 4);
     this.FreeLauncherLicense.Name = "FreeLauncherLicense";
     this.FreeLauncherLicense.Size = new System.Drawing.Size(679, 285);
     this.FreeLauncherLicense.Text = "FreeLauncher";
     //
     // FreeLauncherLicenseText
     //
     this.FreeLauncherLicenseText.Dock = System.Windows.Forms.DockStyle.Fill;
     this.FreeLauncherLicenseText.Location = new System.Drawing.Point(0, 0);
     this.FreeLauncherLicenseText.Name = "FreeLauncherLicenseText";
     this.FreeLauncherLicenseText.Size = new System.Drawing.Size(679, 285);
     this.FreeLauncherLicenseText.TabIndex = 2;
     this.FreeLauncherLicenseText.Text = resources.GetString("FreeLauncherLicenseText.Text");
     this.FreeLauncherLicenseText.ThemeName = "VisualStudio2012Dark";
     ((Telerik.WinControls.UI.RadLabelElement)(this.FreeLauncherLicenseText.GetChildAt(0))).Text = resources.GetString("resource.Text");
     ((Telerik.WinControls.Primitives.FillPrimitive)(this.FreeLauncherLicenseText.GetChildAt(0).GetChildAt(0))).BackColor = System.Drawing.Color.Transparent;
     //
     // dotMCLauncherLicense
     //
     this.dotMCLauncherLicense.AutoScroll = true;
     this.dotMCLauncherLicense.Controls.Add(this.dotMCLauncherLicenseText);
     this.dotMCLauncherLicense.Location = new System.Drawing.Point(155, 4);
     this.dotMCLauncherLicense.Name = "dotMCLauncherLicense";
     this.dotMCLauncherLicense.Size = new System.Drawing.Size(679, 285);
     this.dotMCLauncherLicense.Text = "dotMCLauncher";
     //
     // dotMCLauncherLicenseText
     //
     this.dotMCLauncherLicenseText.Dock = System.Windows.Forms.DockStyle.Fill;
     this.dotMCLauncherLicenseText.Location = new System.Drawing.Point(0, 0);
     this.dotMCLauncherLicenseText.Name = "dotMCLauncherLicenseText";
     this.dotMCLauncherLicenseText.Size = new System.Drawing.Size(679, 285);
     this.dotMCLauncherLicenseText.TabIndex = 1;
     this.dotMCLauncherLicenseText.Text = resources.GetString("dotMCLauncherLicenseText.Text");
     this.dotMCLauncherLicenseText.ThemeName = "VisualStudio2012Dark";
     ((Telerik.WinControls.UI.RadLabelElement)(this.dotMCLauncherLicenseText.GetChildAt(0))).Text = resources.GetString("resource.Text1");
     ((Telerik.WinControls.Primitives.FillPrimitive)(this.dotMCLauncherLicenseText.GetChildAt(0).GetChildAt(0))).BackColor = System.Drawing.Color.Transparent;
     //
     // SettingsPage
     //
     this.SettingsPage.Controls.Add(this.radScrollablePanel1);
     this.SettingsPage.Location = new System.Drawing.Point(5, 5);
     this.SettingsPage.Name = "SettingsPage";
     this.SettingsPage.Size = new System.Drawing.Size(838, 293);
     this.SettingsPage.Text = "НАСТРОЙКИ";
     //
     // radScrollablePanel1
     //
     this.radScrollablePanel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.radScrollablePanel1.Location = new System.Drawing.Point(0, 0);
     this.radScrollablePanel1.Name = "radScrollablePanel1";
     //
     // radScrollablePanel1.PanelContainer
     //
     this.radScrollablePanel1.PanelContainer.Controls.Add(this.radGroupBox2);
     this.radScrollablePanel1.PanelContainer.Controls.Add(this.radGroupBox1);
     this.radScrollablePanel1.PanelContainer.Size = new System.Drawing.Size(836, 291);
     //
     //
     //
     this.radScrollablePanel1.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.radScrollablePanel1.RootElement.AngleTransform = 0F;
     this.radScrollablePanel1.RootElement.FlipText = false;
     this.radScrollablePanel1.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.radScrollablePanel1.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.radScrollablePanel1.Size = new System.Drawing.Size(838, 293);
     this.radScrollablePanel1.TabIndex = 1;
     this.radScrollablePanel1.Text = "radScrollablePanel1";
     this.radScrollablePanel1.ThemeName = "VisualStudio2012Dark";
     //
     // radGroupBox2
     //
     this.radGroupBox2.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
     this.radGroupBox2.BackColor = System.Drawing.Color.Transparent;
     this.radGroupBox2.Controls.Add(this.CloseGameOutput);
     this.radGroupBox2.Controls.Add(this.UseGamePrefix);
     this.radGroupBox2.Controls.Add(this.EnableMinecraftLogging);
     this.radGroupBox2.HeaderText = "Логирование";
     this.radGroupBox2.Location = new System.Drawing.Point(402, 18);
     this.radGroupBox2.Name = "radGroupBox2";
     //
     //
     //
     this.radGroupBox2.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.radGroupBox2.RootElement.AngleTransform = 0F;
     this.radGroupBox2.RootElement.FlipText = false;
     this.radGroupBox2.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.radGroupBox2.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.radGroupBox2.Size = new System.Drawing.Size(357, 121);
     this.radGroupBox2.TabIndex = 1;
     this.radGroupBox2.Text = "Логирование";
     this.radGroupBox2.ThemeName = "VisualStudio2012Dark";
     //
     // CloseGameOutput
     //
     this.CloseGameOutput.Location = new System.Drawing.Point(5, 69);
     this.CloseGameOutput.Name = "CloseGameOutput";
     //
     //
     //
     this.CloseGameOutput.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.CloseGameOutput.RootElement.AngleTransform = 0F;
     this.CloseGameOutput.RootElement.FlipText = false;
     this.CloseGameOutput.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.CloseGameOutput.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.CloseGameOutput.Size = new System.Drawing.Size(327, 18);
     this.CloseGameOutput.TabIndex = 2;
     this.CloseGameOutput.Text = "Закрывать вкладку, если завершение прошло без ошибок";
     this.CloseGameOutput.ThemeName = "VisualStudio2012Dark";
     //
     // UseGamePrefix
     //
     this.UseGamePrefix.CheckState = System.Windows.Forms.CheckState.Checked;
     this.UseGamePrefix.Location = new System.Drawing.Point(5, 45);
     this.UseGamePrefix.Name = "UseGamePrefix";
     //
     //
     //
     this.UseGamePrefix.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.UseGamePrefix.RootElement.AngleTransform = 0F;
     this.UseGamePrefix.RootElement.FlipText = false;
     this.UseGamePrefix.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.UseGamePrefix.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.UseGamePrefix.Size = new System.Drawing.Size(288, 18);
     this.UseGamePrefix.TabIndex = 1;
     this.UseGamePrefix.Text = "Использовать префикс [GAME] для логов Minecraft";
     this.UseGamePrefix.ThemeName = "VisualStudio2012Dark";
     this.UseGamePrefix.ToggleState = Telerik.WinControls.Enumerations.ToggleState.On;
     //
     // EnableMinecraftLogging
     //
     this.EnableMinecraftLogging.CheckState = System.Windows.Forms.CheckState.Checked;
     this.EnableMinecraftLogging.Location = new System.Drawing.Point(5, 21);
     this.EnableMinecraftLogging.Name = "EnableMinecraftLogging";
     //
     //
     //
     this.EnableMinecraftLogging.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.EnableMinecraftLogging.RootElement.AngleTransform = 0F;
     this.EnableMinecraftLogging.RootElement.FlipText = false;
     this.EnableMinecraftLogging.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.EnableMinecraftLogging.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.EnableMinecraftLogging.Size = new System.Drawing.Size(177, 18);
     this.EnableMinecraftLogging.TabIndex = 0;
     this.EnableMinecraftLogging.Text = "Выводить лог игры в консоль";
     this.EnableMinecraftLogging.ThemeName = "VisualStudio2012Dark";
     this.EnableMinecraftLogging.ToggleState = Telerik.WinControls.Enumerations.ToggleState.On;
     //
     // radGroupBox1
     //
     this.radGroupBox1.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
     this.radGroupBox1.BackColor = System.Drawing.Color.Transparent;
     this.radGroupBox1.Controls.Add(this.radLabel4);
     this.radGroupBox1.Controls.Add(this.LangDropDownList);
     this.radGroupBox1.Controls.Add(this.EnableMinecraftUpdateAlerts);
     this.radGroupBox1.Controls.Add(this.radCheckBox1);
     this.radGroupBox1.HeaderText = "Основные";
     this.radGroupBox1.Location = new System.Drawing.Point(17, 18);
     this.radGroupBox1.Name = "radGroupBox1";
     //
     //
     //
     this.radGroupBox1.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.radGroupBox1.RootElement.AngleTransform = 0F;
     this.radGroupBox1.RootElement.FlipText = false;
     this.radGroupBox1.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.radGroupBox1.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.radGroupBox1.Size = new System.Drawing.Size(357, 121);
     this.radGroupBox1.TabIndex = 0;
     this.radGroupBox1.Text = "Основные";
     this.radGroupBox1.ThemeName = "VisualStudio2012Dark";
     //
     // radLabel4
     //
     this.radLabel4.Location = new System.Drawing.Point(5, 69);
     this.radLabel4.Name = "radLabel4";
     //
     //
     //
     this.radLabel4.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.radLabel4.RootElement.AngleTransform = 0F;
     this.radLabel4.RootElement.FlipText = false;
     this.radLabel4.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.radLabel4.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.radLabel4.Size = new System.Drawing.Size(87, 18);
     this.radLabel4.TabIndex = 5;
     this.radLabel4.Text = "Язык/Language:";
     this.radLabel4.ThemeName = "VisualStudio2012Dark";
     ((Telerik.WinControls.UI.RadLabelElement)(this.radLabel4.GetChildAt(0))).Text = "Язык/Language:";
     ((Telerik.WinControls.Primitives.FillPrimitive)(this.radLabel4.GetChildAt(0).GetChildAt(0))).Visibility = Telerik.WinControls.ElementVisibility.Collapsed;
     //
     // LangDropDownList
     //
     this.LangDropDownList.AutoCompleteDisplayMember = null;
     this.LangDropDownList.AutoCompleteValueMember = null;
     this.LangDropDownList.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
     radListDataItem1.Tag = "ru-RU";
     radListDataItem1.Text = "Русский (ru-default)";
     this.LangDropDownList.Items.Add(radListDataItem1);
     this.LangDropDownList.Location = new System.Drawing.Point(150, 69);
     this.LangDropDownList.Name = "LangDropDownList";
     //
     //
     //
     this.LangDropDownList.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.LangDropDownList.RootElement.AngleTransform = 0F;
     this.LangDropDownList.RootElement.FlipText = false;
     this.LangDropDownList.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.LangDropDownList.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.LangDropDownList.Size = new System.Drawing.Size(202, 24);
     this.LangDropDownList.TabIndex = 3;
     this.LangDropDownList.Text = "Русский (ru-RU)";
     this.LangDropDownList.ThemeName = "VisualStudio2012Dark";
     this.LangDropDownList.SelectedIndexChanged += new Telerik.WinControls.UI.Data.PositionChangedEventHandler(this.LangDropDownList_SelectedIndexChanged);
     //
     // EnableMinecraftUpdateAlerts
     //
     this.EnableMinecraftUpdateAlerts.CheckState = System.Windows.Forms.CheckState.Checked;
     this.EnableMinecraftUpdateAlerts.Enabled = false;
     this.EnableMinecraftUpdateAlerts.Location = new System.Drawing.Point(5, 45);
     this.EnableMinecraftUpdateAlerts.Name = "EnableMinecraftUpdateAlerts";
     //
     //
     //
     this.EnableMinecraftUpdateAlerts.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.EnableMinecraftUpdateAlerts.RootElement.AngleTransform = 0F;
     this.EnableMinecraftUpdateAlerts.RootElement.FlipText = false;
     this.EnableMinecraftUpdateAlerts.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.EnableMinecraftUpdateAlerts.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.EnableMinecraftUpdateAlerts.Size = new System.Drawing.Size(340, 18);
     this.EnableMinecraftUpdateAlerts.TabIndex = 2;
     this.EnableMinecraftUpdateAlerts.Text = "Показывать уведомления о наличии новых версий Minecraft";
     this.EnableMinecraftUpdateAlerts.ThemeName = "VisualStudio2012Dark";
     this.EnableMinecraftUpdateAlerts.ToggleState = Telerik.WinControls.Enumerations.ToggleState.On;
     //
     // radCheckBox1
     //
     this.radCheckBox1.Enabled = false;
     this.radCheckBox1.Location = new System.Drawing.Point(5, 21);
     this.radCheckBox1.Name = "radCheckBox1";
     //
     //
     //
     this.radCheckBox1.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.radCheckBox1.RootElement.AngleTransform = 0F;
     this.radCheckBox1.RootElement.FlipText = false;
     this.radCheckBox1.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.radCheckBox1.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.radCheckBox1.Size = new System.Drawing.Size(257, 18);
     this.radCheckBox1.TabIndex = 0;
     this.radCheckBox1.Text = "Проверять наличие обновлений программы";
     this.radCheckBox1.ThemeName = "VisualStudio2012Dark";
     //
     // StatusBar
     //
     this.StatusBar.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.StatusBar.Location = new System.Drawing.Point(0, 363);
     this.StatusBar.Name = "StatusBar";
     this.StatusBar.Size = new System.Drawing.Size(858, 24);
     this.StatusBar.TabIndex = 4;
     this.StatusBar.Text = "StatusBar";
     this.StatusBar.ThemeName = "VisualStudio2012Dark";
     this.StatusBar.Visible = false;
     //
     // radPanel1
     //
     this.radPanel1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("radPanel1.BackgroundImage")));
     this.radPanel1.Controls.Add(this.DeleteProfileButton);
     this.radPanel1.Controls.Add(this.ManageUsersButton);
     this.radPanel1.Controls.Add(this.NicknameDropDownList);
     this.radPanel1.Controls.Add(this.SelectedVersion);
     this.radPanel1.Controls.Add(this.LogoBox);
     this.radPanel1.Controls.Add(this.LaunchButton);
     this.radPanel1.Controls.Add(this.profilesDropDownBox);
     this.radPanel1.Controls.Add(this.EditProfile);
     this.radPanel1.Controls.Add(this.AddProfile);
     this.radPanel1.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.radPanel1.Location = new System.Drawing.Point(0, 387);
     this.radPanel1.Name = "radPanel1";
     //
     //
     //
     this.radPanel1.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.radPanel1.RootElement.AngleTransform = 0F;
     this.radPanel1.RootElement.FlipText = false;
     this.radPanel1.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.radPanel1.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.radPanel1.Size = new System.Drawing.Size(858, 59);
     this.radPanel1.TabIndex = 3;
     this.radPanel1.ThemeName = "VisualStudio2012Dark";
     //
     // DeleteProfileButton
     //
     this.DeleteProfileButton.Image = ((System.Drawing.Image)(resources.GetObject("DeleteProfileButton.Image")));
     this.DeleteProfileButton.ImageAlignment = System.Drawing.ContentAlignment.MiddleCenter;
     this.DeleteProfileButton.Location = new System.Drawing.Point(6, 6);
     this.DeleteProfileButton.Name = "DeleteProfileButton";
     this.DeleteProfileButton.Size = new System.Drawing.Size(32, 24);
     this.DeleteProfileButton.TabIndex = 8;
     this.DeleteProfileButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     this.DeleteProfileButton.ThemeName = "VisualStudio2012Dark";
     this.DeleteProfileButton.Click += new System.EventHandler(this.DeleteProfileButton_Click);
     //
     // ManageUsersButton
     //
     this.ManageUsersButton.Anchor = System.Windows.Forms.AnchorStyles.Top;
     this.ManageUsersButton.Image = global::FreeLauncher.Properties.Resources.edit;
     this.ManageUsersButton.ImageAlignment = System.Drawing.ContentAlignment.MiddleCenter;
     this.ManageUsersButton.Location = new System.Drawing.Point(513, 6);
     this.ManageUsersButton.Name = "ManageUsersButton";
     //
     //
     //
     this.ManageUsersButton.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.ManageUsersButton.RootElement.AngleTransform = 0F;
     this.ManageUsersButton.RootElement.FlipText = false;
     this.ManageUsersButton.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.ManageUsersButton.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.ManageUsersButton.Size = new System.Drawing.Size(32, 24);
     this.ManageUsersButton.TabIndex = 7;
     this.ManageUsersButton.ThemeName = "VisualStudio2012Dark";
     this.ManageUsersButton.Click += new System.EventHandler(this.ManageUsersButton_Click);
     //
     // NicknameDropDownList
     //
     this.NicknameDropDownList.Anchor = System.Windows.Forms.AnchorStyles.Top;
     this.NicknameDropDownList.AutoCompleteDisplayMember = null;
     this.NicknameDropDownList.AutoCompleteValueMember = null;
     this.NicknameDropDownList.Location = new System.Drawing.Point(314, 6);
     this.NicknameDropDownList.Name = "NicknameDropDownList";
     this.NicknameDropDownList.NullText = "Ник";
     //
     //
     //
     this.NicknameDropDownList.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.NicknameDropDownList.RootElement.AngleTransform = 0F;
     this.NicknameDropDownList.RootElement.FlipText = false;
     this.NicknameDropDownList.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.NicknameDropDownList.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.NicknameDropDownList.Size = new System.Drawing.Size(196, 24);
     this.NicknameDropDownList.TabIndex = 3;
     this.NicknameDropDownList.ThemeName = "VisualStudio2012Dark";
     this.NicknameDropDownList.SelectedIndexChanged += new Telerik.WinControls.UI.Data.PositionChangedEventHandler(this.NicknameDropDownList_SelectedIndexChanged);
     //
     // SelectedVersion
     //
     this.SelectedVersion.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.SelectedVersion.AutoSize = true;
     this.SelectedVersion.BackColor = System.Drawing.Color.Transparent;
     this.SelectedVersion.ForeColor = System.Drawing.Color.White;
     this.SelectedVersion.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this.SelectedVersion.Location = new System.Drawing.Point(631, 42);
     this.SelectedVersion.MinimumSize = new System.Drawing.Size(220, 13);
     this.SelectedVersion.Name = "SelectedVersion";
     this.SelectedVersion.Size = new System.Drawing.Size(220, 13);
     this.SelectedVersion.TabIndex = 6;
     this.SelectedVersion.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // LogoBox
     //
     this.LogoBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.LogoBox.BackColor = System.Drawing.Color.Transparent;
     this.LogoBox.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
     this.LogoBox.Image = ((System.Drawing.Image)(resources.GetObject("LogoBox.Image")));
     this.LogoBox.ImeMode = System.Windows.Forms.ImeMode.NoControl;
     this.LogoBox.Location = new System.Drawing.Point(651, -11);
     this.LogoBox.Name = "LogoBox";
     this.LogoBox.Size = new System.Drawing.Size(181, 84);
     this.LogoBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
     this.LogoBox.TabIndex = 5;
     this.LogoBox.TabStop = false;
     //
     // LaunchButton
     //
     this.LaunchButton.Anchor = System.Windows.Forms.AnchorStyles.Top;
     this.LaunchButton.Location = new System.Drawing.Point(314, 33);
     this.LaunchButton.Name = "LaunchButton";
     //
     //
     //
     this.LaunchButton.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.LaunchButton.RootElement.AngleTransform = 0F;
     this.LaunchButton.RootElement.FlipText = false;
     this.LaunchButton.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.LaunchButton.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.LaunchButton.Size = new System.Drawing.Size(231, 22);
     this.LaunchButton.TabIndex = 4;
     this.LaunchButton.Text = "Запуск игры";
     this.LaunchButton.ThemeName = "VisualStudio2012Dark";
     this.LaunchButton.Click += new System.EventHandler(this.LaunchButton_Click);
     //
     // profilesDropDownBox
     //
     this.profilesDropDownBox.AutoCompleteDisplayMember = null;
     this.profilesDropDownBox.AutoCompleteValueMember = null;
     this.profilesDropDownBox.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
     this.profilesDropDownBox.Location = new System.Drawing.Point(41, 6);
     this.profilesDropDownBox.Name = "profilesDropDownBox";
     //
     //
     //
     this.profilesDropDownBox.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.profilesDropDownBox.RootElement.AngleTransform = 0F;
     this.profilesDropDownBox.RootElement.FlipText = false;
     this.profilesDropDownBox.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.profilesDropDownBox.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.profilesDropDownBox.Size = new System.Drawing.Size(191, 24);
     this.profilesDropDownBox.TabIndex = 2;
     this.profilesDropDownBox.ThemeName = "VisualStudio2012Dark";
     this.profilesDropDownBox.SelectedIndexChanged += new Telerik.WinControls.UI.Data.PositionChangedEventHandler(this.profilesDropDownBox_SelectedIndexChanged);
     //
     // EditProfile
     //
     this.EditProfile.Location = new System.Drawing.Point(122, 33);
     this.EditProfile.Name = "EditProfile";
     //
     //
     //
     this.EditProfile.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.EditProfile.RootElement.AngleTransform = 0F;
     this.EditProfile.RootElement.FlipText = false;
     this.EditProfile.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.EditProfile.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.EditProfile.Size = new System.Drawing.Size(110, 22);
     this.EditProfile.TabIndex = 1;
     this.EditProfile.Text = "Изменить профиль";
     this.EditProfile.TextWrap = true;
     this.EditProfile.ThemeName = "VisualStudio2012Dark";
     this.EditProfile.Click += new System.EventHandler(this.EditProfile_Click);
     //
     // AddProfile
     //
     this.AddProfile.Location = new System.Drawing.Point(6, 33);
     this.AddProfile.Name = "AddProfile";
     //
     //
     //
     this.AddProfile.RootElement.Alignment = System.Drawing.ContentAlignment.TopLeft;
     this.AddProfile.RootElement.AngleTransform = 0F;
     this.AddProfile.RootElement.FlipText = false;
     this.AddProfile.RootElement.Margin = new System.Windows.Forms.Padding(0);
     this.AddProfile.RootElement.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
     this.AddProfile.Size = new System.Drawing.Size(110, 22);
     this.AddProfile.TabIndex = 0;
     this.AddProfile.Text = "Добавить профиль";
     this.AddProfile.TextWrap = true;
     this.AddProfile.ThemeName = "VisualStudio2012Dark";
     this.AddProfile.Click += new System.EventHandler(this.AddProfile_Click);
     //
     // LauncherForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(858, 446);
     this.Controls.Add(this.mainPageView);
     this.Controls.Add(this.StatusBar);
     this.Controls.Add(this.radPanel1);
     this.MinimumSize = new System.Drawing.Size(712, 446);
     this.Name = "LauncherForm";
     //
     //
     //
     this.RootElement.ApplyShapeToControl = true;
     this.Text = "FreeLauncher";
     this.ThemeName = "VisualStudio2012Dark";
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.LauncherForm_FormClosing);
     ((System.ComponentModel.ISupportInitialize)(this.mainPageView)).EndInit();
     this.mainPageView.ResumeLayout(false);
     this.News.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.webPanel)).EndInit();
     this.webPanel.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.BackWebButton)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ForwardWebButton)).EndInit();
     this.ConsolePage.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.ConsoleOptionsPanel)).EndInit();
     this.ConsoleOptionsPanel.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.SetToClipboardButton)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.DebugModeButton)).EndInit();
     this.EditVersions.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.versionsListView)).EndInit();
     this.AboutPage.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.AboutPageView)).EndInit();
     this.AboutPageView.ResumeLayout(false);
     this.AboutPageViewPage.ResumeLayout(false);
     this.radScrollablePanel2.PanelContainer.ResumeLayout(false);
     this.radScrollablePanel2.PanelContainer.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radScrollablePanel2)).EndInit();
     this.radScrollablePanel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.AboutVersion)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.PartnersLabel)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.GratitudesLabel)).EndInit();
     this.LicensesPage.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.licensePageView)).EndInit();
     this.licensePageView.ResumeLayout(false);
     this.FreeLauncherLicense.ResumeLayout(false);
     this.FreeLauncherLicense.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.FreeLauncherLicenseText)).EndInit();
     this.dotMCLauncherLicense.ResumeLayout(false);
     this.dotMCLauncherLicense.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dotMCLauncherLicenseText)).EndInit();
     this.SettingsPage.ResumeLayout(false);
     this.radScrollablePanel1.PanelContainer.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.radScrollablePanel1)).EndInit();
     this.radScrollablePanel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox2)).EndInit();
     this.radGroupBox2.ResumeLayout(false);
     this.radGroupBox2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.CloseGameOutput)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.UseGamePrefix)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.EnableMinecraftLogging)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).EndInit();
     this.radGroupBox1.ResumeLayout(false);
     this.radGroupBox1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.LangDropDownList)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.EnableMinecraftUpdateAlerts)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radCheckBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.StatusBar)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radPanel1)).EndInit();
     this.radPanel1.ResumeLayout(false);
     this.radPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.DeleteProfileButton)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ManageUsersButton)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.NicknameDropDownList)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.LogoBox)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.LaunchButton)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.profilesDropDownBox)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.EditProfile)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.AddProfile)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this)).EndInit();
     this.ResumeLayout(false);
 }