Exemple #1
0
        protected void OnStatusImplementAll(object sender, EventArgs e)
        {
            MenuCommand        cmd     = sender as MenuCommand;
            GenerateAllCommand command = new GenerateAllCommand(this.ServiceProvider, CurrentDocData != null ? CurrentDocData.FileName : null);

            cmd.Enabled = cmd.Visible = command.Visible();
        }
Exemple #2
0
        protected void OnImplementAll(object sender, EventArgs e)
        {
            GenerateAllCommand command = new GenerateAllCommand(this.ServiceProvider, CurrentDocData != null ? CurrentDocData.FileName : null);

            command.Exec();
        }