Beispiel #1
0
 private void InitializeGrid()
 {
     if (!gridInitialized)
     {
         if (MyStyle.GridColumnStyles.Count > 0)
         {
             gridInitialized = true;
             gridHelper      = new GridLayoutHelper(this.Grid, this.MyStyle,
                                                    new decimal[] { 0.50M, 0.50M }, new int[] { 30, 30 });
         }
     }
 }
Beispiel #2
0
        private void LanguageMappings_Load(object sender, System.EventArgs e)
        {
            this.col_From.TextBox.BorderStyle = BorderStyle.None;
            this.col_To.TextBox.BorderStyle   = BorderStyle.None;

            this.col_From.TextBox.Move += new System.EventHandler(this.ColorTextBox);
            this.col_To.TextBox.Move   += new System.EventHandler(this.ColorTextBox);

            DefaultSettings settings = DefaultSettings.Instance;

            this.dbDriver = settings.DbDriver;

            this.xml.Load(settings.LanguageMappingFile);

            PopulateComboBox(settings);
            PopulateGrid(this.dbDriver);

            MarkAsDirty(false);

            gridLayoutHelper = new GridLayoutHelper(XmlEditor, MyXmlStyle, new decimal[] { 0.50M, 0.50M }, new int[] { 100, 100 });
        }
        private void LanguageMappings_Load(object sender, System.EventArgs e)
        {
            this.col_From.TextBox.BorderStyle = BorderStyle.None;
            this.col_To.TextBox.BorderStyle = BorderStyle.None;

            this.col_From.TextBox.Move += new System.EventHandler(this.ColorTextBox);
            this.col_To.TextBox.Move += new System.EventHandler(this.ColorTextBox);

            DefaultSettings settings = DefaultSettings.Instance;

            this.dbDriver = settings.DbDriver;

            this.xml.Load(settings.LanguageMappingFile);

            PopulateComboBox(settings);
            PopulateGrid(this.dbDriver);

            MarkAsDirty(false);

            gridLayoutHelper = new GridLayoutHelper(XmlEditor, MyXmlStyle, new decimal[] { 0.50M, 0.50M }, new int[] { 100, 100 });
        }
		private void InitializeGrid()
		{
			if(!gridInitialized)
			{
				if(MyStyle.GridColumnStyles.Count > 0)
				{
					gridInitialized = true;
					gridHelper = new GridLayoutHelper(this.Grid, this.MyStyle,
						new decimal[] { 0.50M, 0.50M },	new int[] { 30, 30 });
				}
			}
		}