powered by simpleCommunicator - 2.0.59     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / WPF, Silverlight [игнор отключен] [закрыт для гостей] / Missing partial modifier on declaration of type '.CreateBrushes'; another partial....
2 сообщений из 2, страница 1 из 1
Missing partial modifier on declaration of type '.CreateBrushes'; another partial....
    #37069907
wpfkaaaa
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
CreateBrushes.cs
Код: plaintext
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
using System;
using System.Windows;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Navigation;
using System.Windows.Controls;
using System.Reflection;

namespace WpfApp1
{
    class CreateBrushes : NavigationWindow
    {
                [STAThread]       
             public static void Main()
         {
             Application app = new Application();
             app.Run(new CreateBrushes());
              
         }      


        // Конструктор
        public CreateBrushes()
        {
            this.Width = 300;
            this.Height = 300;
            this.Title = "Каркас";
            //this.ShowsNavigationUI = false;// Скрыть навигационный интерфейс
        }


    }
}



CreateBrushes.Designer.cs

Код: plaintext
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
namespace WpfApp1
{
   partial class CreateBrushes
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
...
}

ошибка
Missing partial modifier on declaration of type 'WpfApp1.CreateBrushes'; another partial declaration of this type exists

Помогите исправить, плиз!
...
Рейтинг: 0 / 0
Missing partial modifier on declaration of type '.CreateBrushes'; another partial....
    #37069941
wpfkaaaaaaaaa
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Вопрос снят)
...
Рейтинг: 0 / 0
2 сообщений из 2, страница 1 из 1
Форумы / WPF, Silverlight [игнор отключен] [закрыт для гостей] / Missing partial modifier on declaration of type '.CreateBrushes'; another partial....
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]