Пример #1
0
 void btnProperties_Click(object sender, EventArgs e)
 {
     if (!hasPropsForm)
     {
         propsForm = new PropertyWindow(); hasPropsForm = true;
     }
     propsForm.Show();
     if (!propsForm.Focused)
     {
         propsForm.Focus();
     }
 }
Пример #2
0
 void btnProperties_Click(object sender, EventArgs e)
 {
     if (!prevLoaded)
     {
         PropertyForm = new PropertyWindow(); prevLoaded = true;
     }
     PropertyForm.Show();
     if (!PropertyForm.Focused)
     {
         PropertyForm.Focus();
     }
 }
Пример #3
0
        void btnProperties_Click(object sender, EventArgs e)
        {
            if (!hasPropsForm)
            {
                propsForm = new PropertyWindow();
                // just doing 'propForms.Icon = Icon;' doesn't show on Mono
                try { propsForm._icon = Icon; } catch { }
                hasPropsForm = true;
            }

            propsForm.Show();
            if (!propsForm.Focused)
            {
                propsForm.Focus();
            }
        }
Пример #4
0
 private void btnProperties_Click_1(object sender, EventArgs e)
 {
     if (!prevLoaded) { PropertyForm = new PropertyWindow(); prevLoaded = true; }
     PropertyForm.Show();
     if (!PropertyForm.Focused)
     {
         PropertyForm.Focus();
     }
 }