示例#1
0
 public CompanyMV(CompanyV f)
 {
     this.f    = f;
     f.Enabled = false;
     addition  = true;
     InitializeComponent();
 }
示例#2
0
 public CompanyVV(Data data, CompanyV cv)
 {
     this.cv    = cv;
     cv.Enabled = false;
     this.dc    = new DataC(data);
     InitializeComponent();
 }
示例#3
0
 public CompanyMV(CompanyV f, string name, string description)
 {
     this.f    = f;
     f.Enabled = false;
     addition  = false;
     InitializeComponent();
     textBox1.Text = name;
     textBox2.Text = description;
 }
示例#4
0
        public CompanyVV(ulong id, Data data, CompanyV cv)
        {
            this.cv    = cv;
            cv.Enabled = false;
            this.dc    = new DataC(data);
            Company c = data.Companies.First(o => o.Id == id);

            InitializeComponent();
            getViews(c);
        }
示例#5
0
 public CompanyVV(CompanyV cv)
 {
     this.cv    = cv;
     cv.Enabled = false;
     InitializeComponent();
 }